Java java.beans PropertyDescriptor fields, constructors, methods, implement or subclass

Example usage for Java java.beans PropertyDescriptor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.beans PropertyDescriptor.

The text is from its open source code.

Subclass

java.beans.PropertyDescriptor has subclasses.
Click this link to see all its subclasses.

Implementation

java.beans.PropertyDescriptor has the following implementations.
Click this link to see all its implementation.

Constructor

PropertyDescriptor(String propertyName, Class beanClass)
Constructs a PropertyDescriptor for a property that follows the standard Java convention by having getFoo and setFoo accessor methods.
PropertyDescriptor(Entry entry, boolean bound)
Creates PropertyDescriptor from the specified property info.
PropertyDescriptor(PropertyDescriptor x, PropertyDescriptor y)
Package-private constructor.
PropertyDescriptor(String propertyName, Class beanClass, String readMethodName, String writeMethodName)
This constructor takes the name of a simple property, and method names for reading and writing the property.
PropertyDescriptor(String propertyName, Method readMethod, Method writeMethod)
This constructor takes the name of a simple property, and Method objects for reading and writing the property.

Method

EnumerationattributeNames()
Gets an enumeration of the locale-independent names of this feature.
PropertyEditorcreatePropertyEditor(Object bean)
Constructs an instance of a property editor using the current property editor class.
ClassgetClass()
Returns the runtime class of this Object .
StringgetDisplayName()
Gets the localized display name of this feature.
StringgetName()
Gets the programmatic name of this feature.
ClassgetPropertyEditorClass()
Gets any explicit PropertyEditor Class that has been registered for this property.
ClassgetPropertyType()
Returns the Java type info for the property.
MethodgetReadMethod()
Gets the method that should be used to read the property value.
StringgetShortDescription()
Gets the short description of this feature.
ObjectgetValue(String attributeName)
Retrieve a named attribute with this feature.
MethodgetWriteMethod()
Gets the method that should be used to write the property value.
booleanisBound()
Updates to "bound" properties will cause a "PropertyChange" event to get fired when the property is changed.
booleanisConstrained()
Attempted updates to "Constrained" properties will cause a "VetoableChange" event to get fired when the property is changed.
booleanisExpert()
The "expert" flag is used to distinguish between those features that are intended for expert users from those that are intended for normal users.
booleanisHidden()
The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.
booleanisPreferred()
The "preferred" flag is used to identify features that are particularly important for presenting to humans.
voidsetBound(boolean bound)
Updates to "bound" properties will cause a "PropertyChange" event to get fired when the property is changed.
voidsetConstrained(boolean constrained)
Attempted updates to "Constrained" properties will cause a "VetoableChange" event to get fired when the property is changed.
voidsetDisplayName(String displayName)
Sets the localized display name of this feature.
voidsetExpert(boolean expert)
The "expert" flag is used to distinguish between features that are intended for expert users from those that are intended for normal users.
voidsetHidden(boolean hidden)
The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.
voidsetName(String name)
Sets the programmatic name of this feature.
voidsetPreferred(boolean preferred)
The "preferred" flag is used to identify features that are particularly important for presenting to humans.
voidsetPropertyEditorClass(Class propertyEditorClass)
Normally PropertyEditors will be found using the PropertyEditorManager.
voidsetReadMethod(Method readMethod)
Sets the method that should be used to read the property value.
voidsetShortDescription(String text)
You can associate a short descriptive string with a feature.
voidsetValue(String attributeName, Object value)
Associate a named attribute with this feature.
voidsetWriteMethod(Method writeMethod)
Sets the method that should be used to write the property value.