Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class PivotItems

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

public class PivotItems
extends java.lang.Object

Presents a collection of all the PivotItem objects in a PivotTable field.


Method Summary
 PivotItem get(int index)
          Gets the pivot item at the specific index.
 int get(java.lang.String strValue)
          Gets the pivot item index by the item string value.
 int size()
          Gets the size of the pivot items.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Gets the size of the pivot items.

Returns:
the size of the pivot items.

get

public PivotItem get(int index)
Gets the pivot item at the specific index.

Parameters:
index - the specific index.
Returns:
the pivot item.

get

public int get(java.lang.String strValue)
Gets the pivot item index by the item string value. It will return -1 if the no pivot item's string value equals to strValue.

Parameters:
strValue - the item string value.
Returns:
the pivot item index.