Package javafx.scene.control
Class ScrollPane
java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.control.Control
javafx.scene.control.ScrollPane
- All Implemented Interfaces:
 LayoutMeasurable,LayoutMeasurableMixin,HasBackgroundProperty,HasBlendModeProperty,HasBorderProperty,HasClipProperty,HasEffectProperty,HasHeightProperty,HasLayoutXProperty,HasLayoutYProperty,HasManagedProperty,HasMaxHeightProperty,HasMaxWidthProperty,HasMinHeightProperty,HasMinWidthProperty,HasMouseTransparentProperty,HasOnMouseClickedProperty,HasOpacityProperty,HasPaddingProperty,HasParentProperty,HasPrefHeightProperty,HasPrefWidthProperty,HasSnapToPixelProperty,HasVisibleProperty,HasWidthProperty,Styleable,EventTarget,Skinnable,INode,PreferenceResizableNode
- Author:
 - Bruno Salmon
 
- 
Property Summary
PropertiesTypePropertyDescriptionfinal ObjectProperty<Node>The node used as the content of this ScrollPane.final DoublePropertyThe maximum allowablehvaluefor this ScrollPane.final DoublePropertyThe minimum allowablehvaluefor this ScrollPane.final DoublePropertyThe current horizontal scroll position of the ScrollPane.final ObjectProperty<Bounds>The actual Bounds of the ScrollPane Viewport.final DoublePropertyThe maximum allowablevvaluefor this ScrollPane.final DoublePropertyThe minimum allowablevvaluefor this ScrollPane.final DoublePropertyThe current vertical scroll position of the ScrollPane.Properties inherited from class javafx.scene.control.Control
contextMenu, skin, tooltipProperties inherited from class javafx.scene.layout.Region
background, border, height, insets, maxHeight, maxWidth, minHeight, minWidth, padding, prefHeight, prefWidth, snapToPixel, widthProperties inherited from class javafx.scene.Parent
needsLayoutProperties inherited from class javafx.scene.Node
blendMode, cacheHint, cache, clip, cursor, disabled, disable, effect, eventDispatcher, focused, focusTraversable, hover, id, layoutBounds, layoutX, layoutY, managed, mouseTransparent, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onScroll, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, opacity, parent, pressed, rotate, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, visibleProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBlendModeProperty
blendModeProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasClipProperty
clipProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasEffectProperty
effectProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutXProperty
layoutXProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutYProperty
layoutYProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasManagedProperty
managedProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMouseTransparentProperty
mouseTransparentProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOnMouseClickedProperty
onMouseClickedProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOpacityProperty
opacityProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasParentProperty
parentProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasVisibleProperty
visible - 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAn enumeration denoting the policy to be used by a scrollable Control in deciding whether to show a scroll bar. - 
Field Summary
Fields inherited from interface javafx.scene.INode
BASELINE_OFFSET_SAME_AS_HEIGHTFields inherited from interface javafx.scene.layout.PreferenceResizableNode
USE_COMPUTED_SIZE, USE_PREF_SIZE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputeMaxHeight(double width) Computes the maximum allowable height of the Control, based on the provided width.protected doublecomputeMaxWidth(double height) Computes the maximum allowable width of the Control, based on the provided height.protected doublecomputeMinHeight(double width) Computes the minimum allowable height of the Control, based on the provided width.protected doublecomputeMinWidth(double height) Computes the minimum allowable width of the Control, based on the provided height.protected doublecomputePrefHeight(double width) Computes the preferred height of this region for the given width; Region subclasses should override this method to return an appropriate value based on their content and layout strategy.protected doublecomputePrefWidth(double height) Computes the preferred width of this region for the given height.final ObjectProperty<Node>The node used as the content of this ScrollPane.final NodeGets the value of thecontentproperty.Gets the value of thehbarPolicyproperty.final doublegetHmax()Gets the value of thehmaxproperty.final doublegetHmin()Gets the value of thehminproperty.final doubleGets the value of thehvalueproperty.final BoundsGets the value of theviewportBoundsproperty.final doublegetVmax()Gets the value of thevmaxproperty.final doublegetVmin()Gets the value of thevminproperty.final doubleGets the value of thevvalueproperty.final DoublePropertyThe maximum allowablehvaluefor this ScrollPane.final DoublePropertyThe minimum allowablehvaluefor this ScrollPane.final DoublePropertyThe current horizontal scroll position of the ScrollPane.booleanGets the value of thefitToHeightproperty.booleanGets the value of thefitToWidthproperty.protected voidInvoked during the layout pass to layout the children in thisParent.protected voidlocalToScene(Point2D pt) protected voidsceneToLocal(Point2D pt) final voidsetContent(Node value) Sets the value of thecontentproperty.voidsetFitToHeight(boolean fitHeight) Sets the value of thefitToHeightproperty.voidsetFitToWidth(boolean fitWidth) Sets the value of thefitToWidthproperty.final voidSets the value of thehbarPolicyproperty.final voidsetHmax(double value) Sets the value of thehmaxproperty.final voidsetHmin(double value) Sets the value of thehminproperty.final voidsetHvalue(double value) Sets the value of thehvalueproperty.voidsetOnChildrenLayout(Runnable onChildrenLayout) final voidfinal voidsetViewportBounds(Bounds value) Sets the value of theviewportBoundsproperty.final voidsetVmax(double value) Sets the value of thevmaxproperty.final voidsetVmin(double value) Sets the value of thevminproperty.final voidsetVvalue(double value) Sets the value of thevvalueproperty.booleanfinal ObjectProperty<Bounds>The actual Bounds of the ScrollPane Viewport.final DoublePropertyThe maximum allowablevvaluefor this ScrollPane.final DoublePropertyThe minimum allowablevvaluefor this ScrollPane.final DoublePropertyThe current vertical scroll position of the ScrollPane.Methods inherited from class javafx.scene.control.Control
contextMenuProperty, createDefaultSkin, getBaselineOffset, getContextMenu, getSkin, getTooltip, setContextMenu, setSkin, setTooltip, skinProperty, tooltipPropertyMethods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, boundedSize, getInsets, heightProperty, impl_computeGeomBounds, impl_computeLayoutBounds, impl_maxHeight, impl_maxWidth, impl_minHeight, impl_minWidth, impl_prefHeight, impl_prefWidth, insetsProperty, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, paddingProperty, positionInArea, positionInArea, prefHeightProperty, prefWidthProperty, resize, setMaxSize, setMinSize, setPrefSize, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, isNeedsLayout, layout, needsLayoutProperty, requestLayout, requestParentLayout, setLayoutFlag, setNeedsLayout, setSceneRootMethods inherited from class javafx.scene.Node
addEventFilter, addEventHandler, autosize, blendModeProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, createLayoutMeasurable, cursorProperty, disabledProperty, disableProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAllNodeTransforms, getBoundsInLocal, getCacheHint, getCursor, getEventDispatcher, getId, getLayoutMeasurable, getNodePeer, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseDragged, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnScroll, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOrCreateAndBindNodePeer, getProperties, getRotate, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleClass, getTransforms, getTranslateX, getTranslateY, getUserData, hasProperties, hoverProperty, idProperty, impl_getLayoutBounds, impl_isTreeVisible, impl_traverse, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isPressed, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToScene, localToScreen, localToScreen, localToScreen, localToScreen, managedProperty, mouseTransparentProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDraggedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onNodePeerReady, onPeerSizeChanged, onScrollProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, opacityProperty, parentProperty, parentToLocal, pressedProperty, removeEventFilter, removeEventHandler, requestFocus, requestPeerFocus, rotateProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, setCache, setCacheHint, setCursor, setDisable, setDisabled, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setNodePeer, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseDragged, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnScroll, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setPressed, setRotate, setScaleX, setScaleY, setScaleZ, setScene, setStyle, setTranslateX, setTranslateY, setUserData, snapshot, startDragAndDrop, styleProperty, toBack, toFront, translateXProperty, translateYProperty, visiblePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBackgroundProperty
getBackground, setBackgroundMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBlendModeProperty
blendModeProperty, getBlendMode, setBlendModeMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBorderProperty
getBorder, setBorderMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasClipProperty
clipProperty, getClip, setClipMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasEffectProperty
effectProperty, getEffect, setEffectMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasHeightProperty
getHeight, setHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutXProperty
getLayoutX, layoutXProperty, setLayoutXMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutYProperty
getLayoutY, layoutYProperty, setLayoutYMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasManagedProperty
isManaged, managedProperty, setManagedMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMaxHeightProperty
getMaxHeight, setMaxHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMaxWidthProperty
getMaxWidth, setMaxWidthMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMinHeightProperty
getMinHeight, setMinHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMinWidthProperty
getMinWidth, setMinWidthMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMouseTransparentProperty
isMouseTransparent, mouseTransparentProperty, setMouseTransparentMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOnMouseClickedProperty
getOnMouseClicked, onMouseClickedProperty, setOnMouseClickedMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOpacityProperty
getOpacity, opacityProperty, setOpacityMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPaddingProperty
getPadding, setPaddingMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasParentProperty
getParent, parentProperty, setParentMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPrefHeightProperty
getPrefHeight, setPrefHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPrefWidthProperty
getPrefWidth, setPrefWidthMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasSnapToPixelProperty
isSnapToPixel, setSnapToPixelMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasVisibleProperty
isVisible, setVisible, visiblePropertyMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasWidthProperty
getWidth, setWidthMethods inherited from interface javafx.scene.INode
autosize, getAllNodeTransforms, getContentBias, getNodePeer, getOrCreateAndBindNodePeer, getProperties, getScene, getTransforms, hasProperties, relocate, resizeRelocateMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.emul_coupling.LayoutMeasurableMixin
clearCache, getLayoutBounds, getLayoutMeasurable, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidthMethods inherited from interface javafx.scene.layout.PreferenceResizableNode
isResizable 
- 
Property Details
- 
hbarPolicy
 - 
