com.vaadin.flow.component.grid.
Class Grid.UpdateQueue
All Implemented Interfaces:
See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UpdateQueue
(GridArrayUpdater.UpdateQueueData data, int size) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear
(int start, int length) Clears
length
elements in array from thestart
position.void
commit()
void
commit
(int updateId) Commits changes for the given
updateId
.void
enqueue
(String name, Serializable... arguments) getData()
Gets
GridArrayUpdater.UpdateQueueData
for this queue.protected Element
void
Sets the
items
at thestart
position.
-
Constructor Details
-
UpdateQueue
-
-
Method Details
-
set
Description copied from interface:
ArrayUpdater.Update
Sets the
items
at thestart
position.Specified by:
set
in interfaceArrayUpdater.Update
Parameters:
start
- the start indexitems
- the items to set -
clear
public void clear(int start, int length) Description copied from interface:
ArrayUpdater.Update
Clears
length
elements in array from thestart
position.Specified by:
clear
in interfaceArrayUpdater.Update
Parameters:
start
- the start indexlength
- the number of elements to clear -
commit
public void commit(int updateId) Description copied from interface:
ArrayUpdater.Update
Commits changes for the given
updateId
.Specified by:
commit
in interfaceArrayUpdater.Update
Parameters:
updateId
- the update identifier of the commit -
commit
public void commit() -
enqueue
-
getElement
-
getData
Gets
GridArrayUpdater.UpdateQueueData
for this queue.Returns:
the
GridArrayUpdater.UpdateQueueData
object.
-