| Modifier and Type | Field and Description |
|---|---|
| private final V | |
| private static final PseudoClass | |
| private final ChangeListener | |
| private final ScrollBar | |
| private final Var | hbarPolicy
The Policy for the Horizontal ScrollBar |
| private Var | |
| private final ChangeListener | |
| private Var | |
| private ChangeListener | |
| private final ScrollBar | |
| private final Var | vbarPolicy
The Policy for the Vertical ScrollBar |
| private Var | |
| private final ChangeListener | |
| private Var | |
| private final ChangeListener |
| Access | Constructor and Description |
|---|---|
| public | VirtualizedScrollPane(V content, ScrollPane.
Constructs a VirtualizedScrollPane with the given content and policies |
| public | VirtualizedScrollPane(V content)
Constructs a VirtualizedScrollPane that only displays its horizontal and vertical scroll bars as needed |
| Modifier and Type | Method and Description |
|---|---|
| protected double | computeMaxHeight(double width)
Overrides javafx. Computes the maximum height of this region. |
| protected double | computeMaxWidth(double height)
Overrides javafx. Computes the maximum width for this region. |
| protected double | computeMinHeight(double width)
Overrides javafx. Computes the minimum height of this region. |
| protected double | computeMinWidth(double height)
Overrides javafx. Computes the minimum width of this region. |
| protected double | computePrefHeight(double width)
Overrides javafx. Computes the preferred height of this region for the given width; Region subclasses should override this method to return an appropriate value based on their content and layout strategy. |
| protected double | computePrefWidth(double height)
Overrides javafx. Computes the preferred width of this region for the given height. |
| private void | |
| public Var | |
| public Var | |
| public V | |
| public final ScrollPane. | |
| public final ScrollPane. | |
| public final Var | |
| protected void | layoutChildren()
Overrides javafx. Invoked during the layout pass to layout the children in this
|
| private static double | offsetToScrollbarPosition(double contentOffset, double viewportSize, double padding, double contentSize)
|
| public V | |
| private static double | scrollbarPositionToOffset(double scrollbarPos, double viewportSize, double padding, double contentSize)
|
| public void | scrollXBy(double deltaX)
Implements org. Scroll the content horizontally by the given amount. |
| public void | scrollXToPixel(double pixel)
Implements org. Scroll the content horizontally to the pixel |
| public void | scrollYBy(double deltaY)
Implements org. Scroll the content vertically by the given amount. |
| public void | scrollYToPixel(double pixel)
Implements org. Scroll the content vertically to the pixel |
| public final void | |
| private void | |
| private static void | |
| public final void | |
| private void | |
| public Val | |
| public Val | |
| private void | |
| public final Var |
| content | back to summary |
|---|---|
| private final V content | |
| CONTENT_FOCUSED | back to summary |
|---|---|
| private static final PseudoClass CONTENT_FOCUSED | |
| contentFocusedListener | back to summary |
|---|---|
| private final ChangeListener<Boolean> contentFocusedListener | |
| hbar | back to summary |
|---|---|
| private final ScrollBar hbar | |
| hbarPolicy | back to summary |
|---|---|
| private final Var<ScrollPane. The Policy for the Horizontal ScrollBar | |
| hbarValue | back to summary |
|---|---|
| private Var<Double> hbarValue | |
| hbarValueListener | back to summary |
|---|---|
| private final ChangeListener<Double> hbarValueListener | |
| hPosEstimate | back to summary |
|---|---|
| private Var<Double> hPosEstimate | |
| hPosEstimateListener | back to summary |
|---|---|
| private ChangeListener<Double> hPosEstimateListener | |
| vbar | back to summary |
|---|---|
| private final ScrollBar vbar | |
| vbarPolicy | back to summary |
|---|---|
| private final Var<ScrollPane. The Policy for the Vertical ScrollBar | |
| vbarValue | back to summary |
|---|---|
| private Var<Double> vbarValue | |
| vbarValueListener | back to summary |
|---|---|
| private final ChangeListener<Double> vbarValueListener | |
| vPosEstimate | back to summary |
|---|---|
| private Var<Double> vPosEstimate | |
| vPosEstimateListener | back to summary |
|---|---|
| private final ChangeListener<Double> vPosEstimateListener | |
| VirtualizedScrollPane | back to summary |
|---|---|
| public VirtualizedScrollPane(V content, ScrollPane. Constructs a VirtualizedScrollPane with the given content and policies | |
| VirtualizedScrollPane | back to summary |
|---|---|
| public VirtualizedScrollPane(V content) Constructs a VirtualizedScrollPane that only displays its horizontal and vertical scroll bars as needed | |
| computeMaxHeight | back to summary |
|---|---|
| protected double computeMaxHeight(double width) Overrides javafx. Doc from javafx. Computes the maximum height of this region. Returns Double.MAX_VALUE by default. Region subclasses may override this method to return a different value based on their content and layout strategy. If the subclass doesn't have a HORIZONTAL content bias, then the width parameter can be ignored.
| |
| computeMaxWidth | back to summary |
|---|---|
| protected double computeMaxWidth(double height) Overrides javafx. Doc from javafx. Computes the maximum width for this region. Returns Double.MAX_VALUE by default. Region subclasses may override this method to return an different value based on their content and layout strategy. If the subclass doesn't have a VERTICAL content bias, then the height parameter can be ignored.
| |
| computeMinHeight | back to summary |
|---|---|
| protected double computeMinHeight(double width) Overrides javafx. Doc from javafx. Computes the minimum height of this region. Returns the sum of the top and bottom insets by default. Region subclasses should override this method to return an appropriate value based on their content and layout strategy. If the subclass doesn't have a HORIZONTAL content bias, then the width parameter can be ignored.
| |
| computeMinWidth | back to summary |
|---|---|
| protected double computeMinWidth(double height) Overrides javafx. Doc from javafx. Computes the minimum width of this region. Returns the sum of the left and right insets by default. region subclasses should override this method to return an appropriate value based on their content and layout strategy. If the subclass doesn't have a VERTICAL content bias, then the height parameter can be ignored.
| |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width) Overrides javafx. Doc from javafx. Computes the preferred height of this region for the given width; Region subclasses should override this method to return an appropriate value based on their content and layout strategy. If the subclass doesn't have a HORIZONTAL content bias, then the width parameter can be ignored.
| |
| computePrefWidth | back to summary |
|---|---|
| protected double computePrefWidth(double height) Overrides javafx. Doc from javafx. Computes the preferred width of this region for the given height. Region subclasses should override this method to return an appropriate value based on their content and layout strategy. If the subclass doesn't have a VERTICAL content bias, then the height parameter can be ignored.
| |
| dispose | back to summary |
|---|---|
| private void dispose() | |
| estimatedScrollXProperty | back to summary |
|---|---|
| public Var Implements org.
| |
| estimatedScrollYProperty | back to summary |
|---|---|
| public Var Implements org.
| |
| getContent | back to summary |
|---|---|
| public V getContent() Does not unbind scrolling from Content before returning Content.
| |
| getHbarPolicy | back to summary |
|---|---|
| public final ScrollPane. | |
| getVbarPolicy | back to summary |
|---|---|
| public final ScrollPane. | |
| hbarPolicyProperty | back to summary |
|---|---|
| public final Var | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren() Overrides javafx. Doc from javafx. Invoked during the layout pass to layout the children in this
Subclasses should override this function to layout content as needed.
| |
| offsetToScrollbarPosition | back to summary |
|---|---|
| private static double offsetToScrollbarPosition(double contentOffset, double viewportSize, double padding, double contentSize) | |
| removeContent | back to summary |
|---|---|
| public V removeContent() Unbinds scrolling from Content before returning Content.
| |
| scrollbarPositionToOffset | back to summary |
|---|---|
| private static double scrollbarPositionToOffset(double scrollbarPos, double viewportSize, double padding, double contentSize) | |
| scrollXBy | back to summary |
|---|---|
| public void scrollXBy(double deltaX) Implements org. Doc from org. Scroll the content horizontally by the given amount.
| |
| scrollXToPixel | back to summary |
|---|---|
| public void scrollXToPixel(double pixel) Implements org. Doc from org. Scroll the content horizontally to the pixel
| |
| scrollYBy | back to summary |
|---|---|
| public void scrollYBy(double deltaY) Implements org. Doc from org. Scroll the content vertically by the given amount.
| |
| scrollYToPixel | back to summary |
|---|---|
| public void scrollYToPixel(double pixel) Implements org. Doc from org. Scroll the content vertically to the pixel
| |
| setHbarPolicy | back to summary |
|---|---|
| public final void setHbarPolicy(ScrollPane. | |
| setHPosition | back to summary |
|---|---|
| private void setHPosition(double pos) | |
| setupUnitIncrement | back to summary |
|---|---|
| private static void setupUnitIncrement(ScrollBar bar) | |
| setVbarPolicy | back to summary |
|---|---|
| public final void setVbarPolicy(ScrollPane. | |
| setVPosition | back to summary |
|---|---|
| private void setVPosition(double pos) | |
| totalHeightEstimateProperty | back to summary |
|---|---|
| public Val Implements org.
| |
| totalWidthEstimateProperty | back to summary |
|---|---|
| public Val Implements org.
| |
| unbindScrollBar | back to summary |
|---|---|
| private void unbindScrollBar(ScrollBar bar) | |
| vbarPolicyProperty | back to summary |
|---|---|
| public final Var | |