PropertyDescriptor Members

PropertyDescriptor Members

Class Overview | This Package | All Packages

Constructors
Name Description
PropertyDescriptor(String, Class) Constructs a PropertyDescriptor for a property that follows the standard Java convention by having getFoo and setFoo accessor methods.
PropertyDescriptor(String, Class, String, String) This constructor takes the name of a simple property, and method names for reading and writing the property.
PropertyDescriptor(String, Method, Method) This constructor takes the name of a simple property, and Method objects for reading and writing the property.

Methods
Name Description
getPropertyEditorClass()  
getPropertyType()  
getReadMethod()  
getWriteMethod()  
isBound() Updates to "bound" properties will cause a "PropertyChange" event to get fired when the property is changed.
isConstrained() Attempted updates to "Constrained" properties will cause a "VetoableChange" event to get fired when the property is changed.
setBound(boolean) Updates to "bound" properties will cause a "PropertyChange" event to get fired when the property is changed.
setConstrained(boolean) Attempted updates to "Constrained" properties will cause a "VetoableChange" event to get fired when the property is changed.
setPropertyEditorClass(Class) Normally PropertyEditors will be found using the PropertyEditorManager.