|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base class that all demo programs should subclass from to provide a standard framework that allows us to use a GUI demo bootstrapper. In our demos, we really ought to have blank constructors, since the booter will create a new instance of the class to read information about the demo from it, and we don't necessarily wish it to pop up windows left right and centre!
Method Summary | |
java.lang.String |
getDescription()
Returns the description of this demo |
int |
getHeight()
Returns the height of this demo |
java.lang.String |
getName()
Returns the name of the demo |
java.lang.String |
getOriginalAuthor()
Returns the original author of this demo |
java.lang.String |
getVersion()
Returns the version information for the demo |
int |
getWidth()
Returns the width of this demo |
void |
setExit(boolean state)
Sets whether or not the demo will call System.exit() |
void |
startDemo()
Starts the demonstration running. |
Method Detail |
public void startDemo()
public java.lang.String getName()
public java.lang.String getVersion()
public java.lang.String getDescription()
public int getWidth()
public int getHeight()
public java.lang.String getOriginalAuthor()
public void setExit(boolean state)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |