Interface FocusModelIf

The focused cell of a table (moved by click and arrow keys; F2 edits it). The implementation is FocusModel; changes are reported to EventListenerIf.onFocusChanged.

Example

override onFocusChanged(model: FocusModelIf): void {
const [row, col] = model.getFocus();
console.log(`focus on row ${row}, column ${col}`);
}

Hierarchy

  • FocusModelIf

Implemented by

Methods