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 ViewportManager<?,
?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReadOnlyObjectProperty<io.github.palexdev.mfxcore.base.beans.Size>
Keeps the results ofGridHelper.computeEstimatedSize()
.boolean
InvalidatesVirtualGrid.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, wait
Methods 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:
estimatedSizeProperty
in interfaceGridHelper
- Returns:
- the
estimatedSize
property - See Also:
-
-
Field Details
-
grid
-
manager
-
estimatedSize
-
-
Constructor Details
-
AbstractHelper
-
-
Method Details
-
invalidatedPos
public boolean invalidatedPos()Description copied from interface:GridHelper
InvalidatesVirtualGrid.positionProperty()
in case changes occur in the viewport and the current position is no longer valid.- Specified by:
invalidatedPos
in interfaceGridHelper
- Returns:
- true or false if the old position was invalid or not
-
estimatedSizeProperty
Description copied from interface:GridHelper
Keeps the results ofGridHelper.computeEstimatedSize()
.- Specified by:
estimatedSizeProperty
in interfaceGridHelper
- Returns:
- the
estimatedSize
property
-