pivotdatafields-ag凯发旗舰厅
com.spire.xls.core.spreadsheet.pivottables
class pivotdatafields
java.lang.object
com.spire.ms.system.collections.collectionbase
com.spire.xls.core.spreadsheet.pivottables.pivotdatafields
- all implemented interfaces:
- com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, ipivotdatafields, java.lang.iterable
public class pivotdatafields
- extends
- implements ipivotdatafields
pivotdatafields
public pivotdatafields(java.lang.object parent)
get
public pivotdatafield get(int index)
- gets single entry from the collection. read-only.
- specified by:
get
in interface ipivotdatafields
- parameters:
index
- item's index to get from the collection.
- returns:
- single entry from the collection.
get
public ipivotdatafield get(java.lang.string name)
- returns single entry from the collection.
- specified by:
get
in interface ipivotdatafields
- parameters:
name
- name of the item to get.
- returns:
- single entry from the collection.
getparent
public xlspivottable getparent()
- overrides:
in class
add
public ipivotdatafield add(ipivotfield ifield,
java.lang.string name,
subtotaltypes subtotal)
- adds new data field to the collection.
- specified by:
add
in interface ipivotdatafields
- parameters:
ifield
- parent field to use.name
- name for the new data fieldsubtotal
- subtotal function for the new data field.
- returns:
- newly added data field.
remove
public boolean remove(pivotdatafield item)
removeat
public void removeat(int index)
- overrides:
removeat
in class com.spire.ms.system.collections.collectionbase
clear
public void clear()
- overrides:
clear
in class com.spire.ms.system.collections.collectionbase