public class PivotItemCollection
extends java.lang.Object
implements java.lang.Iterable
PivotItem objects in the PivotField.| Modifier and Type | Method and Description |
|---|---|
void |
changeitemsOrder(int sourceIndex,
int destIndex)
Deprecated.
Use PivotItemCollection.SwapItem() method instead.
|
PivotItem |
get(int index)
Gets the PivotItem Object at the specific index.
|
PivotItem |
get(java.lang.String itemValue)
Gets the
PivotItem by the specific name. |
int |
getCount()
Gets the count of the pivot items.
|
java.util.Iterator |
iterator()
Gets an enumerator over the elements in this collection in proper sequence.
|
void |
swapItem(int index1,
int index2)
Directly swap two items.
|
public java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic PivotItem get(int index)
public int getCount()
public void changeitemsOrder(int sourceIndex,
int destIndex)
Remarks
NOTE: This method is now obsolete. Instead, please use PivotItemCollection.SwapItem() method. This method will be removed 12 months later since July 2024. Aspose apologizes for any inconvenience you may have experienced.sourceIndex - The current indexdestIndex - The dest indexpublic void swapItem(int index1,
int index2)
index1 - index2 - See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.