Border, UIResourcepublic abstract class SubstanceButtonBorder extends Object implements Border, UIResource
| Constructor | Description |
|---|---|
SubstanceButtonBorder(Class<?> buttonShaperClass) |
Simple constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
Class<?> |
getButtonShaperClass() |
Returns the associated button shaper class.
|
boolean |
isBorderOpaque() |
|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
getBorderInsetspublic SubstanceButtonBorder(Class<?> buttonShaperClass)
buttonShaperClass - The associated button shaper class.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 Class<?> getButtonShaperClass()