Class ResetFormAction

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      boolean shouldExcludeFormFields() Indicates whether to include form fields in getFieldNames in the action or exclude them.
      ActionType getType() Returns type of action to make down-casting easier.
      boolean equals(Object o)
      int hashCode()
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResetFormAction

        ResetFormAction(List<FormField> formFields, boolean excludeFormFields)
        Creates action instance.
        Parameters:
        formFields - List of target form fields.
        excludeFormFields - true to reset all fields except target form fields false to reset only the target form fields.
      • ResetFormAction

        ResetFormAction(List<String> fieldNames, boolean excludeFormFields, List<Action> subActions)
        Creates action instance.
        Parameters:
        fieldNames - List of target form field names.
        excludeFormFields - true to reset all fields except target form fields false to reset only the target form fields.
        subActions - List of sub-actions of this action.
    • Method Detail

      • shouldExcludeFormFields

         boolean shouldExcludeFormFields()

        Indicates whether to include form fields in getFieldNames in the action or exclude them.

        Returns:

        If false, the list of fields specifies which fields to include. If true, the list of fields indicates which fields to exclude.

      • getType

        @NonNull() ActionType getType()

        Returns type of action to make down-casting easier.

        Returns:

        Type of this action.