Class ComboBoxSelectionContext
java.lang.Object
com.bc.ceres.core.ExtensibleObject
com.bc.ceres.swing.selection.AbstractSelectionContext
com.bc.ceres.swing.selection.support.ComboBoxSelectionContext
- All Implemented Interfaces:
Extensible
,SelectionChangeEmitter
,SelectionContext
,SelectionSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setComboBox
(JComboBox comboBox) void
setSelection
(Selection selection) Sets a new selection.Methods inherited from class com.bc.ceres.swing.selection.AbstractSelectionContext
addSelectionChangeListener, canDeleteSelection, canInsert, canSelectAll, deleteSelection, fireSelectionChange, getSelectionChangeListeners, insert, removeSelectionChangeListener, selectAll
Methods inherited from class com.bc.ceres.core.ExtensibleObject
getExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.bc.ceres.core.Extensible
getExtension
-
Constructor Details
-
ComboBoxSelectionContext
-
-
Method Details
-
getSelection
- Returns:
- The current selection. The selection may be empty, but never
null
. - See Also:
-
setSelection
Description copied from interface:SelectionContext
Sets a new selection.- Parameters:
selection
- The new selection.
-
getComboBox
-
setComboBox
-