Package net.simplace.sim.event
Class FWSimulationEvent<T>
java.lang.Object
net.simplace.sim.event.FWSimulationEvent<T>
- Type Parameters:
T
-
- Direct Known Subclasses:
FWSimulationErrorEvent
Model event is created for start and end of a model run and for exceptional cases.
Within the
FWSimulationListener
implementation all data available in the model can be accessed and
modified.
For implementation method FWSimulationListener.simulationStarted(FWSimModelEvent)
,
FWSimulationListener.simulationEnded(FWSimModelEvent)
and FWSimulationListener.simulationErrored(FWSimulationErrorEvent)
have to
be implemented.
FWSimulationErrorEvent
extends this class and contains additional exception information.- Author:
- Andreas Enders
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FWSimulationEvent
- Parameters:
aSourceObject
-aPercentage
-
-
-
Method Details
-
isSimulationEvent
public boolean isSimulationEvent() -
isProjectEvent
public boolean isProjectEvent() -
isIterationEvent
public boolean isIterationEvent() -
getPercentage
public int getPercentage() -
getModel
- Returns:
- the model
-
getProject
- Returns:
- the project
-
getControlCache
- Returns:
- the project
-