Package 

Interface GraphicalOutputMonitor

  • All Implemented Interfaces:
    it.unibo.alchemist.boundary.interfaces.OutputMonitor , java.io.Serializable

    @Deprecated() 
    public interface GraphicalOutputMonitor<T, P extends Position<out P>>
     implements OutputMonitor<T, P>
                        

    {@code OutputMonitor} that handles the graphical part of the simulation.

    • Method Summary

      Modifier and Type Method Description
      abstract int getStep()
      abstract void setStep(int step)
      abstract boolean isRealTime()
      abstract void setRealTime(boolean rt) If enabled, the monitor tries to synchronize the simulation time with thereal time, slowing down the simulator if needed.
      abstract void repaint() Repaints the GUI.
      abstract void setDrawLinks(boolean b)
      abstract void setEffectStack(List<Effect> l)
      abstract void setMarkCloserNode(boolean mark) If set, the node closer to the mouse will be put in evidence.
      • Methods inherited from class it.unibo.alchemist.boundary.interfaces.OutputMonitor

        finished, initialized, stepDone
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setStep

         abstract void setStep(int step)
        Parameters:
        step - How many steps should be computed by the engine for thedisplay to update the graphics
      • setRealTime

         abstract void setRealTime(boolean rt)

        If enabled, the monitor tries to synchronize the simulation time with thereal time, slowing down the simulator if needed. If the simulation isslower than the real time, then the display refreshes fast enough to keepthe default frame rate.

        Parameters:
        rt - true for the real time mode
      • repaint

         abstract void repaint()

        Repaints the GUI.

      • setDrawLinks

         abstract void setDrawLinks(boolean b)
        Parameters:
        b - if true, this monitor draws the links between nodes
      • setMarkCloserNode

         abstract void setMarkCloserNode(boolean mark)

        If set, the node closer to the mouse will be put in evidence.

        Parameters:
        mark - true if the node closer to the mouse should be marked