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
|
java.lang.String |
getFormula()
Gets the formula of this calculated item.
|
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 |
isCalculatedItem()
Indicates whether this pivot item is a calculated formula item.
|
boolean |
isDetailHidden()
Gets whether the detail of this pivot item is hidden.
|
boolean |
isFormula()
Deprecated.
Use PivotItem.IsCalculatedItem property instead.
|
boolean |
isHidden()
Gets whether the pivot item is hidden.
|
boolean |
isHideDetail()
Deprecated.
Use PivotItem.IsDetailHidden property instead.
|
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 |
setDetailHidden(boolean value)
Sets whether the detail of this pivot item is hidden.
|
void |
setFormula(boolean value)
Deprecated.
Use PivotItem.IsCalculatedItem property instead.
|
void |
setHidden(boolean value)
Sets whether the pivot item is hidden.
|
void |
setHideDetail(boolean value)
Deprecated.
Use PivotItem.IsDetailHidden property instead.
|
void |
setIndex(int value)
Gets the index of the pivot item in cache field.
|
void |
setName(java.lang.String value)
Gets the name of the pivot item.
|
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()
Remarks
NOTE: This property is now obsolete. Instead, please use PivotItem.IsDetailHidden property instead. This property will be removed 12 months later since November 2024. Aspose apologizes for any inconvenience you may have experienced.public void setHideDetail(boolean value)
Remarks
NOTE: This property is now obsolete. Instead, please use PivotItem.IsDetailHidden property instead. This property will be removed 12 months later since November 2024. Aspose apologizes for any inconvenience you may have experienced.public boolean isDetailHidden()
public void setDetailHidden(boolean value)
public boolean isCalculatedItem()
public boolean isFormula()
Remarks
NOTE: This property is now obsolete. Instead, please use PivotItem.IsCalculatedItem property instead. This property will be removed 12 months later since November 2024. Aspose apologizes for any inconvenience you may have experienced.public void setFormula(boolean value)
Remarks
NOTE: This property is now obsolete. Instead, please use PivotItem.IsCalculatedItem property instead. This property will be removed 12 months later since November 2024. Aspose apologizes for any inconvenience you may have experienced.public java.lang.String getFormula()
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 void setName(java.lang.String value)
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 2003-2025. All Rights Reserved.