Class SubstanceEtchedBorder

  • All Implemented Interfaces:
    Border

    public class SubstanceEtchedBorder
    extends Object
    implements Border
    Custom implementation of etched border.
    • Constructor Detail

      • SubstanceEtchedBorder

        public SubstanceEtchedBorder()
    • 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 interface Border