fdda.propertyTypes.implementations
Class BooleanEditor

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

public class BooleanEditor
extends OiCellEditor

An Editor for boolean values - uses a check box.

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
BooleanEditor(Property property, Object value, BooleanGenerator 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

BooleanEditor

public BooleanEditor(Property property,
                     Object value,
                     BooleanGenerator generator)
Default constructor.

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