Class AccordionListener.Adapter

  • All Implemented Interfaces:
    AccordionListener
    Enclosing interface:
    AccordionListener

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

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • panelInserted

        public void panelInserted​(Accordion accordion,
                                  int index)
        Deprecated.
        Description copied from interface: AccordionListener
        Called when a panel has been inserted into a accordion's panel sequence.
        Specified by:
        panelInserted in interface AccordionListener
        Parameters:
        accordion - The accordion that has changed.
        index - The index of the newly inserted panel.
      • panelsRemoved

        public void panelsRemoved​(Accordion accordion,
                                  int index,
                                  Sequence<Component> removed)
        Deprecated.
        Description copied from interface: AccordionListener
        Called when a panel has been removed from an accordion's panel sequence.
        Specified by:
        panelsRemoved in interface AccordionListener
        Parameters:
        accordion - The accordion that has changed.
        index - The starting index of the panel(s) that were removed.
        removed - The sequence of removed panels.
      • headerDataRendererChanged

        public void headerDataRendererChanged​(Accordion accordion,
                                              Button.DataRenderer previousHeaderDataRenderer)
        Deprecated.
        Description copied from interface: AccordionListener
        Called when an accordion's header data renderer has changed.
        Specified by:
        headerDataRendererChanged in interface AccordionListener
        Parameters:
        accordion - The accordion that was changed.
        previousHeaderDataRenderer - The previous version of the header data renderer.