org.eclipse.ohf.stem.jobs.simulation
Class SimulationEvent
java.lang.Object
java.util.EventObject
org.eclipse.ohf.stem.jobs.simulation.SimulationEvent
- All Implemented Interfaces:
- java.io.Serializable
public class SimulationEvent
- extends java.util.EventObject
This class represents an event that has occured in the operation of the
Simulation
- See Also:
- Serialized Form
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimulationEvent
public SimulationEvent(ISimulation source,
SimulationState simulationState)
- Parameters:
source
- the Simulation the generated the eventsimulationState
- the new state of the simulation
getSimulationState
public final SimulationState getSimulationState()
- Returns:
- the new state of the simulation
getSimulation
public ISimulation getSimulation()
- Returns:
- the simulation that is the source of the event
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject
- See Also:
EventObject.toString()