java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ComboBoxUI
- Direct Known Subclasses:
BasicComboBoxUI
,MultiComboBoxUI
Pluggable look and feel interface for JComboBox.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
isFocusTraversable
(JComboBox<?> c) Determine whether or not the combo box itself is traversableabstract boolean
isPopupVisible
(JComboBox<?> c) Determine the visibility of the popupabstract void
setPopupVisible
(JComboBox<?> c, boolean v) Set the visibility of the popupMethods declared in class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
Constructor Details
-
ComboBoxUI
protected ComboBoxUI()Constructor for subclasses to call.
-
-
Method Details
-
setPopupVisible
Set the visibility of the popup- Parameters:
c
- aJComboBox
v
- aboolean
determining the visibility of the popup
-
isPopupVisible
Determine the visibility of the popup- Parameters:
c
- aJComboBox
- Returns:
- true if popup of the
JComboBox
is visible
-
isFocusTraversable
Determine whether or not the combo box itself is traversable- Parameters:
c
- aJComboBox
- Returns:
- true if the given
JComboBox
is traversable
-