org.tridas.io.gui.components.editors
Class IntegerEditor
java.lang.Object
org.tridas.io.gui.components.DefaultFieldEditor.AbstractEditorDelegate
org.tridas.io.gui.components.editors.IntegerEditor
- All Implemented Interfaces:
- ActionListener, ItemListener, Serializable, EventListener
public class IntegerEditor
- extends DefaultFieldEditor.AbstractEditorDelegate
- Author:
- daniel
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comp
public JTextField comp
orig
public Integer orig
IntegerEditor
public IntegerEditor(DefaultFieldEditor argEditor)
- Parameters:
argEditor
-
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)
stopCellEditing
public boolean stopCellEditing()
- Description copied from class:
DefaultFieldEditor.AbstractEditorDelegate
- Stops editing and
returns true to indicate that editing has stopped.
This method calls
fireEditingStopped
.
- Overrides:
stopCellEditing
in class DefaultFieldEditor.AbstractEditorDelegate
- Returns:
- true
- See Also:
DefaultFieldEditor.AbstractEditorDelegate.stopCellEditing()
revert
public void revert()
- Specified by:
revert
in class DefaultFieldEditor.AbstractEditorDelegate
- See Also:
DefaultFieldEditor.AbstractEditorDelegate.revert()
Copyright © 2011. All Rights Reserved.