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

MethodDescription
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:

ParameterTypeDescription
pivotFieldPivotFielda 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:

ParameterTypeDescription
baseFieldIndexintfield 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:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int index)

public PivotField get(int index)

Gets the PivotField Object at the specific index.

Parameters:

ParameterTypeDescription
indexint

Returns: PivotField

get(String name)

public PivotField get(String name)

Gets the PivotField Object of the specific name.

Parameters:

ParameterTypeDescription
namejava.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:

ParameterTypeDescription
currPosintCurrent position of PivotField based on zero
destPosintDestination 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int