Interface PromptInterfaces.ValueRequired

All Known Implementing Classes:
CheckGroupElement, CheckListElement, TextElement
Enclosing interface:
PromptInterfaces

public static interface PromptInterfaces.ValueRequired
Implemented if the prompt has a property for required values.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the user has to use the default value or check at least one box.
    void
    setValueRequired(boolean value)
    Sets or clears the property which determines if this field requires a value.
  • Method Details

    • isValueRequired

      boolean isValueRequired()
      Returns true if the user has to use the default value or check at least one box.
      Returns:
      true if a value is required, false otherwise
    • setValueRequired

      void setValueRequired(boolean value)
      Sets or clears the property which determines if this field requires a value.
      Parameters:
      value - true if a value is required, false otherwise