Class SubstanceEtchedBorder
java.lang.Object
org.pushingpixels.substance.internal.utils.border.SubstanceEtchedBorder
- All Implemented Interfaces:
Border
Custom implementation of etched border.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the highlight color for the specified component.Returns the shadow color for the specified component.booleanvoidpaintBorder(Component c, Graphics g, int x, int y, int width, int height)
-
Constructor Details
-
SubstanceEtchedBorder
public SubstanceEtchedBorder()
-
-
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
-