Package com.bc.ceres.swing.selection
Interface SelectionChangeEmitter
-
- All Known Subinterfaces:
FigureEditor
,SelectionContext
,SelectionManager
,SelectionSource
- All Known Implementing Classes:
AbstractSelectionContext
,ComboBoxSelectionContext
,DefaultFigureEditor
,DefaultSelectionContext
,DefaultSelectionManager
,FigureSelectionContext
,ListSelectionContext
,TableSelectionContext
,TreeSelectionContext
public interface SelectionChangeEmitter
Objects implementing this interface emit selection change events to interestedselection change listener
s.- Since:
- Ceres 0.10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSelectionChangeListener(SelectionChangeListener listener)
Adds a selection change listener to this emitter.SelectionChangeListener[]
getSelectionChangeListeners()
Gets all registered selection change listeners.void
removeSelectionChangeListener(SelectionChangeListener listener)
Removes a selection change listener from this emitter.
-
-
-
Method Detail
-
addSelectionChangeListener
void addSelectionChangeListener(SelectionChangeListener listener)
Adds a selection change listener to this emitter.- Parameters:
listener
- The listener.
-
removeSelectionChangeListener
void removeSelectionChangeListener(SelectionChangeListener listener)
Removes a selection change listener from this emitter.- Parameters:
listener
- The listener.
-
getSelectionChangeListeners
SelectionChangeListener[] getSelectionChangeListeners()
Gets all registered selection change listeners.- Returns:
- An array containing all registered listeners.
-
-