Class ComboBoxUI

Direct Known Subclasses:
BasicComboBoxUI, MultiComboBoxUI

public abstract class ComboBoxUI
extends ComponentUI

Pluggable look and feel interface for JComboBox.

Constructors

Constructor and Description
ComboBoxUI()

Methods

Modifier and Type Method and Description
abstract boolean isFocusTraversable(JComboBox c)

Determine whether or not the combo box itself is traversable

abstract boolean isPopupVisible(JComboBox c)

Determine the visibility of the popup

abstract void setPopupVisible(JComboBox c, boolean v)

Set the visibility of the popup

Methods inherited from class javax.swing.plaf.ComponentUI

contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

ComboBoxUI

public ComboBoxUI()

Methods

setPopupVisible

public abstract void setPopupVisible(JComboBox c,
                                     boolean v)

Set the visibility of the popup

isPopupVisible

public abstract boolean isPopupVisible(JComboBox c)

Determine the visibility of the popup

isFocusTraversable

public abstract boolean isFocusTraversable(JComboBox c)

Determine whether or not the combo box itself is traversable

© 1993, 2020, 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/javase/8/docs/api/javax/swing/plaf/ComboBoxUI.html