public class ParamDescriptor extends SerializableFeatureDescriptor
BeanDescriptor subclass for droplets, permitting retrieval of parameter descriptions.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
BUNDLE_ATTRIBUTE_NAME, LOCALE_ATTRIBUTE_NAME
Constructor and Description |
---|
ParamDescriptor() |
ParamDescriptor(java.lang.String pName,
java.lang.String pDescription) |
ParamDescriptor(java.lang.String pName,
java.lang.String pDescription,
java.lang.Class pParamClass) |
ParamDescriptor(java.lang.String pName,
java.lang.String pDescription,
java.lang.Class pParamClass,
boolean pOptional,
boolean pLocal) |
ParamDescriptor(java.lang.String pName,
java.lang.String pDescription,
java.lang.Class pParamClass,
boolean pOptional,
boolean pLocal,
ParamDescriptor[] pRenderParamDescriptors) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getParamClass()
Returns property ParamClass
|
ParamDescriptor[] |
getRenderParamDescriptors()
Returns property RenderParamDescriptors
|
boolean |
isLocal()
Returns property Local
|
boolean |
isOptional()
Returns property Optional
|
boolean |
isRenderable()
Returns true if this parameter is renderable
|
void |
setLocal(boolean pLocal)
Sets property Local
|
void |
setOptional(boolean pOptional)
Sets property Optional
|
void |
setParamClass(java.lang.Class pParamClass)
Sets property ParamClass
|
void |
setRenderParamDescriptors(ParamDescriptor[] pRenderParamDescriptors)
Sets property RenderParamDescriptors
|
java.lang.String |
toString()
String representation
|
copyFeatureDescriptor, getDisplayName, getDisplayNameResource, getDisplaySortString, getLocalizedResourceBundle, getResourceBundle, getShortDescription, getShortDescriptionResource, getSortString, setDisplayNameResource, setShortDescriptionResource
public ParamDescriptor()
public ParamDescriptor(java.lang.String pName, java.lang.String pDescription, java.lang.Class pParamClass, boolean pOptional, boolean pLocal, ParamDescriptor[] pRenderParamDescriptors)
public ParamDescriptor(java.lang.String pName, java.lang.String pDescription, java.lang.Class pParamClass, boolean pOptional, boolean pLocal)
public ParamDescriptor(java.lang.String pName, java.lang.String pDescription, java.lang.Class pParamClass)
public ParamDescriptor(java.lang.String pName, java.lang.String pDescription)
public void setOptional(boolean pOptional)
public boolean isOptional()
public void setLocal(boolean pLocal)
public boolean isLocal()
public void setParamClass(java.lang.Class pParamClass)
public java.lang.Class getParamClass()
public boolean isRenderable()
public void setRenderParamDescriptors(ParamDescriptor[] pRenderParamDescriptors)
public ParamDescriptor[] getRenderParamDescriptors()
public java.lang.String toString()
toString
in class SerializableFeatureDescriptor