TinyBase logoTinyBase

Listener methods

This is the collection of listener methods within the Store interface. There are 27 listener methods in total.

addHasTablesListener

The addHasTablesListener method registers a listener function with the Store that will be called when Tables as a whole are added to or removed from the Store.

addTablesListener

The addTablesListener method registers a listener function with the Store that will be called whenever data in the Store changes.

addTableIdsListener

The addTableIdsListener method registers a listener function with the Store that will be called whenever the Table Ids in the Store change.

addHasTableCellListener

The addHasTableCellListener method registers a listener function with the Store that will be called when a Cell is added to or removed from anywhere in a Table as a whole.

addHasTableListener

The addHasTableListener method registers a listener function with the Store that will be called when a Table is added to or removed from the Store.

addTableCellIdsListener

The addTableCellIdsListener method registers a listener function with the Store that will be called whenever the Cell Ids that appear anywhere in a Table change.

addTableListener

The addTableListener method registers a listener function with the Store that will be called whenever data in a Table changes.

addRowIdsListener

The addRowIdsListener method registers a listener function with the Store that will be called whenever the Row Ids in a Table change.

addSortedRowIdsListener

The addSortedRowIdsListener method registers a listener function with the Store that will be called whenever sorted (and optionally, paginated) Row Ids in a Table change.

addHasRowListener

The addHasRowListener method registers a listener function with the Store that will be called when a Row is added to or removed from the Store.

addRowCountListener

The addRowCountListener method registers a listener function with the Store that will be called whenever the count of Row objects in a Table change.

addRowListener

The addRowListener method registers a listener function with the Store that will be called whenever data in a Row changes.

addCellIdsListener

The addCellIdsListener method registers a listener function with the Store that will be called whenever the Cell Ids in a Row change.

addCellListener

The addCellListener method registers a listener function with the Store that will be called whenever data in a Cell changes.

addHasCellListener

The addHasCellListener method registers a listener function with the Store that will be called when a Cell is added to or removed from the Store.

addInvalidCellListener

The addInvalidCellListener method registers a listener function with the Store that will be called whenever invalid data was attempted to be written to a Cell.

addHasValuesListener

The addHasValuesListener method registers a listener function with the Store that will be called when Values as a whole are added to or removed from the Store.

addValuesListener

The addValuesListener method registers a listener function with the Store that will be called whenever the Values change.

addHasValueListener

The addHasValueListener method registers a listener function with the Store that will be called when a Value is added to or removed from the Store.

addInvalidValueListener

The addInvalidValueListener method registers a listener function with the Store that will be called whenever invalid data was attempted to be written to a Value.

addValueIdsListener

The addValueIdsListener method registers a listener function with the Store that will be called whenever the Value Ids in a Store change.

addValueListener

The addValueListener method registers a listener function with the Store that will be called whenever data in a Value changes.

addDidFinishTransactionListener

The addDidFinishTransactionListener method registers a listener function with the Store that will be called just after other non-mutating listeners are called at the end of the transaction.

addStartTransactionListener

The addStartTransactionListener method registers a listener function with the Store that will be called at the start of a transaction.

addWillFinishTransactionListener

The addWillFinishTransactionListener method registers a listener function with the Store that will be called just before other non-mutating listeners are called at the end of the transaction.

callListener

The callListener method provides a way for you to manually provoke a listener to be called, even if the underlying data hasn't changed.

delListener

The delListener method removes a listener that was previously added to the Store.