public class PlanSimulationLayer extends ConsoleLayer implements PlanSimulationListener
Constructor and Description |
---|
PlanSimulationLayer() |
Modifier and Type | Method and Description |
---|---|
void |
cleanLayer() |
void |
initLayer() |
void |
on(ConsoleEventMainSystemChange evt) |
void |
on(ConsoleEventPlanChange evt) |
void |
paint(java.awt.Graphics2D g,
StateRenderer2D renderer) |
void |
simulationFinished(PlanSimulationOverlay source) |
boolean |
userControlsOpacity()
Should the user be able to control the opacity of this layer?
|
asElement, clean, getComposite, getOpacity, initPlugin, isVisible, parseXmlElement, setOpacity, setVisible
getConsole, getIcon, getName, getProperties, getPropertiesDialogTitle, getPropertiesErrors, getState, init, propertiesChanged, setProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIcon, getName, init
getProperties, getPropertiesDialogTitle, getPropertiesErrors, setProperties
public void on(ConsoleEventPlanChange evt)
public void on(ConsoleEventMainSystemChange evt)
public boolean userControlsOpacity()
IConsoleLayer
userControlsOpacity
in interface IConsoleLayer
userControlsOpacity
in class ConsoleLayer
true
for allowing the user to control this layer visibility or
false
if opacity should be controlled only via code.public void simulationFinished(PlanSimulationOverlay source)
simulationFinished
in interface PlanSimulationListener
public void paint(java.awt.Graphics2D g, StateRenderer2D renderer)
paint
in interface Renderer2DPainter
paint
in class ConsoleLayer
public void initLayer()
initLayer
in class ConsoleLayer
public void cleanLayer()
cleanLayer
in class ConsoleLayer
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.