Class Grid.UpdateQueue

java.lang.Object
com.vaadin.flow.component.grid.Grid.UpdateQueue
All Implemented Interfaces:
ArrayUpdater.Update, Serializable
Enclosing class:
Grid<T>

protected static class Grid.UpdateQueue extends Object implements ArrayUpdater.Update
See Also:
  • Constructor Details

    • UpdateQueue

      protected UpdateQueue(Element element, int size)
  • Method Details

    • set

      public void set(int start, List<tools.jackson.databind.JsonNode> items)
      Description copied from interface: ArrayUpdater.Update
      Sets the items at the start position.
      Specified by:
      set in interface ArrayUpdater.Update
      Parameters:
      start - the start index
      items - the items to set
    • clear

      public void clear(int start, int length)
      Description copied from interface: ArrayUpdater.Update
      Clears length elements in array from the start position.
      Specified by:
      clear in interface ArrayUpdater.Update
      Parameters:
      start - the start index
      length - 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 interface ArrayUpdater.Update
      Parameters:
      updateId - the update identifier of the commit
    • commit

      public void commit()
    • enqueue

      public void enqueue(String name, Serializable... arguments)
    • getElement

      protected Element getElement()