Package com.grapecity.documents.excel
Interface ICalculatedFields
- All Superinterfaces:
Iterable<IPivotField>
A collection of PivotField objects that represents all the calculated fields in the specified PivotTable report.
- See Also:
-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getCount
int getCount()Returns the number of calculated fields. -
get
Get calculated field by index.- Parameters:
index- The index of the calculated field.- Returns:
- calculated field
- See Also:
-
get
Get calculated field by name.- Parameters:
fieldName- The name of the calculated field.- Returns:
- calculated field
- See Also:
-
add
Creates a new calculated field. Returns a PivotField object.- Parameters:
Name- The name of the field.Formula- The formula for the field.- Returns:
- the calculated field
- See Also:
-
remove
Remove the calculated fields by name.- Parameters:
fieldName- name of calculated field
-