Public Member Functions | |
String | getName () |
String | getDisplayName () |
boolean | isExpert () |
boolean | isHidden () |
Boolean | isCacheable () |
Class | getPropertyEditorClass () |
void | updatePropertyDescriptor (PropertyDescriptor propertyDescriptor) |
This interface defines information that can be returned for a given property. It is similar to the java.beans. PropertyDescriptor
but it aims to be a complementary and ligther version of it.
The properties of a JavaBean are describe using the PropertyDescriptor
returned by the BeanInfo
. If you provide an explicit BeanInfo
you can use the PropertyDescriptor
to specify the needed information (expert, hidden, PropertyEditor ...) and you do not need to use this interface.
If you do not provide an explicit BeanInfo
you cannot specify that information as the PropertyDescriptor
will be automatically generated by the Introspector
. In this case, you can returned an array of PropertyInfo
specifying the proper information directly from your bean. The node representing the bean will invoke the method to get that array of PropertyInfo
and use the information from it.
String cern.gp.beans.PropertyInfo.getDisplayName | ( | ) |
Returns the display name of the property
Implemented in cern.gp.beans.PropertyInfoSupport.
String cern.gp.beans.PropertyInfo.getName | ( | ) |
Returns the name of the property
Implemented in cern.gp.beans.PropertyInfoSupport.
Class cern.gp.beans.PropertyInfo.getPropertyEditorClass | ( | ) |
Gets an explicit PropertyEditor Class for this property. The method will return "null" for indicating that no special editor has been registered, so the PropertyEditorManager should be used to locate a suitable PropertyEditor.
Implemented in cern.gp.beans.PropertyInfoSupport.
Boolean cern.gp.beans.PropertyInfo.isCacheable | ( | ) |
Returns a boolean indicating the caching strategy for this property. Three value can be returned :
Implemented in cern.gp.beans.PropertyInfoSupport.
boolean cern.gp.beans.PropertyInfo.isExpert | ( | ) |
Returns if this property is expert. The "expert" flag is used to distinguish between those features that are intended for expert users from those that are intended for normal users.
Implemented in cern.gp.beans.PropertyInfoSupport.
boolean cern.gp.beans.PropertyInfo.isHidden | ( | ) |
Returns if this property is hidden. The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.
Implemented in cern.gp.beans.PropertyInfoSupport.
void cern.gp.beans.PropertyInfo.updatePropertyDescriptor | ( | PropertyDescriptor | propertyDescriptor | ) |
Update the given PropertyDescriptor
with the information contained in this PropertyInfo
propertyDescriptor | the PropertyDescriptor to update |
Implemented in cern.gp.beans.PropertyInfoSupport.