Interface GridSession

All Superinterfaces:
UiSession<Ack>
All Known Implementing Classes:
RuntimeGridSession

@NonExtendable public interface GridSession extends UiSession<Ack>
A shown Grid.
  • Method Details

    • update

      void update(Grid next)
      Replaces the snapshot: current() returns next as soon as this returns. The backend is told in a later task of the viewer's entity context, never inside this call; several updates made before that task may reach the backend as one, the latest. A click runs the action of the snapshot the backend had last been given when the click was reported (see GridAction). The title may change; a backend may reopen the screen to show it, which does not end the session. Does nothing once the session is not open (UiSession.isOpen()).
      Throws:
      IllegalArgumentException - if the session is open and next has another row count
    • current

      Grid current()
      The snapshot currently shown.