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 a
VirtualizedScrollPane
.-
Property Summary
Properties -
Method Summary
Modifier and TypeMethodDescriptionorg.reactfx.value.Var
<Double> org.reactfx.value.Var
<Double> default double
Gets the value of theestimatedScrollX
property.default double
Gets the value of theestimatedScrollY
property.default double
Gets the value of thetotalHeightEstimate
property.default double
Gets the value of thetotalWidthEstimate
property.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
<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
totalWidthEstimate
property - See Also:
-
getTotalWidthEstimate
default double getTotalWidthEstimate()Gets the value of thetotalWidthEstimate
property.- Property description:
- Returns:
- the value of the
totalWidthEstimate
property - See Also:
-
totalHeightEstimateProperty
org.reactfx.value.Val<Double> totalHeightEstimateProperty()- Returns:
- the
totalHeightEstimate
property - See Also:
-
getTotalHeightEstimate
default double getTotalHeightEstimate()Gets the value of thetotalHeightEstimate
property.- Property description:
- Returns:
- the value of the
totalHeightEstimate
property - See Also:
-
estimatedScrollXProperty
org.reactfx.value.Var<Double> estimatedScrollXProperty()- Returns:
- the
estimatedScrollX
property - See Also:
-
getEstimatedScrollX
default double getEstimatedScrollX()Gets the value of theestimatedScrollX
property.- Property description:
- Returns:
- the value of the
estimatedScrollX
property - See Also:
-
estimatedScrollYProperty
org.reactfx.value.Var<Double> estimatedScrollYProperty()- Returns:
- the
estimatedScrollY
property - See Also:
-
getEstimatedScrollY
default double getEstimatedScrollY()Gets the value of theestimatedScrollY
property.- Property description:
- Returns:
- the value of the
estimatedScrollY
property - 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 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
-