Class ComboBoxUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ComboBoxUI
- Direct Known Subclasses:
- BasicComboBoxUI,- MultiComboBoxUI
Pluggable look and feel interface for JComboBox.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract booleanisFocusTraversable(JComboBox<?> c) Determine whether or not the combo box itself is traversableabstract booleanisPopupVisible(JComboBox<?> c) Determine the visibility of the popupabstract voidsetPopupVisible(JComboBox<?> c, boolean v) Set the visibility of the popupMethods declared in class javax.swing.plaf.ComponentUIcontains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
- 
Constructor Details- 
ComboBoxUIprotected ComboBoxUI()Constructor for subclasses to call.
 
- 
- 
Method Details- 
setPopupVisibleSet the visibility of the popup- Parameters:
- c- a- JComboBox
- v- a- booleandetermining the visibility of the popup
 
- 
isPopupVisibleDetermine the visibility of the popup- Parameters:
- c- a- JComboBox
- Returns:
- true if popup of the JComboBoxis visible
 
- 
isFocusTraversableDetermine whether or not the combo box itself is traversable- Parameters:
- c- a- JComboBox
- Returns:
- true if the given JComboBoxis traversable
 
 
-