Method plist/setSelectionForParam
SETSELECTIONFORPARAM Sets the selection mode of the param object in dependencies of the 'key'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: Sets the selection mode of the param object in dependencies
of the 'key'
CALL: obj = obj.setSelectionForParam('key', selection);
obj = obj.setSelectionForParam(plist('KEY', 'key', 'SELECTION', selection));
obj = setSelectionForParam(obj, 'key', selection);
INPUTS: obj - can be a vector, matrix, list, or a mix of them.
key - The key which should be changed
selection - Selection mode of the parameter
pl - to set the default value of a key with a plist,
please specify only one plist with the key-words
'key' and 'selection'
POSSIBLE VALUES FOR 'selection'
selection: 1 == paramValue.OPTIONAL
2 == paramValue.SINGLE
3 == paramValue.MULTI
Parameters Description
VERSION: $Id: setSelectionForParam.m,v 1.6 2011/04/08 08:56:21 hewitson Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
plist |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
Default |
no description |
Key |
Default Value |
Options |
Description |
KEY |
'' |
none |
The key of the parameter to set the selection mode for. |
SELECTION |
1 |
|
The selection mode to set. |
back to top
Some information of the method plist/setSelectionForParam are listed below: |
Class name |
plist |
Method name |
setSelectionForParam |
Category |
Helper |
CVS Version |
$Id: setSelectionForParam.m,v 1.6 2011/04/08 08:56:21 hewitson Exp $ |
Min input args |
1 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
|
Method: plist/setOptionsForParam |
|
Method: plist/string |
 |
©LTP Team