com.vaadin.flow.component.grid.
Class Grid.AbstractGridExtension<T>
Type Parameters:
T
- the grid bean type
All Implemented Interfaces:
Direct Known Subclasses:
AbstractGridMultiSelectionModel
, AbstractGridSingleSelectionModel
, EditorImpl
A helper base class for creating extensions for the Grid component.
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractGridExtension
(Grid<T> grid) Constructs a new grid extension, extending the given grid.
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds this extension to the given grid.
getGrid()
Gets the Grid this extension extends.
protected void
A helper method for refreshing the client-side representation of a single data item.
protected void
remove()
Remove this extension from its target.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.data.provider.DataGenerator
destroyAllData, destroyData, generateData, refreshData
-
Constructor Details
-
AbstractGridExtension
Constructs a new grid extension, extending the given grid.
Parameters:
grid
- the grid to extend
-
-
Method Details
-
refresh
A helper method for refreshing the client-side representation of a single data item.
Parameters:
item
- the item to refresh -
extend
Adds this extension to the given grid.
Parameters:
grid
- the grid to extend -
remove
protected void remove()Remove this extension from its target.
-
getGrid
Gets the Grid this extension extends.
Returns:
the grid this extension extends
-