Uses of Interface
javax.swing.ComboBoxModel
Packages that use ComboBoxModel
包
描述
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
-
Uses of ComboBoxModel in javax.swing
Subinterfaces of ComboBoxModel in javax.swingClasses in javax.swing that implement ComboBoxModelFields in javax.swing declared as ComboBoxModel修饰符和类Field描述protected ComboBoxModel
<E> JComboBox.dataModel
This protected field is implementation specific.Methods in javax.swing that return ComboBoxModelMethods in javax.swing with parameters of type ComboBoxModel修饰符和类方法描述int
JComboBox.KeySelectionManager.selectionForKey
(char aKey, ComboBoxModel<?> aModel) GivenaKey
and the model, returns the row that should become selected.void
JComboBox.setModel
(ComboBoxModel<E> aModel) Sets the data model that theJComboBox
uses to obtain the list of items.Constructors in javax.swing with parameters of type ComboBoxModelModifierConstructor描述JComboBox
(ComboBoxModel<E> aModel) Creates aJComboBox
that takes its items from an existingComboBoxModel
. -
Uses of ComboBoxModel in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with parameters of type ComboBoxModel修饰符和类方法描述protected void
BasicComboPopup.installComboBoxModelListeners
(ComboBoxModel<?> model) Installs the listeners on the combo box model.protected void
BasicComboPopup.uninstallComboBoxModelListeners
(ComboBoxModel<?> model) Removes the listeners from the combo box model -
Uses of ComboBoxModel in javax.swing.plaf.metal
Classes in javax.swing.plaf.metal that implement ComboBoxModel修饰符和类Class描述protected class
Data model for a type-face selection combo-box.protected class
Data model for a type-face selection combo-box.