Interface Virtualized
- All Known Implementing Classes:
ScaledVirtualized, VirtualFlow, VirtualizedScrollPane
public interface Virtualized
Specifies an object that does not have scroll bars by default but which can have scroll bars added to it
by wrapping it in a
VirtualizedScrollPane.-
Property Summary
Properties -
Method Summary
Modifier and TypeMethodDescriptionorg.reactfx.value.Var<Double> org.reactfx.value.Var<Double> default doubleGets the value of theestimatedScrollXproperty.default doubleGets the value of theestimatedScrollYproperty.default doubleGets the value of thetotalHeightEstimateproperty.default doubleGets the value of thetotalWidthEstimateproperty.default voidscrollBy(double deltaX, double deltaY) Convenience method: scroll horizontally bydeltaXand vertically bydeltaYdefault voidscrollBy(javafx.geometry.Point2D deltas) Convenience method: scroll horizontally bydeltas.getX()and vertically bydeltas.getY()default voidscrollToPixel(double xPixel, double yPixel) Convenicen method: scroll the content to the pixeldefault voidscrollToPixel(javafx.geometry.Point2D pixel) Convenicen method: scroll the content to the pixelvoidscrollXBy(double deltaX) Scroll the content horizontally by the given amount.voidscrollXToPixel(double pixel) Scroll the content horizontally to the pixelvoidscrollYBy(double deltaY) Scroll the content vertically by the given amount.voidscrollYToPixel(double pixel) Scroll the content vertically to the pixelorg.reactfx.value.Val<Double> org.reactfx.value.Val<Double>
-
Property Details
-
totalWidthEstimate
org.reactfx.value.Val<Double> totalWidthEstimateProperty- See Also:
-
totalHeightEstimate
org.reactfx.value.Val<Double> totalHeightEstimateProperty- See Also:
-
estimatedScrollX
org.reactfx.value.Var<Double> estimatedScrollXProperty- See Also:
-
estimatedScrollY
org.reactfx.value.Var<Double> estimatedScrollYProperty- See Also:
-
-
Method Details
-
totalWidthEstimateProperty
org.reactfx.value.Val<Double> totalWidthEstimateProperty()- Returns:
- the
totalWidthEstimateproperty - See Also:
-
getTotalWidthEstimate
default double getTotalWidthEstimate()Gets the value of thetotalWidthEstimateproperty.- Property description:
- Returns:
- the value of the
totalWidthEstimateproperty - See Also:
-
totalHeightEstimateProperty
org.reactfx.value.Val<Double> totalHeightEstimateProperty()- Returns:
- the
totalHeightEstimateproperty - See Also:
-
getTotalHeightEstimate
default double getTotalHeightEstimate()Gets the value of thetotalHeightEstimateproperty.- Property description:
- Returns:
- the value of the
totalHeightEstimateproperty - See Also:
-
estimatedScrollXProperty
org.reactfx.value.Var<Double> estimatedScrollXProperty()- Returns:
- the
estimatedScrollXproperty - See Also:
-
getEstimatedScrollX
default double getEstimatedScrollX()Gets the value of theestimatedScrollXproperty.- Property description:
- Returns:
- the value of the
estimatedScrollXproperty - See Also:
-
estimatedScrollYProperty
org.reactfx.value.Var<Double> estimatedScrollYProperty()- Returns:
- the
estimatedScrollYproperty - See Also:
-
getEstimatedScrollY
default double getEstimatedScrollY()Gets the value of theestimatedScrollYproperty.- Property description:
- Returns:
- the value of the
estimatedScrollYproperty - See Also:
-
scrollBy
default void scrollBy(javafx.geometry.Point2D deltas) Convenience method: scroll horizontally bydeltas.getX()and vertically bydeltas.getY()- Parameters:
deltas- negative values scroll left/up, positive scroll right/down
-
scrollBy
default void scrollBy(double deltaX, double deltaY) Convenience method: scroll horizontally bydeltaXand vertically bydeltaY- Parameters:
deltaX- negative values scroll left, positive scroll rightdeltaY- negative values scroll up, positive scroll down
-
scrollXBy
void scrollXBy(double deltaX) Scroll the content horizontally by the given amount.- Parameters:
deltaX- positive value scrolls right, negative value scrolls left
-
scrollYBy
void scrollYBy(double deltaY) Scroll the content vertically by the given amount.- Parameters:
deltaY- positive value scrolls down, negative value scrolls up
-
scrollToPixel
default void scrollToPixel(javafx.geometry.Point2D pixel) Convenicen method: scroll the content to the pixel -
scrollToPixel
default void scrollToPixel(double xPixel, double yPixel) Convenicen method: scroll the content to the pixel -
scrollXToPixel
void scrollXToPixel(double pixel) Scroll the content horizontally to the pixel- Parameters:
pixel- - the pixel position to which to scroll
-
scrollYToPixel
void scrollYToPixel(double pixel) Scroll the content vertically to the pixel- Parameters:
pixel- - the pixel position to which to scroll
-