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.LockedRepresents the locked property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisLocked()Returnstrueif this Prompt Element is locked.voidsetLocked(boolean locked)Lock or unlocks this element.
-
-
-
Method Detail
-
isLocked
boolean isLocked()
Returnstrueif 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
-
-