fdda.propertyTypes.implementations
Class NodeTypeEditor

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

public class NodeTypeEditor
extends OiCellEditor

Editor for the type of nodes. Uses a combo box to present the possible choices.

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
NodeTypeEditor(Property property, Object value, NodeTypeGenerator generator)
          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

NodeTypeEditor

public NodeTypeEditor(Property property,
                      Object value,
                      NodeTypeGenerator generator)
Constructor

Parameters:
property - the property whose value will be edited
value - the value
generator - the generator for NodeTypes
Method Detail

getTableCellEditorComponent

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

Specified by:
getTableCellEditorComponent in class OiCellEditor
Returns:
the editor

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


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