Class FormAttributeListener.Adapter

  • All Implemented Interfaces:
    FormAttributeListener
    Enclosing interface:
    FormAttributeListener

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

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • labelChanged

        public void labelChanged​(Form form,
                                 Component field,
                                 java.lang.String previousLabel)
        Deprecated.
        Description copied from interface: FormAttributeListener
        Called when a field's label attribute has changed.
        Specified by:
        labelChanged in interface FormAttributeListener
        Parameters:
        form - The enclosing form.
        field - The field whose form label has changed.
        previousLabel - The previous form label for this field.
      • requiredChanged

        public void requiredChanged​(Form form,
                                    Component field)
        Deprecated.
        Description copied from interface: FormAttributeListener
        Called when a fields's required attribute has changed.
        Specified by:
        requiredChanged in interface FormAttributeListener
        Parameters:
        form - The enclosing form.
        field - The field that is or is not now required.
      • flagChanged

        public void flagChanged​(Form form,
                                Component field,
                                Form.Flag previousFlag)
        Deprecated.
        Description copied from interface: FormAttributeListener
        Called when a field's flag attribute has changed.
        Specified by:
        flagChanged in interface FormAttributeListener
        Parameters:
        form - The enclosing form.
        field - The field whose flag attribute has changed.
        previousFlag - The previous flag value for this field.