Border
, UIResource
public 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) |
getBorderInsets
public SubstanceButtonBorder(Class<?> buttonShaperClass)
buttonShaperClass
- The associated button shaper class.public boolean isBorderOpaque()
isBorderOpaque
in interface Border
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border
public Class<?> getButtonShaperClass()