public abstract class ComboBoxUI extends ComponentUI
JComboBox
.Constructor and Description |
---|
ComboBoxUI()
Constructs a new
ComboBoxUI . |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isFocusTraversable(JComboBox c)
Determines whether the combo box can receive input focus.
|
abstract boolean |
isPopupVisible(JComboBox c)
Determines whether the popup button is currently visible.
|
abstract void |
setPopupVisible(JComboBox c,
boolean visible)
Sets the visibility of the popup button.
|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
public ComboBoxUI()
ComboBoxUI
.public abstract void setPopupVisible(JComboBox c, boolean visible)
c
- the JComboBox
whose popup
is shown or hidden.visible
- true
to show the popup, false
to hide it.public abstract boolean isPopupVisible(JComboBox c)
c
- the JComboBox
whose popup visibility
is retrieved.true
if the popup button is currently
visible, false
otherwise.public abstract boolean isFocusTraversable(JComboBox c)
c
- JComboBox
whose focus traversability
is to be retrieved.true
if c
can receive
input focus, false
otherwise.