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 ComboBoxEditor
public void setItem(Object item)
setItem
in interface ComboBoxEditor
public Object getItem()
getItem
in interface ComboBoxEditor
public void selectAll()
selectAll
in interface ComboBoxEditor
public void addActionListener(ActionListener l)
addActionListener
in interface ComboBoxEditor
public void removeActionListener(ActionListener l)
removeActionListener
in interface ComboBoxEditor