Class GrayableIcon

  • All Implemented Interfaces:
    Icon

    public class GrayableIcon
    extends Object
    implements Icon
    • Constructor Detail

      • GrayableIcon

        public GrayableIcon​(Icon originalIcon)
    • Method Detail

      • setGrayed

        public void setGrayed​(boolean grayed)
      • isGrayed

        public boolean isGrayed()
      • getIconHeight

        public int getIconHeight()
        Specified by:
        getIconHeight in interface Icon
      • getIconWidth

        public int getIconWidth()
        Specified by:
        getIconWidth in interface Icon