BeanInfo.getDefaultPropertyIndex

BeanInfo.getDefaultPropertyIndex

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract int getDefaultPropertyIndex()
Returns
Index of default property in the PropertyDescriptor array returned by getPropertyDescriptors.

Returns -1 if there is no default property.

Description
A bean may have a "default" property that is the property that will mostly commonly be initially chosen for update by human's who are customizing the bean.