Constructs a PropertyDescriptor for a property that follows
the standard Java convention by having getFoo and setFoo
accessor methods. Thus if the argument name is "fred", it will
assume that the reader method is "getFred" and the writer method
is "setFred". Note that the property name should start with a lower
case character, which will be capitalized in the method names.
Parameters:
propertyName - The programmatic name of the property.
beanClass - The Class object for the target bean. For
example sun.beans.OurButton.class.
The Java type info for the property. Note that
the "Class" object may describe a built-in Java type such as "int".
The result may be "null" if this is an indexed property that
does not support non-indexed access.
This is the type that will be returned by the ReadMethod.
public void setPropertyEditorClass(Class propertyEditorClass)
Normally PropertyEditors will be found using the PropertyEditorManager.
However if for some reason you want to associate a particular
PropertyEditor with a given property, then you can do it with
this method.
Parameters:
propertyEditorClass - The Class for the desired PropertyEditor.
Any explicit PropertyEditor Class that has been registered
for this property. Normally this will return "null",
indicating that no special editor has been registered,
so the PropertyEditorManager should be used to locate
a suitable PropertyEditor.
Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.