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 StringvoidsetCaption(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:
getTagNamein classPromptElement
-
getCaption
Returns the caption of this label.- Specified by:
getCaptionin interfacePromptInterfaces.Caption- Returns:
- Caption
-
setCaption
Sets the caption of this label.- Specified by:
setCaptionin interfacePromptInterfaces.Caption- Parameters:
text- Caption
-