"public PropertyDescriptor( String propertyName, Class beanClass, String getterName, String setterName) throws IntrospectionException This constructor takes the name of a simple property, and method names for reading and writing the property. Parameters: propertyName - The programmatic name of the property. beanClass - The Class object for the target bean. For example sun.beans.OurButton.class. getterName - The name of the method used for reading the property value. May be null if the property is write-only. setterName - The name of the method used for writing the property value. May be null if the property is read-only. Throws: IntrospectionException - if an exception occurs during introspection." Figure 5 |