June 1997
Intermediate to advanced
318 pages
8h 17m
English
Class java.beans.PropertyDescriptor
A
PropertyDescriptor
describes a single exposed property of a
Bean. This property is associated with a pair of accessor methods.
public class PropertyDescriptor extends FeatureDescriptor
{
// constructors
public PropertyDescriptor(String propertyName, Class beanClass)
throws IntrospectionException;
public PropertyDescriptor(String propertyName, Class beanClass,
String getterName, String setterName)
throws IntrospectionException;
public PropertyDescriptor(String propertyName, Method getter,
Method setter)
throws IntrospectionException;
// methods
public Class getPropertyEditorClass();
public Class getPropertyType();
public Method getReadMethod();
public Method getWriteMethod();
public boolean isBound();
public boolean isConstrained();
public void setBound(boolean bound);
public void setConstrained(boolean constrained);
public void setPropertyEditorClass(Class propertyEditorClass);
}
FeatureDescriptor,
IntrospectionException
Read now
Unlock full access