public class ValuePassThroughCellEditor extends Object implements ComboBoxEditor
| Constructor and Description |
|---|
ValuePassThroughCellEditor(JComboBox comboBox,
ListCellRenderer renderer) |
| Modifier and Type | Method and Description |
|---|---|
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 item)
Set the item that should be edited.
|
public ValuePassThroughCellEditor(JComboBox comboBox, ListCellRenderer renderer)
public Component getEditorComponent()
getEditorComponent in interface ComboBoxEditorpublic void setItem(Object item)
setItem in interface ComboBoxEditorpublic Object getItem()
getItem in interface ComboBoxEditorpublic void selectAll()
selectAll in interface ComboBoxEditorpublic void addActionListener(ActionListener l)
addActionListener in interface ComboBoxEditorpublic void removeActionListener(ActionListener l)
removeActionListener in interface ComboBoxEditorCopyright © 2018 Hitachi Vantara. All rights reserved.