| Constructor | Description |
|---|---|
ShiftedIcon(Icon target,
Point shift) |
Creates a new instance.
|
ShiftedIcon(Icon target,
Rectangle shiftAndSize) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getIconHeight() |
|
int |
getIconWidth() |
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface Icon