MAIDR JavaScript API
    Preparing search index...

    Class MoveToSubplotContextCommand

    Command to move back to the subplot context from the trace context.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Executes the move operation to exit the trace context and return to the figure lobby.

      exitSubplot() already re-announces the figure position via the observer chain (TextViewModel.update clears any pending message). Announcing the exit cue after it therefore wins: notify() sets the message that overrides the nav value in the alert region, and React batches both synchronous dispatches into a single re-render, so the user hears one clear exit message plus the falling exit tone. In OFF text mode the message is null, so only the tone plays.

      A rotor mode is an index on the service but a boolean on the trace, and Context.isRotorEnabled() routes every arrow key to the rotor while it is on. The lobby has no trace for the rotor to act on and binds no key that could switch it off, so leaving with it on left every arrow key silently swallowed. Hand the rotor back to data mode first, while the outgoing trace is still active and its own flag is the one cleared -- as a PageUp/PageDown trace switch does. Only when the exit is real: on a single-subplot chart exitSubplot() is a no-op and the reader stays on the trace in the mode they chose.

      Returns void