Class AccordionSelectionListener.Adapter

    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • previewSelectedIndexChange

        public Vote previewSelectedIndexChange​(Accordion accordion,
                                               int selectedIndex)
        Deprecated.
        Description copied from interface: AccordionSelectionListener
        Called to preview a selected index change.
        Specified by:
        previewSelectedIndexChange in interface AccordionSelectionListener
        Parameters:
        accordion - The source of the event.
        selectedIndex - The index that will be selected.
        Returns:
        The consensus vote as to whether to allow the selected index change.
      • selectedIndexChanged

        public void selectedIndexChanged​(Accordion accordion,
                                         int previousSelectedIndex)
        Deprecated.
        Description copied from interface: AccordionSelectionListener
        Called when an accordion's selected index has changed.
        Specified by:
        selectedIndexChanged in interface AccordionSelectionListener
        Parameters:
        accordion - The source of the event.
        previousSelectedIndex - If the selection changed directly, contains the index that was previously selected. Otherwise, contains the current selection.