public class G9ComboBoxEditor extends Object implements ComboBoxEditor
G9TextField, but might change in
future release. Thus one should not depend on a specific component type
being returned by the getEditorComoponent method.| Modifier and Type | Field and Description |
|---|---|
protected G9TextField |
editor
The editor component
|
| Constructor and Description |
|---|
G9ComboBoxEditor(G9ComboBox combo)
Constructs a new editor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addActionListener(ActionListener l) |
Component |
getEditorComponent()
Return the component that should be added to the tree hierarchy for
this editor.
|
Object |
getItem() |
void |
removeActionListener(ActionListener l) |
void |
selectAll() |
void |
setItem(Object anObject) |
void |
setSelectAllOnFocus(boolean selectAllOnFocus)
Sets the select all on focus property
|
protected G9TextField editor
public G9ComboBoxEditor(G9ComboBox combo)
combo - the combo box using this editor.public void addActionListener(ActionListener l)
addActionListener in interface ComboBoxEditorpublic Component getEditorComponent()
getEditorComponent in interface ComboBoxEditorpublic Object getItem()
getItem in interface ComboBoxEditorpublic void removeActionListener(ActionListener l)
removeActionListener in interface ComboBoxEditorpublic void selectAll()
selectAll in interface ComboBoxEditorpublic void setItem(Object anObject)
setItem in interface ComboBoxEditorpublic void setSelectAllOnFocus(boolean selectAllOnFocus)
selectAllOnFocus - the select all on focus propertyG9TextField.setSelectAllOnFocus(boolean)Copyright © 2006–2017 Esito AS. All rights reserved.