Class EmptyIcon

java.lang.Object
com.github.weisj.darklaf.icons.EmptyIcon
All Implemented Interfaces:
Icon, UIResource

public final class EmptyIcon extends Object implements Icon, UIResource
  • Method Details

    • create

      public static Icon create(Icon base)
    • create

      public static Icon create(int width, int height)
    • create

      public static Icon create(int size)
    • paintIcon

      public void paintIcon(Component component, Graphics g, int i, int j)
      Specified by:
      paintIcon in interface Icon
    • getIconWidth

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object