Class SimpleVirtualFlowContainer<T,​C extends ISimpleCell>

java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.Group
io.github.palexdev.virtualizedfx.flow.simple.SimpleVirtualFlowContainer<T,​C>
Type Parameters:
T - the type of object to represent
C - the type of Cell to use
All Implemented Interfaces:
Styleable, EventTarget

public class SimpleVirtualFlowContainer<T,​C extends ISimpleCell> extends Group
This is the Group used by SimpleVirtualFlow that contains the cells.

Keeps a reference to the VirtualFlow to communicate with it. It's needed to listen to changes to the items list, get its sizes, also acts as a bridge for the LayoutManager and the CellsManager.

To keep things easy and organized this container makes use of two helper classes, which are LayoutManager and CellsManager to keep track of layout changes (scroll for example) and update the visible cells accordingly.