Package com.uc4.api.prompt
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 TypeMethodDescriptionboolean
Returnstrue
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()Returnstrue
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
-