Class SquareIcon

  • All Implemented Interfaces:
    Icon

    public class SquareIcon
    extends Object
    implements Icon
    • Constructor Detail

      • SquareIcon

        public SquareIcon​(Color color)
    • Method Detail

      • toggle

        public void toggle()
      • getIconWidth

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

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