asposecells.api

Class ScenarioCollection

Represents the list of scenarios.

Property Getters/Setters Summary
methodgetActiveIndex()
method
           Gets and sets which scenario is selected.
methodgetCount()
methodgetLastSelected()
method
           Indicates which scenario was last selected by the user to be run/shown.
methodget(index)
Gets the Scenario object by the index.
 
Method Summary
methodadd(value)
Reserved for internal use.
methodadd(name)
Adds a scenario.
methodclear()
methodcontains(value)
Reserved for internal use.
methodget(index)
Reserved for internal use.
methodindexOf(value)
Reserved for internal use.
methoditerator()
methodremoveAt(index)
 

    • Property Getters/Setters Detail

      • getActiveIndex/setActiveIndex : int 

        int getActiveIndex() / setActiveIndex(value)
        
        Gets and sets which scenario is selected.
      • getLastSelected/setLastSelected : int 

        int getLastSelected() / setLastSelected(value)
        
        Indicates which scenario was last selected by the user to be run/shown.
      • getCount : int 

        int getCount()
        
      • get : Scenario 

        Scenario get(index)
        
        Gets the Scenario object by the index.
        Parameters:
        index - The specific index in the list.
        Returns:
    • Method Detail

      • add

        int add(name)
        Adds a scenario.
        Parameters:
        name: String - The name of scenario.
        Returns:
        The index in the list of scenarios.
      • clear

         clear()
      • removeAt

         removeAt(index)
      • iterator

        Iterator iterator()
      • get

        Object get(index)
        Reserved for internal use.
      • contains

        boolean contains(value)
        Reserved for internal use.
      • add

        int add(value)
        Reserved for internal use.
      • indexOf

        int indexOf(value)
        Reserved for internal use.