vbarPolicy
- See Also:
 
 - 
content
The node used as the content of this ScrollPane.- See Also:
 
 - 
hvalue
The current horizontal scroll position of the ScrollPane. This value may be set by the application to scroll the view programatically. The ScrollPane will update this value whenever the viewport is scrolled or panned by the user. This value must always be within the range ofhmintohmax. Whenhvalueequalshmin, the contained node is positioned so that its layoutBoundsminXis visible. Whenhvalueequalshmax, the contained node is positioned so that its layoutBoundsmaxXis visible. Whenhvalueis betweenhminandhmax, the contained node is positioned proportionally between layoutBoundsminXand layoutBoundsmaxX.- See Also:
 
 - 
vvalue
The current vertical scroll position of the ScrollPane. This value may be set by the application to scroll the view programatically. The ScrollPane will update this value whenever the viewport is scrolled or panned by the user. This value must always be within the range ofvmintovmax. Whenvvalueequalsvmin, the contained node is positioned so that its layoutBoundsminYis visible. Whenvvalueequalsvmax, the contained node is positioned so that its layoutBoundsmaxYis visible. Whenvvalueis betweenvminandvmax, the contained node is positioned proportionally between layoutBoundsminYand layoutBoundsmaxY.- See Also:
 
 - 
hmin
The minimum allowablehvaluefor this ScrollPane. Default value is 0.- See Also:
 
 - 
