Class PivotField
java.lang.Object
com.independentsoft.office.spreadsheet.pivotTables.PivotField
The Class PivotField.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the auto show rank by.Gets the auto sort scope.Gets the auto sort type.getAxis()Gets the axis.Gets the custom subtotal caption.intGets the item page count.getItems()Gets the items.getName()Gets the name.intGets the number format id.Gets the unique property.booleanChecks if is auto show.booleanChecks if is auto sort.booleanChecks if is average subtotal.booleanChecks if is compact.booleanChecks if is count a subtotal.booleanChecks if is count subtotal.booleanChecks if is data field.booleanChecks if is data source sort.booleanChecks if is default attribute drill state.booleanChecks if is drag off.booleanChecks if is drag to column.booleanChecks if is drag to data.booleanChecks if is drag to page.booleanChecks if is drag to row.booleanChecks if is expand items.booleanChecks if is hidden level.booleanChecks if is hide new items.booleanChecks if is inclusive manual filter.booleanChecks if is insert blank row.booleanChecks if is insert item page break.booleanChecks if is max subtotal.booleanChecks if is measure filter.booleanChecks if is min subtotal.booleanChecks if is multiple item selection allowed.booleanChecks if is outline items.booleanChecks if is product subtotal.booleanChecks if is server based page field.booleanChecks if is show all items.booleanChecks if is show default subtotal.booleanChecks if is show drop downs.booleanChecks if is show property as caption.booleanChecks if is show property in cell.booleanChecks if is show property tool tip.booleanChecks if is standard deviation population subtotal.booleanChecks if is standard deviation subtotal.booleanChecks if is subtotals at top.booleanChecks if is sum subtotal.booleanChecks if is top auto show.booleanChecks if is variance population subtotal.booleanChecks if is variance subtotal.voidsetAutoShow(boolean autoShow)Sets the auto show.voidsetAutoShowRankBy(int autoShowRankBy)Sets the auto show rank by.voidsetAutoSort(boolean autoSort)Sets the auto sort.voidsetAutoSortScope(PivotArea autoSortScope)Sets the auto sort scope.voidsetAutoSortType(FieldSortType autoSortType)Sets the auto sort type.voidsetAverageSubtotal(boolean averageSubtotal)Sets the average subtotal.voidsetAxis(PivotTableAxis axis)Sets the axis.voidsetCompact(boolean compact)Sets the compact.voidsetCountASubtotal(boolean countASubtotal)Sets the count a subtotal.voidsetCountSubtotal(boolean countSubtotal)Sets the count subtotal.voidsetCustomSubtotalCaption(String customSubtotalCaption)Sets the custom subtotal caption.voidsetDataField(boolean isDataField)Sets the data field.voidsetDataSourceSort(boolean dataSourceSort)Sets the data source sort.voidsetDefaultAttributeDrillState(boolean defaultAttributeDrillState)Sets the default attribute drill state.voidsetDragOff(boolean dragOff)Sets the drag off.voidsetDragToColumn(boolean dragToColumn)Sets the drag to column.voidsetDragToData(boolean dragToData)Sets the drag to data.voidsetDragToPage(boolean dragToPage)Sets the drag to page.voidsetDragToRow(boolean dragToRow)Sets the drag to row.voidsetExpandItems(boolean expandItems)Sets the expand items.voidsetHiddenLevel(boolean hiddenLevel)Sets the hidden level.voidsetHideNewItems(boolean hideNewItems)Sets the hide new items.voidsetInclusiveManualFilter(boolean inclusiveManualFilter)Sets the inclusive manual filter.voidsetInsertBlankRow(boolean insertBlankRow)Sets the insert blank row.voidsetInsertItemPageBreak(boolean insertItemPageBreak)Sets the insert item page break.voidsetItemPageCount(int itemPageCount)Sets the item page count.voidsetMaxSubtotal(boolean maxSubtotal)Sets the max subtotal.voidsetMeasureFilter(boolean measureFilter)Sets the measure filter.voidsetMinSubtotal(boolean minSubtotal)Sets the min subtotal.voidsetMultipleItemSelectionAllowed(boolean multipleItemSelectionAllowed)Sets the multiple item selection allowed.voidSets the name.voidsetNumberFormatID(int numberFormatID)Sets the number format id.voidsetOutlineItems(boolean outlineItems)Sets the outline items.voidsetProductSubtotal(boolean productSubtotal)Sets the product subtotal.voidsetServerBasedPageField(boolean isServerBasedPageField)Sets the server based page field.voidsetShowAllItems(boolean showAllItems)Sets the show all items.voidsetShowDefaultSubtotal(boolean showDefaultSubtotal)Sets the show default subtotal.voidsetShowDropDowns(boolean showDropDowns)Sets the show drop downs.voidsetShowPropertyAsCaption(boolean showPropertyAsCaption)Sets the show property as caption.voidsetShowPropertyInCell(boolean showPropertyInCell)Sets the show property in cell.voidsetShowPropertyToolTip(boolean showPropertyToolTip)Sets the show property tool tip.voidsetStandardDeviationPopulationSubtotal(boolean standardDeviationPopulationSubtotal)Sets the standard deviation population subtotal.voidsetStandardDeviationSubtotal(boolean standardDeviationSubtotal)Sets the standard deviation subtotal.voidsetSubtotalsAtTop(boolean subtotalsAtTop)Sets the subtotals at top.voidsetSumSubtotal(boolean sumSubtotal)Sets the sum subtotal.voidsetTopAutoShow(boolean topAutoShow)Sets the top auto show.voidsetUniqueProperty(String uniqueProperty)Sets the unique property.voidsetVariancePopulationSubtotal(boolean variancePopulationSubtotal)Sets the variance population subtotal.voidsetVarianceSubtotal(boolean varianceSubtotal)Sets the variance subtotal.toString()
-
Constructor Details
-
PivotField
public PivotField()Instantiates a new pivot field.
-
-
Method Details
-
clone
-
toString
-
getItems
Gets the items.- Returns:
- the items
-
getAutoSortScope
Gets the auto sort scope.- Returns:
- the auto sort scope
-
setAutoSortScope
Sets the auto sort scope.- Parameters:
autoSortScope- the new auto sort scope
-
isExpandItems
public boolean isExpandItems()Checks if is expand items.- Returns:
- true, if is expand items
-
setExpandItems
public void setExpandItems(boolean expandItems)Sets the expand items.- Parameters:
expandItems- the new expand items
-
isAutoShow
public boolean isAutoShow()Checks if is auto show.- Returns:
- true, if is auto show
-
setAutoShow
public void setAutoShow(boolean autoShow)Sets the auto show.- Parameters:
autoShow- the new auto show
-
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
-
getAxis
Gets the axis.- Returns:
- the axis
-
setAxis
Sets the axis.- Parameters:
axis- the new axis
-
isCompact
public boolean isCompact()Checks if is compact.- Returns:
- true, if is compact
-
setCompact
public void setCompact(boolean compact)Sets the compact.- Parameters:
compact- the new compact
-
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
-
isDataField
public boolean isDataField()Checks if is data field.- Returns:
- true, if is data field
-
setDataField
public void setDataField(boolean isDataField)Sets the data field.- Parameters:
isDataField- the new data field
-
isDataSourceSort
public boolean isDataSourceSort()Checks if is data source sort.- Returns:
- true, if is data source sort
-
setDataSourceSort
public void setDataSourceSort(boolean dataSourceSort)Sets the data source sort.- Parameters:
dataSourceSort- the new data source sort
-
isDefaultAttributeDrillState
public boolean isDefaultAttributeDrillState()Checks if is default attribute drill state.- Returns:
- true, if is default attribute drill state
-
setDefaultAttributeDrillState
public void setDefaultAttributeDrillState(boolean defaultAttributeDrillState)Sets the default attribute drill state.- Parameters:
defaultAttributeDrillState- the new default attribute drill state
-
isShowDefaultSubtotal
public boolean isShowDefaultSubtotal()Checks if is show default subtotal.- Returns:
- true, if is show default subtotal
-
setShowDefaultSubtotal
public void setShowDefaultSubtotal(boolean showDefaultSubtotal)Sets the show default subtotal.- Parameters:
showDefaultSubtotal- the new show default subtotal
-
isDragOff
public boolean isDragOff()Checks if is drag off.- Returns:
- true, if is drag off
-
setDragOff
public void setDragOff(boolean dragOff)Sets the drag off.- Parameters:
dragOff- the new drag off
-
isDragToColumn
public boolean isDragToColumn()Checks if is drag to column.- Returns:
- true, if is drag to column
-
setDragToColumn
public void setDragToColumn(boolean dragToColumn)Sets the drag to column.- Parameters:
dragToColumn- the new drag to column
-
isDragToData
public boolean isDragToData()Checks if is drag to data.- Returns:
- true, if is drag to data
-
setDragToData
public void setDragToData(boolean dragToData)Sets the drag to data.- Parameters:
dragToData- the new drag to data
-
isDragToPage
public boolean isDragToPage()Checks if is drag to page.- Returns:
- true, if is drag to page
-
setDragToPage
public void setDragToPage(boolean dragToPage)Sets the drag to page.- Parameters:
dragToPage- the new drag to page
-
isDragToRow
public boolean isDragToRow()Checks if is drag to row.- Returns:
- true, if is drag to row
-
setDragToRow
public void setDragToRow(boolean dragToRow)Sets the drag to row.- Parameters:
dragToRow- the new drag to row
-
isHiddenLevel
public boolean isHiddenLevel()Checks if is hidden level.- Returns:
- true, if is hidden level
-
setHiddenLevel
public void setHiddenLevel(boolean hiddenLevel)Sets the hidden level.- Parameters:
hiddenLevel- the new hidden level
-
isHideNewItems
public boolean isHideNewItems()Checks if is hide new items.- Returns:
- true, if is hide new items
-
setHideNewItems
public void setHideNewItems(boolean hideNewItems)Sets the hide new items.- Parameters:
hideNewItems- the new hide new items
-
isInclusiveManualFilter
public boolean isInclusiveManualFilter()Checks if is inclusive manual filter.- Returns:
- true, if is inclusive manual filter
-
setInclusiveManualFilter
public void setInclusiveManualFilter(boolean inclusiveManualFilter)Sets the inclusive manual filter.- Parameters:
inclusiveManualFilter- the new inclusive manual filter
-
isInsertBlankRow
public boolean isInsertBlankRow()Checks if is insert blank row.- Returns:
- true, if is insert blank row
-
setInsertBlankRow
public void setInsertBlankRow(boolean insertBlankRow)Sets the insert blank row.- Parameters:
insertBlankRow- the new insert blank row
-
isInsertItemPageBreak
public boolean isInsertItemPageBreak()Checks if is insert item page break.- Returns:
- true, if is insert item page break
-
setInsertItemPageBreak
public void setInsertItemPageBreak(boolean insertItemPageBreak)Sets the insert item page break.- Parameters:
insertItemPageBreak- the new insert item page break
-
getItemPageCount
public int getItemPageCount()Gets the item page count.- Returns:
- the item page count
-
setItemPageCount
public void setItemPageCount(int itemPageCount)Sets the item page count.- Parameters:
itemPageCount- the new item page count
-
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
-
isMeasureFilter
public boolean isMeasureFilter()Checks if is measure filter.- Returns:
- true, if is measure filter
-
setMeasureFilter
public void setMeasureFilter(boolean measureFilter)Sets the measure filter.- Parameters:
measureFilter- the new measure filter
-
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
-
isMultipleItemSelectionAllowed
public boolean isMultipleItemSelectionAllowed()Checks if is multiple item selection allowed.- Returns:
- true, if is multiple item selection allowed
-
setMultipleItemSelectionAllowed
public void setMultipleItemSelectionAllowed(boolean multipleItemSelectionAllowed)Sets the multiple item selection allowed.- Parameters:
multipleItemSelectionAllowed- the new multiple item selection allowed
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
isAutoSort
public boolean isAutoSort()Checks if is auto sort.- Returns:
- true, if is auto sort
-
setAutoSort
public void setAutoSort(boolean autoSort)Sets the auto sort.- Parameters:
autoSort- the new auto sort
-
getNumberFormatID
public int getNumberFormatID()Gets the number format id.- Returns:
- the number format id
-
setNumberFormatID
public void setNumberFormatID(int numberFormatID)Sets the number format id.- Parameters:
numberFormatID- the new number format id
-
isOutlineItems
public boolean isOutlineItems()Checks if is outline items.- Returns:
- true, if is outline items
-
setOutlineItems
public void setOutlineItems(boolean outlineItems)Sets the outline items.- Parameters:
outlineItems- the new outline items
-
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
-
getAutoShowRankBy
public int getAutoShowRankBy()Gets the auto show rank by.- Returns:
- the auto show rank by
-
setAutoShowRankBy
public void setAutoShowRankBy(int autoShowRankBy)Sets the auto show rank by.- Parameters:
autoShowRankBy- the new auto show rank by
-
isServerBasedPageField
public boolean isServerBasedPageField()Checks if is server based page field.- Returns:
- true, if is server based page field
-
setServerBasedPageField
public void setServerBasedPageField(boolean isServerBasedPageField)Sets the server based page field.- Parameters:
isServerBasedPageField- the new server based page field
-
isShowAllItems
public boolean isShowAllItems()Checks if is show all items.- Returns:
- true, if is show all items
-
setShowAllItems
public void setShowAllItems(boolean showAllItems)Sets the show all items.- Parameters:
showAllItems- the new show all items
-
isShowDropDowns
public boolean isShowDropDowns()Checks if is show drop downs.- Returns:
- true, if is show drop downs
-
setShowDropDowns
public void setShowDropDowns(boolean showDropDowns)Sets the show drop downs.- Parameters:
showDropDowns- the new show drop downs
-
isShowPropertyAsCaption
public boolean isShowPropertyAsCaption()Checks if is show property as caption.- Returns:
- true, if is show property as caption
-
setShowPropertyAsCaption
public void setShowPropertyAsCaption(boolean showPropertyAsCaption)Sets the show property as caption.- Parameters:
showPropertyAsCaption- the new show property as caption
-
isShowPropertyInCell
public boolean isShowPropertyInCell()Checks if is show property in cell.- Returns:
- true, if is show property in cell
-
setShowPropertyInCell
public void setShowPropertyInCell(boolean showPropertyInCell)Sets the show property in cell.- Parameters:
showPropertyInCell- the new show property in cell
-
isShowPropertyToolTip
public boolean isShowPropertyToolTip()Checks if is show property tool tip.- Returns:
- true, if is show property tool tip
-
setShowPropertyToolTip
public void setShowPropertyToolTip(boolean showPropertyToolTip)Sets the show property tool tip.- Parameters:
showPropertyToolTip- the new show property tool tip
-
getAutoSortType
Gets the auto sort type.- Returns:
- the auto sort type
-
setAutoSortType
Sets the auto sort type.- Parameters:
autoSortType- the new auto sort type
-
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
-
getCustomSubtotalCaption
Gets the custom subtotal caption.- Returns:
- the custom subtotal caption
-
setCustomSubtotalCaption
Sets the custom subtotal caption.- Parameters:
customSubtotalCaption- the new custom subtotal caption
-
isSubtotalsAtTop
public boolean isSubtotalsAtTop()Checks if is subtotals at top.- Returns:
- true, if is subtotals at top
-
setSubtotalsAtTop
public void setSubtotalsAtTop(boolean subtotalsAtTop)Sets the subtotals at top.- Parameters:
subtotalsAtTop- the new subtotals at top
-
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
-
isTopAutoShow
public boolean isTopAutoShow()Checks if is top auto show.- Returns:
- true, if is top auto show
-
setTopAutoShow
public void setTopAutoShow(boolean topAutoShow)Sets the top auto show.- Parameters:
topAutoShow- the new top auto show
-
getUniqueProperty
Gets the unique property.- Returns:
- the unique property
-
setUniqueProperty
Sets the unique property.- Parameters:
uniqueProperty- the new unique property
-
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
-