public class PivotItem
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
DateTime |
getDateTimeValue()
Gets the date time value of the pivot item
If the value is null ,it will return DateTime.MinValue
|
double |
getDoubleValue()
Gets the double value of the pivot item
If the value is null or not number ,it will return 0
|
int |
getIndex()
Gets the index of the pivot item in cache field.
|
java.lang.String |
getName()
Gets the name of the pivot item.
|
int |
getPosition()
Specifying the position index in all the PivotItems,not the PivotItems under the same parent node.
|
int |
getPositionInSameParentNode()
Specifying the position index in the PivotItems under the same parent node.
|
java.lang.String |
getStringValue()
Gets the string value of the pivot item
If the value is null, it will return ""
|
java.lang.Object |
getValue()
Gets the value of the pivot item
|
void |
hide(boolean value)
Deprecated.
Use Aspose.Cells.Pivot.PivotField.HideItem method instead.
|
boolean |
isFormula()
Indicates whether this pivot item is a calculated formula item.
|
boolean |
isHidden()
Gets whether the pivot item is hidden.
|
boolean |
isHideDetail()
Gets whether the pivot item hides detail.
|
boolean |
isMissing()
Indicates whether the item is removed from the data source.
|
void |
move(int count,
boolean isSameParent)
Moves the item up or down
|
void |
setFormula(boolean value)
Indicates whether this pivot item is a calculated formula item.
|
void |
setHidden(boolean value)
Sets whether the pivot item is hidden.
|
void |
setHideDetail(boolean value)
Sets whether the pivot item hides detail.
|
void |
setIndex(int value)
Gets the index of the pivot item in cache field.
|
void |
setPosition(int value)
Specifying the position index in all the PivotItems,not the PivotItems under the same parent node.
|
void |
setPositionInSameParentNode(int value)
Specifying the position index in the PivotItems under the same parent node.
|
public void hide(boolean value)
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.public boolean isHidden()
public void setHidden(boolean value)
public int getPosition()
public void setPosition(int value)
public int getPositionInSameParentNode()
public void setPositionInSameParentNode(int value)
public void move(int count,
boolean isSameParent)
count - The 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.isSameParent - Specifying whether moving operation is in the same parent node or notpublic boolean isHideDetail()
public void setHideDetail(boolean value)
public boolean isFormula()
public void setFormula(boolean value)
public boolean isMissing()
Remarks
True means this value has benn removed from the data source.public java.lang.String getStringValue()
public double getDoubleValue()
public DateTime getDateTimeValue()
public java.lang.Object getValue()
public java.lang.String getName()
public int getIndex()
public void setIndex(int value)
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 2001-2023. All Rights Reserved.