Package com.uc4.api.prompt
Interface PromptInterfaces.ValueRequired
-
- All Known Implementing Classes:
CheckGroupElement,CheckListElement,TextElement
- Enclosing interface:
- PromptInterfaces
public static interface PromptInterfaces.ValueRequiredImplemented if the prompt has a property for required values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisValueRequired()Returnstrueif the user has to use the default value or check at least one box.voidsetValueRequired(boolean value)Sets or clears the property which determines if this field requires a value.
-
-
-
Method Detail
-
isValueRequired
boolean isValueRequired()
Returnstrueif 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
-
-