public abstract class VirtualContainerBase<C extends Control,B extends BehaviorBase<C>,I extends IndexedCell> extends BehaviorSkinBase<C,B>
Modifier and Type | Field and Description |
---|---|
protected VirtualFlow<I> |
flow
The virtualized container which handles the layout and scrolling of
all the cells.
|
protected boolean |
rowCountDirty |
IS_TOUCH_SUPPORTED
Constructor and Description |
---|
VirtualContainerBase(C control,
B behavior) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkState() |
abstract I |
createCell()
Returns a Cell available to be used in the virtual flow.
|
protected VirtualFlow<I> |
createVirtualFlow()
This enables skin subclasses to provide a custom VirtualFlow implementation,
rather than have VirtualContainerBase instantiate the default instance.
|
abstract int |
getItemCount()
Returns the total number of items in this container, including those
that are currently hidden because they are out of view.
|
protected void |
layoutChildren(double x,
double y,
double w,
double h)
Called during the layout pass of the scenegraph.
|
protected abstract void |
updateRowCount() |
dispose, getBehavior, handleControlPropertyChanged, registerChangeListener, unregisterChangeListener
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace
protected boolean rowCountDirty
protected final VirtualFlow<I extends IndexedCell> flow
public abstract I createCell()
protected VirtualFlow<I> createVirtualFlow()
public abstract int getItemCount()
protected abstract void updateRowCount()
protected void layoutChildren(double x, double y, double w, double h)
SkinBase
layoutChildren
in class SkinBase<C extends Control>
protected void checkState()
Copyright © 2020. All rights reserved.