vmin
The minimum allowablevvaluefor this ScrollPane. Default value is 0.- See Also:
 
 - 
hmax
The maximum allowablehvaluefor this ScrollPane. Default value is 1.- See Also:
 
 - 
vmax
The maximum allowablevvaluefor this ScrollPane. Default value is 1.- See Also:
 
 - 
viewportBounds
The actual Bounds of the ScrollPane Viewport. This is the Bounds of the content node. - 
fitToWidth
 - 
fitToHeight
 
 - 
 - 
Constructor Details
- 
ScrollPane
public ScrollPane() - 
ScrollPane
 
 - 
 - 
Method Details
- 
shouldUseLayoutMeasurable
public boolean shouldUseLayoutMeasurable()- Overrides:
 shouldUseLayoutMeasurablein classControl
 - 
computeMinWidth
protected double computeMinWidth(double height) Description copied from class:ControlComputes the minimum allowable width of the Control, based on the provided height. The minimum width is not calculated within the Control, instead the calculation is delegated to theLayoutMeasurableMixin.minWidth(double)method of theSkin. If the Skin is null, the returned value is 0.- Overrides:
 computeMinWidthin classControl- Parameters:
 height- The height of the Control, in case this value might dictate the minimum width.- Returns:
 - A double representing the minimum width of this control.
 
 - 
