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 interested
selection change listeners.- Since:
- Ceres 0.10
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a selection change listener to this emitter.Gets all registered selection change listeners.voidRemoves a selection change listener from this emitter.
-
Method Details
-
addSelectionChangeListener
Adds a selection change listener to this emitter.- Parameters:
listener- The listener.
-
removeSelectionChangeListener
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.
-