Package org.apache.pivot.wtk
Interface RollupListener
-
- All Known Implementing Classes:
RollupListener.Adapter
,RollupListener.Listeners
,RollupSkin
,TerraRollupSkin
public interface RollupListener
Defines event listener methods that pertain to rollups. Developers register for such events by adding themselves to a rollup's list of "rollup listeners" (seeRollup.getRollupListeners()
).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RollupListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
RollupListener.Listeners
Rollup listeners.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
collapsibleChanged(Rollup rollup)
Called when a rollup's collapsible flag has changed.default void
contentChanged(Rollup rollup, Component previousContent)
Called when a rollup's content component changed.default void
headingChanged(Rollup rollup, Component previousHeading)
Called when a rollup's heading component changed.
-
-
-
Method Detail
-
headingChanged
default void headingChanged(Rollup rollup, Component previousHeading)
Called when a rollup's heading component changed.- Parameters:
rollup
- The rollup whose heading changed.previousHeading
- What the heading used to be.
-
contentChanged
default void contentChanged(Rollup rollup, Component previousContent)
Called when a rollup's content component changed.- Parameters:
rollup
- The rollup that has new content.previousContent
- What the content used to be.
-
collapsibleChanged
default void collapsibleChanged(Rollup rollup)
Called when a rollup's collapsible flag has changed.- Parameters:
rollup
- The rollup that changed.
-
-