Interface FormAction<A extends FormAction<A>>

    • Method Detail

      • addField

        default A addField​(String name,
                           Field<?> field)
      • addField

        default A addField​(Field<?> field)
      • addField

        default A addField​(String name)
      • removeField

        default A removeField​(String name)
        Removes a field with the given name.
        Parameters:
        name - the name of the field
        Returns:
        this
      • field

        default A field​(String name,
                        UnaryOperator<Field<?>> fn)
        Selects or creates a field with the given name and provides it as an argument to the function for further customization.
        Parameters:
        name - the name of the field
        fn - the customize function
        Returns:
        this
      • getField

        default Field<?> getField​(String name)
      • addExternal

        default A addExternal​(String id,
                              External<?> external)
      • addExternal

        default A addExternal​(External<?> external)
      • removeExternal

        default A removeExternal​(String id)
      • addGroup

        default A addGroup​(String id,
                           Group<?> group)
      • addGroup

        default A addGroup​(Group<?> group)
      • removeGroup

        default A removeGroup​(String id)