Icon, UIResource, ResizableIconpublic class ResizableIconUIResource extends Object implements ResizableIcon, UIResource
| Constructor | Description |
|---|---|
ResizableIconUIResource(ResizableIcon delegate) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getIconHeight() |
|
int |
getIconWidth() |
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
|
void |
setDimension(Dimension newDimension) |
Changes the dimension of
this icon. |
public ResizableIconUIResource(ResizableIcon delegate)
public int getIconHeight()
getIconHeight in interface Iconpublic int getIconWidth()
getIconWidth in interface Iconpublic void setDimension(Dimension newDimension)
ResizableIconthis icon.setDimension in interface ResizableIconnewDimension - New dimension for this icon.