Class RadianceEtchedBorder

java.lang.Object
org.pushingpixels.radiance.theming.internal.utils.border.RadianceEtchedBorder
All Implemented Interfaces:
Border

public class RadianceEtchedBorder extends Object implements Border
Custom implementation of etched border.
  • Constructor Details

    • RadianceEtchedBorder

      public RadianceEtchedBorder()
  • Method Details

    • getHighlightColor

      private Color getHighlightColor(Component c)
      Returns the highlight color for the specified component.
      Parameters:
      c - Component.
      Returns:
      Matching highlight color.
    • getShadowColor

      private 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 interface Border
    • paintBorder

      public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
      Specified by:
      paintBorder in interface Border
    • getBorderInsets

      public Insets getBorderInsets(Component c)
      Specified by:
      getBorderInsets in interface Border