Class SubstanceTextComponentBorder
java.lang.Object
org.pushingpixels.substance.internal.utils.border.SubstanceTextComponentBorder
- All Implemented Interfaces:
Border
,UIResource
Text component border for the Substance look and feel.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSubstanceTextComponentBorder
(Insets insets) Creates a new border with the specified insets. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
paintBorder
(Component c, Graphics g, int x, int y, int width, int height)
-
Field Details
-
myInsets
Insets ofthis
border.
-
-
Constructor Details
-
SubstanceTextComponentBorder
Creates a new border with the specified insets.- Parameters:
insets
- Insets.
-
-
Method Details
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaque
in interfaceBorder
-