Interface com.sun.java.swing.ComboBoxEditor
- public interface ComboBoxEditor
Method Index
- addActionListener(ActionListener)
- Add an ActionListener.
- getEditorComponent()
- Return the component that should be added to the tree hierarchy for
this editor
- getItem()
- Return the edited item
- removeActionListener(ActionListener)
- Remove an ActionListener
- selectAll()
- Ask the editor to start editing and to select everything
- setItem(Object)
- Set the item that should be edited.
Methods
getEditorComponent
public abstract Component getEditorComponent()
- Return the component that should be added to the tree hierarchy for
this editor
setItem
public abstract void setItem(Object anObject)
- Set the item that should be edited. Cancel any editing if necessary
getItem
public abstract Object getItem()
- Return the edited item
selectAll
public abstract void selectAll()
- Ask the editor to start editing and to select everything
addActionListener
public abstract void addActionListener(ActionListener l)
- Add an ActionListener. An action event is generated when the edited item changes
removeActionListener
public abstract void removeActionListener(ActionListener l)
- Remove an ActionListener
