javax.swing.plaf.basic
Class BasicComboBoxEditor
java.lang.Object
|
+--javax.swing.plaf.basic.BasicComboBoxEditor
- Direct Known Subclasses:
- BasicComboBoxEditor.UIResource, MetalComboBoxEditor
- public class BasicComboBoxEditor
- extends java.lang.Object
- implements ComboBoxEditor, java.awt.event.FocusListener
The default editor for editable combo boxes
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
editor
protected JTextField editor
BasicComboBoxEditor
public BasicComboBoxEditor()
getEditorComponent
public java.awt.Component getEditorComponent()
- Specified by:
- getEditorComponent in interface ComboBoxEditor
setItem
public void setItem(java.lang.Object anObject)
- Specified by:
- setItem in interface ComboBoxEditor
getItem
public java.lang.Object getItem()
- Specified by:
- getItem in interface ComboBoxEditor
selectAll
public void selectAll()
- Specified by:
- selectAll in interface ComboBoxEditor
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Specified by:
- focusGained in interface java.awt.event.FocusListener
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Specified by:
- focusLost in interface java.awt.event.FocusListener
addActionListener
public void addActionListener(java.awt.event.ActionListener l)
- Specified by:
- addActionListener in interface ComboBoxEditor
removeActionListener
public void removeActionListener(java.awt.event.ActionListener l)
- Specified by:
- removeActionListener in interface ComboBoxEditor
Submit a bug or feature
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.