Class PivotFieldItem
java.lang.Object
com.independentsoft.office.spreadsheet.pivotTables.PivotFieldItem
The Class PivotFieldItem.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new pivot field item.PivotFieldItem(int index)Instantiates a new pivot field item.PivotFieldItem(PivotItemType type)Instantiates a new pivot field item. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the caption.intgetIndex()Gets the index.getType()Gets the type.booleanChecks for child items.booleanChecks for missing value.booleanChecks for string value.booleanChecks if is calculated member.booleanChecks if is drill across attributes.booleanChecks if is expanded.booleanisHidden()Checks if is hidden.booleanChecks if is hide details.voidsetCalculatedMember(boolean isCalculatedMember)Sets the calculated member.voidsetCaption(String caption)Sets the caption.voidsetChildItems(boolean hasChildItems)Sets the child items.voidsetDrillAcrossAttributes(boolean drillAcrossAttributes)Sets the drill across attributes.voidsetExpanded(boolean expanded)Sets the expanded.voidsetHidden(boolean isHidden)Sets the hidden.voidsetHideDetails(boolean hideDetails)Sets the hide details.voidsetIndex(int index)Sets the index.voidsetMissingValue(boolean hasMissingValue)Sets the missing value.voidsetStringValue(boolean hasStringValue)Sets the string value.voidsetType(PivotItemType type)Sets the type.toString()
-
Constructor Details
-
PivotFieldItem
public PivotFieldItem()Instantiates a new pivot field item. -
PivotFieldItem
public PivotFieldItem(int index)Instantiates a new pivot field item.- Parameters:
index- the index
-
PivotFieldItem
Instantiates a new pivot field item.- Parameters:
type- the type
-
-
Method Details
-
clone
-
toString
-
hasChildItems
public boolean hasChildItems()Checks for child items.- Returns:
- true, if successful
-
setChildItems
public void setChildItems(boolean hasChildItems)Sets the child items.- Parameters:
hasChildItems- the new child items
-
isExpanded
public boolean isExpanded()Checks if is expanded.- Returns:
- true, if is expanded
-
setExpanded
public void setExpanded(boolean expanded)Sets the expanded.- Parameters:
expanded- the new expanded
-
isDrillAcrossAttributes
public boolean isDrillAcrossAttributes()Checks if is drill across attributes.- Returns:
- true, if is drill across attributes
-
setDrillAcrossAttributes
public void setDrillAcrossAttributes(boolean drillAcrossAttributes)Sets the drill across attributes.- Parameters:
drillAcrossAttributes- the new drill across attributes
-
isCalculatedMember
public boolean isCalculatedMember()Checks if is calculated member.- Returns:
- true, if is calculated member
-
setCalculatedMember
public void setCalculatedMember(boolean isCalculatedMember)Sets the calculated member.- Parameters:
isCalculatedMember- the new calculated member
-
isHidden
public boolean isHidden()Checks if is hidden.- Returns:
- true, if is hidden
-
setHidden
public void setHidden(boolean isHidden)Sets the hidden.- Parameters:
isHidden- the new hidden
-
hasMissingValue
public boolean hasMissingValue()Checks for missing value.- Returns:
- true, if successful
-
setMissingValue
public void setMissingValue(boolean hasMissingValue)Sets the missing value.- Parameters:
hasMissingValue- the new missing value
-
getCaption
Gets the caption.- Returns:
- the caption
-
setCaption
Sets the caption.- Parameters:
caption- the new caption
-
hasStringValue
public boolean hasStringValue()Checks for string value.- Returns:
- true, if successful
-
setStringValue
public void setStringValue(boolean hasStringValue)Sets the string value.- Parameters:
hasStringValue- the new string value
-
isHideDetails
public boolean isHideDetails()Checks if is hide details.- Returns:
- true, if is hide details
-
setHideDetails
public void setHideDetails(boolean hideDetails)Sets the hide details.- Parameters:
hideDetails- the new hide details
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getIndex
public int getIndex()Gets the index.- Returns:
- the index
-
setIndex
public void setIndex(int index)Sets the index.- Parameters:
index- the new index
-