GridPivotField

Inheritance: java.lang.Object

public class GridPivotField

Represents a field in a PivotTable report.

Methods

MethodDescription
equals(Object arg0)
getClass()
getDisplayName()Represents the PivotField display name.
getFunction()Represents the function used to summarize the PivotTable data field.
getPosition()Represents the PivotField index in the PivotFields.
hashCode()
hideItem(int index, boolean isHidden)Sets whether the specific PivotItem in a data field is hidden.
hideItemByName(String name, boolean isHidden)Sets whether the specific PivotItem in a data field is hidden.
hideItemByValue(String value, boolean isHidden)Sets whether the specific PivotItem in a data field is hidden.
isAscendSort()Indicates whether the specified PivotTable field is autosorted ascending.
isAutoSort()Indicates whether the specified PivotTable field is automatically sorted.
notify()
notifyAll()
setAscendSort(boolean value)Indicates whether the specified PivotTable field is autosorted ascending.
setAutoSort(boolean value)Indicates whether the specified PivotTable field is automatically sorted.
setDisplayName(String value)Represents the PivotField display name.
setFunction(int value)Represents the function used to summarize the PivotTable data field.
setPosition(int value)Represents the PivotField index in the PivotFields.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDisplayName()

public String getDisplayName()

Represents the PivotField display name.

Returns: java.lang.String

getFunction()

public int getFunction()

Represents the function used to summarize the PivotTable data field.

See GridPivotFieldFunction.

Returns: int

getPosition()

public int getPosition()

Represents the PivotField index in the PivotFields.

Returns: int

hashCode()

public native int hashCode()

Returns: int

hideItem(int index, boolean isHidden)

public void hideItem(int index, boolean isHidden)

Sets whether the specific PivotItem in a data field is hidden.

Parameters:

ParameterTypeDescription
indexintthe index of the pivotItem in the pivotField.
isHiddenbooleanwhether the specific PivotItem is hidden

hideItemByName(String name, boolean isHidden)

public void hideItemByName(String name, boolean isHidden)

Sets whether the specific PivotItem in a data field is hidden.

Parameters:

ParameterTypeDescription
namejava.lang.Stringthe name of the pivotItem in the pivotField.
isHiddenbooleanwhether the specific PivotItem is hidden

hideItemByValue(String value, boolean isHidden)

public void hideItemByValue(String value, boolean isHidden)

Sets whether the specific PivotItem in a data field is hidden.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe value of the pivotItem in the pivotField.
isHiddenbooleanwhether the specific PivotItem is hidden

isAscendSort()

public boolean isAscendSort()

Indicates whether the specified PivotTable field is autosorted ascending.

Returns: boolean

isAutoSort()

public boolean isAutoSort()

Indicates whether the specified PivotTable field is automatically sorted.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAscendSort(boolean value)

public void setAscendSort(boolean value)

Indicates whether the specified PivotTable field is autosorted ascending.

Parameters:

ParameterTypeDescription
valueboolean

setAutoSort(boolean value)

public void setAutoSort(boolean value)

Indicates whether the specified PivotTable field is automatically sorted.

Parameters:

ParameterTypeDescription
valueboolean

setDisplayName(String value)

public void setDisplayName(String value)

Represents the PivotField display name.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFunction(int value)

public void setFunction(int value)

Represents the function used to summarize the PivotTable data field.

See GridPivotFieldFunction.

Parameters:

ParameterTypeDescription
valueint

setPosition(int value)

public void setPosition(int value)

Represents the PivotField index in the PivotFields.

Parameters:

ParameterTypeDescription
valueint

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