GraphLab Project

graphlab.ui.components.gpropertyeditor.editors
Class GStringEditor

java.lang.Object
  extended by graphlab.ui.components.gpropertyeditor.editors.GStringEditor
All Implemented Interfaces:
GBasicCellEditor, java.awt.event.ActionListener, java.util.EventListener
Direct Known Subclasses:
GDimensionEditor

public class GStringEditor
extends java.lang.Object
implements GBasicCellEditor, java.awt.event.ActionListener

Author:
azin azadi

Field Summary
protected  java.lang.String initVal
           
protected  javax.swing.JTextField jt
           
 
Constructor Summary
GStringEditor()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void cancelEditing()
           
protected  void finishEdit()
           
 java.awt.Component getEditorComponent(java.lang.Object value)
           
 java.lang.Object getEditorValue()
           
 void setEditingFinishedListener(EditingFinishedListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initVal

protected java.lang.String initVal

jt

protected javax.swing.JTextField jt
Constructor Detail

GStringEditor

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

getEditorValue

public java.lang.Object getEditorValue()
Specified by:
getEditorValue in interface GBasicCellEditor

finishEdit

protected void finishEdit()

actionPerformed

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

GraphLab Project