org.tridas.io.gui.components.editors
Class StringValueEditor

java.lang.Object
  extended by org.tridas.io.gui.components.DefaultFieldEditor.AbstractEditorDelegate
      extended by org.tridas.io.gui.components.editors.StringValueEditor
All Implemented Interfaces:
ActionListener, ItemListener, Serializable, EventListener

public class StringValueEditor
extends DefaultFieldEditor.AbstractEditorDelegate

Author:
daniel
See Also:
Serialized Form

Field Summary
 JTextField comp
           
 String orig
           
 
Fields inherited from class org.tridas.io.gui.components.DefaultFieldEditor.AbstractEditorDelegate
editor
 
Constructor Summary
StringValueEditor(DefaultFieldEditor argEditor)
           
 
Method Summary
 Object getCellEditorValue()
          Returns the value of this cell.
 Component getComponent()
           
 void revert()
           
 void setValue(Object argValue)
          Sets the value of this cell.
 
Methods inherited from class org.tridas.io.gui.components.DefaultFieldEditor.AbstractEditorDelegate
actionPerformed, cancelCellEditing, itemStateChanged, shouldSelectCell, startCellEditing, stopCellEditing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comp

public JTextField comp

orig

public String orig
Constructor Detail

StringValueEditor

public StringValueEditor(DefaultFieldEditor argEditor)
Parameters:
argEditor -
Method Detail

setValue

public void setValue(Object argValue)
Description copied from class: DefaultFieldEditor.AbstractEditorDelegate
Sets the value of this cell.

Specified by:
setValue in class DefaultFieldEditor.AbstractEditorDelegate
Parameters:
argValue - the new value of this cell
See Also:
org.tridas.io.gui.components.editors.ICellFieldEditor#setValue(java.lang.Object)

getCellEditorValue

public Object getCellEditorValue()
Description copied from class: DefaultFieldEditor.AbstractEditorDelegate
Returns the value of this cell.

Specified by:
getCellEditorValue in class DefaultFieldEditor.AbstractEditorDelegate
Returns:
the value of this cell
See Also:
DefaultFieldEditor.AbstractEditorDelegate.getCellEditorValue()

getComponent

public Component getComponent()
Specified by:
getComponent in class DefaultFieldEditor.AbstractEditorDelegate
See Also:
DefaultFieldEditor.AbstractEditorDelegate.getComponent()

revert

public void revert()
Specified by:
revert in class DefaultFieldEditor.AbstractEditorDelegate
See Also:
DefaultFieldEditor.AbstractEditorDelegate.revert()


Copyright © 2011. All Rights Reserved.