java.lang.Object
com.aspose.cells.PivotItem
public class PivotItem
| Property Getters/Setters Summary | ||
|---|---|---|
int | getIndex() | |
void | setIndex(int) | |
| Gets the index of the pivot item in the pivot field | ||
boolean | isHidden() | |
void | setHidden(boolean) | |
| Gets and Sets whether the pivot item is hidden. | ||
boolean | isHideDetail() | |
void | setHideDetail(boolean) | |
| Gets and Sets whether the pivot item hides detail. | ||
java.lang.String | getName() | |
| Gets the name of the pivot item. | ||
void | setPosition(int) | |
| Specifying the position index in all the PivotItems,not the PivotItems under the same parent node. | ||
void | setPositionInSameParentNode(int) | |
| Specifying the position index in the PivotItems under the same parent node. | ||
java.lang.Object | getValue() | |
| Gets the value of the pivot item | ||
| Method Summary | ||
|---|---|---|
com.aspose.cells.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 | getStringValue() | |
| Gets the string value of the pivot item If the value is null, it will return "" | ||
void | hide(boolean value) | |
| Sets whether the pivot item is hidden. | ||
void | move(int count, boolean isSameParent) | |
| Moves the item up or down | ||
| Property Getters/Setters Detail |
|---|
isHidden/setHidden | |
public boolean isHidden() / public void setHidden(boolean value) | |
setPosition | |
public void setPosition(int value) | |
setPositionInSameParentNode | |
public void setPositionInSameParentNode(int value) | |
isHideDetail/setHideDetail | |
public boolean isHideDetail() / public void setHideDetail(boolean value) | |
getValue | |
public java.lang.Object getValue() | |
getName | |
public java.lang.String getName() | |
getIndex/setIndex | |
public int getIndex() / public void setIndex(int value) | |
| Method Detail |
|---|
hide | |
public void hide(boolean value) | |
move | |
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 not
getStringValue | |
public java.lang.String getStringValue() | |
getDoubleValue | |
public double getDoubleValue() | |
getDateTimeValue | |
public com.aspose.cells.DateTime getDateTimeValue() | |