Package adams.event
Class FlowPauseStateEvent
- java.lang.Object
-
- java.util.EventObject
-
- adams.event.FlowPauseStateEvent
-
- All Implemented Interfaces:
Serializable
public class FlowPauseStateEvent extends EventObject
Event that gets sent by a Flow when the execution of a flow has started, finished, etc.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlowPauseStateEvent.Type
The type of event.
-
Field Summary
Fields Modifier and Type Field Description protected FlowPauseStateEvent.Type
m_Type
the type of event.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description FlowPauseStateEvent(Actor source, FlowPauseStateEvent.Type type)
Initializes the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Actor
getActor()
Returns the actor that triggered the event.FlowPauseStateEvent.Type
getType()
Returns the type of event.String
toString()
Returns a string representation of the event.-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Field Detail
-
m_Type
protected FlowPauseStateEvent.Type m_Type
the type of event.
-
-
Constructor Detail
-
FlowPauseStateEvent
public FlowPauseStateEvent(Actor source, FlowPauseStateEvent.Type type)
Initializes the event.- Parameters:
source
- the actor that triggered the eventtype
- the type of event
-
-
Method Detail
-
getActor
public Actor getActor()
Returns the actor that triggered the event.- Returns:
- the actor
-
getType
public FlowPauseStateEvent.Type getType()
Returns the type of event.- Returns:
- the type
-
toString
public String toString()
Returns a string representation of the event.- Overrides:
toString
in classEventObject
- Returns:
- the string representation
-
-