|
Class: MultiSelectionInList
Object
|
+--Model
|
+--ValueModel
|
+--ValueHolder
|
+--SelectionInList
|
+--MultiSelectionInList
- Package:
- stx:libwidg
- Category:
- Interface-Support-Models
- Version:
- rev:
1.20
date: 2021/01/20 14:39:03
- user: cg
- file: MultiSelectionInList.st directory: libwidg
- module: stx stc-classLibrary: libwidg
Like a selectionInList, but allows for multiple selected items.
For use as a model for SelectionInListViews, with multipleSelectOk set to true.
copyrightCOPYRIGHT (c) 1995 by Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
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
|