| Constructor | Description |
|---|---|
SubstanceEtchedBorder() |
| Modifier and Type | Method | Description |
|---|---|---|
Insets |
getBorderInsets(Component c) |
|
Color |
getHighlightColor(Component c) |
Returns the highlight color for the specified component.
|
Color |
getShadowColor(Component c) |
Returns the shadow color for the specified component.
|
boolean |
isBorderOpaque() |
|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
public Color getHighlightColor(Component c)
c - Component.public Color getShadowColor(Component c)
c - Component.public boolean isBorderOpaque()
isBorderOpaque in interface Borderpublic void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface Borderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface Border