All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.ui.BlankIcon
java.lang.Object
|
+----com.sgi.sysadm.ui.BlankIcon
- public class BlankIcon
- extends Object
- implements Icon
A class that implements an Icon that shows no image.
-
BlankIcon(int, int)
- Constructor.
-
getIconHeight()
- Returns the height of the icon, as passed to the constructor.
-
getIconWidth()
- Returns the width of the icon, as passed to the constructor.
-
paintIcon(Component, Graphics, int, int)
- Paints the Icon
BlankIcon
public BlankIcon(int width,
int height)
- Constructor.
- Parameters:
- width - The width of the Icon
- height - The height of the Icon
getIconHeight
public int getIconHeight()
- Returns the height of the icon, as passed to the constructor.
- Returns:
- The height
getIconWidth
public int getIconWidth()
- Returns the width of the icon, as passed to the constructor.
- Returns:
- The width
paintIcon
public void paintIcon(Component comp,
Graphics gr,
int x,
int y)
- Paints the Icon
- Parameters:
- comp - The Component to be painted
- gr - The Graphics object to use to paint
- x - The X-coordinate at the upper left of the icon
- y - The Y-coordinate at the upper left of the icon
All Packages Class Hierarchy This Package Previous Next Index