Interface FormListener

    • Method Detail

      • sectionInserted

        default void sectionInserted​(Form form,
                                     int index)
        Called when a form section has been inserted.
        Parameters:
        form - The form that has changed.
        index - The index where the new section has been inserted.
      • sectionsRemoved

        default void sectionsRemoved​(Form form,
                                     int index,
                                     Sequence<Form.Section> removed)
        Called when form sections have been removed.
        Parameters:
        form - The form that has changed.
        index - The starting index where sections were removed.
        removed - The complete sequence of the removed sections.
      • sectionHeadingChanged

        default void sectionHeadingChanged​(Form.Section section)
        Called when a form section's heading has changed.
        Parameters:
        section - The form section whose heading changed.
      • fieldInserted

        default void fieldInserted​(Form.Section section,
                                   int index)
        Called when a form field has been inserted.
        Parameters:
        section - The enclosing form section that has changed.
        index - The index where a new field has been inserted.
      • fieldsRemoved

        default void fieldsRemoved​(Form.Section section,
                                   int index,
                                   Sequence<Component> fields)
        Called when form fields have been removed.
        Parameters:
        section - The enclosing form section.
        index - The starting index where fields were removed.
        fields - The complete sequence of fields that were removed.