fdda.propertyTypes
Class NodeTypeType

java.lang.Object
  |
  +--fdda.propertyTypes.AbstractPropertyType
        |
        +--fdda.propertyTypes.NodeTypeType
All Implemented Interfaces:
PropertyType

public class NodeTypeType
extends AbstractPropertyType

Type for the properties that determine the algorithmic type of a node.

Author:
Jörg Rüdenauer

Field Summary
 
Fields inherited from class fdda.propertyTypes.AbstractPropertyType
generator
 
Constructor Summary
NodeTypeType()
           
 
Method Summary
 OiCellEditor getCellEditor(Property property, Object value)
          Returns an editor for values of this type.
 Component getCellRenderer(Property property, int column)
          Returns a cell renderer that visualizes values of this type.
 TypeGenerator getTypeGenerator()
          Returns a generator for the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypeType

public NodeTypeType()
Method Detail

getTypeGenerator

public TypeGenerator getTypeGenerator()
Description copied from interface: PropertyType
Returns a generator for the type.

Returns:
generator

getCellRenderer

public Component getCellRenderer(Property property,
                                 int column)
Description copied from interface: PropertyType
Returns a cell renderer that visualizes values of this type. This cell renderer is used in the table of the property edit panel.

Specified by:
getCellRenderer in interface PropertyType
Overrides:
getCellRenderer in class AbstractPropertyType
Parameters:
property - the property whose value shall be visualized
column - the column in the table - 0 is the left column that normally just contains the name of the property. 1 is the right column that normally contains the value.
Returns:
renderer for a table cell

getCellEditor

public OiCellEditor getCellEditor(Property property,
                                  Object value)
Description copied from interface: PropertyType
Returns an editor for values of this type. The editor should fit into a table cell of the property edit panel.

Parameters:
property - the property whose value shall be edited
value - the value that will be edited
Returns:
the editor for this value


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