Package org.apache.pivot.wtk
Interface ScrollPaneListener
-
- All Known Implementing Classes:
ScrollPaneListener.Adapter
,ScrollPaneListener.Listeners
,ScrollPaneSkin
,TerraScrollPaneSkin
public interface ScrollPaneListener
Scroll pane listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ScrollPaneListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
ScrollPaneListener.Listeners
Scroll pane listener listeners list.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
columnHeaderChanged(ScrollPane scrollPane, Component previousColumnHeader)
Called when the scroll pane's column header changed.default void
cornerChanged(ScrollPane scrollPane, Component previousCorner)
Called when the scroll pane's corner component changed.default void
horizontalScrollBarPolicyChanged(ScrollPane scrollPane, ScrollPane.ScrollBarPolicy previousPolicy)
Called when the scroll pane's horizontal scroll bar policy changed.default void
rowHeaderChanged(ScrollPane scrollPane, Component previousRowHeader)
Called when the scroll pane's row header changed.default void
verticalScrollBarPolicyChanged(ScrollPane scrollPane, ScrollPane.ScrollBarPolicy previousPolicy)
Called when the scroll pane's vertical scroll bar policy changed.
-
-
-
Method Detail
-
horizontalScrollBarPolicyChanged
default void horizontalScrollBarPolicyChanged(ScrollPane scrollPane, ScrollPane.ScrollBarPolicy previousPolicy)
Called when the scroll pane's horizontal scroll bar policy changed.- Parameters:
scrollPane
- The source of the event.previousPolicy
- The previous horizontal scroll bar policy.
-
verticalScrollBarPolicyChanged
default void verticalScrollBarPolicyChanged(ScrollPane scrollPane, ScrollPane.ScrollBarPolicy previousPolicy)
Called when the scroll pane's vertical scroll bar policy changed.- Parameters:
scrollPane
- The source of the event.previousPolicy
- The previous vertical scroll bar policy.
-
rowHeaderChanged
default void rowHeaderChanged(ScrollPane scrollPane, Component previousRowHeader)
Called when the scroll pane's row header changed.- Parameters:
scrollPane
- The source of the event.previousRowHeader
- The previous row header for this scroll pane.
-
columnHeaderChanged
default void columnHeaderChanged(ScrollPane scrollPane, Component previousColumnHeader)
Called when the scroll pane's column header changed.- Parameters:
scrollPane
- The source of the event.previousColumnHeader
- The previous column header for this scroll pane.
-
cornerChanged
default void cornerChanged(ScrollPane scrollPane, Component previousCorner)
Called when the scroll pane's corner component changed.- Parameters:
scrollPane
- The source of the event.previousCorner
- The previous corner component.
-
-