APIdia Launch Partner
Top Description Constructors Methods
javax.swing.plaf

public abstract Class ComboBoxUI

extends ComponentUI
Class Inheritance
Known Direct Subclasses
javax.swing.plaf.basic.BasicComboBoxUI, javax.swing.plaf.multi.MultiComboBoxUI
Imports
javax.swing.JComboBox

Pluggable look and feel interface for JComboBox.
Authors
Arnaud Weber, Tom Santos

Constructor Summary

AccessConstructor and Description
protected
ComboBoxUI()

Constructor for subclasses to call.

Method Summary

Modifier and TypeMethod and Description
public abstract boolean

Returns:

true if the given JComboBox is traversable
isFocusTraversable
(JComboBox<?>
a JComboBox
c
)

Determine whether or not the combo box itself is traversable

public abstract boolean

Returns:

true if popup of the JComboBox is visible
isPopupVisible
(JComboBox<?>
a JComboBox
c
)

Determine the visibility of the popup

public abstract void
setPopupVisible(JComboBox<?>
a JComboBox
c
,
boolean
a boolean determining the visibility of the popup
v
)

Set the visibility of the popup

Inherited from javax.swing.plaf.ComponentUI:
containscreateUIgetAccessibleChildgetAccessibleChildrenCountgetBaselinegetBaselineResizeBehaviorgetMaximumSizegetMinimumSizegetPreferredSizeinstallUIpaintuninstallUIupdate

Constructor Detail

ComboBoxUIback to summary
protected ComboBoxUI()

Constructor for subclasses to call.

Method Detail

isFocusTraversableback to summary
public abstract boolean isFocusTraversable(JComboBox<?> c)

Determine whether or not the combo box itself is traversable

Parameters
c:JComboBox<?>

a JComboBox

Returns:boolean

true if the given JComboBox is traversable

isPopupVisibleback to summary
public abstract boolean isPopupVisible(JComboBox<?> c)

Determine the visibility of the popup

Parameters
c:JComboBox<?>

a JComboBox

Returns:boolean

true if popup of the JComboBox is visible

setPopupVisibleback to summary
public abstract void setPopupVisible(JComboBox<?> c, boolean v)

Set the visibility of the popup

Parameters
c:JComboBox<?>

a JComboBox

v:boolean

a boolean determining the visibility of the popup