Class FWSimulationEvent<T>

java.lang.Object
net.simplace.sim.event.FWSimulationEvent<T>
Type Parameters:
T -
Direct Known Subclasses:
FWSimulationErrorEvent

public class FWSimulationEvent<T> extends Object
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 Details

    • FWSimulationEvent

      public FWSimulationEvent(T aSourceObject, Integer aPercentage)
      Parameters:
      aSourceObject -
      aPercentage -
  • Method Details

    • isSimulationEvent

      public boolean isSimulationEvent()
    • isProjectEvent

      public boolean isProjectEvent()
    • isIterationEvent

      public boolean isIterationEvent()
    • getPercentage

      public int getPercentage()
    • getModel

      public FWSimModel getModel()
      Returns:
      the model
    • getProject

      public FWSimProject getProject()
      Returns:
      the project
    • getControlCache

      public FWSimulationControlCache getControlCache()
      Returns:
      the project