javax.swing
public interface ComboBoxEditor
JComboBox
es.Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener listener)
This method adds specified ActionListener to this ComboBoxEditor.
|
Component |
getEditorComponent()
This method returns component that will be used by the combo box to
display/edit currently selected item in the combo box.
|
Object |
getItem()
This method returns item that is currently editable.
|
void |
removeActionListener(ActionListener listener)
This method removes given ActionListener from this ComboBoxEditor.
|
void |
selectAll()
selectAll
|
void |
setItem(Object item)
Sets item that should be editted when any editting operation is performed
by the user.
|
Component getEditorComponent()
void setItem(Object item)
item
- item that is currently selected in the combo boxObject getItem()
void selectAll()
void addActionListener(ActionListener listener)
listener
- void removeActionListener(ActionListener listener)
listener
- TODO