Class PivotArea
java.lang.Object
com.independentsoft.office.spreadsheet.pivotTables.PivotArea
The Class PivotArea.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getAxis()Gets the axis.intGets the field index.intGets the field position.Gets the references.getType()Gets the type.booleanChecks if is cache index.booleanChecks if is collapsed levels are subtotals.booleanChecks if is data only.booleanChecks if is include column grand total.booleanChecks if is include row grand total.booleanChecks if is labels only.booleanChecks if is outline.voidsetAxis(PivotTableAxis axis)Sets the axis.voidsetCacheIndex(boolean isCacheIndex)Sets the cache index.voidsetCollapsedLevelsAreSubtotals(boolean collapsedLevelsAreSubtotals)Sets the collapsed levels are subtotals.voidsetDataOnly(boolean dataOnly)Sets the data only.voidsetFieldIndex(int fieldIndex)Sets the field index.voidsetFieldPosition(int fieldPosition)Sets the field position.voidsetIncludeColumnGrandTotal(boolean includeColumnGrandTotal)Sets the include column grand total.voidsetIncludeRowGrandTotal(boolean includeRowGrandTotal)Sets the include row grand total.voidsetLabelsOnly(boolean labelsOnly)Sets the labels only.voidsetOutline(boolean outline)Sets the outline.voidsetType(PivotAreaType type)Sets the type.toString()
-
Constructor Details
-
PivotArea
public PivotArea()Instantiates a new pivot area.
-
-
Method Details
-
clone
-
toString
-
getReferences
Gets the references.- Returns:
- the references
-
getAxis
Gets the axis.- Returns:
- the axis
-
setAxis
Sets the axis.- Parameters:
axis- the new axis
-
isCacheIndex
public boolean isCacheIndex()Checks if is cache index.- Returns:
- true, if is cache index
-
setCacheIndex
public void setCacheIndex(boolean isCacheIndex)Sets the cache index.- Parameters:
isCacheIndex- the new cache index
-
isCollapsedLevelsAreSubtotals
public boolean isCollapsedLevelsAreSubtotals()Checks if is collapsed levels are subtotals.- Returns:
- true, if is collapsed levels are subtotals
-
setCollapsedLevelsAreSubtotals
public void setCollapsedLevelsAreSubtotals(boolean collapsedLevelsAreSubtotals)Sets the collapsed levels are subtotals.- Parameters:
collapsedLevelsAreSubtotals- the new collapsed levels are subtotals
-
isDataOnly
public boolean isDataOnly()Checks if is data only.- Returns:
- true, if is data only
-
setDataOnly
public void setDataOnly(boolean dataOnly)Sets the data only.- Parameters:
dataOnly- the new data only
-
getFieldIndex
public int getFieldIndex()Gets the field index.- Returns:
- the field index
-
setFieldIndex
public void setFieldIndex(int fieldIndex)Sets the field index.- Parameters:
fieldIndex- the new field index
-
getFieldPosition
public int getFieldPosition()Gets the field position.- Returns:
- the field position
-
setFieldPosition
public void setFieldPosition(int fieldPosition)Sets the field position.- Parameters:
fieldPosition- the new field position
-
isIncludeColumnGrandTotal
public boolean isIncludeColumnGrandTotal()Checks if is include column grand total.- Returns:
- true, if is include column grand total
-
setIncludeColumnGrandTotal
public void setIncludeColumnGrandTotal(boolean includeColumnGrandTotal)Sets the include column grand total.- Parameters:
includeColumnGrandTotal- the new include column grand total
-
isIncludeRowGrandTotal
public boolean isIncludeRowGrandTotal()Checks if is include row grand total.- Returns:
- true, if is include row grand total
-
setIncludeRowGrandTotal
public void setIncludeRowGrandTotal(boolean includeRowGrandTotal)Sets the include row grand total.- Parameters:
includeRowGrandTotal- the new include row grand total
-
isLabelsOnly
public boolean isLabelsOnly()Checks if is labels only.- Returns:
- true, if is labels only
-
setLabelsOnly
public void setLabelsOnly(boolean labelsOnly)Sets the labels only.- Parameters:
labelsOnly- the new labels only
-
isOutline
public boolean isOutline()Checks if is outline.- Returns:
- true, if is outline
-
setOutline
public void setOutline(boolean outline)Sets the outline.- Parameters:
outline- the new outline
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-