Constructs a TextService instance with notification support.
The notification service for user alerts
Disposes of event emitters and releases resources.
Get the current state that was last processed by the TextService This provides access to state information without violating dependency flow
Get coordinate information from the current state Returns null if no valid state is available
Check if the current state represents a layer switch Returns true if the subplot index has changed
Check if the first navigation has occurred Returns true if the user has navigated at least once
Enable announcements after first navigation This method can be called externally to enable announcements
Formats plot state into human-readable text based on current mode.
The state to format (string or PlotState object)
Formatted text representation of the state
Updates the service with new plot state and emits appropriate events.
The new plot state to process
Toggles between text modes (OFF, TERSE, VERBOSE) in sequence.
True if text mode is now active (not OFF), false otherwise
Checks if the text service is in verbose mode.
True if text mode is set to verbose, false otherwise
Checks if the text service is in terse mode.
True if text mode is set to terse, false otherwise
Checks if the text service is turned off.
True if text mode is set to off, false otherwise
Service for managing text output and formatting of plot state information.