Package org.fxmisc.flowless
Interface Virtualized
-
- All Known Implementing Classes:
ScaledVirtualized,VirtualFlow,VirtualizedScrollPane
public interface VirtualizedSpecifies an object that does not have scroll bars by default but which can have scroll bars added to it by wrapping it in aVirtualizedScrollPane.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.reactfx.value.Var<java.lang.Double>estimatedScrollXProperty()org.reactfx.value.Var<java.lang.Double>estimatedScrollYProperty()default doublegetEstimatedScrollX()default doublegetEstimatedScrollY()default doublegetTotalHeightEstimate()default doublegetTotalWidthEstimate()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<java.lang.Double>totalHeightEstimateProperty()org.reactfx.value.Val<java.lang.Double>totalWidthEstimateProperty()
-
-
-
Method Detail
-
totalWidthEstimateProperty
org.reactfx.value.Val<java.lang.Double> totalWidthEstimateProperty()
-
getTotalWidthEstimate
default double getTotalWidthEstimate()
-
totalHeightEstimateProperty
org.reactfx.value.Val<java.lang.Double> totalHeightEstimateProperty()
-
getTotalHeightEstimate
default double getTotalHeightEstimate()
-
estimatedScrollXProperty
org.reactfx.value.Var<java.lang.Double> estimatedScrollXProperty()
-
getEstimatedScrollX
default double getEstimatedScrollX()
-
estimatedScrollYProperty
org.reactfx.value.Var<java.lang.Double> estimatedScrollYProperty()
-
getEstimatedScrollY
default double getEstimatedScrollY()
-
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
-
-