Class NumberIcon

java.lang.Object
docking.resources.icons.NumberIcon
All Implemented Interfaces:
Icon

public class NumberIcon extends Object implements Icon
An icon that paints the given number
  • Constructor Details

    • NumberIcon

      public NumberIcon(int number)
  • Method Details

    • setNumber

      public void setNumber(int number)
    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Specified by:
      paintIcon in interface Icon
    • getIconHeight

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

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