java.lang.Object
com.aspose.cells.PivotFieldCollection
- All Implemented Interfaces:
- java.lang.Iterable
public class PivotFieldCollection
- extends java.lang.Object
Represents a collection of all the PivotField objects
in the PivotTable's specific PivotFields type.
Property Getters/Setters Summary |
int | getCount() | |
|
Gets the count of the pivotFields.
|
int | getType() | |
|
Gets the PivotFields type.
The value of the property is PivotFieldType integer constant. |
PivotField | get(int) | |
|
Gets the PivotField Object at the specific index.
|
PivotField | get(java.lang.String) | |
|
Gets the PivotField Object of the specific name.
|
Method Summary |
int | add(PivotField pivotField) | |
Adds a PivotField Object to the specific type PivotFields.
|
int | addByBaseIndex(int baseFieldIndex) | |
Adds a PivotField Object to the specific type PivotFields.
|
void | clear() | |
clear all fields of PivotFieldCollection
|
java.util.Iterator | iterator() | |
Gets an enumerator over the elements in this collection in proper sequence.
|
Property Getters/Setters Detail |
getType | |
public int getType()
|
-
Gets the PivotFields type.
The value of the property is PivotFieldType integer constant.
getCount | |
public int getCount()
|
-
Gets the count of the pivotFields.
-
Gets the PivotField Object at the specific index.
-
Gets the PivotField Object of the specific name.
iterator | |
public java.util.Iterator iterator() |
-
Gets an enumerator over the elements in this collection in proper sequence.
- Returns:
- enumerator
addByBaseIndex | |
public int addByBaseIndex(int baseFieldIndex) |
-
Adds a PivotField Object to the specific type PivotFields.
- Parameters:
baseFieldIndex
- field index in the base PivotFields.
- Returns:
- the index of the PivotField Object in this PivotFields.
-
Adds a PivotField Object to the specific type PivotFields.
- Parameters:
pivotField
- a PivotField Object.
- Returns:
- the index of the PivotField Object in this PivotFields.
clear | |
public void clear() |
-
clear all fields of PivotFieldCollection
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.