Class RadianceTextComponentBorder
java.lang.Object
org.pushingpixels.radiance.theming.internal.utils.border.RadianceTextComponentBorder
- All Implemented Interfaces:
Border
,UIResource
Text component border for the Radiance look and feel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BladeColorScheme
protected Insets
Insets ofthis
border. -
Constructor Summary
ConstructorsConstructorDescriptionRadianceTextComponentBorder
(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) private void
paintBorderImpl
(JComponent c, Graphics g, int x, int y, int width, int height, boolean isEnabled) Paints border instance for the specified component.
-
Field Details
-
myInsets
Insets ofthis
border. -
mutableBorderColorScheme
-
-
Constructor Details
-
RadianceTextComponentBorder
Creates a new border with the specified insets.- Parameters:
insets
- Insets.
-
-
Method Details
-
paintBorderImpl
private void paintBorderImpl(JComponent c, Graphics g, int x, int y, int width, int height, boolean isEnabled) Paints border instance for the specified component.- Parameters:
c
- The component.g
- Graphics context.x
- Component left X (in graphics context).y
- Component top Y (in graphics context).width
- Component width.height
- Component height.isEnabled
- Component enabled status.
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaque
in interfaceBorder
-