|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fdda.core.impl.DemonstrationImpl
Implementation of the demonstration manager.
Constructor Summary | |
DemonstrationImpl()
Constructor |
Method Summary | |
Demonstrator |
getDemonstrator(Project project)
Returns the demonstrator for a project. |
void |
pause(Project project)
Pauses the demonstration of a project. |
void |
start(Project project,
GraphicsControl graphicsControl)
Starts the demonstration of a project. |
void |
stop(Project project)
Stops the demonstration of a project. |
boolean |
wasDemonstrated(Project project)
Returns whether a project has already been demonstrated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DemonstrationImpl()
Method Detail |
public void start(Project project, GraphicsControl graphicsControl) throws WrongStateException
Demonstration
start
in interface Demonstration
project
- the projectgraphicsControl
- object that controls the graphics of this project
WrongStateException
- if the project is already being demonstratedpublic void pause(Project project) throws WrongStateException
Demonstration
pause
in interface Demonstration
project
- the project
WrongStateException
- if the project isn't being demonstratedpublic void stop(Project project) throws WrongStateException
Demonstration
stop
in interface Demonstration
project
- the project
WrongStateException
- if the project isn't being demonstratedpublic boolean wasDemonstrated(Project project)
Demonstration
wasDemonstrated
in interface Demonstration
project
- the project
public Demonstrator getDemonstrator(Project project) throws WrongStateException
Demonstration
getDemonstrator
in interface Demonstration
project
- the project
WrongStateException
- if the project wasn't demonstrated yet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |