BasicComboBoxUI
, MultiComboBoxUI
public abstract class ComboBoxUI extends ComponentUI
Modifier | Constructor | Description |
---|---|---|
protected |
Constructor for subclasses to call. |
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
isFocusTraversable |
Determine whether or not the combo box itself is traversable |
abstract boolean |
isPopupVisible |
Determine the visibility of the popup |
abstract void |
setPopupVisible |
Set the visibility of the popup |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
protected ComboBoxUI()
public abstract void setPopupVisible(JComboBox<?> c, boolean v)
c
- a JComboBox
v
- a boolean
determining the visibility of the popuppublic abstract boolean isPopupVisible(JComboBox<?> c)
c
- a JComboBox
JComboBox
is visiblepublic abstract boolean isFocusTraversable(JComboBox<?> c)
c
- a JComboBox
JComboBox
is traversable
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/ComboBoxUI.html