|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SimplePicture
This class implements the code given on the last few slides of lecture C1.
Field Summary | |
(package private) Rectangle |
deadTree
a simple stump |
(package private) GWindow |
frame
the on-screen window we are drawing in |
(package private) Line |
horizon
the horizon line |
(package private) Oval |
sun
jolly mister sun |
Constructor Summary | |
SimplePicture()
Construct a simple graphics window with all default characteristics. |
Method Summary | |
void |
advanceSun()
This method moves the sun a little bit. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
Rectangle deadTree
GWindow frame
Line horizon
Oval sun
Constructor Detail |
public SimplePicture()
Method Detail |
public void advanceSun()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |