previous |
start |
next
Implementing the Animation
- Label contains icon that draws shape
- Timer action moves shape, calls repaint on label
- Label needs Icon,
we have MoveableShape
- Supply ShapeIcon
adapter class
- ShapeIcon.paintIcon calls MoveableShape.draw
previous |
start |
next