50 as defined via #action:. |
50 as defined via #action:. |
51 |
51 |
52 If a model is provided, it should return the current selected items index via the |
52 If a model is provided, it should return the current selected items index via the |
53 aspectMessage (default is #selection or: #selectionIndex, depending on the setting |
53 aspectMessage (default is #selection or: #selectionIndex, depending on the setting |
54 of useIndex) and the list via the listMessage (default is #list). |
54 of useIndex) and the list via the listMessage (default is #list). |
55 If the listMessage was set to nil, the list is not aquired from the model |
55 If the listMessage was set to nil, the list is not acquired from the model |
56 and can be set explicitely via #list:. |
56 and can be set explicitely via #list:. |
57 |
57 |
58 The defaults are set to allow a PopUpList to be used with a SelectionInList |
58 The defaults are set to allow a PopUpList to be used with a SelectionInList |
59 as model without further setup. |
59 as model without further setup. |
60 A simple valueHolder may also be used without further setup. |
60 A simple valueHolder may also be used without further setup. |
61 (if used with some other model, either use an adaptor, or set the |
61 (if used with some other model, either use an adaptor, or set the |
62 change/aspect and/or listMessage to something else ..) |
62 change/aspect and/or listMessage to something else ..) |
63 |
63 |
64 If a listHolder is set, this one is always asked for the list instead of the |
64 If a listHolder is set, this one is always asked for the list instead of the |
65 model, via the #value message. |
65 model, via the #value message. |
66 This allows the popUpListView to aquire the list and value from different places. |
66 This allows the popUpListView to acquire the list and value from different places. |
67 |
67 |
68 |
68 |
69 Notice: PopUpList and ComboListView provide a similar protocol and functionality. |
69 Notice: PopUpList and ComboListView provide a similar protocol and functionality. |
70 |
70 |
71 |
71 |
82 Notice that the default changeMessage is |
82 Notice that the default changeMessage is |
83 #selection:, which is not ok to be used |
83 #selection:, which is not ok to be used |
84 with useIndex:true and a selectionInList model. |
84 with useIndex:true and a selectionInList model. |
85 (set the changeMessage to #selectionIndex: then) |
85 (set the changeMessage to #selectionIndex: then) |
86 |
86 |
87 listMsg <Symbol> message to aquire a new list from the |
87 listMsg <Symbol> message to acquire a new list from the |
88 model. Default is #list. |
88 model. Default is #list. |
89 |
89 |
90 |
90 |
91 listHolder <Object> if non-nil, this object is assumed to return the |
91 listHolder <Object> if non-nil, this object is assumed to return the |
92 list via the listMsg (instead of the model). |
92 list via the listMsg (instead of the model). |