public class EmptyIcon extends Object implements Icon
Constructor and Description |
---|
EmptyIcon(int width,
int height)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public EmptyIcon(int width, int height)
width
- the width of the icon.height
- the height of the icon.public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon