|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.icon.EmptyIcon
public final class EmptyIcon
An empty icon with arbitrary width and height.
Constructor Summary | |
---|---|
EmptyIcon()
|
|
EmptyIcon(int width,
int height)
|
Method Summary | |
---|---|
int |
getIconHeight()
Returns the icon's height. |
int |
getIconWidth()
Returns the icon's width. |
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Draw the icon at the specified location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyIcon()
public EmptyIcon(int width, int height)
Method Detail |
---|
public int getIconHeight()
javax.swing.Icon
getIconHeight
in interface Icon
public int getIconWidth()
javax.swing.Icon
getIconWidth
in interface Icon
public void paintIcon(Component c, Graphics g, int x, int y)
javax.swing.Icon
paintIcon
in interface Icon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |