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.20 date: 2022/02/11 15:22:03
user: cg
file: MultipleItemSelectionWidget.st directory: libwidg2
module: stx stc-classLibrary: libwidg2

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:]

copyright

COPYRIGHT (c) 2004 by eXept Software AG 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.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:50:10 GMT