Package org.fxmisc.flowless
-
Interface Summary Interface Description Cell<T,N extends javafx.scene.Node> Provides efficient memory usage by wrapping aNode
within this object and reusing it whenCell.isReusable()
is true.OrientationHelper Helper class for returning the correct value (should thewidth
orheight
be returned?) or calling the correct method (shouldsetWidth(args)
orsetHeight(args)
, so that one one class can be used instead of a generic with two implementations.TargetPosition Defines where theNavigator
should place the anchor cell's node in the viewport.TargetPositionVisitor Uses the Visitor Pattern, soNavigator
does not need to check the type of theTargetPosition
before using it to determine how to fill the viewport.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
. -
Class Summary Class Description CellListManager<T,C extends Cell<T,? extends javafx.scene.Node>> Tracks all of the cells that the viewport can display (CellListManager.cells
) and which cells the viewport is currently displaying (CellListManager.presentCells
).CellPool<T,C extends Cell<T,?>> Helper class that stores a pool of reusable cells that can be updated viaCell.updateItem(Object)
or creates new ones via itsCellPool.cellFactory
if the pool is empty.CellPositioner<T,C extends Cell<T,?>> Helper class for properlyresizing
andrelocating
aCell
'sNode
as well as handling calls related to whether a cell's node is visible (displayed in the viewport) or not.CellWrapper<T,N extends javafx.scene.Node,C extends Cell<T,N>> Factory class for wrapping aCell
and running additional code before/after specific methodsEndOffEnd ATargetPosition
that instructs itsTargetPositionVisitor
to use the cell atEndOffEnd.itemIndex
as the anchor cell, showing it at the "bottom" of the viewport and to offset it byEndOffEnd.offsetFromEnd
.HorizontalHelper Implementation ofOrientationHelper
wherelength
represents width of the node/viewport andbreadth
represents the height of the node/viewport.MinDistanceTo Navigator<T,C extends Cell<T,?>> Responsible for laying out cells' nodes within the viewport based on a single anchor node.Offset Helper class: stores anOffset.offset
value, which should either be offset from the start ifOffset.fromStart
is true or from the end if false.ScaledVirtualized<V extends javafx.scene.Node & Virtualized> Acts as an intermediate class betweenVirtualizedScrollPane
and itsVirtualized
content in that it scales the content without also scaling the ScrollPane's scroll bars.SizeTracker StartOffStart ATargetPosition
that instructs itsTargetPositionVisitor
to use the cell atStartOffStart.itemIndex
as the anchor cell, showing it at the "top" of the viewport and to offset it byStartOffStart.offsetFromStart
.VerticalHelper Implementation ofOrientationHelper
wherebreadth
represents width of the node/viewport andlength
represents the height of the node/viewport.VirtualFlow<T,C extends Cell<T,?>> A VirtualFlow is a memory-efficient viewport that only renders enough of its content to completely fill up the viewport through itsNavigator
.VirtualFlowHit<C extends Cell<?,?>> Stores the result of aVirtualFlow.hit(double, double)
.VirtualFlowHit.CellHit<C extends Cell<?,?>> VirtualFlowHit.HitAfterCells<C extends Cell<?,?>> VirtualFlowHit.HitBeforeCells<C extends Cell<?,?>> VirtualizedScrollPane<V extends javafx.scene.layout.Region & Virtualized> -
Enum Summary Enum Description VirtualFlow.Gravity Determines how the cells in the viewport should be laid out and where any extra unused space should exist if there are not enough cells to completely fill up the viewport