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

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

public class UneditableEditor
extends DefaultFieldEditor.AbstractEditorDelegate

Author:
daniel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tridas.io.gui.components.DefaultFieldEditor.AbstractEditorDelegate
editor
 
Constructor Summary
UneditableEditor(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
 

Constructor Detail

UneditableEditor

public UneditableEditor(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

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.