PivotItem

Inheritance: java.lang.Object

public class PivotItem

Represents a item in a PivotField report.

Methods

MethodDescription
equals(Object arg0)
getClass()
getDateTimeValue()Gets the date time value of the pivot item If the value is null ,it will return DateTime.MinValue
getDoubleValue()Gets the double value of the pivot item If the value is null or not number ,it will return 0
getIndex()Gets the index of the pivot item in the pivot field
getName()Gets the name of the pivot item.
getStringValue()Gets the string value of the pivot item If the value is null, it will return ""
getValue()Gets the value of the pivot item
hashCode()
hide(boolean value)Sets whether the pivot item is hidden.
isHidden()Gets whether the pivot item is hidden.
isHideDetail()Gets whether the pivot item hides detail.
move(int count, boolean isSameParent)Moves the item up or down
notify()
notifyAll()
setHidden(boolean value)Sets whether the pivot item is hidden.
setHideDetail(boolean value)Sets whether the pivot item hides detail.
setIndex(int value)Gets the index of the pivot item in the pivot field
setPosition(int value)Specifying the position index in all the PivotItems,not the PivotItems under the same parent node.
setPositionInSameParentNode(int value)Specifying the position index in the PivotItems under the same parent node.
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

getDateTimeValue()

public DateTime getDateTimeValue()

Gets the date time value of the pivot item If the value is null ,it will return DateTime.MinValue

Returns: DateTime

getDoubleValue()

public double getDoubleValue()

Gets the double value of the pivot item If the value is null or not number ,it will return 0

Returns: double

getIndex()

public int getIndex()

Gets the index of the pivot item in the pivot field

Returns: int

getName()

public String getName()

Gets the name of the pivot item.

Returns: java.lang.String

getStringValue()

public String getStringValue()

Gets the string value of the pivot item If the value is null, it will return ""

Returns: java.lang.String

getValue()

public Object getValue()

Gets the value of the pivot item

Returns: java.lang.Object

hashCode()

public native int hashCode()

Returns: int

hide(boolean value)

public void hide(boolean value)

Sets whether the pivot item is hidden.

Remarks

NOTE: This member is now obsolete. Instead, please use Aspose.Cells.Pivot.PivotField.HideItem method. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.

Parameters:

ParameterTypeDescription
valueboolean

isHidden()

public boolean isHidden()

Gets whether the pivot item is hidden.

Returns: boolean

isHideDetail()

public boolean isHideDetail()

Gets whether the pivot item hides detail.

Returns: boolean

move(int count, boolean isSameParent)

public void move(int count, boolean isSameParent)

Moves the item up or down

Parameters:

ParameterTypeDescription
countintThe number of moving up or down. Move the item up if this is less than zero; Move the item down if this is greater than zero.
isSameParentbooleanSpecifying whether moving operation is in the same parent node or not

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setHidden(boolean value)

public void setHidden(boolean value)

Sets whether the pivot item is hidden.

Parameters:

ParameterTypeDescription
valueboolean

setHideDetail(boolean value)

public void setHideDetail(boolean value)

Sets whether the pivot item hides detail.

Parameters:

ParameterTypeDescription
valueboolean

setIndex(int value)

public void setIndex(int value)

Gets the index of the pivot item in the pivot field

Parameters:

ParameterTypeDescription
valueint

setPosition(int value)

public void setPosition(int value)

Specifying the position index in all the PivotItems,not the PivotItems under the same parent node.

Parameters:

ParameterTypeDescription
valueint

setPositionInSameParentNode(int value)

public void setPositionInSameParentNode(int value)

Specifying the position index in the PivotItems under the same parent node.

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