Class RollupStateListener.Adapter

  • All Implemented Interfaces:
    RollupStateListener
    Enclosing interface:
    RollupStateListener

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

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • previewExpandedChange

        public Vote previewExpandedChange​(Rollup rollup)
        Deprecated.
        Description copied from interface: RollupStateListener
        Called to preview a rollup expansion event.
        Specified by:
        previewExpandedChange in interface RollupStateListener
        Parameters:
        rollup - The rollup that might change.
        Returns:
        The result of this listener voting on the expansion.
      • expandedChangeVetoed

        public void expandedChangeVetoed​(Rollup rollup,
                                         Vote reason)
        Deprecated.
        Description copied from interface: RollupStateListener
        Called when a rollup expansion event has been vetoed.
        Specified by:
        expandedChangeVetoed in interface RollupStateListener
        Parameters:
        rollup - The rollup that didn't change.
        reason - The reason the expansion was vetoed.
      • expandedChanged

        public void expandedChanged​(Rollup rollup)
        Deprecated.
        Description copied from interface: RollupStateListener
        Called when a rollup's expanded state changed.
        Specified by:
        expandedChanged in interface RollupStateListener
        Parameters:
        rollup - The rollup that did change.