|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.flamingo.common.icon.EmptyResizableIcon
public class EmptyResizableIcon
Implementation of ResizableIcon
that paints nothing.
Constructor Summary | |
---|---|
EmptyResizableIcon(java.awt.Dimension initialDim)
Creates a new empty resizable icon of the specified size. |
|
EmptyResizableIcon(int initialDim)
Creates a new empty resizable icon of the specified size. |
Method Summary | |
---|---|
int |
getIconHeight()
|
int |
getIconWidth()
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
|
void |
setDimension(java.awt.Dimension newDimension)
Changes the dimension of this icon. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyResizableIcon(java.awt.Dimension initialDim)
initialDim
- Initial dimension of the icon.public EmptyResizableIcon(int initialDim)
initialDim
- Initial dimension of the icon.Method Detail |
---|
public void setDimension(java.awt.Dimension newDimension)
ResizableIcon
this
icon.
setDimension
in interface ResizableIcon
newDimension
- New dimension for this
icon.public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |