eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MultipleItemSelectionWidget':

Home

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

Class: MultipleItemSelectionWidget


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--MultipleItemSelectionWidget

Package:
stx:libwidg2
Category:
Views-Lists
Version:
rev: 1.15 date: 2016/05/31 13:26:36
user: cg
file: MultipleItemSelectionWidget.st directory: libwidg2
module: stx stc-classLibrary: libwidg2
Author:
(cg@smc1)

Description:


Replacement for a multiSelectionInList widget;
allows construction of a list by adding/removing items.

For use in a UI-spec, add a subCanvas, and bind the exported aspects to
your applications aspects.



[instance variables:]

[class variables:]


Related information:



Class protocol:

interface specs
o  dialogSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:MultipleItemSelectionWidget andSelector:#dialogSpec
     MultipleItemSelectionWidget new openInterface:#dialogSpec

o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
     UIPainter new openOnClass:MultipleItemSelectionWidget andSelector:#windowSpec
     MultipleItemSelectionWidget new openInterface:#windowSpec
     MultipleItemSelectionWidget open

plugIn spec
o  aspectSelectors
This resource specification was automatically generated
by the UIPainter of ST/X.


Instance protocol:

actions
o  accept
only invoked if opened as modal box...

o  addAllItemsToSelection
add all items from unselected to the selected list

o  addItemsToSelection
add selected items from left list to the right list

o  cancel
only invoked if opened as modal box...

o  removeAllItemsFromSelection
remove all items from selected to the unselected list

o  removeItemsFromSelection
remove selected items from right list to the left list

o  showInfoForItem: anArgument

aspects
o  accepted

o  addAllButtonVisibleHolder

o  canAddAllItemsToSelection

o  canAddItemToSelection
automatically generated by UIPainter ...

o  canRemoveAllItemsFromSelection

o  canRemoveItemFromSelection
automatically generated by UIPainter ...

o  enableChannel

o  enableChannel: aChannel

o  listOfPossibleItems
automatically generated by UIPainter ...

o  listOfPossibleItems: aValueHolder

o  listOfSelectedItems
automatically generated by UIPainter ...

o  listOfSelectedItems: aValueHolder

o  possibleItemListSelection
automatically generated by UIPainter ...

o  removeAllButtonVisibleHolder

o  selectedItemListSelection
automatically generated by UIPainter ...

aspects-look
o  addAllButtonLabelHolder

o  addButtonLabelHolder

o  addButtonLabelHolder: aValueHolder

o  possibleItemsLabelHolder

o  possibleItemsLabelHolder: aValueHolder

o  removeAllButtonLabelHolder

o  removeButtonLabelHolder

o  removeButtonLabelHolder: aValueHolder

o  selectedItemsLabelHolder
automatically generated by UIPainter ...

o  selectedItemsLabelHolder: aValueHolder


Examples:


        |box|

        box := MultipleItemSelectionWidget new.
        box listOfPossibleItems value:#('one' 'two' 'three' 'four' 'five').  
        box listOfSelectedItems value:#().  
        box open.
        box listOfSelectedItems inspect
        |box|

        box := MultipleItemSelectionWidget new.
        box listOfPossibleItems value:#('one' 'two' 'three' 'four' 'five') asSortedCollection.  
        box listOfSelectedItems value:#() asSortedCollection.  
        box open.
        box listOfSelectedItems inspect


ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sat, 17 Nov 2018 21:21:02 GMT