fdda.propertyTypes.implementations
Class DoubleEditor

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

public class DoubleEditor
extends OiCellEditor

Uses a textfield to edit double values.

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
DoubleEditor(Property property, Object value, DoubleGenerator 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

DoubleEditor

public DoubleEditor(Property property,
                    Object value,
                    DoubleGenerator generator)
Default constructor.

Parameters:
property - the property whose value will be edited.
value - the value
generator - generator for doubles
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.