All Packages This Package Class Hierarchy Class Search Index
Summary |
public interface demoTemplate { // Methods 8 public abstract String getDescription(); public abstract int getHeight(); public abstract String getName(); public abstract String getOriginalAuthor(); public abstract String getVersion(); public abstract int getWidth(); public abstract void setExit(boolean); public abstract void startDemo(); }
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!
Methods |
· startDemo | Summary | Top |
public abstract void startDemo()
Starts the demonstration running. This'll usually create the frame and so on.
· getName | Summary | Top |
public abstract String getName()
Returns the name of the demo
· getVersion | Summary | Top |
public abstract String getVersion()
Returns the version information for the demo
· getDescription | Summary | Top |
public abstract String getDescription()
Returns the description of this demo
· getWidth | Summary | Top |
public abstract int getWidth()
Returns the width of this demo
· getHeight | Summary | Top |
public abstract int getHeight()
Returns the height of this demo
· getOriginalAuthor | Summary | Top |
public abstract String getOriginalAuthor()
Returns the original author of this demo
· setExit | Summary | Top |
public abstract void setExit(boolean state)
Sets whether or not the demo will call System.exit()
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7