eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MultiSelectionInList':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: MultiSelectionInList


Inheritance:

   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

Description:


Like a selectionInList, but allows for multiple selected items.
For use as a model for SelectionInListViews, with multipleSelectOk set to true.

copyright

COPYRIGHT (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.

Instance protocol:

accessing-values
o  selection
return the selections value (i.e. the entry numbers in the list)

o  selection: anObjectList
set the selection to be anObjectList.

o  selectionIndex: indexes
set the list of indexes

o  selectionIndexes
added for ST-80 compatibility

o  selectionIndexes: indizes
added for ST-80 compatibility

queries
o  numberOfSelections
return the number of selected entries

o  zeroIndex
return the selectionIndex returned when nothing is selected.
Here, an empty collection is returned.

selections
o  clearAll
ST80 compatibility

o  selectAll
ST80 compatibility

o  selections
obsolete - almost the same as selection

** This is an obsolete interface - do not use it (it may vanish in future versions) **

o  selections: aCollection
ST80 compatibility



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:46:19 GMT