MAIDR Documentation - v3.69.0
    Preparing search index...

    Interface for objects that can be disposed to clean up resources or remove event listeners.

    Implements

    Index

    Constructors

    Properties

    id: string
    selectorList: string[] = []

    Accessors

    • get instructionContext(): Plot

      The plot element whose state drives the initial instruction text.

      Returns Plot

    • get isMultiPanel(): boolean

      Returns whether this figure has multiple subplots (facets/multi-panel).

      Returns boolean

    • get figureTitle(): string

      Returns the figure-level title (the top-level plot title).

      Returns string

    • get figureSubtitle(): string

      Returns the figure-level subtitle.

      Returns string

    • get figureCaption(): string

      Returns the figure-level caption.

      Returns string

    Methods

    • Replaces the underlying figure with a rebuilt model (live data update), preserving the user's navigation position when the figure shape allows.

      The old figure is disposed before createFigure runs so that stale highlight clones are removed from the DOM before the new model queries its SVG selectors.

      Positions are restored silently (no observer notifications) so a data update never announces or sonifies by itself; monitor mode handles user-facing feedback separately.

      Parameters

      • createFigure: () => Figure

        Factory that builds the replacement figure

      • options: ReplaceFigureOptions = {}

        Optional position adjustments (e.g. sliding-window shift)

      Returns Figure

      The newly created figure

    • Enable or disable rotor navigation for the current context.

      Parameters

      • enable: boolean

        true to enable rotor mode, false to disable

      Returns void

    • Return whether rotor navigation is currently enabled.

      Returns boolean

      boolean

    • Parameters

      • row: number
      • col: number

      Returns void

    • Moves the active plot element to the specified (x, y) point.

      Parameters

      • x: number

        The x-coordinate to move to.

      • y: number

        The y-coordinate to move to.

      Returns void

      This method assumes that this.active is a valid object with a moveToPoint method. If this.active is null or does not implement moveToPoint, this method will do nothing.

      Limitations:

      • If this.active is null or undefined, the method will not perform any action.
      • If this.active does not implement moveToPoint, the method will not perform any action.
    • Enters grid cell mode to navigate points within the current cell. Only works when the active trace supports grid navigation and is in grid mode.

      Returns boolean

      true if successfully entered cell mode, false if no points in cell

    • Exits grid cell mode and returns to grid navigation.

      Returns void

    • Moves to the previous point within the current grid cell.

      Returns void

    • Moves to the next point within the current grid cell.

      Returns void

    • Parameters

      • includeClickPrompt: boolean

      Returns string