AbstractProtectedconstructorProtected ReadonlyobserversProtectedisProtectedisTrue while AbstractTrace.getStateAt computes state at a temporarily moved cursor. Enforces (structurally, not just by documentation) that state getters never notify observers.
Protected AbstractdimensionAbstractstateProtected AbstractoutProtected AbstractmovableProtectedgetGets safe row and column indices to prevent accessing undefined values
Object with safe row and column indices
Notifies all registered observers with the current state.
Notifies observers that an out-of-bounds condition occurred.
Base implementation of navigation in HIGHER and LOWER modes of ROTOR, default is no-op Needs to be implemented in Line, Bar, Heatmap, Candlestick
Utility function to compare point values for rotor functionality
boolean value
Returns true if this trace supports compare (lower/higher value) navigation. Override to false for trace types that don't use compare modes (e.g., scatter, which is all we currently have).
Returns the display name for the default data navigation mode. Override to provide a trace-specific name (e.g., "ROW AND COLUMN NAVIGATION" for scatter).
Returns the rotor's compare-mode labels and boundary-message nouns. Override to rename the two compare units for a trace-specific semantic (e.g., the candlestick delta layer uses "above line" / "below line").
Moves the active point to the (x, y) pointer location and returns directional guidance toward the nearest data geometry.
Combines navigation and guidance into a single call so traces compute
findNearestPoint only once per pointer event. Default returns null
for non-trace contexts.
Screen-space x position of the pointer/finger
Screen-space y position of the pointer/finger
Guidance state, or null when unavailable
Interface for plot traces that support keyboard navigation and movement.