Class CloseIcon

java.lang.Object
noaa.coastwatch.gui.CloseIcon
All Implemented Interfaces:
Icon

@Deprecated public class CloseIcon extends Object implements Icon
Deprecated.
As of 3.8.1 use the IconFactory class.
The CloseIcon renders an icon for a close button in one of three modes: NORMAL, HOVER, and PRESSED.
Since:
3.4.0
Author:
Peter Hollemans
  • Constructor Details

    • CloseIcon

      public CloseIcon(CloseIcon.Mode mode, CloseIcon.Shape shape, int size)
      Deprecated.
      Creates a new icon.
      Parameters:
      mode - the mode for icon rendering.
      shape - the shape for icon highlight rendering.
      size - the icon size in pixels.
  • Method Details

    • getIconWidth

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

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

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