fdda.propertyTypes
Class AbstractPropertyType
java.lang.Object
|
+--fdda.propertyTypes.AbstractPropertyType
- All Implemented Interfaces:
- PropertyType
- Direct Known Subclasses:
- BooleanType, DoubleType, IntegerType, NodeTypeType, StringType
- public abstract class AbstractPropertyType
- extends Object
- implements PropertyType
Abstract implementation of PropertyType, superclass for the real property
types. Stores the corresponding type generator and provides a default
implementation of getCellRenderer that uses a JLabel.
- Author:
- Jörg Rüdenauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
generator
protected TypeGenerator generator
- the type generator
AbstractPropertyType
public AbstractPropertyType()
- Default constructor.
getCellRenderer
public Component getCellRenderer(Property inProperty,
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
- Parameters:
inProperty
- the property whose value shall be visualizedcolumn
- 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
API documentation for FDDA version 0.9. Generated on 17/02/2004 14:12.