Package org.apache.pivot.wtk
Class RollupStateListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.RollupStateListener
RollupStateListener.Adapter, RollupStateListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
expandedChanged(Rollup rollup)
Deprecated.Called when a rollup's expanded state changed.void
expandedChangeVetoed(Rollup rollup, Vote reason)
Deprecated.Called when a rollup expansion event has been vetoed.Vote
previewExpandedChange(Rollup rollup)
Deprecated.Called to preview a rollup expansion event.
-
-
-
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 interfaceRollupStateListener
- 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 interfaceRollupStateListener
- 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 interfaceRollupStateListener
- Parameters:
rollup
- The rollup that did change.
-
-