All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.PivotFieldCollection.html Maven / Gradle / Ivy






PivotFieldCollection




com.aspose.cells
Class PivotFieldCollection

java.lang.Object
    extended by 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
intgetCount()
           Gets the count of the pivotFields.
intgetType()
           Gets the PivotFields type. The value of the property is PivotFieldType integer constant.
PivotFieldget(int)
           Gets the PivotField Object at the specific index.
PivotFieldget(java.lang.String)
           Gets the PivotField Object of the specific name.
 
Method Summary
intadd(PivotField pivotField)
           Adds a PivotField Object to the specific type PivotFields.
intaddByBaseIndex(int baseFieldIndex)
           Adds a PivotField Object to the specific type PivotFields.
voidclear()
           clear all fields of PivotFieldCollection
java.util.Iteratoriterator()
           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.

get

public PivotField get(int index)
Gets the PivotField Object at the specific index.

get

public PivotField get(java.lang.String name)
Gets the PivotField Object of the specific name.

Method Detail

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.

add

public int add(PivotField pivotField)
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.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy