Public Member Functions | |
PropertyInfoSupport (String name, Class propertyEditorClass) | |
PropertyInfoSupport (String name, String displayName) | |
PropertyInfoSupport (String name, String displayName, Class propertyEditorClass) | |
PropertyInfoSupport (String name, boolean isHidden) | |
void | setIsCached (Boolean isCached) |
void | setIsExpert (boolean isExpert) |
void | setIsHidden (boolean isHidden) |
void | updatePropertyDescriptor (PropertyDescriptor propertyDescriptor) |
String | getName () |
String | getDisplayName () |
Class | getPropertyEditorClass () |
Boolean | isCacheable () |
boolean | isExpert () |
boolean | isHidden () |
Support class allowing to create instances of PropertyInfo
.
cern.gp.beans.PropertyInfoSupport.PropertyInfoSupport | ( | String | name, | |
Class | propertyEditorClass | |||
) |
Creates a new PropertyInfoSupport with a given PropertyEditorClass that is non cached, non expert and non hidden. The display name of the property will the name of the property.
name | the name of the property that PropertyInfo object is for | |
propertyEditorClass | the class of the property editor for this property |
cern.gp.beans.PropertyInfoSupport.PropertyInfoSupport | ( | String | name, | |
String | displayName | |||
) |
Creates a new PropertyInfoSupport with no PropertyEditor that is non cached, non expert and non hidden. The display name of the property will be the one specified.
name | the name of the property that PropertyInfo object is for | |
propertyEditorClass | the class of the property editor for this property |
cern.gp.beans.PropertyInfoSupport.PropertyInfoSupport | ( | String | name, | |
String | displayName, | |||
Class | propertyEditorClass | |||
) |
Creates a new PropertyInfoSupport with a given PropertyEditorClass that is non cached, non expert and non hidden. The display name of the property will be the one specified.
name | the name of the property that PropertyInfo object is for | |
displayName | the display name of the property | |
propertyEditorClass | the class of the property editor for this property |
cern.gp.beans.PropertyInfoSupport.PropertyInfoSupport | ( | String | name, | |
boolean | isHidden | |||
) |
Creates a new PropertyInfoSupport with no PropertyEditorClass that is non cached, non expert and hidden or not depending of the given value.
name | the name of the property that PropertyInfo object is for | |
isHidden | whether this property is hidden or not |
String cern.gp.beans.PropertyInfoSupport.getDisplayName | ( | ) |
Returns the display name of the property
Implements cern.gp.beans.PropertyInfo.
String cern.gp.beans.PropertyInfoSupport.getName | ( | ) |
Returns the name of the property
Implements cern.gp.beans.PropertyInfo.
Class cern.gp.beans.PropertyInfoSupport.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.
Implements cern.gp.beans.PropertyInfo.
Boolean cern.gp.beans.PropertyInfoSupport.isCacheable | ( | ) |
Returns a boolean indicating the caching strategy for this property. Three value can be returned :
Implements cern.gp.beans.PropertyInfo.
Referenced by cern.gp.beans.PropertyInfoSupport.setIsCached(), and cern.gp.beans.PropertyInfoSupport.updatePropertyDescriptor().
boolean cern.gp.beans.PropertyInfoSupport.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.
Implements cern.gp.beans.PropertyInfo.
Referenced by cern.gp.beans.PropertyInfoSupport.updatePropertyDescriptor().
boolean cern.gp.beans.PropertyInfoSupport.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.
Implements cern.gp.beans.PropertyInfo.
Referenced by cern.gp.beans.PropertyInfoSupport.updatePropertyDescriptor().
void cern.gp.beans.PropertyInfoSupport.setIsCached | ( | Boolean | isCached | ) |
Sets whether the property is cached or no. Null can be used to specify the default behavior.
isCached | whether the property is cached or no. |
References cern.gp.beans.PropertyInfoSupport.isCacheable().
void cern.gp.beans.PropertyInfoSupport.setIsExpert | ( | boolean | isExpert | ) |
Sets whether the property is only visible to experts or no
isExpert | whether the property is only visible to experts or no |
void cern.gp.beans.PropertyInfoSupport.setIsHidden | ( | boolean | isHidden | ) |
Sets whether the property is hidden or no
isHidden | whether the property is hidden or no |
void cern.gp.beans.PropertyInfoSupport.updatePropertyDescriptor | ( | PropertyDescriptor | propertyDescriptor | ) |
Update the given PropertyDescriptor
with the information contained in this PropertyInfo
propertyDescriptor | the PropertyDescriptor to update |
Implements cern.gp.beans.PropertyInfo.
References cern.gp.beans.PropertyInfoSupport.isCacheable(), cern.gp.beans.PropertyInfoSupport.isExpert(), and cern.gp.beans.PropertyInfoSupport.isHidden().