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

    Modifier and Type
    Method
    Description
    boolean
    Returns true if this Prompt Element is locked.
    void
    setLocked(boolean locked)
    Lock or unlocks this element.
  • Method Details

    • isLocked

      boolean isLocked()
      Returns true 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