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>
                        

    OutputMonitor that handles the graphical part of the simulation.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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 the real 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
    • Constructor Detail

    • Method Detail

      • setStep

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

         abstract void setRealTime(boolean rt)

        If enabled, the monitor tries to synchronize the simulation time with the real time, slowing down the simulator if needed. If the simulation is slower than the real time, then the display refreshes fast enough to keep the 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