Package com.vaadin.flow.component.grid
Class Grid.UpdateQueue
java.lang.Object
com.vaadin.flow.component.grid.Grid.UpdateQueue
- All Implemented Interfaces:
ArrayUpdater.Update,Serializable
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUpdateQueue(GridArrayUpdater.UpdateQueueData data, int size) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear(int start, int length) Clearslengthelements in array from thestartposition.voidcommit()voidcommit(int updateId) Commits changes for the givenupdateId.voidenqueue(String name, Serializable... arguments) getData()Deprecated, for removal: This API element is subject to removal in a future version.since 24.9 and will be removed in Vaadin 25protected ElementvoidSets theitemsat thestartposition.
-
Constructor Details
-
UpdateQueue
Deprecated.since 24.9 and will be replaced byUpdateQueue(Element element, int size)
-
-
Method Details
-
set
Description copied from interface:ArrayUpdater.UpdateSets theitemsat thestartposition.- Specified by:
setin interfaceArrayUpdater.Update- Parameters:
start- the start indexitems- the items to set
-
clear
public void clear(int start, int length) Description copied from interface:ArrayUpdater.UpdateClearslengthelements in array from thestartposition.- Specified by:
clearin interfaceArrayUpdater.Update- Parameters:
start- the start indexlength- the number of elements to clear
-
commit
public void commit(int updateId) Description copied from interface:ArrayUpdater.UpdateCommits changes for the givenupdateId.- Specified by:
commitin interfaceArrayUpdater.Update- Parameters:
updateId- the update identifier of the commit
-
commit
public void commit() -
enqueue
-
getElement
-
getData
Deprecated, for removal: This API element is subject to removal in a future version.since 24.9 and will be removed in Vaadin 25GetsGridArrayUpdater.UpdateQueueDatafor this queue.- Returns:
- the
GridArrayUpdater.UpdateQueueDataobject.
-
UpdateQueue(Element element, int size)