GraphLab Project

graphlab.ui.components.gpropertyeditor.editors
Class GDialogEditor<t>

java.lang.Object
  extended by graphlab.ui.components.gpropertyeditor.editors.GDialogEditor<t>
All Implemented Interfaces:
GBasicCellEditor, java.awt.event.ActionListener, java.util.EventListener
Direct Known Subclasses:
GColorEditor, GFileEditor, GFontEditor, GHashMapEditor

public abstract class GDialogEditor<t>
extends java.lang.Object
implements GBasicCellEditor, java.awt.event.ActionListener

User: root


Constructor Summary
GDialogEditor()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void cancelEditing()
           
abstract  javax.swing.JComponent getComponent(t initialValue)
           
 java.awt.Component getEditorComponent(java.lang.Object value)
           
abstract  t getEditorValue()
           
 void setEditingFinishedListener(EditingFinishedListener listener)
           
abstract  void setEditorValue(t value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GDialogEditor

public GDialogEditor()
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

cancelEditing

public void cancelEditing()
Specified by:
cancelEditing in interface GBasicCellEditor

getComponent

public abstract javax.swing.JComponent getComponent(t initialValue)

getEditorValue

public abstract t getEditorValue()
Specified by:
getEditorValue in interface GBasicCellEditor

setEditorValue

public abstract void setEditorValue(t value)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

GraphLab Project