uchicago.src.reflector
Class PropertyDescriptor

java.lang.Object
  extended by uchicago.src.reflector.PropertyDescriptor
Direct Known Subclasses:
BooleanPropertyDescriptor, FilePropertyDescriptor, ListPropertyDescriptor, RangePropertyDescriptor

public abstract class PropertyDescriptor
extends java.lang.Object

Base class for describing an Object's property. This includes its name and a PropertyWidget that is a GUI representation of that property.

Version:
$Revision: 1.6 $ $Date: 2004/11/03 19:51:05 $

Field Summary
protected  PropertyWidget widget
          The widget used to manipulate this property
 
Constructor Summary
PropertyDescriptor(java.lang.String name)
           
PropertyDescriptor(java.lang.String name, PropertyWidget widget)
           
 
Method Summary
 java.lang.String getName()
           
 PropertyWidget getWidget()
          Returns the PropertyWidget associated with this PropertyDescriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

widget

protected PropertyWidget widget
The widget used to manipulate this property

Constructor Detail

PropertyDescriptor

public PropertyDescriptor(java.lang.String name,
                          PropertyWidget widget)

PropertyDescriptor

public PropertyDescriptor(java.lang.String name)
Method Detail

getName

public java.lang.String getName()

getWidget

public PropertyWidget getWidget()
Returns the PropertyWidget associated with this PropertyDescriptor.