com.aspose.cells

Class PivotItemCollection

  • java.lang.Object
    • com.aspose.cells.PivotItemCollection
  • All Implemented Interfaces:
    java.lang.Iterable
    public class PivotItemCollection 
    extends java.lang.Object

Represents a collection of all the PivotItem objects in the PivotField's

Property Getters/Setters Summary
intgetCount()
Gets the count of the pivot items.
PivotItemget(int index)
Gets the PivotItem Object at the specific index.
PivotItemget(java.lang.String itemValue)
Gets the PivotItem Object of the specific name.
 
Method Summary
voidchangeitemsOrder(int sourceIndex, int destIndex)
Directly changes the orders of the two items.
java.util.Iteratoriterator()
Gets an enumerator over the elements in this collection in proper sequence.
 

    • Property Getters/Setters Detail

      • getCount

        public int getCount()
        
        Gets the count of the pivot items.
      • get

        public PivotItem get(int index)
        
        Gets the PivotItem Object at the specific index.
      • get

        public PivotItem get(java.lang.String itemValue)
        
        Gets the PivotItem Object of the specific name.
    • Method Detail

      • iterator

        public java.util.Iterator iterator()
        Gets an enumerator over the elements in this collection in proper sequence.
        Returns:
        enumerator
      • changeitemsOrder

        public void changeitemsOrder(int sourceIndex, int destIndex)
        Directly changes the orders of the two items.
        Parameters:
        sourceIndex - The current index
        destIndex - The dest index