Border
, UIResource
public 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 Border
public Insets getBorderInsets(Component c)
getBorderInsets
in interface Border
public boolean isBorderOpaque()
isBorderOpaque
in interface Border