Class AnnotationEvent
- java.lang.Object
-
- java.util.EventObject
-
- adams.gui.visualization.annotator.AnnotationEvent
-
- All Implemented Interfaces:
Serializable
public class AnnotationEvent extends EventObject
An action that is raised when an annotation is required- Version:
- $Revision$
- Author:
- sjb90
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Step
m_Step
The step we're passing to the listeners-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description AnnotationEvent(Object source, Step step)
Constructs an Annotation Event
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Step
getStep()
A getter for the step this event is for-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
m_Step
protected Step m_Step
The step we're passing to the listeners
-
-
Constructor Detail
-
AnnotationEvent
public AnnotationEvent(Object source, Step step)
Constructs an Annotation Event- Parameters:
source
- The object on which the Event initially occurred.step
- The step object the listener will make use of- Throws:
IllegalArgumentException
- if source is null or if step is null
-
-
Method Detail
-
getStep
public Step getStep()
A getter for the step this event is for- Returns:
- the step associated with this event
-
-