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 InsetsgetBorderInsets(Component c)ColorgetHighlightColor(Component c)Returns the highlight color for the specified component.ColorgetShadowColor(Component c)Returns the shadow color for the specified component.booleanisBorderOpaque()voidpaintBorder(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:
isBorderOpaquein interfaceBorder
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
- Specified by:
paintBorderin interfaceBorder
-
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsetsin interfaceBorder
-
-