Class StateChartSVGDisplayController
java.lang.Object
repast.simphony.statecharts.runtime.StateChartSVGDisplayController
- All Implemented Interfaces:
- RunListener,- StateChartListener
public class StateChartSVGDisplayController
extends Object
implements StateChartListener, RunListener
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidvoidvoidfocus()voidinitializeModel(org.w3c.dom.svg.SVGDocument svgDoc) booleanChecks to see if simulation is running.protected URIstatic voidvoidvoidpaused()Invoked when the current run has been paused.voidvoidvoidInvoked when the current run has been restarted after a pause.voidstarted()Invoked when the current run has been started.voidstopped()Invoked when the current run has been stopped.voidupdate()
- 
Constructor Details- 
StateChartSVGDisplayController
 
- 
- 
Method Details- 
locateSVGResource
- 
createAndShowDisplaypublic void createAndShowDisplay()
- 
focuspublic void focus()
- 
main- Parameters:
- args-
 
- 
updatepublic void update()- Specified by:
- updatein interface- StateChartListener
 
- 
initializeModelpublic void initializeModel(org.w3c.dom.svg.SVGDocument svgDoc) 
- 
addAsStateChartListenerpublic void addAsStateChartListener()
- 
removeAsStateChartListenerpublic void removeAsStateChartListener()
- 
registerCloseListener
- 
notifyCloseListenerspublic void notifyCloseListeners()
- 
closeDisplayWithoutNotificationpublic void closeDisplayWithoutNotification()
- 
isRunningpublic boolean isRunning()Checks to see if simulation is running.- Returns:
 
- 
stoppedpublic void stopped()Description copied from interface:RunListenerInvoked when the current run has been stopped.- Specified by:
- stoppedin interface- RunListener
 
- 
pausedpublic void paused()Description copied from interface:RunListenerInvoked when the current run has been paused.- Specified by:
- pausedin interface- RunListener
 
- 
startedpublic void started()Description copied from interface:RunListenerInvoked when the current run has been started.- Specified by:
- startedin interface- RunListener
 
- 
restartedpublic void restarted()Description copied from interface:RunListenerInvoked when the current run has been restarted after a pause.- Specified by:
- restartedin interface- RunListener
 
 
-