public class EmptyIcon
extends java.lang.Object
implements javax.swing.Icon
Constructor and Description |
---|
EmptyIcon(int w,
int h)
Creates a new EmptyIcon object.
|
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public EmptyIcon(int w, int h)
w
- h
- public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
c
- g
- x
- y
- public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.