FileDocCategorySizeDatePackage
ComboBoxEditor.javaAPI DocJava SE 5 API1055Fri Aug 26 14:57:54 BST 2005javax.swing

ComboBoxEditor

public interface ComboBoxEditor
The editor component used for JComboBox components.
version
1.13 12/19/03
author
Arnaud Weber

Fields Summary
Constructors Summary
Methods Summary
public voidaddActionListener(java.awt.event.ActionListener l)
Add an ActionListener. An action event is generated when the edited item changes

public java.awt.ComponentgetEditorComponent()
Return the component that should be added to the tree hierarchy for this editor

public java.lang.ObjectgetItem()
Return the edited item

public voidremoveActionListener(java.awt.event.ActionListener l)
Remove an ActionListener

public voidselectAll()
Ask the editor to start editing and to select everything

public voidsetItem(java.lang.Object anObject)
Set the item that should be edited. Cancel any editing if necessary