public class ParameterDescriptor extends Object implements IParameterDescriptor
IParameterDescriptor interface.| Constructor and Description |
|---|
ParameterDescriptor(String name,
Object parent,
String displayName,
String shortDescription)
Creates a new ParameterDescriptor object with a given name and type,
associated with a given parent object, and with a given display name
and short description.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Gets the localizable name of this parameter.
|
String |
getName()
Gets the programming name of this parameter.
|
Object |
getParent()
Gets the object where this parameter is instantiated.
|
Method |
getReadMethod()
Gets the method to obtain the current value of this parameter.
|
String |
getShortDescription()
Gets the short localizable description of this parameter.
|
Type |
getType()
Gets the type of this parameter.
|
Method |
getWriteMethod()
Gets the method to set a new value for this this parameter.
|
void |
setDisplayName(String displayName)
Sets the localizable name of this parameter.
|
void |
setShortDescription(String shortDescription)
Gets the short localizable description of this parameter.
|
public ParameterDescriptor(String name, Object parent, String displayName, String shortDescription)
name - the name of this parameter. The name must follow the JavaBean naming
conventions.parent - the object where this parameter is instantiated (or null for container-only).displayName - the localizable name of this parameter.shortDescription - a short localizable description of this parameter.public String getName()
IParameterDescriptorgetMyText and setMyText must be named myTextgetName in interface IParameterDescriptorpublic String getDisplayName()
IParameterDescriptorgetDisplayName in interface IParameterDescriptorpublic void setDisplayName(String displayName)
IParameterDescriptorsetDisplayName in interface IParameterDescriptordisplayName - the new localizable name of this parameter.public String getShortDescription()
IParameterDescriptorgetShortDescription in interface IParameterDescriptorpublic void setShortDescription(String shortDescription)
IParameterDescriptorsetShortDescription in interface IParameterDescriptorshortDescription - the new short localizable description of this parameter.public Type getType()
IParameterDescriptorgetType in interface IParameterDescriptorpublic Method getReadMethod()
IParameterDescriptorgetReadMethod in interface IParameterDescriptorpublic Method getWriteMethod()
IParameterDescriptorgetWriteMethod in interface IParameterDescriptorpublic Object getParent()
IParameterDescriptorgetParent in interface IParameterDescriptorCopyright © 2022. All rights reserved.