java.lang.Object
io.github.palexdev.virtualizedfx.grid.GridHelper.AbstractHelper
- All Implemented Interfaces:
GridHelper
- Direct Known Subclasses:
GridHelper.DefaultGridHelper
- Enclosing interface:
GridHelper
Abstract implementation of
GridHelper, base class for GridHelper.DefaultGridHelper.-
Property Summary
PropertiesTypePropertyDescriptionReadOnlyObjectProperty<io.github.palexdev.mfxcore.base.beans.Size>Keeps the results ofGridHelper.computeEstimatedSize(). -
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.palexdev.virtualizedfx.grid.GridHelper
GridHelper.AbstractHelper, GridHelper.DefaultGridHelper -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ObjectProperty<io.github.palexdev.mfxcore.base.beans.Size>protected final VirtualGrid<?,?> protected final GridManager<?,?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReadOnlyObjectProperty<io.github.palexdev.mfxcore.base.beans.Size>Keeps the results ofGridHelper.computeEstimatedSize().booleanInvalidatesVirtualGrid.positionProperty()in case changes occur in the viewport and the current position is no longer valid.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.palexdev.virtualizedfx.grid.GridHelper
columnsRange, computeEstimatedSize, dispose, firstColumn, firstRow, lastColumn, lastRow, layout, maxColumns, maxHScroll, maxRows, maxVScroll, rowsRange, scrollBy, scrollTo, scrollToColumn, scrollToRow, xPosBinding, yPosBinding
-
Property Details
-
estimatedSize
- Specified by:
estimatedSizePropertyin interfaceGridHelper- Returns:
- the
estimatedSizeproperty - See Also:
-
-
Field Details
-
grid
-
manager
-
estimatedSize
-
-
Constructor Details
-
AbstractHelper
-
-
Method Details
-
invalidatedPos
public boolean invalidatedPos()Description copied from interface:GridHelperInvalidatesVirtualGrid.positionProperty()in case changes occur in the viewport and the current position is no longer valid.- Specified by:
invalidatedPosin interfaceGridHelper- Returns:
- true or false if the old position was invalid or not
-
estimatedSizeProperty
Description copied from interface:GridHelperKeeps the results ofGridHelper.computeEstimatedSize().- Specified by:
estimatedSizePropertyin interfaceGridHelper- Returns:
- the
estimatedSizeproperty
-