- java.lang.Object
-
- javax.swing.ImageIcon
-
- util.ui.ImageIconEnhanced
-
- util.ui.LazyImageIcon
-
- All Implemented Interfaces:
java.io.Serializable
,javax.accessibility.Accessible
,javax.swing.Icon
,javax.swing.plaf.UIResource
public class LazyImageIcon extends ImageIconEnhanced implements javax.swing.plaf.UIResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LazyImageIcon(java.net.URL location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIconHeight()
int
getIconWidth()
java.awt.Image
getImage()
void
paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
-
-
-
Method Detail
-
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
- Specified by:
paintIcon
in interfacejavax.swing.Icon
- Overrides:
paintIcon
in classImageIconEnhanced
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfacejavax.swing.Icon
- Overrides:
getIconWidth
in classjavax.swing.ImageIcon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interfacejavax.swing.Icon
- Overrides:
getIconHeight
in classjavax.swing.ImageIcon
-
getImage
public java.awt.Image getImage()
- Overrides:
getImage
in classjavax.swing.ImageIcon
-
-