Package org.apache.pivot.wtk
Interface SplitPaneListener
-
- All Known Implementing Classes:
SplitPaneListener.Adapter
,SplitPaneListener.Listeners
,TerraSplitPaneSkin
public interface SplitPaneListener
Split pane listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SplitPaneListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
SplitPaneListener.Listeners
Split pane listeners.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
bottomRightChanged(SplitPane splitPane, Component previousBottomRight)
Called when a split pane's bottom right component has changed.default void
lockedChanged(SplitPane splitPane)
Called when a split pane's locked flag has changed.default void
orientationChanged(SplitPane splitPane)
Called when a split pane's orientation has changed.default void
primaryRegionChanged(SplitPane splitPane)
Called when a split pane's primary region has changed.default void
resizeModeChanged(SplitPane splitPane, SplitPane.ResizeMode previousResizeMode)
Called when a split pane's split location has changed.default void
splitRatioChanged(SplitPane splitPane, float previousSplitRatio)
Called when a split pane's split location has changed.default void
topLeftChanged(SplitPane splitPane, Component previousTopLeft)
Called when a split pane's top left component has changed.
-
-
-
Method Detail
-
topLeftChanged
default void topLeftChanged(SplitPane splitPane, Component previousTopLeft)
Called when a split pane's top left component has changed.- Parameters:
splitPane
- The source of the event.previousTopLeft
- The previous component. The new component can be found inside the splitPane.
-
bottomRightChanged
default void bottomRightChanged(SplitPane splitPane, Component previousBottomRight)
Called when a split pane's bottom right component has changed.- Parameters:
splitPane
- The source of the event.previousBottomRight
- The previous component. The new component can be found inside the splitPane.
-
orientationChanged
default void orientationChanged(SplitPane splitPane)
Called when a split pane's orientation has changed.- Parameters:
splitPane
- The source of the event.
-
primaryRegionChanged
default void primaryRegionChanged(SplitPane splitPane)
Called when a split pane's primary region has changed.- Parameters:
splitPane
- The source of the event.
-
splitRatioChanged
default void splitRatioChanged(SplitPane splitPane, float previousSplitRatio)
Called when a split pane's split location has changed.- Parameters:
splitPane
- The source of the event.previousSplitRatio
- The previous setting of the splitRatio.
-
lockedChanged
default void lockedChanged(SplitPane splitPane)
Called when a split pane's locked flag has changed.- Parameters:
splitPane
- The source of the event.
-
resizeModeChanged
default void resizeModeChanged(SplitPane splitPane, SplitPane.ResizeMode previousResizeMode)
Called when a split pane's split location has changed.- Parameters:
splitPane
- The source of the event.previousResizeMode
- The previous setting of the resizeMode.
-
-