API Overview
API Index
Package Overview
Direct link to this page
JDK 1.6
javax.swing.plaf.basic.
BasicComboBoxEditor
View Source
Author(s)
Arnaud Weber
Mark Davidson
Since
Version
1.28 05/25/06
Serial
Hierarchy
Object
BasicComboBoxEditor
Implements
ComboBoxEditor
FocusListener
Subclasses
See ALL subclasses
BasicComboBoxEditor.UIResource
MetalComboBoxEditor
See DIRECT subclasses
BasicComboBoxEditor.UIResource
MetalComboBoxEditor
MetalComboBoxEditor.UIResource
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
class BasicComboBoxEditor
The default editor for editable combo boxes.
The default editor for editable combo boxes. The editor is implemented as a JTextField.
See also:
Constructors
public
BasicComboBoxEditor
()
Methods
Hide/Show inherited methods
public
void
addActionListener
(
ActionListener
l)
[Specified in
ComboBoxEditor
]
protected
JTextField
createEditorComponent
()
Creates the internal editor component.
Creates the internal editor component. Override this to provide
a custom implementation.
Returns:
a new editor component
Since:
1.6
public
void
focusGained
(
FocusEvent
e)
[Specified in
FocusListener
]
public
void
focusLost
(
FocusEvent
e)
[Specified in
FocusListener
]
public
Component
getEditorComponent
()
[Specified in
ComboBoxEditor
]
public
Object
getItem
()
[Specified in
ComboBoxEditor
]
public
void
removeActionListener
(
ActionListener
l)
[Specified in
ComboBoxEditor
]
public
void
selectAll
()
[Specified in
ComboBoxEditor
]
public
void
setItem
(
Object
anObject)
[Specified in
ComboBoxEditor
]
Sets the item that should be edited.
Sets the item that should be edited.
Parameters:
-
anObject
- the displayed value of the editor
Fields
Hide/Show inherited fields
protected
JTextField
editor
Nested Classes
BasicComboBoxEditor.BorderlessTextField
BasicComboBoxEditor.UIResource
A subclass of BasicComboBoxEditor that implements UIResource.
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar