Class FormElementConfiguration.BaseBuilder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • setAdditionalAction

         B setAdditionalAction(@NonNull() AnnotationTriggerEvent triggerEvent, @Nullable() Action action)

        Sets the action that should be executed for given annotation trigger event.

        Parameters:
        triggerEvent - Event for which to set the action.
        action - Action to be executed when triggerEvent occurs, null to remove existing action.
      • setReadOnly

         B setReadOnly(boolean isReadOnly)

        Sets whether the form element is read-only. If set, the user may not change the value of the created form element.

        Parameters:
        isReadOnly - true when the form element should be read-only.
      • setRequired

         B setRequired(boolean isRequired)

        Sets whether the form element is required. If set, the field is required to have a value at the time it is exported by a submit form action.

        Parameters:
        isRequired - true when the form element should be required.
      • setPreviousElement

         B setPreviousElement(@Nullable() FormElement previousElement)

        Sets previous form element in form tab order.

        Parameters:
        previousElement - Previous form element in form tab order.
      • setNextElement

         B setNextElement(@Nullable() FormElement nextElement)

        Sets next form element in form tab order.

        Parameters:
        nextElement - Next form element in form tab order.