Virtualized content to be scaled when inside a VirtualizedScrollPane
VirtualizedScrollPane and
its Virtualized content in that it scales the content without
also scaling the ScrollPane's scroll bars.
Virtualized actualContent = // creation code
ScaledVirtualized<Virtualized> wrapper = new ScaledVirtualized(actualContent);
VirtualizedScrollPane<ScaledVirtualized> vsPane = new VirtualizedScrollPane(wrapper);
// To scale actualContent without also scaling vsPane's scrollbars:
wrapper.getZoom().setY(3);
wrapper.getZoom().setX(2);
| Modifier and Type | Field and Description |
|---|---|
| private final V | |
| private Val | |
| private Var | |
| private Var | |
| private Val | |
| private Scale |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Var | |
| public Var | |
| public Scale | getZoom()
The |
| protected void | layoutChildren()
Overrides javafx. Invoked during the layout pass to layout the children in this
|
| 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 Val | |
| public Val |
| content | back to summary |
|---|---|
| private final V content | |
| estHeight | back to summary |
|---|---|
| private Val<Double> estHeight | |
| estScrollX | back to summary |
|---|---|
| private Var<Double> estScrollX | |
| estScrollY | back to summary |
|---|---|
| private Var<Double> estScrollY | |
| estWidth | back to summary |
|---|---|
| private Val<Double> estWidth | |
| zoom | back to summary |
|---|---|
| private Scale zoom | |
| ScaledVirtualized | back to summary |
|---|---|
| public ScaledVirtualized(V content) | |
| estimatedScrollXProperty | back to summary |
|---|---|
| public Var Implements org.
| |
| estimatedScrollYProperty | back to summary |
|---|---|
| public Var Implements org.
| |
| getZoom | back to summary |
|---|---|
| public Scale getZoom() The | |
| 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.
| |
| 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
| |
| totalHeightEstimateProperty | back to summary |
|---|---|
| public Val Implements org.
| |
| totalWidthEstimateProperty | back to summary |
|---|---|
| public Val Implements org.
| |