public class LabelElement extends PromptElement implements PromptInterfaces.Caption
Constructor and Description |
---|
LabelElement(java.lang.String variable)
Creates a new
LabelElement . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCaption()
Returns the caption of this label.
|
void |
setCaption(java.lang.String text)
Sets the caption of this label.
|
getCustomField, getMessageInsert, getMessageNumber, getProperty, getTooltip, getValue, getValues, getVariable, hasList, isAltView, setAltView, setCustomField, setTooltip, setValue, setValues, setVariable, toString, updateDefaultValue
public LabelElement(java.lang.String variable)
LabelElement
.variable
- Name of the script variablepublic java.lang.String getCaption()
getCaption
in interface PromptInterfaces.Caption
public void setCaption(java.lang.String text)
setCaption
in interface PromptInterfaces.Caption
text
- Caption