pivotdatafields-ag凯发旗舰厅



com.spire.xls.core.spreadsheet.pivottables
class pivotdatafields

java.lang.object
  extended by com.spire.ms.system.collections.collectionbase
      extended by 
          extended by 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

constructor summary
pivotdatafields(java.lang.object parent)
           
 
method summary
 ipivotdatafield add(ipivotfield ifield, java.lang.string name, subtotaltypes subtotal)
          adds new data field to the collection.
 void clear()
           
 pivotdatafield get(int index)
          gets single entry from the collection.
 ipivotdatafield get(java.lang.string name)
          returns single entry from the collection.
 xlspivottable getparent()
           
 boolean remove(pivotdatafield item)
           
 void removeat(int index)
           
 
methods inherited from interface com.spire.xls.core.ipivotdatafields
getcount
 
constructor detail

pivotdatafields

public pivotdatafields(java.lang.object parent)
method detail

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 field
subtotal - 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


网站地图