fdda.propertyTypes.implementations
Class IntegerEditor

java.lang.Object
  |
  +--javax.swing.AbstractCellEditor
        |
        +--fdda.dialog.swing.properties.OiCellEditor
              |
              +--fdda.propertyTypes.implementations.IntegerEditor
All Implemented Interfaces:
CellEditor, Serializable

public class IntegerEditor
extends OiCellEditor

Uses a textfield to edit an integer value.

Author:
Jörg Rüdenauer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class fdda.dialog.swing.properties.OiCellEditor
generator, myProperty, value
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
IntegerEditor(Property property, Object value, IntegerGenerator generator)
          Default constructor.
 
Method Summary
 Component getTableCellEditorComponent()
          Returns the real editor.
protected  String getValueAsString()
          Returns a string representation of the value
 
Methods inherited from class fdda.dialog.swing.properties.OiCellEditor
checkValue, fireEditingStopped, getCellEditorValue
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerEditor

public IntegerEditor(Property property,
                     Object value,
                     IntegerGenerator generator)
Default constructor.

Parameters:
property - the property whose value is to be edited.
value - the value.
generator - generator for integer objects.
Method Detail

getValueAsString

protected String getValueAsString()
Description copied from class: OiCellEditor
Returns a string representation of the value

Specified by:
getValueAsString in class OiCellEditor
Returns:
value as string

getTableCellEditorComponent

public Component getTableCellEditorComponent()
Description copied from class: OiCellEditor
Returns the real editor.

Specified by:
getTableCellEditorComponent in class OiCellEditor
Returns:
the editor


API documentation for FDDA version 0.9. Generated on 17/02/2004 14:12.