Class ScrollPaneSkin

java.lang.Object
javafx.scene.control.SkinBase<ScrollPane>
javafx.scene.control.skin.ScrollPaneSkin
All Implemented Interfaces:
Skin<ScrollPane>

public class ScrollPaneSkin
extends SkinBase<ScrollPane>
Default skin implementation for the ScrollPane control.
Since:
9
See Also:
ScrollPane
  • Constructor Details

    • ScrollPaneSkin

      public ScrollPaneSkin​(ScrollPane control)
      Creates a new ScrollPaneSkin instance, installing the necessary child nodes into the Control children list, as well as the necessary input mappings for handling key, mouse, etc events.
      Parameters:
      control - The control that this skin should be installed onto.
  • Method Details

    • getHorizontalScrollBar

      public final ScrollBar getHorizontalScrollBar()
      Returns the horizontal ScrollBar used in this ScrollPaneSkin instance.
      Returns:
      the horizontal ScrollBar used in this ScrollPaneSkin instance
    • getVerticalScrollBar

      public final ScrollBar getVerticalScrollBar()
      Returns the vertical ScrollBar used in this ScrollPaneSkin instance.
      Returns:
      the vertical ScrollBar used in this ScrollPaneSkin instance