Package com.uc4.api.prompt
Interface PromptInterfaces.Locked
-
- All Known Implementing Classes:
CheckGroupElement
,CheckListElement
,ComboElement
,DateElement
,NumberElement
,RadioGroupElement
,TextElement
,TimeElement
,TimeStampElement
- Enclosing interface:
- PromptInterfaces
public static interface PromptInterfaces.Locked
Represents the locked property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isLocked()
Returnstrue
if this Prompt Element is locked.void
setLocked(boolean locked)
Lock or unlocks this element.
-
-
-
Method Detail
-
isLocked
boolean isLocked()
Returnstrue
if this Prompt Element is locked. In this case a user cannot change the default value in the Prompt-Screen.- Returns:
- true if locked, false if the user can change the value of the Prompt Element
-
setLocked
void setLocked(boolean locked)
Lock or unlocks this element. A user cannot change the default value in the Prompt-Screen if a control is locked.- Parameters:
locked
- true if locked, false if the user can change the value of the Prompt Element
-
-