computePrefWidth
protected double computePrefWidth(double height) Description copied from class:ControlComputes the preferred width of this region for the given height. Region subclasses should override this method to return an appropriate value based on their content and layout strategy. If the subclass doesn't have a VERTICAL content bias, then the height parameter can be ignored.- Overrides:
 computePrefWidthin classControl- Parameters:
 height- the height that should be used if preferred width depends on it- Returns:
 - the computed preferred width for this region
 
 - 
computeMaxWidth
protected double computeMaxWidth(double height) Description copied from class:ControlComputes the maximum allowable width of the Control, based on the provided height. The maximum width is not calculated within the Control, instead the calculation is delegated to theLayoutMeasurableMixin.maxWidth(double)method of theSkin. If the Skin is null, the returned value is 0.- Overrides:
 computeMaxWidthin classControl- Parameters:
 height- The height of the Control, in case this value might dictate the maximum width.- Returns:
 - A double representing the maximum width of this control.
 
 - 
computeMinHeight
protected double computeMinHeight(double width) Description copied from class:ControlComputes the minimum allowable height of the Control, based on the provided width. The minimum height is not calculated within the Control, instead the calculation is delegated to theLayoutMeasurableMixin.minHeight(double)method of theSkin. If the Skin is null, the returned value is 0.- Overrides:
 computeMinHeightin classControl- Parameters:
 width- The width of the Control, in case this value might dictate the minimum height.- Returns:
 - A double representing the minimum height of this control.
 
 - 
computePrefHeight
protected double computePrefHeight(double width) Description copied from class:ControlComputes the preferred height of this region for the given width; Region subclasses should override this method to return an appropriate value based on their content and layout strategy. If the subclass doesn't have a HORIZONTAL content bias, then the width parameter can be ignored.- Overrides:
 computePrefHeightin classControl- Parameters:
 width- the width that should be used if preferred height depends on it- Returns:
 - the computed preferred height for this region
 
 - 
computeMaxHeight
protected double computeMaxHeight(double width) Description copied from class:ControlComputes the maximum allowable height of the Control, based on the provided width. The maximum height is not calculated within the Control, instead the calculation is delegated to theLayoutMeasurableMixin.maxHeight(double)method of theSkin. If the Skin is null, the returned value is 0.- Overrides:
 computeMaxHeightin classControl- Parameters:
 width- The width of the Control, in case this value might dictate the maximum height.- Returns:
 - A double representing the maximum height of this control.
 
 - 
sceneToLocal
- Overrides:
 sceneToLocalin classNode
 - 
localToScene
- Overrides:
 localToScenein classNode
 - 
hbarPolicyProperty
- Returns:
 - the 
hbarPolicyproperty - See Also:
 
 - 
setHbarPolicy
Sets the value of thehbarPolicyproperty.- Property description:
 - Parameters:
 value- the value for thehbarPolicyproperty- See Also:
 
 - 
getHbarPolicy
Gets the value of thehbarPolicyproperty.- Property description:
 - Returns:
 - the value of the 
hbarPolicyproperty - See Also:
 
 - 
vbarPolicyProperty
- Returns:
 - the 
vbarPolicyproperty 
 - 
setvbarPolicy
 - 
getvbarPolicy
 - 
setContent
Sets the value of thecontentproperty.- Property description:
 - The node used as the content of this ScrollPane.
 - Parameters:
 value- the value for thecontentproperty- See Also:
 
 - 
getContent
Gets the value of thecontentproperty.- Property description:
 - The node used as the content of this ScrollPane.
 - Returns:
 - the value of the 
contentproperty - See Also:
 
 - 
contentProperty
The node used as the content of this ScrollPane.- Returns:
 - the 
contentproperty - See Also:
 
 - 
setHvalue
public final void setHvalue(double value) Sets the value of thehvalueproperty.- Property description:
 - The current horizontal scroll position of the ScrollPane. This value
 may be set by the application to scroll the view programatically.
 The ScrollPane will update this value whenever the viewport is
 scrolled or panned by the user. This value must always be within
 the range of 
