Package org.fxmisc.flowless
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 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 double
getEstimatedScrollX()
default double
getEstimatedScrollY()
default double
getTotalHeightEstimate()
default double
getTotalWidthEstimate()
default void
scrollBy(double deltaX, double deltaY)
Convenience method: scroll horizontally bydeltaX
and vertically bydeltaY
default void
scrollBy(javafx.geometry.Point2D deltas)
Convenience method: scroll horizontally bydeltas.getX()
and vertically bydeltas.getY()
default void
scrollToPixel(double xPixel, double yPixel)
Convenicen method: scroll the content to the pixeldefault void
scrollToPixel(javafx.geometry.Point2D pixel)
Convenicen method: scroll the content to the pixelvoid
scrollXBy(double deltaX)
Scroll the content horizontally by the given amount.void
scrollXToPixel(double pixel)
Scroll the content horizontally to the pixelvoid
scrollYBy(double deltaY)
Scroll the content vertically by the given amount.void
scrollYToPixel(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 bydeltaX
and 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
-
-