Package com.bc.ceres.swing.selection
Class SelectionChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.bc.ceres.swing.selection.SelectionChangeEvent
-
- All Implemented Interfaces:
Serializable
public class SelectionChangeEvent extends EventObject
An event indicating that a selection or selection context change has occurred.- Since:
- Ceres 0.10
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description SelectionChangeEvent(Object source, SelectionContext selectionContext, Selection selection)
Constructs a selection event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Selection
getSelection()
SelectionContext
getSelectionContext()
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
SelectionChangeEvent
public SelectionChangeEvent(Object source, SelectionContext selectionContext, Selection selection)
Constructs a selection event.- Parameters:
source
- The object that originated the event.selectionContext
- The selection context in which the selection event took place.selection
- The selection.
-
-
Method Detail
-
getSelectionContext
public SelectionContext getSelectionContext()
- Returns:
- The selection context in which the selection event took place.
-
getSelection
public Selection getSelection()
- Returns:
- The selection.
-
-