Class FormListener.Adapter

  • All Implemented Interfaces:
    FormListener
    Enclosing interface:
    FormListener

    @Deprecated
    public static class FormListener.Adapter
    extends java.lang.Object
    implements FormListener
    Deprecated.
    Since 2.1 and Java 8 the interface itself has default implementations.
    Form listener adapter.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • sectionInserted

        public void sectionInserted​(Form form,
                                    int index)
        Deprecated.
        Description copied from interface: FormListener
        Called when a form section has been inserted.
        Specified by:
        sectionInserted in interface FormListener
        Parameters:
        form - The form that has changed.
        index - The index where the new section has been inserted.
      • sectionsRemoved

        public void sectionsRemoved​(Form form,
                                    int index,
                                    Sequence<Form.Section> removed)
        Deprecated.
        Description copied from interface: FormListener
        Called when form sections have been removed.
        Specified by:
        sectionsRemoved in interface FormListener
        Parameters:
        form - The form that has changed.
        index - The starting index where sections were removed.
        removed - The complete sequence of the removed sections.
      • sectionHeadingChanged

        public void sectionHeadingChanged​(Form.Section section)
        Deprecated.
        Description copied from interface: FormListener
        Called when a form section's heading has changed.
        Specified by:
        sectionHeadingChanged in interface FormListener
        Parameters:
        section - The form section whose heading changed.
      • fieldInserted

        public void fieldInserted​(Form.Section section,
                                  int index)
        Deprecated.
        Description copied from interface: FormListener
        Called when a form field has been inserted.
        Specified by:
        fieldInserted in interface FormListener
        Parameters:
        section - The enclosing form section that has changed.
        index - The index where a new field has been inserted.
      • fieldsRemoved

        public void fieldsRemoved​(Form.Section section,
                                  int index,
                                  Sequence<Component> fields)
        Deprecated.
        Description copied from interface: FormListener
        Called when form fields have been removed.
        Specified by:
        fieldsRemoved in interface FormListener
        Parameters:
        section - The enclosing form section.
        index - The starting index where fields were removed.
        fields - The complete sequence of fields that were removed.