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 TypeMethodDescriptionbooleanvoidpaintBorder(Component c, Graphics g, int x, int y, int width, int height)
-
Field Details
-
myInsets
Insets ofthisborder.
-
-
Constructor Details
-
SubstanceTextComponentBorder
Creates a new border with the specified insets.- Parameters:
insets- Insets.
-
-
Method Details
-
paintBorder
- Specified by:
paintBorderin interfaceBorder
-
getBorderInsets
- Specified by:
getBorderInsetsin interfaceBorder
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaquein interfaceBorder
-