Border, UIResourcepublic class SubstanceTextComponentBorder extends Object implements Border, UIResource
| Modifier and Type | Field | Description |
|---|---|---|
protected Insets |
myInsets |
Insets of
this border. |
| Constructor | Description |
|---|---|
SubstanceTextComponentBorder(Insets insets) |
Creates a new border with the specified insets.
|
| Modifier and Type | Method | Description |
|---|---|---|
Insets |
getBorderInsets(Component c) |
|
boolean |
isBorderOpaque() |
|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
protected Insets myInsets
this border.public SubstanceTextComponentBorder(Insets insets)
insets - Insets.public 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 Borderpublic boolean isBorderOpaque()
isBorderOpaque in interface Border