|
Class: MultiSelectionInList
Object
|
+--Model
|
+--ValueModel
|
+--ValueHolder
|
+--SelectionInList
|
+--MultiSelectionInList
- Package:
- stx:libwidg
- Category:
- Interface-Support-Models
- Version:
- rev:
1.19
date: 2016/10/01 18:39:26
- user: stefan
- file: MultiSelectionInList.st directory: libwidg
- module: stx stc-classLibrary: libwidg
- Author:
- Claus Gittinger
Like a selectionInList, but allows for multiple selected items.
For use as a model for SelectionInListViews, with multipleSelectOk set to true.
accessing-values
-
selection
-
return the selections value (i.e. the entry numbers in the list)
-
selection: anObjectList
-
set the selection to be anObjectList.
-
selectionIndex: indexes
-
set the list of indexes
-
selectionIndexes
-
added for ST-80 compatibility
-
selectionIndexes: indizes
-
added for ST-80 compatibility
queries
-
numberOfSelections
-
return the number of selected entries
-
zeroIndex
-
return the selectionIndex returned when nothing is selected.
Here, an empty collection is returned.
selections
-
clearAll
-
ST80 compatibility
-
selectAll
-
ST80 compatibility
-
selections
-
obsolete - almost the same as selection
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
selections: aCollection
-
ST80 compatibility
|