Class RadianceEtchedBorder
java.lang.Object
org.pushingpixels.radiance.theming.internal.utils.border.RadianceEtchedBorder
- All Implemented Interfaces:
Border
Custom implementation of etched border.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Color
Returns the highlight color for the specified component.private Color
Returns the shadow color for the specified component.boolean
void
paintBorder
(Component c, Graphics g, int x, int y, int width, int height)
-
Constructor Details
-
RadianceEtchedBorder
public RadianceEtchedBorder()
-
-
Method Details
-
getHighlightColor
Returns the highlight color for the specified component.- Parameters:
c
- Component.- Returns:
- Matching highlight color.
-
getShadowColor
Returns the shadow color for the specified component.- Parameters:
c
- Component.- Returns:
- Matching shadow color.
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaque
in interfaceBorder
-
paintBorder
- Specified by:
paintBorder
in interfaceBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
-