|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The editor component used for JComboBox components.
Method Summary | |
void |
addActionListener(ActionListener l)
Add an ActionListener. |
Component |
getEditorComponent()
Return the component that should be added to the tree hierarchy for this editor |
Object |
getItem()
Return the edited item |
void |
removeActionListener(ActionListener l)
Remove an ActionListener |
void |
selectAll()
Ask the editor to start editing and to select everything |
void |
setItem(Object anObject)
Set the item that should be edited. |
Method Detail |
public Component getEditorComponent()
public void setItem(Object anObject)
public Object getItem()
public void selectAll()
public void addActionListener(ActionListener l)
public void removeActionListener(ActionListener l)
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.