All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.PivotItem.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





PivotItem




com.aspose.cells
Class PivotItem

java.lang.Object
    extended by com.aspose.cells.PivotItem

public class PivotItem 
extends java.lang.Object

Represents a item in a PivotField report.


Property Getters/Setters Summary
intgetIndex()
voidsetIndex(int)
           Gets the index of the pivot item in the pivot field
booleanisHidden()
voidsetHidden(boolean)
           Gets and Sets whether the pivot item is hidden.
booleanisHideDetail()
voidsetHideDetail(boolean)
           Gets and Sets whether the pivot item hides detail.
java.lang.StringgetName()
           Gets the name of the pivot item.
voidsetPosition(int)
           Specifying the position index in all the PivotItems,not the PivotItems under the same parent node.
voidsetPositionInSameParentNode(int)
           Specifying the position index in the PivotItems under the same parent node.
java.lang.ObjectgetValue()
           Gets the value of the pivot item
 
Method Summary
com.aspose.cells.DateTimegetDateTimeValue()
           Gets the date time value of the pivot item If the value is null ,it will return DateTime.MinValue
doublegetDoubleValue()
           Gets the double value of the pivot item If the value is null or not number ,it will return 0
java.lang.StringgetStringValue()
           Gets the string value of the pivot item If the value is null, it will return ""
voidhide(boolean value)
           Sets whether the pivot item is hidden.
voidmove(int count, boolean isSameParent)
           Moves the item up or down
 

Property Getters/Setters Detail

isHidden/setHidden

public boolean isHidden() / public void setHidden(boolean value)
Gets and Sets whether the pivot item is hidden.

setHidden

public void setHidden(boolean value)
Gets and Sets whether the pivot item is hidden.

setPosition

public void setPosition(int value)
Specifying the position index in all the PivotItems,not the PivotItems under the same parent node.

setPositionInSameParentNode

public void setPositionInSameParentNode(int value)
Specifying the position index in the PivotItems under the same parent node.

isHideDetail/setHideDetail

public boolean isHideDetail() / public void setHideDetail(boolean value)
Gets and Sets whether the pivot item hides detail.

setHideDetail

public void setHideDetail(boolean value)
Gets and Sets whether the pivot item hides detail.

getValue

public java.lang.Object getValue()
Gets the value of the pivot item

getName

public java.lang.String getName()
Gets the name of the pivot item.

getIndex/setIndex

public int getIndex() / public void setIndex(int value)
Gets the index of the pivot item in the pivot field

setIndex

public void setIndex(int value)
Gets the index of the pivot item in the pivot field

Method Detail

hide

public void hide(boolean value)
Sets whether the pivot item is hidden. 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.

move

public void move(int count, boolean isSameParent)
Moves the item up or down
Parameters:
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 not

getStringValue

public java.lang.String getStringValue()
Gets the string value of the pivot item If the value is null, it will return ""

getDoubleValue

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

getDateTimeValue

public com.aspose.cells.DateTime getDateTimeValue()
Gets the date time value of the pivot item If the value is null ,it will return DateTime.MinValue

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy