graphlab.ui.components.gpropertyeditor.editors
Class GStringEditor
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initVal
protected java.lang.String initVal
jt
protected javax.swing.JTextField jt
GStringEditor
public GStringEditor()
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