public class SlicerCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Slicer | get(int index) | |
Gets the Slicer by index.
|
||
Slicer | get(java.lang.String name) | |
Gets the Slicer by slicer's name.
|
Method Summary | ||
---|---|---|
int | add(PivotTable pivot, int row, int column, PivotField baseField) | |
Add a new Slicer
|
||
int | add(PivotTable pivot, int row, int column, int baseFieldIndex) | |
Add a new Slicer
|
||
int | add(PivotTable pivot, int row, int column, java.lang.String baseFieldName) | |
Add a new Slicer
|
||
int | add(PivotTable pivot, java.lang.String destCellName, PivotField baseField) | |
Add a new Slicer
|
||
int | add(PivotTable pivot, java.lang.String destCellName, int baseFieldIndex) | |
Add a new Slicer
|
||
int | add(PivotTable pivot, java.lang.String destCellName, java.lang.String baseFieldName) | |
Add a new Slicer
|
||
int | add(java.lang.Object value) | |
Reserved for internal use. |
||
void | clear() | |
boolean | contains(java.lang.Object value) | |
Reserved for internal use. |
||
int | indexOf(java.lang.Object value) | |
Reserved for internal use. |
||
java.util.Iterator | iterator() | |
void | remove(Slicer slicer) | |
Remove the specified Slicer
|
||
void | removeAt(int index) | |
Deletes the Slicer at the specified index
|
public int getCount()
public Slicer get(int index)
public Slicer get(java.lang.String name)
public void remove(Slicer slicer)
slicer
- The Slicer objectpublic void removeAt(int index)
index
- The position index in Slicer collectionpublic int add(PivotTable pivot, java.lang.String destCellName, java.lang.String baseFieldName)
pivot
- PivotTable objectdestCellName
- The cell in the upper-left corner of the Slicer range.baseFieldName
- The name of PivotField in PivotTable.BaseFieldspublic int add(PivotTable pivot, int row, int column, java.lang.String baseFieldName)
pivot
- PivotTable objectrow
- Row index of the cell in the upper-left corner of the Slicer range.column
- Column index of the cell in the upper-left corner of the Slicer range.baseFieldName
- The name of PivotField in PivotTable.BaseFieldspublic int add(PivotTable pivot, int row, int column, int baseFieldIndex)
pivot
- PivotTable objectrow
- Row index of the cell in the upper-left corner of the Slicer range.column
- Column index of the cell in the upper-left corner of the Slicer range.baseFieldIndex
- The index of PivotField in PivotTable.BaseFieldspublic int add(PivotTable pivot, java.lang.String destCellName, int baseFieldIndex)
pivot
- PivotTable objectdestCellName
- The cell in the upper-left corner of the Slicer range.baseFieldIndex
- The index of PivotField in PivotTable.BaseFieldspublic int add(PivotTable pivot, int row, int column, PivotField baseField)
pivot
- PivotTable objectrow
- Row index of the cell in the upper-left corner of the Slicer range.column
- Column index of the cell in the upper-left corner of the Slicer range.baseField
- The PivotField in PivotTable.BaseFieldspublic int add(PivotTable pivot, java.lang.String destCellName, PivotField baseField)
pivot
- PivotTable objectdestCellName
- The cell in the upper-left corner of the Slicer range.baseField
- The PivotField in PivotTable.BaseFieldspublic void clear()
public java.util.Iterator iterator()
public boolean contains(java.lang.Object value)
public int add(java.lang.Object value)
public int indexOf(java.lang.Object value)