Class ExpanderListener.Adapter

  • All Implemented Interfaces:
    ExpanderListener
    Enclosing interface:
    ExpanderListener

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

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • titleChanged

        public void titleChanged​(Expander expander,
                                 java.lang.String previousTitle)
        Deprecated.
        Description copied from interface: ExpanderListener
        Called when an expander's title has changed.
        Specified by:
        titleChanged in interface ExpanderListener
        Parameters:
        expander - The expander that has changed.
        previousTitle - The previous title for the expander.
      • collapsibleChanged

        public void collapsibleChanged​(Expander expander)
        Deprecated.
        Description copied from interface: ExpanderListener
        Called when an expander's collapsible flag has changed.
        Specified by:
        collapsibleChanged in interface ExpanderListener
        Parameters:
        expander - The expander that has changed.
      • previewExpandedChange

        public Vote previewExpandedChange​(Expander expander)
        Deprecated.
        Description copied from interface: ExpanderListener
        Called to preview an expanded change event.
        Specified by:
        previewExpandedChange in interface ExpanderListener
        Parameters:
        expander - The expander that is about to expand or collapse.
        Returns:
        The consensus vote as to whether to allow the change.
      • expandedChangeVetoed

        public void expandedChangeVetoed​(Expander expander,
                                         Vote reason)
        Deprecated.
        Description copied from interface: ExpanderListener
        Called when an expanded change event has been vetoed.
        Specified by:
        expandedChangeVetoed in interface ExpanderListener
        Parameters:
        expander - The expander that is not going to change.
        reason - The consensus vote that disallowed the change.
      • expandedChanged

        public void expandedChanged​(Expander expander)
        Deprecated.
        Description copied from interface: ExpanderListener
        Called when an expander's expanded state has changed.
        Specified by:
        expandedChanged in interface ExpanderListener
        Parameters:
        expander - The expander that has now expanded or collapsed.
      • contentChanged

        public void contentChanged​(Expander expander,
                                   Component previousContent)
        Deprecated.
        Description copied from interface: ExpanderListener
        Called when an expander's content component has changed.
        Specified by:
        contentChanged in interface ExpanderListener
        Parameters:
        expander - The expander that has changed content.
        previousContent - The previous content of the expander.