ReadonlyonAn event dispatcher that emits an event when a cursor is added or removed.
Static ReadonlyHIGH_A constant representing the high priority cursors.
Static ReadonlyLOW_A constant representing the lowest priority cursors.
Static ReadonlyNORMAL_A constant representing a priority between LOW_PRIORITY and
HIGH_PRIORITY.
Adds a cursor to the cursor manager, and returns an identifier that can be used to remove the cursor.
The cursor to add.
The priority of the cursor. Higher values have higher priority over lower values.
An identifier for the cursor.
CursorManager.getActiveCursor to query the current cursor.
Returns the active cursor based on priority and insertion order.
CursorManager.add to add a cursor.
The cursor manager maintains a prioritized list of cursors for the viewer.
Cursors with the highest priority will be considered active, where the most recently added cursor will take precedence if there are multiple cursors with the same priority.