Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.javax.swing.text.html.ImageViewIconFactory.LoadingImageIcon
public static class ImageViewIconFactory.LoadingImageIcon
extends Object
implements Icon, Serializable
Constructor Summary | |
|
Method Summary | |
int |
|
int |
|
void |
|
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public int getIconHeight()
Returns the height of the icon, in pixels.
- Specified by:
- getIconHeight in interface Icon
- Returns:
- The height of the icon.
public int getIconWidth()
Returns the width of the icon, in pixels.
- Specified by:
- getIconWidth in interface Icon
- Returns:
- The width of the icon.
public void paintIcon(Component c, Graphics g, int x, int y)
Paints the icon using colors from theMetalLookAndFeel
.
- Parameters:
c
- the component (ignored).g
- the graphics device.x
- the x-coordinate for the top-left of the icon.y
- the y-coordinate for the top-left of the icon.