public abstract class ParameterHandle extends ReportElementHandle implements org.eclipse.birt.report.model.elements.interfaces.IParameterModel
Parameter
element
module
HELP_TEXT_KEY_PROP, HELP_TEXT_PROP, HIDDEN_PROP, PROMPT_TEXT_ID_PROP, PROMPT_TEXT_PROP, VALIDATE_PROP
COMMENTS_PROP, CUSTOM_XML_PROP, DISPLAY_NAME_ID_PROP, DISPLAY_NAME_PROP, EVENT_HANDLER_CLASS_PROP, EXTENDS_PROP, FULL_LABEL, ID_SUFFIX, NAME_PROP, NEW_HANDLER_ON_EACH_EVENT_PROP, NO_SLOT, PROPERTY_MASKS_PROP, REF_TEMPLATE_PARAMETER_PROP, SHORT_LABEL, USER_LABEL, USER_PROPERTIES_PROP, VIEW_ACTION_PROP
Constructor and Description |
---|
ParameterHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs the handle for a parameter with the given design and element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayPromptText()
Returns the localized text for prompt text.
|
java.lang.String |
getHelpText()
Returns the additional text to display for the parameter to explain how
to use the parameter.
|
java.lang.String |
getHelpTextKey()
Returns the resource key of the additional text to display for the
parameter to explain how to use the parameter.
|
java.lang.String |
getPromptText()
get the display prompt text.
|
java.lang.String |
getPromptTextID()
Returns the prompt text ID.
|
java.lang.String |
getValidate()
Gets the custom validation code for the parameter.
|
boolean |
isHidden()
Tests whether the parameter will appear in the Requester page.
|
void |
setHelpText(java.lang.String helpText)
Returns the additional text to display for the parameter to explain how
to use the parameter.
|
void |
setHelpTextKey(java.lang.String resourceKey)
Sets the resource key of the additional text to display for the parameter
to explain how to use the parameter.
|
void |
setHidden(boolean hidden)
Sets the hidden property of this parameter.
|
void |
setPromptText(java.lang.String promptValue)
Set the value for the display prompt context.
|
void |
setPromptTextID(java.lang.String promptIDValue)
Set the value for the prompt text ID.
|
void |
setValidate(java.lang.String validation)
Sets the custom validation code for the parameter.
|
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getElement, getPropertyMask, isValidLayoutForCompoundElement, isValidReferenceForCompoundElement, propertyMaskIterator, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setPropertyMask
add, add, addElement, addElement, addListener, addUserPropertyDefn, cachePropertyHandles, canContain, canContain, canContain, canContain, canDrop, canEdit, canTransformToTemplate, clearAllProperties, clearContents, clearProperty, clientsIterator, copy, copyPropertyTo, createTemplateElement, derivedIterator, doSort, drop, drop, drop, dropAndClear, dropAndClear, dropAndClear, dropUserPropertyDefn, findContentSlot, getBooleanProperty, getChoices, getColorProperty, getContainer, getContainerPropertyHandle, getContainerSlotHandle, getContent, getContentCount, getContents, getDefn, getDesign, getDesignHandle, getDimensionProperty, getDisplayLabel, getDisplayLabel, getDisplayProperty, getEffectiveModule, getElementFactory, getElementProperty, getEventHandlerClass, getExpressionProperty, getExtends, getExternalizedValue, getExternalizedValue, getFactoryElementHandle, getFactoryPropertyHandle, getFloatProperty, getFontProperty, getFullName, getHostViewHandle, getID, getIndex, getIntProperty, getListProperty, getListProperty, getMethods, getModule, getModuleHandle, getName, getNumberProperty, getPrivateStyle, getProperty, getPropertyBinding, getPropertyBindingExpression, getPropertyBindings, getPropertyDefn, getPropertyHandle, getPropertyIterator, getQualifiedName, getRoot, getSemanticErrors, getSlot, getStringProperty, getStyle, getUserProperties, getUserPropertyDefnHandle, getXPath, hasLocalProperties, hasSemanticError, initializeSlotHandles, isDirectionRTL, isInTemplateParameter, isTemplateParameterValue, isValid, localize, move, move, moveTo, moveTo, moveTo, moveTo, newHandlerOnEachEvent, paste, paste, paste, paste, removeListener, revertToReportItem, revertToTemplate, semanticCheck, setBooleanProperty, setEncryption, setEventHandlerClass, setExpressionProperty, setExtends, setExtendsElement, setExtendsName, setFloatProperty, setIntProperty, setName, setNewHandlerOnEachEvent, setNumberProperty, setProperties, setProperty, setPropertyBinding, setPropertyBinding, setStringProperty, setStyle, setStyleElement, setStyleName, setValid, shift, showError, slotsIterator
public ParameterHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
module
- the moduleelement
- the model representation of the elementpublic java.lang.String getHelpText()
public void setHelpText(java.lang.String helpText) throws SemanticException
helpText
- the help textSemanticException
- if the property is locked.public java.lang.String getHelpTextKey()
public void setHelpTextKey(java.lang.String resourceKey) throws SemanticException
resourceKey
- the resource key of the help textSemanticException
- if the property is locked.public boolean isHidden()
true
means the parameter will not be visible.
false
means the invisibility of the parameter.public void setHidden(boolean hidden) throws SemanticException
true
, the
parameter will not appear in the Requester page. Parameter is visible by
default.hidden
- true
if the parameter is visible. Otherwise
false
.SemanticException
- if the property is locked.public java.lang.String getValidate()
public void setValidate(java.lang.String validation) throws SemanticException
validation
- the custom validation code to setSemanticException
- if the property is lockedpublic void setPromptText(java.lang.String promptValue) throws SemanticException
promptValue
- The display prompt context.SemanticException
public java.lang.String getPromptText()
public void setPromptTextID(java.lang.String promptIDValue) throws SemanticException
promptIDValue
- The prompt text ID.SemanticException
public java.lang.String getPromptTextID()
public java.lang.String getDisplayPromptText()
Copyright © 2014 OpenText Corp. All rights reserved.