javax.swing.plaf.basic
Class BasicComboBoxEditor
java.lang.Object
|
+--javax.swing.plaf.basic.BasicComboBoxEditor
- Direct Known Subclasses:
- BasicComboBoxEditor.UIResource, MetalComboBoxEditor
- public class BasicComboBoxEditor
- extends Object
- implements ComboBoxEditor, 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 Component getEditorComponent()
- Specified by:
- getEditorComponent in interface ComboBoxEditor
setItem
public void setItem(Object anObject)
- Specified by:
- setItem in interface ComboBoxEditor
getItem
public Object getItem()
- Specified by:
- getItem in interface ComboBoxEditor
selectAll
public void selectAll()
- Specified by:
- selectAll in interface ComboBoxEditor
focusGained
public void focusGained(FocusEvent e)
- Specified by:
- focusGained in interface FocusListener
focusLost
public void focusLost(FocusEvent e)
- Specified by:
- focusLost in interface FocusListener
addActionListener
public void addActionListener(ActionListener l)
- Specified by:
- addActionListener in interface ComboBoxEditor
removeActionListener
public void removeActionListener(ActionListener l)
- Specified by:
- removeActionListener in interface ComboBoxEditor
Submit a bug or feature Version 1.2 of Java Platform API Specification
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.