| java.lang.Object | |
| ↳ | javax.swing.plaf.basic.BasicComboBoxEditor |
Known Direct Subclasses
|
Known Indirect Subclasses
|
The default editor for editable combo boxes. The editor is implemented as a JTextField.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BasicComboBoxEditor.UIResource | A subclass of BasicComboBoxEditor that implements UIResource. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| editor | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add an ActionListener.
| |||||||||||
Invoked when a component gains the keyboard focus.
| |||||||||||
Invoked when a component loses the keyboard focus.
| |||||||||||
Return the component that should be added to the tree hierarchy for
this editor
| |||||||||||
Return the edited item
| |||||||||||
Remove an ActionListener
| |||||||||||
Ask the editor to start editing and to select everything
| |||||||||||
Sets the item that should be edited.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates the internal editor component.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.awt.event.FocusListener
| |||||||||||
From interface
javax.swing.ComboBoxEditor
| |||||||||||
Add an ActionListener. An action event is generated when the edited item changes
Return the component that should be added to the tree hierarchy for this editor
Ask the editor to start editing and to select everything
Sets the item that should be edited.
| anObject | the displayed value of the editor |
|---|
Creates the internal editor component. Override this to provide a custom implementation.