graphlab.ui.components.GPropertyEditor.editors.inplace
Class GComboEditor
java.lang.Object
graphlab.ui.components.GPropertyEditor.editors.inplace.GComboEditor
- All Implemented Interfaces:
- GBasicCellEditor, java.awt.event.ActionListener, java.util.EventListener
- Direct Known Subclasses:
- ArrayXEditor, ArrowEditor, GShapeEditor, GSimpleComboEditor, GStrokeEditor
public abstract class GComboEditor
- extends java.lang.Object
- implements GBasicCellEditor, java.awt.event.ActionListener
User: root
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GComboEditor
public GComboEditor()
setEditingFinishedListener
public void setEditingFinishedListener(EditingFinishedListener listener)
- Specified by:
setEditingFinishedListener in interface GBasicCellEditor
getEditorComponent
public java.awt.Component getEditorComponent(java.lang.Object value)
- Specified by:
getEditorComponent in interface GBasicCellEditor
getValues
public abstract java.lang.Object[] getValues()
cancelEditing
public void cancelEditing()
- Specified by:
cancelEditing in interface GBasicCellEditor
getEditorValue
public java.lang.Object getEditorValue()
- Specified by:
getEditorValue in interface GBasicCellEditor
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- occurs when one item of combo list selected
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
- Parameters:
e -
getSelectedItem
public java.lang.Object getSelectedItem()
- returns the selected item in combo list