-
- 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.
-
-
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. -
-
Method Detail
-
getStep
abstract int getStep()
-
setStep
abstract void setStep(int step)
- Parameters:
step
- How many steps should be computed by the engine for the display to update the graphics
-
isRealTime
abstract boolean isRealTime()
-
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
-
setEffectStack
abstract void setEffectStack(List<Effect> l)
- Parameters:
l
- the Effect stack to use
-
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
-
-
-
-