- All Implemented Interfaces:
Styleable,EventTarget,Skinnable
The thing is, usually, virtualized controls do not expose the real bounds of the content because they are virtual bounds.
For this reason a scroll pane would have no way to determine its content bounds.
This scroll pane allows to specify the Bounds object to use to determine the content bounds, the scrollable area
length.
MFXScrollBars the values are also clamped between 0.0 and 1.0, see MFXScrollBar
for a better explanation.
Listing all the features of this scroll pane we have:
- The possibility to change the layout strategy for the scroll bars, see ScrollPaneEnums.LayoutMode and VirtualScrollPaneSkin
- The possibility of auto hide the scroll bars after a certain amount of time
- The scroll bars policy, which differs from the JavaFX's one
- The possibility to change the position of the scroll bars, see ScrollPaneEnums.HBarPos and ScrollPaneEnums.VBarPos
- The possibility to specify extra padding for the scroll bars
- The possibility to scroll with the mouse (not called pannable anymore but dragToScroll, dragToScrollProperty())
- Ports all the new features of MFXScrollBar which they'll be bound to, such as:
MFXScrollBar.buttonsVisibleProperty(), MFXScrollBar.buttonsGapProperty(),
MFXScrollBar.trackIncrementProperty(), MFXScrollBar.unitIncrementProperty(),
MFXScrollBar.smoothScrollProperty() and MFXScrollBar.trackSmoothScrollProperty().
- ":compact": active when the layoutModeProperty() is set to ScrollPaneEnums.LayoutMode.COMPACT
- ":drag-to-scroll": active when the dragToScrollProperty() is set to true
MFXScrollBars, it also allows to change
their behavior with hBarBehaviorProperty() and vBarBehaviorProperty().-
Property Summary
PropertiesTypePropertyDescriptionio.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanPropertySpecifies whether to auto hide the scroll bars after a certain amount of time.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertySpecifies the gap between the scroll bars' thumb and their buttons.io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanPropertySpecifies whether to show or not the scroll bars' buttons.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertyUsed by the viewport's clip to set its border radius.Specifies the content bounds, this cannot be ignored to make the scroll pane work as intended.Specifies the current scroll pane's content.io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanPropertySpecifies whether the content can be scrolled with mouse dragging.io.github.palexdev.mfxcore.base.properties.functional.FunctionProperty<MFXScrollBar,MFXScrollBarBehavior> Specifies the function used to build the horizontal scroll bar's behavior.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<Insets>Specifies the extra padding for the horizontal scroll bar.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.ScrollBarPolicy>Specifies the horizontal scroll bar visibility policy.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.HBarPos>Specifies the position of the horizontal scroll bar.Specifies the horizontal scroll bar's maximum value.Specifies the horizontal scroll bar's minimum value.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertySpecifies the amount added/subtracted to the horizontal scroll bar's value used by the scroll bar's track.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertySpecifies the amount added/subtracted to the horizontal scroll bar's value used by the buttons and by scrolling.Specifies the horizontal scroll bar's value.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.LayoutMode>Specifies the layout strategy for the scroll bars, seeScrollPaneEnums.LayoutModeorVirtualScrollPaneSkinfor an explanation.Specifies the main orientation of the scroll pane.io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanPropertySpecifies whether the scrolling should be smooth, done by animations.io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanPropertySpecifies if the scrolling made by the track should be smooth, done by animations.io.github.palexdev.mfxcore.base.properties.functional.FunctionProperty<MFXScrollBar,MFXScrollBarBehavior> Specifies the function used to build the vertical scroll bar's behavior.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<Insets>Specifies the extra padding for the vertical scroll bar.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.ScrollBarPolicy>Specifies the vertical scroll bar visibility policy.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.VBarPos>Specifies the position of the vertical scroll bar.Specifies the vertical scroll bar's maximum value.Specifies the vertical scroll bar's minimum value.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertySpecifies the amount added/subtracted to the vertical scroll bar's value used by the scroll bar's track.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertySpecifies the amount added/subtracted to the vertical scroll bar's value used by the buttons and by scrolling.Specifies the vertical scroll bar's value.Properties inherited from class javafx.scene.control.Control
contextMenu, skin, tooltipProperties inherited from class javafx.scene.layout.Region
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthProperties inherited from class javafx.scene.Parent
needsLayoutProperties inherited from class javafx.scene.Node
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, focusVisible, focusWithin, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible -
Field Summary
Fields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZEFields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanPropertySpecifies whether to auto hide the scroll bars after a certain amount of time.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertySpecifies the gap between the scroll bars' thumb and their buttons.io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanPropertySpecifies whether to show or not the scroll bars' buttons.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertyUsed by the viewport's clip to set its border radius.Specifies the content bounds, this cannot be ignored to make the scroll pane work as intended.Specifies the current scroll pane's content.protected Skin<?>io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanPropertySpecifies whether the content can be scrolled with mouse dragging.doubleGets the value of thebuttonsGapproperty.static List<CssMetaData<? extends Styleable,?>> doubleGets the value of theclipBorderRadiusproperty.Gets the value of thecontentproperty.Gets the value of thecontentBoundsproperty.protected List<CssMetaData<? extends Styleable,?>> Gets the value of thehBarBehaviorproperty.Gets the value of thehBarPaddingproperty.Gets the value of thehBarPolicyproperty.Gets the value of thehBarPosproperty.doublegetHMax()Gets the value of thehMaxproperty.doublegetHMin()Gets the value of thehMinproperty.doubleGets the value of thehTrackIncrementproperty.doubleGets the value of thehUnitIncrementproperty.doublegetHVal()Gets the value of thehValproperty.Gets the value of thelayoutModeproperty.Gets the value of theorientationproperty.Gets the value of thevBarBehaviorproperty.Gets the value of thevBarPaddingproperty.Gets the value of thevBarPolicyproperty.Gets the value of thevBarPosproperty.doublegetVMax()Gets the value of thevMaxproperty.doublegetVMin()Gets the value of thevMinproperty.doubleGets the value of thevTrackIncrementproperty.doubleGets the value of thevUnitIncrementproperty.doublegetVVal()Gets the value of thevValproperty.io.github.palexdev.mfxcore.base.properties.functional.FunctionProperty<MFXScrollBar,MFXScrollBarBehavior> Specifies the function used to build the horizontal scroll bar's behavior.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<Insets>Specifies the extra padding for the horizontal scroll bar.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.ScrollBarPolicy>Specifies the horizontal scroll bar visibility policy.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.HBarPos>Specifies the position of the horizontal scroll bar.Specifies the horizontal scroll bar's maximum value.Specifies the horizontal scroll bar's minimum value.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertySpecifies the amount added/subtracted to the horizontal scroll bar's value used by the scroll bar's track.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertySpecifies the amount added/subtracted to the horizontal scroll bar's value used by the buttons and by scrolling.Specifies the horizontal scroll bar's value.booleanGets the value of theautoHideBarsproperty.booleanGets the value of thebuttonsVisibleproperty.booleanGets the value of thedragToScrollproperty.booleanGets the value of thesmoothScrollproperty.booleanGets the value of thetrackSmoothScrollproperty.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.LayoutMode>Specifies the layout strategy for the scroll bars, seeScrollPaneEnums.LayoutModeorVirtualScrollPaneSkinfor an explanation.Specifies the main orientation of the scroll pane.voidsetAutoHideBars(boolean autoHideBars) Sets the value of theautoHideBarsproperty.voidsetButtonsGap(double buttonsGap) Sets the value of thebuttonsGapproperty.voidsetButtonsVisible(boolean buttonsVisible) Sets the value of thebuttonsVisibleproperty.voidsetClipBorderRadius(double clipBorderRadius) Sets the value of theclipBorderRadiusproperty.voidsetContent(Node content) Sets the value of thecontentproperty.voidsetContentBounds(VirtualBounds contentBounds) Sets the value of thecontentBoundsproperty.voidsetDragToScroll(boolean dragToScroll) Sets the value of thedragToScrollproperty.voidsetHBarBehavior(Function<MFXScrollBar, MFXScrollBarBehavior> hBarBehavior) Sets the value of thehBarBehaviorproperty.voidsetHBarPadding(Insets hBarPadding) Sets the value of thehBarPaddingproperty.voidsetHBarPolicy(ScrollPaneEnums.ScrollBarPolicy hBarPolicy) Sets the value of thehBarPolicyproperty.voidsetHBarPos(ScrollPaneEnums.HBarPos hBarPos) Sets the value of thehBarPosproperty.voidsetHMax(double hMax) Sets the value of thehMaxproperty.voidsetHMin(double hMin) Sets the value of thehMinproperty.voidsetHTrackIncrement(double hTrackIncrement) Sets the value of thehTrackIncrementproperty.voidsetHUnitIncrement(double hUnitIncrement) Sets the value of thehUnitIncrementproperty.voidsetHVal(double hVal) Sets the value of thehValproperty.voidsetLayoutMode(ScrollPaneEnums.LayoutMode layoutMode) Sets the value of thelayoutModeproperty.voidsetOrientation(Orientation orientation) Sets the value of theorientationproperty.voidsetSmoothScroll(boolean smoothScroll) Sets the value of thesmoothScrollproperty.voidsetTrackSmoothScroll(boolean trackSmoothScroll) Sets the value of thetrackSmoothScrollproperty.voidsetVBarBehavior(Function<MFXScrollBar, MFXScrollBarBehavior> vBarBehavior) Sets the value of thevBarBehaviorproperty.voidsetVBarPadding(Insets vBarPadding) Sets the value of thevBarPaddingproperty.voidsetVBarPolicy(ScrollPaneEnums.ScrollBarPolicy vBarPolicy) Sets the value of thevBarPolicyproperty.voidsetVBarPos(ScrollPaneEnums.VBarPos vBarPos) Sets the value of thevBarPosproperty.voidsetVMax(double vMax) Sets the value of thevMaxproperty.voidsetVMin(double vMin) Sets the value of thevMinproperty.voidsetVTrackIncrement(double trackIncrement) Sets the value of thevTrackIncrementproperty.voidsetVUnitIncrement(double unitIncrement) Sets the value of thevUnitIncrementproperty.voidsetVVal(double vVal) Sets the value of thevValproperty.io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanPropertySpecifies whether the scrolling should be smooth, done by animations.io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanPropertySpecifies if the scrolling made by the track should be smooth, done by animations.io.github.palexdev.mfxcore.base.properties.functional.FunctionProperty<MFXScrollBar,MFXScrollBarBehavior> Specifies the function used to build the vertical scroll bar's behavior.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<Insets>Specifies the extra padding for the vertical scroll bar.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.ScrollBarPolicy>Specifies the vertical scroll bar visibility policy.io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.VBarPos>Specifies the position of the vertical scroll bar.Specifies the vertical scroll bar's maximum value.Specifies the vertical scroll bar's minimum value.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertySpecifies the amount added/subtracted to the vertical scroll bar's value used by the scroll bar's track.io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoublePropertySpecifies the amount added/subtracted to the vertical scroll bar's value used by the buttons and by scrolling.Specifies the vertical scroll bar's value.Methods inherited from class javafx.scene.control.Control
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getContextMenu, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinProperty, tooltipPropertyMethods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBoundsMethods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, focusVisibleProperty, focusWithinProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isFocusVisible, isFocusWithin, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visiblePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javafx.css.Styleable
getStyleableNode
-
Property Details
-
layoutMode
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.LayoutMode> layoutModePropertySpecifies the layout strategy for the scroll bars, seeScrollPaneEnums.LayoutModeorVirtualScrollPaneSkinfor an explanation. -
autoHideBars
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanProperty autoHideBarsPropertySpecifies whether to auto hide the scroll bars after a certain amount of time. -
hBarPolicy
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.ScrollBarPolicy> hBarPolicyPropertySpecifies the horizontal scroll bar visibility policy. -
vBarPolicy
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.ScrollBarPolicy> vBarPolicyPropertySpecifies the vertical scroll bar visibility policy. -
hBarPos
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.HBarPos> hBarPosPropertySpecifies the position of the horizontal scroll bar. -
vBarPos
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.VBarPos> vBarPosPropertySpecifies the position of the vertical scroll bar. -
hBarPadding
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<Insets> hBarPaddingPropertySpecifies the extra padding for the horizontal scroll bar. -
vBarPadding
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<Insets> vBarPaddingPropertySpecifies the extra padding for the vertical scroll bar. -
dragToScroll
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanProperty dragToScrollPropertySpecifies whether the content can be scrolled with mouse dragging. -
buttonsVisible
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanProperty buttonsVisiblePropertySpecifies whether to show or not the scroll bars' buttons. -
buttonsGap
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty buttonsGapPropertySpecifies the gap between the scroll bars' thumb and their buttons. -
hTrackIncrement
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty hTrackIncrementPropertySpecifies the amount added/subtracted to the horizontal scroll bar's value used by the scroll bar's track. -
hUnitIncrement
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty hUnitIncrementPropertySpecifies the amount added/subtracted to the horizontal scroll bar's value used by the buttons and by scrolling. -
vTrackIncrement
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty vTrackIncrementPropertySpecifies the amount added/subtracted to the vertical scroll bar's value used by the scroll bar's track. -
vUnitIncrement
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty vUnitIncrementPropertySpecifies the amount added/subtracted to the vertical scroll bar's value used by the buttons and by scrolling. -
smoothScroll
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanProperty smoothScrollPropertySpecifies whether the scrolling should be smooth, done by animations. -
trackSmoothScroll
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanProperty trackSmoothScrollPropertySpecifies if the scrolling made by the track should be smooth, done by animations. The default behavior considers this feature an addition to thesmoothScrollProperty(), meaning that for this to work the aforementioned feature must be enabled too. -
clipBorderRadius
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty clipBorderRadiusPropertyUsed by the viewport's clip to set its border radius. This is useful when you want to make a rounded scroll pane, this prevents the content from going outside the view. Side note: the clip is aRectangle, now for some fucking reason the rectangle's arcWidth and arcHeight values used to make it round do not act like the border-radius or background-radius properties, instead their value is usually 2 / 2.5 times the latter. So for a border radius of 5 you want this value to be at least 10/13. -
content
Specifies the current scroll pane's content.- See Also:
-
contentBounds
Specifies the content bounds, this cannot be ignored to make the scroll pane work as intended. -
hMin
Specifies the horizontal scroll bar's minimum value.- See Also:
-
hVal
Specifies the horizontal scroll bar's value.- See Also:
-
hMax
Specifies the horizontal scroll bar's maximum value.- See Also:
-
vMin
Specifies the vertical scroll bar's minimum value.- See Also:
-
vVal
Specifies the vertical scroll bar's value.- See Also:
-
vMax
Specifies the vertical scroll bar's maximum value.- See Also:
-
orientation
Specifies the main orientation of the scroll pane.This is used by the skin to determine the behavior of the scroll when the Shift button is pressed. By default, for:
- VERTICAL orientation: if Shift is pressed the scroll will be horizontal
- HORIZONTAL orientation: if Shift is pressed the scroll will be vertical
-
hBarBehavior
public io.github.palexdev.mfxcore.base.properties.functional.FunctionProperty<MFXScrollBar,MFXScrollBarBehavior> hBarBehaviorPropertySpecifies the function used to build the horizontal scroll bar's behavior. -
vBarBehavior
public io.github.palexdev.mfxcore.base.properties.functional.FunctionProperty<MFXScrollBar,MFXScrollBarBehavior> vBarBehaviorPropertySpecifies the function used to build the vertical scroll bar's behavior.
-
-
Constructor Details
-
VirtualScrollPane
public VirtualScrollPane() -
VirtualScrollPane
-
-
Method Details
-
createDefaultSkin
- Overrides:
createDefaultSkinin classControl
-
getControlCssMetaData
- Overrides:
getControlCssMetaDatain classControl
-
getUserAgentStylesheet
- Overrides:
getUserAgentStylesheetin classRegion
-
getLayoutMode
Gets the value of thelayoutModeproperty.- Property description:
- Specifies the layout strategy for the scroll bars, see
ScrollPaneEnums.LayoutModeorVirtualScrollPaneSkinfor an explanation. - Returns:
- the value of the
layoutModeproperty - See Also:
-
layoutModeProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.LayoutMode> layoutModeProperty()Specifies the layout strategy for the scroll bars, seeScrollPaneEnums.LayoutModeorVirtualScrollPaneSkinfor an explanation.- Returns:
- the
layoutModeproperty - See Also:
-
setLayoutMode
Sets the value of thelayoutModeproperty.- Property description:
- Specifies the layout strategy for the scroll bars, see
ScrollPaneEnums.LayoutModeorVirtualScrollPaneSkinfor an explanation. - Parameters:
layoutMode- the value for thelayoutModeproperty- See Also:
-
isAutoHideBars
public boolean isAutoHideBars()Gets the value of theautoHideBarsproperty.- Property description:
- Specifies whether to auto hide the scroll bars after a certain amount of time.
- Returns:
- the value of the
autoHideBarsproperty - See Also:
-
autoHideBarsProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanProperty autoHideBarsProperty()Specifies whether to auto hide the scroll bars after a certain amount of time.- Returns:
- the
autoHideBarsproperty - See Also:
-
setAutoHideBars
public void setAutoHideBars(boolean autoHideBars) Sets the value of theautoHideBarsproperty.- Property description:
- Specifies whether to auto hide the scroll bars after a certain amount of time.
- Parameters:
autoHideBars- the value for theautoHideBarsproperty- See Also:
-
getHBarPolicy
Gets the value of thehBarPolicyproperty.- Property description:
- Specifies the horizontal scroll bar visibility policy.
- Returns:
- the value of the
hBarPolicyproperty - See Also:
-
hBarPolicyProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.ScrollBarPolicy> hBarPolicyProperty()Specifies the horizontal scroll bar visibility policy.- Returns:
- the
hBarPolicyproperty - See Also:
-
setHBarPolicy
Sets the value of thehBarPolicyproperty.- Property description:
- Specifies the horizontal scroll bar visibility policy.
- Parameters:
hBarPolicy- the value for thehBarPolicyproperty- See Also:
-
getVBarPolicy
Gets the value of thevBarPolicyproperty.- Property description:
- Specifies the vertical scroll bar visibility policy.
- Returns:
- the value of the
vBarPolicyproperty - See Also:
-
vBarPolicyProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.ScrollBarPolicy> vBarPolicyProperty()Specifies the vertical scroll bar visibility policy.- Returns:
- the
vBarPolicyproperty - See Also:
-
setVBarPolicy
Sets the value of thevBarPolicyproperty.- Property description:
- Specifies the vertical scroll bar visibility policy.
- Parameters:
vBarPolicy- the value for thevBarPolicyproperty- See Also:
-
getHBarPos
Gets the value of thehBarPosproperty.- Property description:
- Specifies the position of the horizontal scroll bar.
- Returns:
- the value of the
hBarPosproperty - See Also:
-
hBarPosProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.HBarPos> hBarPosProperty()Specifies the position of the horizontal scroll bar.- Returns:
- the
hBarPosproperty - See Also:
-
setHBarPos
Sets the value of thehBarPosproperty.- Property description:
- Specifies the position of the horizontal scroll bar.
- Parameters:
hBarPos- the value for thehBarPosproperty- See Also:
-
getVBarPos
Gets the value of thevBarPosproperty.- Property description:
- Specifies the position of the vertical scroll bar.
- Returns:
- the value of the
vBarPosproperty - See Also:
-
vBarPosProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<ScrollPaneEnums.VBarPos> vBarPosProperty()Specifies the position of the vertical scroll bar.- Returns:
- the
vBarPosproperty - See Also:
-
setVBarPos
Sets the value of thevBarPosproperty.- Property description:
- Specifies the position of the vertical scroll bar.
- Parameters:
vBarPos- the value for thevBarPosproperty- See Also:
-
getHBarPadding
Gets the value of thehBarPaddingproperty.- Property description:
- Specifies the extra padding for the horizontal scroll bar.
- Returns:
- the value of the
hBarPaddingproperty - See Also:
-
hBarPaddingProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<Insets> hBarPaddingProperty()Specifies the extra padding for the horizontal scroll bar.- Returns:
- the
hBarPaddingproperty - See Also:
-
setHBarPadding
Sets the value of thehBarPaddingproperty.- Property description:
- Specifies the extra padding for the horizontal scroll bar.
- Parameters:
hBarPadding- the value for thehBarPaddingproperty- See Also:
-
getVBarPadding
Gets the value of thevBarPaddingproperty.- Property description:
- Specifies the extra padding for the vertical scroll bar.
- Returns:
- the value of the
vBarPaddingproperty - See Also:
-
vBarPaddingProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableObjectProperty<Insets> vBarPaddingProperty()Specifies the extra padding for the vertical scroll bar.- Returns:
- the
vBarPaddingproperty - See Also:
-
setVBarPadding
Sets the value of thevBarPaddingproperty.- Property description:
- Specifies the extra padding for the vertical scroll bar.
- Parameters:
vBarPadding- the value for thevBarPaddingproperty- See Also:
-
isDragToScroll
public boolean isDragToScroll()Gets the value of thedragToScrollproperty.- Property description:
- Specifies whether the content can be scrolled with mouse dragging.
- Returns:
- the value of the
dragToScrollproperty - See Also:
-
dragToScrollProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanProperty dragToScrollProperty()Specifies whether the content can be scrolled with mouse dragging.- Returns:
- the
dragToScrollproperty - See Also:
-
setDragToScroll
public void setDragToScroll(boolean dragToScroll) Sets the value of thedragToScrollproperty.- Property description:
- Specifies whether the content can be scrolled with mouse dragging.
- Parameters:
dragToScroll- the value for thedragToScrollproperty- See Also:
-
isButtonsVisible
public boolean isButtonsVisible()Gets the value of thebuttonsVisibleproperty.- Property description:
- Specifies whether to show or not the scroll bars' buttons.
- Returns:
- the value of the
buttonsVisibleproperty - See Also:
-
buttonsVisibleProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanProperty buttonsVisibleProperty()Specifies whether to show or not the scroll bars' buttons.- Returns:
- the
buttonsVisibleproperty - See Also:
-
setButtonsVisible
public void setButtonsVisible(boolean buttonsVisible) Sets the value of thebuttonsVisibleproperty.- Property description:
- Specifies whether to show or not the scroll bars' buttons.
- Parameters:
buttonsVisible- the value for thebuttonsVisibleproperty- See Also:
-
getButtonsGap
public double getButtonsGap()Gets the value of thebuttonsGapproperty.- Property description:
- Specifies the gap between the scroll bars' thumb and their buttons.
- Returns:
- the value of the
buttonsGapproperty - See Also:
-
buttonsGapProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty buttonsGapProperty()Specifies the gap between the scroll bars' thumb and their buttons.- Returns:
- the
buttonsGapproperty - See Also:
-
setButtonsGap
public void setButtonsGap(double buttonsGap) Sets the value of thebuttonsGapproperty.- Property description:
- Specifies the gap between the scroll bars' thumb and their buttons.
- Parameters:
buttonsGap- the value for thebuttonsGapproperty- See Also:
-
getHTrackIncrement
public double getHTrackIncrement()Gets the value of thehTrackIncrementproperty.- Property description:
- Specifies the amount added/subtracted to the horizontal scroll bar's value used by the scroll bar's track.
- Returns:
- the value of the
hTrackIncrementproperty - See Also:
-
hTrackIncrementProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty hTrackIncrementProperty()Specifies the amount added/subtracted to the horizontal scroll bar's value used by the scroll bar's track.- Returns:
- the
hTrackIncrementproperty - See Also:
-
setHTrackIncrement
public void setHTrackIncrement(double hTrackIncrement) Sets the value of thehTrackIncrementproperty.- Property description:
- Specifies the amount added/subtracted to the horizontal scroll bar's value used by the scroll bar's track.
- Parameters:
hTrackIncrement- the value for thehTrackIncrementproperty- See Also:
-
getHUnitIncrement
public double getHUnitIncrement()Gets the value of thehUnitIncrementproperty.- Property description:
- Specifies the amount added/subtracted to the horizontal scroll bar's value used by the buttons and by scrolling.
- Returns:
- the value of the
hUnitIncrementproperty - See Also:
-
hUnitIncrementProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty hUnitIncrementProperty()Specifies the amount added/subtracted to the horizontal scroll bar's value used by the buttons and by scrolling.- Returns:
- the
hUnitIncrementproperty - See Also:
-
setHUnitIncrement
public void setHUnitIncrement(double hUnitIncrement) Sets the value of thehUnitIncrementproperty.- Property description:
- Specifies the amount added/subtracted to the horizontal scroll bar's value used by the buttons and by scrolling.
- Parameters:
hUnitIncrement- the value for thehUnitIncrementproperty- See Also:
-
getVTrackIncrement
public double getVTrackIncrement()Gets the value of thevTrackIncrementproperty.- Property description:
- Specifies the amount added/subtracted to the vertical scroll bar's value used by the scroll bar's track.
- Returns:
- the value of the
vTrackIncrementproperty - See Also:
-
vTrackIncrementProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty vTrackIncrementProperty()Specifies the amount added/subtracted to the vertical scroll bar's value used by the scroll bar's track.- Returns:
- the
vTrackIncrementproperty - See Also:
-
setVTrackIncrement
public void setVTrackIncrement(double trackIncrement) Sets the value of thevTrackIncrementproperty.- Property description:
- Specifies the amount added/subtracted to the vertical scroll bar's value used by the scroll bar's track.
- Parameters:
trackIncrement- the value for thevTrackIncrementproperty- See Also:
-
getVUnitIncrement
public double getVUnitIncrement()Gets the value of thevUnitIncrementproperty.- Property description:
- Specifies the amount added/subtracted to the vertical scroll bar's value used by the buttons and by scrolling.
- Returns:
- the value of the
vUnitIncrementproperty - See Also:
-
vUnitIncrementProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty vUnitIncrementProperty()Specifies the amount added/subtracted to the vertical scroll bar's value used by the buttons and by scrolling.- Returns:
- the
vUnitIncrementproperty - See Also:
-
setVUnitIncrement
public void setVUnitIncrement(double unitIncrement) Sets the value of thevUnitIncrementproperty.- Property description:
- Specifies the amount added/subtracted to the vertical scroll bar's value used by the buttons and by scrolling.
- Parameters:
unitIncrement- the value for thevUnitIncrementproperty- See Also:
-
isSmoothScroll
public boolean isSmoothScroll()Gets the value of thesmoothScrollproperty.- Property description:
- Specifies whether the scrolling should be smooth, done by animations.
- Returns:
- the value of the
smoothScrollproperty - See Also:
-
smoothScrollProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanProperty smoothScrollProperty()Specifies whether the scrolling should be smooth, done by animations.- Returns:
- the
smoothScrollproperty - See Also:
-
setSmoothScroll
public void setSmoothScroll(boolean smoothScroll) Sets the value of thesmoothScrollproperty.- Property description:
- Specifies whether the scrolling should be smooth, done by animations.
- Parameters:
smoothScroll- the value for thesmoothScrollproperty- See Also:
-
isTrackSmoothScroll
public boolean isTrackSmoothScroll()Gets the value of thetrackSmoothScrollproperty.- Property description:
- Specifies if the scrolling made by the track should be smooth, done by animations.
The default behavior considers this feature an addition to the
smoothScrollProperty(), meaning that for this to work the aforementioned feature must be enabled too. - Returns:
- the value of the
trackSmoothScrollproperty - See Also:
-
trackSmoothScrollProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableBooleanProperty trackSmoothScrollProperty()Specifies if the scrolling made by the track should be smooth, done by animations. The default behavior considers this feature an addition to thesmoothScrollProperty(), meaning that for this to work the aforementioned feature must be enabled too.- Returns:
- the
trackSmoothScrollproperty - See Also:
-
setTrackSmoothScroll
public void setTrackSmoothScroll(boolean trackSmoothScroll) Sets the value of thetrackSmoothScrollproperty.- Property description:
- Specifies if the scrolling made by the track should be smooth, done by animations.
The default behavior considers this feature an addition to the
smoothScrollProperty(), meaning that for this to work the aforementioned feature must be enabled too. - Parameters:
trackSmoothScroll- the value for thetrackSmoothScrollproperty- See Also:
-
getClipBorderRadius
public double getClipBorderRadius()Gets the value of theclipBorderRadiusproperty.- Property description:
- Used by the viewport's clip to set its border radius.
This is useful when you want to make a rounded scroll pane, this
prevents the content from going outside the view.
Side note: the clip is a
Rectangle, now for some fucking reason the rectangle's arcWidth and arcHeight values used to make it round do not act like the border-radius or background-radius properties, instead their value is usually 2 / 2.5 times the latter. So for a border radius of 5 you want this value to be at least 10/13. - Returns:
- the value of the
clipBorderRadiusproperty - See Also:
-
clipBorderRadiusProperty
public io.github.palexdev.mfxcore.base.properties.styleable.StyleableDoubleProperty clipBorderRadiusProperty()Used by the viewport's clip to set its border radius. This is useful when you want to make a rounded scroll pane, this prevents the content from going outside the view. Side note: the clip is aRectangle, now for some fucking reason the rectangle's arcWidth and arcHeight values used to make it round do not act like the border-radius or background-radius properties, instead their value is usually 2 / 2.5 times the latter. So for a border radius of 5 you want this value to be at least 10/13.- Returns:
- the
clipBorderRadiusproperty - See Also:
-
setClipBorderRadius
public void setClipBorderRadius(double clipBorderRadius) Sets the value of theclipBorderRadiusproperty.- Property description:
- Used by the viewport's clip to set its border radius.
This is useful when you want to make a rounded scroll pane, this
prevents the content from going outside the view.
Side note: the clip is a
Rectangle, now for some fucking reason the rectangle's arcWidth and arcHeight values used to make it round do not act like the border-radius or background-radius properties, instead their value is usually 2 / 2.5 times the latter. So for a border radius of 5 you want this value to be at least 10/13. - Parameters:
clipBorderRadius- the value for theclipBorderRadiusproperty- See Also:
-
getClassCssMetaData
-
getContent
Gets the value of thecontentproperty.- Property description:
- Specifies the current scroll pane's content.
- Returns:
- the value of the
contentproperty - See Also:
-
contentProperty
Specifies the current scroll pane's content.- Returns:
- the
contentproperty - See Also:
-
setContent
Sets the value of thecontentproperty.- Property description:
- Specifies the current scroll pane's content.
- Parameters:
content- the value for thecontentproperty- See Also:
-
getContentBounds
Gets the value of thecontentBoundsproperty.- Property description:
- Specifies the content bounds, this cannot be ignored to make the scroll pane work as intended.
- Returns:
- the value of the
contentBoundsproperty - See Also:
-
contentBoundsProperty
Specifies the content bounds, this cannot be ignored to make the scroll pane work as intended.- Returns:
- the
contentBoundsproperty - See Also:
-
setContentBounds
Sets the value of thecontentBoundsproperty.- Property description:
- Specifies the content bounds, this cannot be ignored to make the scroll pane work as intended.
- Parameters:
contentBounds- the value for thecontentBoundsproperty- See Also:
-
getHMin
public double getHMin()Gets the value of thehMinproperty.- Property description:
- Specifies the horizontal scroll bar's minimum value.
- Returns:
- the value of the
hMinproperty - See Also:
-
hMinProperty
Specifies the horizontal scroll bar's minimum value.- Returns:
- the
hMinproperty - See Also:
-
setHMin
public void setHMin(double hMin) Sets the value of thehMinproperty.- Property description:
- Specifies the horizontal scroll bar's minimum value.
- Parameters:
hMin- the value for thehMinproperty- See Also:
-
getHVal
public double getHVal()Gets the value of thehValproperty.- Property description:
- Specifies the horizontal scroll bar's value.
- Returns:
- the value of the
hValproperty - See Also:
-
hValProperty
Specifies the horizontal scroll bar's value.- Returns:
- the
hValproperty - See Also:
-
setHVal
public void setHVal(double hVal) Sets the value of thehValproperty.- Property description:
- Specifies the horizontal scroll bar's value.
- Parameters:
hVal- the value for thehValproperty- See Also:
-
getHMax
public double getHMax()Gets the value of thehMaxproperty.- Property description:
- Specifies the horizontal scroll bar's maximum value.
- Returns:
- the value of the
hMaxproperty - See Also:
-
hMaxProperty
Specifies the horizontal scroll bar's maximum value.- Returns:
- the
hMaxproperty - See Also:
-
setHMax
public void setHMax(double hMax) Sets the value of thehMaxproperty.- Property description:
- Specifies the horizontal scroll bar's maximum value.
- Parameters:
hMax- the value for thehMaxproperty- See Also:
-
getVMin
public double getVMin()Gets the value of thevMinproperty.- Property description:
- Specifies the vertical scroll bar's minimum value.
- Returns:
- the value of the
vMinproperty - See Also:
-
vMinProperty
Specifies the vertical scroll bar's minimum value.- Returns:
- the
vMinproperty - See Also:
-
setVMin
public void setVMin(double vMin) Sets the value of thevMinproperty.- Property description:
- Specifies the vertical scroll bar's minimum value.
- Parameters:
vMin- the value for thevMinproperty- See Also:
-
getVVal
public double getVVal()Gets the value of thevValproperty.- Property description:
- Specifies the vertical scroll bar's value.
- Returns:
- the value of the
vValproperty - See Also:
-
vValProperty
Specifies the vertical scroll bar's value.- Returns:
- the
vValproperty - See Also:
-
setVVal
public void setVVal(double vVal) Sets the value of thevValproperty.- Property description:
- Specifies the vertical scroll bar's value.
- Parameters:
vVal- the value for thevValproperty- See Also:
-
getVMax
public double getVMax()Gets the value of thevMaxproperty.- Property description:
- Specifies the vertical scroll bar's maximum value.
- Returns:
- the value of the
vMaxproperty - See Also:
-
vMaxProperty
Specifies the vertical scroll bar's maximum value.- Returns:
- the
vMaxproperty - See Also:
-
setVMax
public void setVMax(double vMax) Sets the value of thevMaxproperty.- Property description:
- Specifies the vertical scroll bar's maximum value.
- Parameters:
vMax- the value for thevMaxproperty- See Also:
-
getOrientation
Gets the value of theorientationproperty.- Property description:
- Specifies the main orientation of the scroll pane.
This is used by the skin to determine the behavior of the scroll when the Shift button is pressed. By default, for:
- VERTICAL orientation: if Shift is pressed the scroll will be horizontal
- HORIZONTAL orientation: if Shift is pressed the scroll will be vertical
- Returns:
- the value of the
orientationproperty - See Also:
-
orientationProperty
Specifies the main orientation of the scroll pane.This is used by the skin to determine the behavior of the scroll when the Shift button is pressed. By default, for:
- VERTICAL orientation: if Shift is pressed the scroll will be horizontal
- HORIZONTAL orientation: if Shift is pressed the scroll will be vertical
- Returns:
- the
orientationproperty - See Also:
-
setOrientation
Sets the value of theorientationproperty.- Property description:
- Specifies the main orientation of the scroll pane.
This is used by the skin to determine the behavior of the scroll when the Shift button is pressed. By default, for:
- VERTICAL orientation: if Shift is pressed the scroll will be horizontal
- HORIZONTAL orientation: if Shift is pressed the scroll will be vertical
- Parameters:
orientation- the value for theorientationproperty- See Also:
-
getHBarBehavior
Gets the value of thehBarBehaviorproperty.- Property description:
- Specifies the function used to build the horizontal scroll bar's behavior.
- Returns:
- the value of the
hBarBehaviorproperty - See Also:
-
hBarBehaviorProperty
public io.github.palexdev.mfxcore.base.properties.functional.FunctionProperty<MFXScrollBar,MFXScrollBarBehavior> hBarBehaviorProperty()Specifies the function used to build the horizontal scroll bar's behavior.- Returns:
- the
hBarBehaviorproperty - See Also:
-
setHBarBehavior
Sets the value of thehBarBehaviorproperty.- Property description:
- Specifies the function used to build the horizontal scroll bar's behavior.
- Parameters:
hBarBehavior- the value for thehBarBehaviorproperty- See Also:
-
getVBarBehavior
Gets the value of thevBarBehaviorproperty.- Property description:
- Specifies the function used to build the vertical scroll bar's behavior.
- Returns:
- the value of the
vBarBehaviorproperty - See Also:
-
vBarBehaviorProperty
public io.github.palexdev.mfxcore.base.properties.functional.FunctionProperty<MFXScrollBar,MFXScrollBarBehavior> vBarBehaviorProperty()Specifies the function used to build the vertical scroll bar's behavior.- Returns:
- the
vBarBehaviorproperty - See Also:
-
setVBarBehavior
Sets the value of thevBarBehaviorproperty.- Property description:
- Specifies the function used to build the vertical scroll bar's behavior.
- Parameters:
vBarBehavior- the value for thevBarBehaviorproperty- See Also:
-