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 TypeMethodDescriptionvoidsetComboBox(JComboBox comboBox) voidsetSelection(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, selectAllMethods inherited from class com.bc.ceres.core.ExtensibleObject
getExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:SelectionContextSets a new selection.- Parameters:
selection- The new selection.
-
getComboBox
-
setComboBox
-