ScenarioCollection
Contents
[
Hide
]ScenarioCollection class
Represents the list of scenarios.
Properties
| Name | Type | Description |
|---|---|---|
| ActiveIndex | Number | Gets and sets which scenario is selected. |
| LastSelected | Number | Indicates which scenario was last selected by the user to be run/shown. |
| Count | Number | |
| Item (int) | Scenario | Gets the Scenario object by the index. |
Methods
| Name | Description |
|---|---|
| add | Adds a scenario. |
| clear | |
| removeAt | |
| iterator | |
| get | Reserved for internal use. |
| contains | Reserved for internal use. |
| indexOf | Reserved for internal use. |
ScenarioCollection.ActiveIndex property
Gets and sets which scenario is selected.
Type: Number
ScenarioCollection.LastSelected property
Indicates which scenario was last selected by the user to be run/shown.
Type: Number
ScenarioCollection.Count property
Type: Number
ScenarioCollection.Item (int) property
Gets the Scenario object by the index.
Type: Scenario
add(name) (1 of 2)
Adds a scenario.
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of scenario. |
Returns: The index in the list of scenarios.
add(value) (2 of 2)
Reserved for internal use.
clear()
removeAt(index)
iterator()
get(index)
Reserved for internal use.
contains(value)
Reserved for internal use.
indexOf(value)
Reserved for internal use.