Cells whose nodes are currently displayed in the viewport and an estimated average of
Cells whose nodes are not displayed in the viewport. The meaning of breadthForCells and
totalLengthEstimate are dependent upon which implementation of OrientationHelper is used.
| Modifier and Type | Field and Description |
|---|---|
| private final Val | averageLengthEstimate
Stores either null or the average length of the cells' nodes currently displayed in the viewport |
| private final Val | breadthForCells
Stores either the greatest minimum cell's node's breadth or the viewport's breadth |
| private final MemoizationList | |
| private final MemoizationList | |
| private final Val | |
| private final MemoizationList | |
| private final Val | |
| private final OrientationHelper | |
| private final Subscription | |
| private final Val | |
| private final ObservableObjectValue |
| Access | Constructor and Description |
|---|---|
| public | SizeTracker(OrientationHelper
if vertical, breadth = width and length = height;
if horizontal, breadth = height and length = width orientation, ObservableObjectValue<Bounds> viewportBounds, MemoizationList<? extends Cell<?, ?>> lazyCells)Constructs a SizeTracker |
| Modifier and Type | Method and Description |
|---|---|
| public Val | |
| private static <T> Val | |
| public double | |
| public void | |
| public void | |
| public Optional | |
| public double | |
| public double | |
| public double | |
| public double | |
| public Val | |
| public Val | |
| public Val |
| averageLengthEstimate | back to summary |
|---|---|
| private final Val<Double> averageLengthEstimate Stores either null or the average length of the cells' nodes currently displayed in the viewport | |
| breadthForCells | back to summary |
|---|---|
| private final Val<Double> breadthForCells Stores either the greatest minimum cell's node's breadth or the viewport's breadth | |
| breadths | back to summary |
|---|---|
| private final MemoizationList<Double> breadths | |
| cells | back to summary |
|---|---|
| private final MemoizationList<? extends Cell<?, ?>> cells | |
| lengthOffsetEstimate | back to summary |
|---|---|
| private final Val<Double> lengthOffsetEstimate | |
| lengths | back to summary |
|---|---|
| private final MemoizationList<Double> lengths | |
| maxKnownMinBreadth | back to summary |
|---|---|
| private final Val<Double> maxKnownMinBreadth | |
| orientation | back to summary |
|---|---|
| private final OrientationHelper orientation | |
| subscription | back to summary |
|---|---|
| private final Subscription subscription | |
| totalLengthEstimate | back to summary |
|---|---|
| private final Val<Double> totalLengthEstimate | |
| viewportBounds | back to summary |
|---|---|
| private final ObservableObjectValue<Bounds> viewportBounds | |
| SizeTracker | back to summary |
|---|---|
| public SizeTracker(OrientationHelper orientation, ObservableObjectValue<Bounds> viewportBounds, MemoizationList<? extends Cell<?, ?>> lazyCells) Constructs a SizeTracker
| |
| averageLengthEstimateProperty | back to summary |
|---|---|
| public Val | |
| avoidFalseInvalidations | back to summary |
|---|---|
| private static <T> Val | |
| breadthFor | back to summary |
|---|---|
| public double breadthFor(int itemIndex) | |
| dispose | back to summary |
|---|---|
| public void dispose() | |
| forgetSizeOf | back to summary |
|---|---|
| public void forgetSizeOf(int itemIndex) | |
| getAverageLengthEstimate | back to summary |
|---|---|
| public Optional | |
| getCellLayoutBreadth | back to summary |
|---|---|
| public double getCellLayoutBreadth() | |
| getViewportBreadth | back to summary |
|---|---|
| public double getViewportBreadth() | |
| getViewportLength | back to summary |
|---|---|
| public double getViewportLength() | |
| lengthFor | back to summary |
|---|---|
| public double lengthFor(int itemIndex) | |
| lengthOffsetEstimateProperty | back to summary |
|---|---|
| public Val | |
| maxCellBreadthProperty | back to summary |
|---|---|
| public Val | |
| totalLengthEstimateProperty | back to summary |
|---|---|
| public Val | |