Class LazyImageIcon

java.lang.Object
com.jtattoo.plaf.LazyImageIcon
All Implemented Interfaces:
Icon

public class LazyImageIcon extends Object implements Icon

LazyImageIcon class.

Author Michael Hagen*
  • Constructor Details

    • LazyImageIcon

      public LazyImageIcon(String name)

      Constructor for LazyImageIcon.

      Parameters:
      name - a String object.
  • Method Details

    • getIconHeight

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

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

      public Image getImage()

      getImage.

      Returns:
      a Image object.
    • paintIcon

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