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.String
getCaption()
Returns the caption of this label.protected java.lang.String
getTagName()
void
setCaption(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, setTooltip, setValue, setValues, setVariable, store, storeAdditionalPromptData, storeDefaultValues, toString, updateDefaultValue, validateForExecute, validateId
-
-
-
-
Method Detail
-
getTagName
protected java.lang.String getTagName()
- Specified by:
getTagName
in classPromptElement
-
getCaption
public java.lang.String getCaption()
Returns the caption of this label.- Specified by:
getCaption
in interfacePromptInterfaces.Caption
- Returns:
- Caption
-
setCaption
public void setCaption(java.lang.String text)
Sets the caption of this label.- Specified by:
setCaption
in interfacePromptInterfaces.Caption
- Parameters:
text
- Caption
-
-