Package com.uc4.api.prompt
Class LabelElement
java.lang.Object
com.uc4.api.objects.PromptElement
com.uc4.api.prompt.LabelElement
- All Implemented Interfaces:
PromptInterfaces.Caption
This class represents a label prompt element.
-
Field Summary
Fields inherited from class com.uc4.api.objects.PromptElement
aliasMap, list, properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the caption of this label.protected String
void
setCaption
(String text) Sets the caption of this label.Methods inherited from class com.uc4.api.objects.PromptElement
getCustomField, getMessageInsert, getMessageNumber, getMode, getProperty, getTooltip, getValue, getValues, getVariable, hasList, isAltView, isLocked, listParam, setAltView, setCustomField, setLocked, setRawValue, setTooltip, setValue, setValues, setVariable, store, storeAdditionalPromptData, storeDefaultValues, toString, updateDefaultValue, validateForExecute, validateId
-
Constructor Details
-
LabelElement
Creates a newLabelElement
.- Parameters:
variable
- Name of the script variable
-
-
Method Details
-
getTagName
- Specified by:
getTagName
in classPromptElement
-
getCaption
Returns the caption of this label.- Specified by:
getCaption
in interfacePromptInterfaces.Caption
- Returns:
- Caption
-
setCaption
Sets the caption of this label.- Specified by:
setCaption
in interfacePromptInterfaces.Caption
- Parameters:
text
- Caption
-