20230528 java.beans.PropertyDescriptor
介绍
java.beans.PropertyDescriptor
public class PropertyDescriptor extends FeatureDescriptor
API
构造器
PropertyDescriptor(String propertyName, Class<?> beanClass) throws IntrospectionException
PropertyDescriptor(String propertyName, Class<?> beanClass, String readMethodName, String writeMethodName) throws IntrospectionException
PropertyDescriptor(String propertyName, Method readMethod, Method writeMethod) throws IntrospectionException
public
- getPropertyType
readMethod
- getReadMethod
- setReadMethod
writeMethod
- getWriteMethod
- setWriteMethod
bound
- isBound
- setBound
- 修改属性时触发
PropertyChange
事件
- 修改属性时触发
constrained
- isConstrained
- setConstrained
- 修改属性时触发
VetoableChange
事件
- 修改属性时触发
PropertyEditor
- setPropertyEditorClass
- getPropertyEditorClass
- createPropertyEditor