java.lang.Object
CollectionBase
com.aspose.cells.ScenarioCollection
- All Implemented Interfaces:
- java.lang.Iterable
public class ScenarioCollection
- extends CollectionBase
Represents the list of scenarios.
Method Summary |
int | add(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase
|
Reserved for internal use. |
int | add(java.lang.String name) | |
Adds a scenario.
|
void | clear() | → inherited from com.aspose.cells.CollectionBase
|
|
boolean | contains(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase
|
Reserved for internal use. |
int | indexOf(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase
|
Reserved for internal use. |
java.util.Iterator | iterator() | → inherited from com.aspose.cells.CollectionBase
|
|
void | removeAt(int index) | → inherited from com.aspose.cells.CollectionBase
|
|
Property Getters/Setters Detail |
getActiveIndex/setActiveIndex | |
public int getActiveIndex() / public void setActiveIndex(int value)
|
-
Gets and sets which scenario is selected.
getLastSelected/setLastSelected | |
public int getLastSelected() / public void setLastSelected(int value)
|
-
Indicates which scenario was last selected by the user to be run/shown.
getCount | → inherited from com.aspose.cells.CollectionBase
|
public int getCount()
|
-
-
Gets the Scenario object by the index.
- Parameters:
index
- The specific index in the list.
- Returns:
add | |
public int add(java.lang.String name) |
-
Adds a scenario.
- Parameters:
name
- The name of scenario.
- Returns:
- The index in the list of scenarios.
clear | → inherited from com.aspose.cells.CollectionBase
|
public void clear() |
-
removeAt | → inherited from com.aspose.cells.CollectionBase
|
public void removeAt(int index) |
-
iterator | → inherited from com.aspose.cells.CollectionBase
|
public java.util.Iterator iterator() |
-
contains | → inherited from com.aspose.cells.CollectionBase
|
public boolean contains(java.lang.Object value) |
- Reserved for internal use.
add | → inherited from com.aspose.cells.CollectionBase
|
public int add(java.lang.Object value) |
- Reserved for internal use.
indexOf | → inherited from com.aspose.cells.CollectionBase
|
public int indexOf(java.lang.Object value) |
- Reserved for internal use.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.