
public abstract interface ComboBoxEditor {
// Event Registration Methods (by event name)
public abstract void addActionListener(java.awt.e vent.ActionListener l);
public abstract void removeActionListener(java.awt.e vent.ActionListener l);
// Public Instance Methods
public abstract Component getEditorComponent();
public abstract Object getItem();
public abstract void selectAll();
public abstract void setItem(Object anObject);
}
Passed To: JComboBox.{configureEditor(), setEditor()}
Retur ned By: JComboBox.getEditor()
Type Of: JComboBox.editor
ComboBoxModel Ja va 1.2
javax.swing model
This interface defines the basic model used by the JComboBox component. The JCom-
boBox allows the user to select a value from a list or type a value directly. Therefor e,
ComboBoxModel extends ListModel to add support for a selected item, in addition to the
list of items that ListModel alr eady supports. See also MutableComboBoxModel and Default-
ComboBoxModel.
public abstract interface ComboBoxModel extends ListModel {
// Public Instance Methods
public abstract Object getSelectedItem();
public abstract void setSelectedItem(Object anItem);
}
Hierar chy: (ComboBoxModel(ListModel))
Implementations: MutableComboBoxModel
Passed To: JComboBox.{JComboBox(), setModel()}, JComboBox.KeySelectionManager.selectionForKey()
Retur ned By: JComboBox.getModel()
Type Of: JComboBox.dataModel
DebugGraphics Ja va 1.2
javax.swing
This subclass of jav ...