GraphLab Project

graphlab.ui.components.gpropertyeditor.editors.inplace
Class GComboEditor

java.lang.Object
  extended by 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


Constructor Summary
GComboEditor()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          occurs when one item of combo list selected
 void cancelEditing()
           
 java.awt.Component getEditorComponent(java.lang.Object value)
           
 java.lang.Object getEditorValue()
           
 java.lang.Object getSelectedItem()
          returns the selected item in combo list
abstract  java.lang.Object[] getValues()
           
 void setEditingFinishedListener(EditingFinishedListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GComboEditor

public GComboEditor()
Method Detail

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


GraphLab Project