|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.ObjectEtchASketch
EtchASketch - A program that creates and runs an automated EtchASketch where an application can add a controller that tells the EtchASketch how to move over time.
EtchASketchAnimator| Constructor Summary | |
EtchASketch()
Creates a new EtchASketch and displays it. |
|
EtchASketch(EtchASketchAnimator animator)
Creates a new EtchASketch and displays it. |
|
| Method Summary | |
Point |
getCurrentPos()
|
int |
getDrawableHeight()
Gets the height of the etch-a-sketch that can be drawn into. |
int |
getDrawableWidth()
Gets the width of the etch-a-sketch that can be drawn into. |
void |
setEtchASketchAnimator(EtchASketchAnimator animator)
Specifies the controller for the etch-a-sketch. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EtchASketch()
public EtchASketch(EtchASketchAnimator animator)
animator - The controller for this etch-a-sketch| Method Detail |
public void setEtchASketchAnimator(EtchASketchAnimator animator)
animator - The etch-a-sketch controllerpublic int getDrawableWidth()
public int getDrawableHeight()
public Point getCurrentPos()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||