Class PivotAreaReference
java.lang.Object
com.independentsoft.office.spreadsheet.pivotTables.PivotAreaReference
The Class PivotAreaReference.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intgetCount()Gets the count.longGets the field index.getItems()Gets the items.booleanChecks if is average subtotal.booleanChecks if is count a subtotal.booleanChecks if is count subtotal.booleanChecks if is default subtotal.booleanChecks if is max subtotal.booleanChecks if is min subtotal.booleanChecks if is positional reference.booleanChecks if is product subtotal.booleanChecks if is relative reference.booleanChecks if is selected.booleanChecks if is standard deviation population subtotal.booleanChecks if is standard deviation subtotal.booleanChecks if is sum subtotal.booleanChecks if is variance population subtotal.booleanChecks if is variance subtotal.voidsetAverageSubtotal(boolean averageSubtotal)Sets the average subtotal.voidsetCount(int count)Sets the count.voidsetCountASubtotal(boolean countASubtotal)Sets the count a subtotal.voidsetCountSubtotal(boolean countSubtotal)Sets the count subtotal.voidsetDefaultSubtotal(boolean defaultSubtotal)Sets the default subtotal.voidsetFieldIndex(long fieldIndex)Sets the field index.voidsetMaxSubtotal(boolean maxSubtotal)Sets the max subtotal.voidsetMinSubtotal(boolean minSubtotal)Sets the min subtotal.voidsetPositionalReference(boolean positionalReference)Sets the positional reference.voidsetProductSubtotal(boolean productSubtotal)Sets the product subtotal.voidsetRelativeReference(boolean relativeReference)Sets the relative reference.voidsetSelected(boolean isSelected)Sets the selected.voidsetStandardDeviationPopulationSubtotal(boolean standardDeviationPopulationSubtotal)Sets the standard deviation population subtotal.voidsetStandardDeviationSubtotal(boolean standardDeviationSubtotal)Sets the standard deviation subtotal.voidsetSumSubtotal(boolean sumSubtotal)Sets the sum subtotal.voidsetVariancePopulationSubtotal(boolean variancePopulationSubtotal)Sets the variance population subtotal.voidsetVarianceSubtotal(boolean varianceSubtotal)Sets the variance subtotal.toString()
-
Constructor Details
-
PivotAreaReference
public PivotAreaReference()Instantiates a new pivot area reference.
-
-
Method Details
-
clone
-
toString
-
getItems
Gets the items.- Returns:
- the items
-
isAverageSubtotal
public boolean isAverageSubtotal()Checks if is average subtotal.- Returns:
- true, if is average subtotal
-
setAverageSubtotal
public void setAverageSubtotal(boolean averageSubtotal)Sets the average subtotal.- Parameters:
averageSubtotal- the new average subtotal
-
isPositionalReference
public boolean isPositionalReference()Checks if is positional reference.- Returns:
- true, if is positional reference
-
setPositionalReference
public void setPositionalReference(boolean positionalReference)Sets the positional reference.- Parameters:
positionalReference- the new positional reference
-
getCount
public int getCount()Gets the count.- Returns:
- the count
-
setCount
public void setCount(int count)Sets the count.- Parameters:
count- the new count
-
isCountASubtotal
public boolean isCountASubtotal()Checks if is count a subtotal.- Returns:
- true, if is count a subtotal
-
setCountASubtotal
public void setCountASubtotal(boolean countASubtotal)Sets the count a subtotal.- Parameters:
countASubtotal- the new count a subtotal
-
isCountSubtotal
public boolean isCountSubtotal()Checks if is count subtotal.- Returns:
- true, if is count subtotal
-
setCountSubtotal
public void setCountSubtotal(boolean countSubtotal)Sets the count subtotal.- Parameters:
countSubtotal- the new count subtotal
-
isDefaultSubtotal
public boolean isDefaultSubtotal()Checks if is default subtotal.- Returns:
- true, if is default subtotal
-
setDefaultSubtotal
public void setDefaultSubtotal(boolean defaultSubtotal)Sets the default subtotal.- Parameters:
defaultSubtotal- the new default subtotal
-
getFieldIndex
public long getFieldIndex()Gets the field index.- Returns:
- the field index
-
setFieldIndex
public void setFieldIndex(long fieldIndex)Sets the field index.- Parameters:
fieldIndex- the new field index
-
isMaxSubtotal
public boolean isMaxSubtotal()Checks if is max subtotal.- Returns:
- true, if is max subtotal
-
setMaxSubtotal
public void setMaxSubtotal(boolean maxSubtotal)Sets the max subtotal.- Parameters:
maxSubtotal- the new max subtotal
-
isMinSubtotal
public boolean isMinSubtotal()Checks if is min subtotal.- Returns:
- true, if is min subtotal
-
setMinSubtotal
public void setMinSubtotal(boolean minSubtotal)Sets the min subtotal.- Parameters:
minSubtotal- the new min subtotal
-
isProductSubtotal
public boolean isProductSubtotal()Checks if is product subtotal.- Returns:
- true, if is product subtotal
-
setProductSubtotal
public void setProductSubtotal(boolean productSubtotal)Sets the product subtotal.- Parameters:
productSubtotal- the new product subtotal
-
isRelativeReference
public boolean isRelativeReference()Checks if is relative reference.- Returns:
- true, if is relative reference
-
setRelativeReference
public void setRelativeReference(boolean relativeReference)Sets the relative reference.- Parameters:
relativeReference- the new relative reference
-
isSelected
public boolean isSelected()Checks if is selected.- Returns:
- true, if is selected
-
setSelected
public void setSelected(boolean isSelected)Sets the selected.- Parameters:
isSelected- the new selected
-
isStandardDeviationPopulationSubtotal
public boolean isStandardDeviationPopulationSubtotal()Checks if is standard deviation population subtotal.- Returns:
- true, if is standard deviation population subtotal
-
setStandardDeviationPopulationSubtotal
public void setStandardDeviationPopulationSubtotal(boolean standardDeviationPopulationSubtotal)Sets the standard deviation population subtotal.- Parameters:
standardDeviationPopulationSubtotal- the new standard deviation population subtotal
-
isStandardDeviationSubtotal
public boolean isStandardDeviationSubtotal()Checks if is standard deviation subtotal.- Returns:
- true, if is standard deviation subtotal
-
setStandardDeviationSubtotal
public void setStandardDeviationSubtotal(boolean standardDeviationSubtotal)Sets the standard deviation subtotal.- Parameters:
standardDeviationSubtotal- the new standard deviation subtotal
-
isSumSubtotal
public boolean isSumSubtotal()Checks if is sum subtotal.- Returns:
- true, if is sum subtotal
-
setSumSubtotal
public void setSumSubtotal(boolean sumSubtotal)Sets the sum subtotal.- Parameters:
sumSubtotal- the new sum subtotal
-
isVariancePopulationSubtotal
public boolean isVariancePopulationSubtotal()Checks if is variance population subtotal.- Returns:
- true, if is variance population subtotal
-
setVariancePopulationSubtotal
public void setVariancePopulationSubtotal(boolean variancePopulationSubtotal)Sets the variance population subtotal.- Parameters:
variancePopulationSubtotal- the new variance population subtotal
-
isVarianceSubtotal
public boolean isVarianceSubtotal()Checks if is variance subtotal.- Returns:
- true, if is variance subtotal
-
setVarianceSubtotal
public void setVarianceSubtotal(boolean varianceSubtotal)Sets the variance subtotal.- Parameters:
varianceSubtotal- the new variance subtotal
-