public class ClassComboBoxEditor extends Object implements ComboBoxEditor
Constructor and Description |
---|
ClassComboBoxEditor() |
ClassComboBoxEditor(boolean withBorder,
Class[] classes) |
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 anObject)
Set the item that should be edited.
|
public ClassComboBoxEditor()
public ClassComboBoxEditor(boolean withBorder, Class[] classes)
public Component getEditorComponent()
getEditorComponent
in interface ComboBoxEditor
public void setItem(Object anObject)
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
Copyright © 2017 Hitachi Vantara. All rights reserved.