Class SubstanceEtchedBorder
- java.lang.Object
-
- org.pushingpixels.substance.internal.utils.border.SubstanceEtchedBorder
-
-
Constructor Summary
Constructors Constructor Description SubstanceEtchedBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Insets
getBorderInsets(Component c)
Color
getHighlightColor(Component c)
Returns the highlight color for the specified component.Color
getShadowColor(Component c)
Returns the shadow color for the specified component.boolean
isBorderOpaque()
void
paintBorder(Component c, Graphics g, int x, int y, int width, int height)
-
-
-
Method Detail
-
getHighlightColor
public Color getHighlightColor(Component c)
Returns the highlight color for the specified component.- Parameters:
c
- Component.- Returns:
- Matching highlight color.
-
getShadowColor
public Color getShadowColor(Component c)
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
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
- Specified by:
paintBorder
in interfaceBorder
-
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets
in interfaceBorder
-
-