Package com.bc.ceres.swing.selection
Interface SelectionSource
- All Superinterfaces:
SelectionChangeEmitter
- All Known Subinterfaces:
FigureEditor
,SelectionContext
,SelectionManager
- All Known Implementing Classes:
AbstractSelectionContext
,ComboBoxSelectionContext
,DefaultFigureEditor
,DefaultSelectionContext
,DefaultSelectionManager
,FigureSelectionContext
,ListSelectionContext
,TableSelectionContext
,TreeSelectionContext
A selection source holds a current selection and reports selection change events
by emitting them to interested
selection change listener
s.
This interface may be implemented by clients.
- Since:
- Ceres 0.10
-
Method Summary
Methods inherited from interface com.bc.ceres.swing.selection.SelectionChangeEmitter
addSelectionChangeListener, getSelectionChangeListeners, removeSelectionChangeListener
-
Method Details
-
getSelection
Selection getSelection()- Returns:
- The current selection. The selection may be empty, but never
null
. - See Also:
-