Package 

Interface GraphicalOutputMonitor

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

    
    public interface GraphicalOutputMonitor<T, P extends Position<Out P>>
     implements OutputMonitor<T, P>
                        
    • Method Summary

      Modifier and Type Method Description
      abstract int getStep()
      abstract boolean isRealTime()
      abstract void repaint()
      abstract void setDrawLinks(boolean b)
      abstract void setEffectStack(List<Effect> l)
      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 setStep(int step)
      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

      • setDrawLinks

         abstract void setDrawLinks(boolean b)
        Parameters:
        b - if true, this monitor draws the links between nodes
      • 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
      • setStep

         abstract void setStep(int step)
        Parameters:
        step - How many steps should be computed by the engine for the display to update the graphics
      • 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