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
public class LabelElement extends PromptElement implements 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 Constructor Description LabelElement(java.lang.String variable)Creates a newLabelElement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCaption()Returns the caption of this label.protected java.lang.StringgetTagName()voidsetCaption(java.lang.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
-
-
-
-
Method Detail
-
getTagName
protected java.lang.String getTagName()
- Specified by:
getTagNamein classPromptElement
-
getCaption
public java.lang.String getCaption()
Returns the caption of this label.- Specified by:
getCaptionin interfacePromptInterfaces.Caption- Returns:
- Caption
-
setCaption
public void setCaption(java.lang.String text)
Sets the caption of this label.- Specified by:
setCaptionin interfacePromptInterfaces.Caption- Parameters:
text- Caption
-
-