Class StateChartSVGDisplayController

    • Constructor Detail

      • StateChartSVGDisplayController

        public StateChartSVGDisplayController​(Object agent,
                                              StateChart<?> stateChart)
    • Method Detail

      • locateSVGResource

        protected URI locateSVGResource()
      • createAndShowDisplay

        public void createAndShowDisplay()
      • focus

        public void focus()
      • main

        public static void main​(String[] args)
        Parameters:
        args -
      • initializeModel

        public void initializeModel​(org.w3c.dom.svg.SVGDocument svgDoc)
      • addAsStateChartListener

        public void addAsStateChartListener()
      • removeAsStateChartListener

        public void removeAsStateChartListener()
      • notifyCloseListeners

        public void notifyCloseListeners()
      • closeDisplayWithoutNotification

        public void closeDisplayWithoutNotification()
      • isRunning

        public boolean isRunning()
        Checks to see if simulation is running.
        Returns:
      • stopped

        public void stopped()
        Description copied from interface: RunListener
        Invoked when the current run has been stopped.
        Specified by:
        stopped in interface RunListener
      • paused

        public void paused()
        Description copied from interface: RunListener
        Invoked when the current run has been paused.
        Specified by:
        paused in interface RunListener
      • started

        public void started()
        Description copied from interface: RunListener
        Invoked when the current run has been started.
        Specified by:
        started in interface RunListener
      • restarted

        public void restarted()
        Description copied from interface: RunListener
        Invoked when the current run has been restarted after a pause.
        Specified by:
        restarted in interface RunListener