|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pushingpixels.flamingo.api.common.icon.EmptyResizableIcon
public class EmptyResizableIcon
Implementation of ResizableIcon that paints nothing.
| Field Summary | |
|---|---|
protected int |
height
The current icon height. |
protected int |
width
The current icon width. |
| Constructor Summary | |
|---|---|
EmptyResizableIcon(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(Component c,
Graphics g,
int x,
int y)
|
void |
setDimension(Dimension newDimension)
Changes the dimension of this icon. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int width
protected int height
| Constructor Detail |
|---|
public EmptyResizableIcon(Dimension initialDim)
initialDim - Initial dimension of the icon.public EmptyResizableIcon(int initialDim)
initialDim - Initial dimension of the icon.| Method Detail |
|---|
public void setDimension(Dimension newDimension)
ResizableIconthis icon.
setDimension in interface ResizableIconnewDimension - New dimension for this icon.public int getIconHeight()
getIconHeight in interface Iconpublic int getIconWidth()
getIconWidth in interface Icon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
paintIcon in interface Icon
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||