|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcs015.SP.Screen
A Screen can turn "on" or "off" by displaying the appropriate image.
| Constructor Summary | |
Screen(DrawingPanel panel,
java.awt.Point point,
java.lang.String filename)
Initializes the screen and correctly positions it on the computer screen with respect to the TV. |
|
| Method Summary | |
void |
off()
Changes the screen so that it looks like it's off |
void |
on()
Changes the screen so that it looks like it's on |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Screen(DrawingPanel panel,
java.awt.Point point,
java.lang.String filename)
panel - the DrawingPanel for this screenpoint - the location of the TV that we should base our location on.| Method Detail |
public void on()
public void off()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||