Protected Optional anchor1.1.99
Protected anchorThe ranges the anchor click (or the last shift-click) added – the next shift-click replaces them.
Protected Optional dragThe selection before a Ctrl/⌘-drag – each drag frame replaces only the dragged rectangle.
Protected Optional extentThe moving corner of the range of Shift+arrows (Excel); undefined = the anchor.
1.1.99
Optional getOptional getProtected ignoreA drag selection ends with a click on another cell – that click must not clear the new range.
Protected Optional previousProtected Readonly tableExcel-style editing: the active cell moved (arrow keys, Tab, Enter) – the selection becomes this one cell and it
is the new anchor. Selection types other than "range"/"cell" only get the anchor.
display row index
model column index
1.1.99
Excel-style editing (Shift+arrows): the last range is spanned from the anchor to (rowIndex, columnIndex);
other ranges (Ctrl/⌘-clicks) stay. Only for the selection type "range".
the new moving corner (display row index)
model column index
the new range, undefined without a range selection
1.1.99
The cell a Shift+click or Shift+arrow range starts at: the last clicked cell or the active cell set by the keyboard (collapseTo).
row and column, undefined before the first click/keyboard move
1.1.99
Triggers an action based on the provided action ID.
The ID of the action to be triggered.
A click on a body cell: moves the focus and changes the selection.
Header/footer clicks and the second click of a double click (clickCount 2) do not change selection or focus.
All changes of one click are reported as one onSelectionChanged event.
the click
not used (the service keeps its own anchor)
true if focus or selection changed (repaint needed)
Selects a range by dragging the mouse over body cells (selection type "range"). The cell where the drag started stays the anchor, so a following shift-click extends from there. With Ctrl/⌘ held at the start the dragged range is added to the existing selection, otherwise it replaces it.
the current mouse position
the mouse down event that started the drag
true if the selection changed (repaint needed)
The cell a Shift+click or Shift+arrow range starts at (the last click, or the active cell).