ListModel



ListModel inherits from Model and defines instance variables list, selectionIndex. It has no subclasses.

ListModels trigger these dependency events:
#list - when the entire list is replaced
#element: - when a single element is changed (the index is passed as an argument)

Note that ListModels do not support the full Collection protocol - to do more than #at:, #at:put: and #size, you must access the list directly (by sending #list) then replace it when finished.

Methods defined in ListModel:

Methods for accessing:

Methods for collection accessing:


Pocket Smalltalk Documentation