The ParameterDescriptor class allows bean implementors to provide
additional information on each of their parameters, beyond the
low level type information provided by the java.lang.reflect.Method
class.
The ParameterDescriptor class allows bean implementors to provide
additional information on each of their parameters, beyond the
low level type information provided by the java.lang.reflect.Method
class.
Currently all our state comes from the FeatureDescriptor base class.
Gets an enumeration of the locale-independent names of this
feature.
Gets an enumeration of the locale-independent names of this feature.
Returns:
An enumeration of the locale-independent names of any
attributes that have been registered with setValue.
Create a Reference wrapper for the object.
Returns:
a Reference or null if obj is null.
Parameters: - obj - object that will be wrapped
- soft - true if a SoftReference should be created; otherwise Soft
Gets the localized display name of this feature.
Returns:
The localized display name for the property/method/event.
This defaults to the same as its programmatic name from getName.
Gets the short description of this feature.
Returns:
A localized short description associated with this
property/method/event. This defaults to be the display name.
Retrieve a named attribute with this feature.
Returns:
The value of the attribute. May be null if
the attribute is unknown.
Parameters: - attributeName - The locale-independent name of the attribute
The "expert" flag is used to distinguish between those features that are
intended for expert users from those that are intended for normal users.
The "expert" flag is used to distinguish between those features that are intended for expert users from those that are intended for normal users.
Returns:
True if this feature is intended for use by experts only.
The "hidden" flag is used to identify features that are intended only
for tool use, and which should not be exposed to humans.
The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.
Returns:
True if this feature should be hidden from human users.
The "preferred" flag is used to identify features that are particularly
important for presenting to humans.
The "preferred" flag is used to identify features that are particularly important for presenting to humans.
Returns:
True if this feature should be preferentially shown to human users.
Sets the localized display name of this feature.
Parameters: - displayName - The localized display name for the
property/method/event.
public void
setExpert
(boolean expert)
[Inherited From FeatureDescriptor]
The "expert" flag is used to distinguish between features that are
intended for expert users from those that are intended for normal users.
The "expert" flag is used to distinguish between features that are intended for expert users from those that are intended for normal users.
Parameters: - expert - True if this feature is intended for use by experts only.
public void
setHidden
(boolean hidden)
[Inherited From FeatureDescriptor]
The "hidden" flag is used to identify features that are intended only
for tool use, and which should not be exposed to humans.
The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.
Parameters: - hidden - True if this feature should be hidden from human users.
Sets the programmatic name of this feature.
Parameters: - name - The programmatic name of the property/method/event
public void
setPreferred
(boolean preferred)
[Inherited From FeatureDescriptor]
The "preferred" flag is used to identify features that are particularly
important for presenting to humans.
The "preferred" flag is used to identify features that are particularly important for presenting to humans.
Parameters: - preferred - True if this feature should be preferentially shown
to human users.
You can associate a short descriptive string with a feature.
You can associate a short descriptive string with a feature. Normally these descriptive strings should be less than about 40 characters.
Parameters: - text - A (localized) short description to be associated with
this property/method/event.