hmintohmax. Whenhvalueequalshmin, the contained node is positioned so that its layoutBoundsminXis visible. Whenhvalueequalshmax, the contained node is positioned so that its layoutBoundsmaxXis visible. Whenhvalueis betweenhminandhmax, the contained node is positioned proportionally between layoutBoundsminXand layoutBoundsmaxX. - Parameters:
 value- the value for thehvalueproperty- See Also:
 
 - 
getHvalue
public final double getHvalue()Gets the value of thehvalueproperty.- Property description:
 - The current horizontal scroll position of the ScrollPane. This value
 may be set by the application to scroll the view programatically.
 The ScrollPane will update this value whenever the viewport is
 scrolled or panned by the user. This value must always be within
 the range of 
hmintohmax. Whenhvalueequalshmin, the contained node is positioned so that its layoutBoundsminXis visible. Whenhvalueequalshmax, the contained node is positioned so that its layoutBoundsmaxXis visible. Whenhvalueis betweenhminandhmax, the contained node is positioned proportionally between layoutBoundsminXand layoutBoundsmaxX. - Returns:
 - the value of the 
hvalueproperty - See Also:
 
 - 
hvalueProperty
The current horizontal scroll position of the ScrollPane. This value may be set by the application to scroll the view programatically. The ScrollPane will update this value whenever the viewport is scrolled or panned by the user. This value must always be within the range ofhmintohmax. Whenhvalueequalshmin, the contained node is positioned so that its layoutBoundsminXis visible. Whenhvalueequalshmax, the contained node is positioned so that its layoutBoundsmaxXis visible. Whenhvalueis betweenhminandhmax, the contained node is positioned proportionally between layoutBoundsminXand layoutBoundsmaxX.- Returns:
 - the 
hvalueproperty - See Also:
 
 - 
setVvalue
public final void setVvalue(double value) Sets the value of thevvalueproperty.- Property description:
 - The current vertical scroll position of the ScrollPane. This value
 may be set by the application to scroll the view programatically.
 The ScrollPane will update this value whenever the viewport is
 scrolled or panned by the user. This value must always be within
 the range of 
vmintovmax. Whenvvalueequalsvmin, the contained node is positioned so that its layoutBoundsminYis visible. Whenvvalueequalsvmax, the contained node is positioned so that its layoutBoundsmaxYis visible. Whenvvalueis betweenvminandvmax, the contained node is positioned proportionally between layoutBoundsminYand layoutBoundsmaxY. - Parameters:
 value- the value for thevvalueproperty- See Also:
 
 - 
getVvalue
public final double getVvalue()Gets the value of thevvalueproperty.- Property description:
 - The current vertical scroll position of the ScrollPane. This value
 may be set by the application to scroll the view programatically.
 The ScrollPane will update this value whenever the viewport is
 scrolled or panned by the user. This value must always be within
 the range of 
vmintovmax. Whenvvalueequalsvmin, the contained node is positioned so that its layoutBoundsminYis visible. Whenvvalueequalsvmax, the contained node is positioned so that its layoutBoundsmaxYis visible. Whenvvalueis betweenvminandvmax, the contained node is positioned proportionally between layoutBoundsminYand layoutBoundsmaxY. - Returns:
 - the value of the 
vvalueproperty - See Also:
 
 - 
vvalueProperty
The current vertical scroll position of the ScrollPane. This value may be set by the application to scroll the view programatically. The ScrollPane will update this value whenever the viewport is scrolled or panned by the user. This value must always be within the range ofvmintovmax. Whenvvalueequalsvmin, the contained node is positioned so that its layoutBoundsminYis visible. Whenvvalueequalsvmax, the contained node is positioned so that its layoutBoundsmaxYis visible. Whenvvalueis betweenvminandvmax, the contained node is positioned proportionally between layoutBoundsminYand layoutBoundsmaxY.- Returns:
 - the 
vvalueproperty - See Also:
 
 - 
setHmin
public final void setHmin(double value) Sets the value of thehminproperty.- Property description:
 - The minimum allowable 
hvaluefor this ScrollPane. Default value is 0. - Parameters:
 value- the value for thehminproperty- See Also:
 
 - 
getHmin
public final double getHmin()Gets the value of thehminproperty.- Property description:
 - The minimum allowable 
hvaluefor this ScrollPane. Default value is 0. - Returns:
 - the value of the 
hminproperty - See Also:
 
 - 
