com.aspose.cells
Class PivotFieldCollection

java.lang.Object
    extended by com.aspose.cells.PivotFieldCollection

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 index)
           Gets the PivotField Object at the specific index.
PivotFieldget(java.lang.String name)
           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.
 

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

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.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.