Interface ExpanderListener

    • Method Detail

      • titleChanged

        default void titleChanged​(Expander expander,
                                  java.lang.String previousTitle)
        Called when an expander's title has changed.
        Parameters:
        expander - The expander that has changed.
        previousTitle - The previous title for the expander.
      • collapsibleChanged

        default void collapsibleChanged​(Expander expander)
        Called when an expander's collapsible flag has changed.
        Parameters:
        expander - The expander that has changed.
      • previewExpandedChange

        default Vote previewExpandedChange​(Expander expander)
        Called to preview an expanded change event.
        Parameters:
        expander - The expander that is about to expand or collapse.
        Returns:
        The consensus vote as to whether to allow the change.
      • expandedChangeVetoed

        default void expandedChangeVetoed​(Expander expander,
                                          Vote reason)
        Called when an expanded change event has been vetoed.
        Parameters:
        expander - The expander that is not going to change.
        reason - The consensus vote that disallowed the change.
      • expandedChanged

        default void expandedChanged​(Expander expander)
        Called when an expander's expanded state has changed.
        Parameters:
        expander - The expander that has now expanded or collapsed.
      • contentChanged

        default void contentChanged​(Expander expander,
                                    Component previousContent)
        Called when an expander's content component has changed.
        Parameters:
        expander - The expander that has changed content.
        previousContent - The previous content of the expander.