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 ColorReturns the highlight color for the specified component.private ColorReturns the shadow color for the specified component.booleanvoidpaintBorder(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:
isBorderOpaquein interfaceBorder
-
paintBorder
- Specified by:
paintBorderin interfaceBorder
-
getBorderInsets
- Specified by:
getBorderInsetsin interfaceBorder
-