hminProperty
The minimum allowablehvaluefor this ScrollPane. Default value is 0.- Returns:
 - the 
hminproperty - See Also:
 
 - 
setVmin
public final void setVmin(double value) Sets the value of thevminproperty.- Property description:
 - The minimum allowable 
vvaluefor this ScrollPane. Default value is 0. - Parameters:
 value- the value for thevminproperty- See Also:
 
 - 
getVmin
public final double getVmin()Gets the value of thevminproperty.- Property description:
 - The minimum allowable 
vvaluefor this ScrollPane. Default value is 0. - Returns:
 - the value of the 
vminproperty - See Also:
 
 - 
vminProperty
The minimum allowablevvaluefor this ScrollPane. Default value is 0.- Returns:
 - the 
vminproperty - See Also:
 
 - 
setHmax
public final void setHmax(double value) Sets the value of thehmaxproperty.- Property description:
 - The maximum allowable 
hvaluefor this ScrollPane. Default value is 1. - Parameters:
 value- the value for thehmaxproperty- See Also:
 
 - 
getHmax
public final double getHmax()Gets the value of thehmaxproperty.- Property description:
 - The maximum allowable 
hvaluefor this ScrollPane. Default value is 1. - Returns:
 - the value of the 
hmaxproperty - See Also:
 
 - 
hmaxProperty
The maximum allowablehvaluefor this ScrollPane. Default value is 1.- Returns:
 - the 
hmaxproperty - See Also:
 
 - 
setVmax
public final void setVmax(double value) Sets the value of thevmaxproperty.- Property description:
 - The maximum allowable 
vvaluefor this ScrollPane. Default value is 1. - Parameters:
 value- the value for thevmaxproperty- See Also:
 
 - 
getVmax
public final double getVmax()Gets the value of thevmaxproperty.- Property description:
 - The maximum allowable 
vvaluefor this ScrollPane. Default value is 1. - Returns:
 - the value of the 
vmaxproperty - See Also:
 
 - 
vmaxProperty
The maximum allowablevvaluefor this ScrollPane. Default value is 1.- Returns:
 - the 
vmaxproperty - See Also:
 
 - 
setViewportBounds
Sets the value of theviewportBoundsproperty.- Property description:
 - The actual Bounds of the ScrollPane Viewport. This is the Bounds of the content node.
 - Parameters:
 value- the value for theviewportBoundsproperty- See Also:
 
 - 
getViewportBounds
Gets the value of theviewportBoundsproperty.- Property description:
 - The actual Bounds of the ScrollPane Viewport. This is the Bounds of the content node.
 - Returns:
 - the value of the 
viewportBoundsproperty - See Also:
 
 - 
viewportBoundsProperty
The actual Bounds of the ScrollPane Viewport. This is the Bounds of the content node.- Returns:
 - the 
viewportBoundsproperty - See Also:
 
 - 
fitToWidthProperty
- Returns:
 - the 
fitToWidthproperty - See Also:
 
 - 
isFitToWidth
public boolean isFitToWidth()Gets the value of thefitToWidthproperty.- Property description:
 - Returns:
 - the value of the 
fitToWidthproperty - See Also:
 
 - 
setFitToWidth
public void setFitToWidth(boolean fitWidth) Sets the value of thefitToWidthproperty.- Property description:
 - Parameters:
 fitWidth- the value for thefitToWidthproperty- See Also:
 
 - 
fitToHeightProperty
- Returns:
 - the 
fitToHeightproperty - See Also:
 
 - 
isFitToHeight
public boolean isFitToHeight()Gets the value of thefitToHeightproperty.- Property description:
 - Returns:
 - the value of the 
fitToHeightproperty - See Also:
 
 - 
setFitToHeight
public void setFitToHeight(boolean fitHeight) Sets the value of thefitToHeightproperty.- Property description:
 - Parameters:
 fitHeight- the value for thefitToHeightproperty- See Also:
 
 - 
layoutChildren
protected void layoutChildren()Description copied from class:ControlInvoked during the layout pass to layout the children in thisParent. By default it will only set the size of managed, resizable content to their preferred sizes and does not do any node positioning.Subclasses should override this function to layout content as needed.
- Overrides:
 layoutChildrenin classControl
 - 
setOnChildrenLayout
 
 -