Uses of Class
javax.swing.JComboBox
Package | Description |
---|---|
javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
|
javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
-
Uses of JComboBox in javax.swing
Constructors in javax.swing with parameters of type JComboBox Constructor Description DefaultCellEditor(JComboBox<?> comboBox)
Constructs aDefaultCellEditor
object that uses a combo box. -
Uses of JComboBox in javax.swing.plaf
Methods in javax.swing.plaf with parameters of type JComboBox Modifier and Type Method Description abstract boolean
ComboBoxUI. isFocusTraversable(JComboBox<?> c)
Determine whether or not the combo box itself is traversableabstract boolean
ComboBoxUI. isPopupVisible(JComboBox<?> c)
Determine the visibility of the popupabstract void
ComboBoxUI. setPopupVisible(JComboBox<?> c, boolean v)
Set the visibility of the popup -
Uses of JComboBox in javax.swing.plaf.basic
Fields in javax.swing.plaf.basic declared as JComboBox Modifier and Type Field Description protected JComboBox<Object>
BasicComboBoxUI. comboBox
The instance ofJComboBox
.protected JComboBox<Object>
BasicComboPopup. comboBox
The instance ofJComboBox
.Methods in javax.swing.plaf.basic with parameters of type JComboBox Modifier and Type Method Description boolean
BasicComboBoxUI. isFocusTraversable(JComboBox<?> c)
Determines if the JComboBox is focus traversable.boolean
BasicComboBoxUI. isPopupVisible(JComboBox<?> c)
Tells if the popup is visible or not.void
BasicComboBoxUI. setPopupVisible(JComboBox<?> c, boolean v)
Hides the popup.Constructors in javax.swing.plaf.basic with parameters of type JComboBox Constructor Description BasicComboPopup(JComboBox<Object> combo)
Constructs a new instance ofBasicComboPopup
. -
Uses of JComboBox in javax.swing.plaf.metal
Fields in javax.swing.plaf.metal declared as JComboBox Modifier and Type Field Description protected JComboBox<Object>
MetalComboBoxButton. comboBox
The instance ofJComboBox
.Methods in javax.swing.plaf.metal that return JComboBox Modifier and Type Method Description JComboBox<Object>
MetalComboBoxButton. getComboBox()
Returns theJComboBox
.Methods in javax.swing.plaf.metal with parameters of type JComboBox Modifier and Type Method Description void
MetalComboBoxButton. setComboBox(JComboBox<Object> cb)
Sets theJComboBox
.Constructors in javax.swing.plaf.metal with parameters of type JComboBox Constructor Description MetalComboBoxButton(JComboBox<Object> cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList<Object> list)
Constructs a new instance ofMetalComboBoxButton
.MetalComboBoxButton(JComboBox<Object> cb, Icon i, CellRendererPane pane, JList<Object> list)
Constructs a new instance ofMetalComboBoxButton
.MetalComboPopup(JComboBox<Object> cBox)
Deprecated.Constructs a new instance ofMetalComboPopup
. -
Uses of JComboBox in javax.swing.plaf.multi
Methods in javax.swing.plaf.multi with parameters of type JComboBox Modifier and Type Method Description boolean
MultiComboBoxUI. isFocusTraversable(JComboBox<?> a)
Invokes theisFocusTraversable
method on each UI handled by this object.boolean
MultiComboBoxUI. isPopupVisible(JComboBox<?> a)
Invokes theisPopupVisible
method on each UI handled by this object.void
MultiComboBoxUI. setPopupVisible(JComboBox<?> a, boolean b)
Invokes thesetPopupVisible
method on each UI handled by this object.