PivotFieldCollection
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public class PivotFieldCollection implements Iterable
Represents a collection of all the PivotField objects in the PivotTable’s specific PivotFields type.
Methods
Method | Description |
---|---|
add(PivotField pivotField) | Adds a PivotField Object to the specific type PivotFields. |
addByBaseIndex(int baseFieldIndex) | Adds a PivotField Object to the specific type PivotFields. |
clear() | clear all fields of PivotFieldCollection |
equals(Object arg0) | |
get(int index) | Gets the PivotField Object at the specific index. |
get(String name) | Gets the PivotField Object of the specific name. |
getClass() | |
getCount() | Gets the count of the pivotFields. |
getType() | Gets the PivotFields type. |
hashCode() | |
iterator() | Gets an enumerator over the elements in this collection in proper sequence. |
move(int currPos, int destPos) | Moves the PivotField from current position to destination position |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
add(PivotField pivotField)
public int add(PivotField pivotField)
Adds a PivotField Object to the specific type PivotFields.
Parameters:
Parameter | Type | Description |
---|---|---|
pivotField | PivotField | a PivotField Object. |
Returns: int - the index of the PivotField Object in this PivotFields.
addByBaseIndex(int baseFieldIndex)
public int addByBaseIndex(int baseFieldIndex)
Adds a PivotField Object to the specific type PivotFields.
Parameters:
Parameter | Type | Description |
---|---|---|
baseFieldIndex | int | field index in the base PivotFields. |
Returns: int - the index of the PivotField Object in this PivotFields.
clear()
public void clear()
clear all fields of PivotFieldCollection
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
get(int index)
public PivotField get(int index)
Gets the PivotField Object at the specific index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int |
Returns: PivotField
get(String name)
public PivotField get(String name)
Gets the PivotField Object of the specific name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: PivotField
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCount()
public int getCount()
Gets the count of the pivotFields.
Returns: int
getType()
public int getType()
Gets the PivotFields type.
See PivotFieldType.
Returns: int
hashCode()
public native int hashCode()
Returns: int
iterator()
public Iterator iterator()
Gets an enumerator over the elements in this collection in proper sequence.
Returns: java.util.Iterator - enumerator
move(int currPos, int destPos)
public void move(int currPos, int destPos)
Moves the PivotField from current position to destination position
Parameters:
Parameter | Type | Description |
---|---|---|
currPos | int | Current position of PivotField based on zero |
destPos | int | Destination position of PivotField based on zero |
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |