Class SquareIcon

java.lang.Object
repast.simphony.gis.display.SquareIcon
All Implemented Interfaces:
Icon

public class SquareIcon extends Object implements Icon
Deprecated.
2D piccolo based code is being removed
A square-shaped icon for use on buttons like color pickers.
  • Constructor Details

    • SquareIcon

      public SquareIcon(Color color)
      Deprecated.
    • SquareIcon

      public SquareIcon(Color color, int dimension)
      Deprecated.
  • Method Details

    • getColor

      public Color getColor()
      Deprecated.
    • getIconHeight

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

      public int getIconWidth()
      Deprecated.
      Specified by:
      getIconWidth in interface Icon
    • paintIcon

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