EventFocusChangedListenerIf is an interface that defines a contract for classes that wish to listen for changes in focus in a
tabular data structure, such as a data grid or spreadsheet.
Listener classes should implement the onFocusChanged method which would be triggered whenever focus changes in the data grid.
This interface ensures a consistent API for classes that need to react to changes in focus in the data grid.
The table grid or data grid components will typically iterate over an array of EventFocusChangedListenerIf listeners and
call the onFocusChanged method on each one when the focus within the grid changes.
This could be due to user interactions such as clicking on a different cell or programmatically changing the cell focus.
EventFocusChangedListenerIfis an interface that defines a contract for classes that wish to listen for changes in focus in a tabular data structure, such as a data grid or spreadsheet. Listener classes should implement theonFocusChangedmethod which would be triggered whenever focus changes in the data grid.Overview
This interface ensures a consistent API for classes that need to react to changes in focus in the data grid. The table grid or data grid components will typically iterate over an array of
EventFocusChangedListenerIflisteners and call theonFocusChangedmethod on each one when the focus within the grid changes. This could be due to user interactions such as clicking on a different cell or programmatically changing the cell focus.Usage
Implement
EventFocusChangedListenerIfif you want to create a class that reacts to changes in focus.Use the
addEventFocusChangedListenermethod fromFocusModelIfto add your listener to the queue.See Also
Method
onFocusChanged - method to be called with an instance of the
FocusModelIfinterface whenever a focus event occurs