|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Decorator
This class creates a graphics window, and then adds some display objects to the scene. The idea is to illustrate the use of 2-D arrays
| Constructor Summary | |
Decorator(int n)
Create a new Decorator and all the required patterns. |
|
| Method Summary | |
void |
showPattern(int k)
Display the requested patterns |
void |
shutDown()
Close down the display window. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Decorator(int n)
n - the number of patterns to create of each type| Method Detail |
public void showPattern(int k)
k - the pattern number to showpublic void shutDown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||