Class SubstanceButtonBorder
java.lang.Object
org.pushingpixels.substance.internal.utils.border.SubstanceButtonBorder
- All Implemented Interfaces:
Border
,UIResource
Base class for button borders in Substance look-and-feel. This class
is for internal use only.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass
<?> Returns the associated button shaper class.boolean
void
paintBorder
(Component c, Graphics g, int x, int y, int width, int height) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.border.Border
getBorderInsets
-
Constructor Details
-
SubstanceButtonBorder
Simple constructor.- Parameters:
buttonShaperClass
- The associated button shaper class.
-
-
Method Details
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaque
in interfaceBorder
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
-
getButtonShaperClass
Returns the associated button shaper class.- Returns:
- The associated button shaper class.
-