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

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

public class BooleanEditor
extends DefaultFieldEditor.AbstractEditorDelegate

Author:
daniel
See Also:
Serialized Form

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

orig

public Boolean orig
Constructor Detail

BooleanEditor

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

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

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:
DefaultFieldEditor.AbstractEditorDelegate.setValue(java.lang.Object)

revert

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


Copyright © 2011. All Rights Reserved.