public class SizeButton extends Object
| Modifier and Type | Field and Description |
|---|---|
private ImageIcon |
enlargeImage |
private boolean |
isEnlarged |
private ImageIcon |
shrinkImage |
private int |
x |
private int |
y |
| Constructor and Description |
|---|
SizeButton() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hit(Point point) |
boolean |
isEnlarged() |
void |
paint(Graphics g) |
void |
toggle() |
private int x
private int y
private ImageIcon enlargeImage
private ImageIcon shrinkImage
private boolean isEnlarged
public SizeButton()