|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.xls.core.spreadsheet.pivottables.XlsPivotField
public class XlsPivotField
Constructor Summary | |
---|---|
XlsPivotField(java.lang.Object parent)
|
Method Summary | |
---|---|
void |
addItemOption(int index)
|
boolean |
canDragOff()
User can remove field from view. |
void |
canDragOff(boolean value)
User can remove field from view. |
boolean |
canDragToColumn()
User can drag field to column area. |
void |
canDragToColumn(boolean value)
User can drag field to column area. |
boolean |
canDragToData()
True if the specified field can be dragged to the data position. |
void |
canDragToData(boolean value)
True if the specified field can be dragged to the data position. |
boolean |
canDragToPage()
User can drag field to page area. |
void |
canDragToPage(boolean value)
User can drag field to page area. |
boolean |
canDragToRow()
User can drag field to row area. |
void |
canDragToRow(boolean value)
User can drag field to row area. |
AutoSortScope |
getAutoSort()
Preserves the sorting elements of the field |
AxisTypes |
getAxis()
Gets field axis. |
java.lang.String |
getCaption()
Specifies the unique name of the member property to be used as a caption for the field and field items. |
boolean |
getCompact()
Specifies a boolean value that indicates whether the application will display fields compactly in the sheet on which this PivotTable resides |
boolean |
getDataField()
Gets value indicating whether this is data field. |
java.lang.String |
getFormula()
Specifies the formula for the calculated field |
int |
getItemsPerPage()
Specifies the number of items showed per page in the PivotTable. |
java.lang.String |
getName()
Returns pivot field name. |
java.lang.String |
getNumberFormat()
Gets/sets number format. |
int |
getNumberFormatIndex()
Gets / sets number format index. |
PivotTableFields |
getParent()
|
boolean |
getShowBlankRow()
True if a blank row is inserted after the specified row field in a PivotTable report. |
PivotFieldFormatType |
getShowDataAs()
Gets or sets the show data as. |
boolean |
getShowDropDown()
True if the flag for the specified PivotTable field or PivotTable item is set to "drilled" (expanded, or visible). |
boolean |
getShowNewItemsInFilter()
Specifies a boolean value that indicates whether manual filter is in inclusive mode. |
boolean |
getShowNewItemsOnRefresh()
Specifies a boolean value that indicates whether new items that appear after a refresh |
boolean |
getShowOutline()
Specifies a boolean value that indicates whether the items in this field should be shown in Outline form. |
boolean |
getShowPageBreak()
True if a page break is inserted after each field. |
boolean |
getShowPropAsCaption()
Specifies a boolean value that indicates whether to show the property as a member caption. |
boolean |
getShowToolTip()
Specifies a boolean value that indicates whether to show the member property value in a tooltip on the appropriate PivotTable cells. |
PivotFieldSortType |
getSortType()
Specifies the type of sort that is applied to this field. |
java.lang.String |
getSubtotalCaption()
Specifies the custom text that is displayed for the subtotals caption. |
SubtotalTypes |
getSubtotals()
Gets or sets type of field subtotals. |
boolean |
getSubtotalTop()
Get or set whether show |
void |
hideDetail(boolean isHiddenDetail)
Sets whether the PivotItems in a pivot field is hidden detail.That is collapse/expand this field. |
void |
hideItem(java.lang.String itemValue,
boolean isHidden)
Sets whether the specific PivotItem in a data field is hidden. |
void |
hideItemDetail(int index,
boolean isHiddenDetail)
Sets whether the specific PivotItem in a pivot field is hidden detail. |
void |
hideItemDetail(java.lang.String itemValue,
boolean isHiddenDetail)
Sets whether the PivotItems in a pivot field is hidden detail.That is collapse/expand this field. |
boolean |
isAutoShow()
Autoshow is enabled. |
void |
isAutoShow(boolean value)
Autoshow is enabled. |
boolean |
isDataField()
Gets/sets value indicating whether this is data field. |
boolean |
isDragToHide()
User can remove field from fiew. |
void |
isDragToHide(boolean value)
User can remove field from fiew. |
boolean |
isFormulaField()
Indicates whether this field is formula field |
boolean |
isHiddenItem(int index)
Indicates whether the specific PivotItem is hidden. |
boolean |
isHiddenItemDetail(int index)
Indicates whether the specific PivotItem is hidden detail. |
boolean |
isMultiSelected()
Specifies a boolean value that indicates whether the field can have multiple items selected in the page field. |
void |
isMultiSelected(boolean value)
Specifies a boolean value that indicates whether the field can have multiple items selected in the page field. |
boolean |
isShowAllItems()
Show all items for this field. |
void |
isShowAllItems(boolean value)
Show all items for this field. |
void |
setAutoSort(AutoSortScope value)
Preserves the sorting elements of the field |
void |
setAxis(AxisTypes axis)
Sets field axis. |
void |
setCaption(java.lang.String value)
Specifies the unique name of the member property to be used as a caption for the field and field items. |
void |
setCompact(boolean value)
Specifies a boolean value that indicates whether the application will display fields compactly in the sheet on which this PivotTable resides |
void |
setFormula(java.lang.String value)
Specifies the formula for the calculated field |
void |
setItemsPerPage(int value)
Specifies the number of items showed per page in the PivotTable. |
void |
setNumberFormat(java.lang.String value)
Gets/sets number format. |
void |
setNumberFormatIndex(int value)
Gets / sets number format index. |
void |
setShowBlankRow(boolean value)
True if a blank row is inserted after the specified row field in a PivotTable report. |
void |
setShowDataAs(PivotFieldFormatType value)
Gets or sets the show data as. |
void |
setShowDropDown(boolean value)
True if the flag for the specified PivotTable field or PivotTable item is set to "drilled" (expanded, or visible). |
void |
setShowNewItemsInFilter(boolean value)
Specifies a boolean value that indicates whether manual filter is in inclusive mode. |
void |
setShowNewItemsOnRefresh(boolean value)
Specifies a boolean value that indicates whether new items that appear after a refresh |
void |
setShowOutline(boolean value)
Specifies a boolean value that indicates whether the items in this field should be shown in Outline form. |
void |
setShowPageBreak(boolean value)
True if a page break is inserted after each field. |
void |
setShowPropAsCaption(boolean value)
Specifies a boolean value that indicates whether to show the property as a member caption. |
void |
setShowToolTip(boolean value)
Specifies a boolean value that indicates whether to show the member property value in a tooltip on the appropriate PivotTable cells. |
void |
setSortType(PivotFieldSortType value)
Specifies the type of sort that is applied to this field. |
void |
setSubtotalCaption(java.lang.String value)
Specifies the custom text that is displayed for the subtotals caption. |
void |
setSubtotals(SubtotalTypes value)
Gets or sets type of field subtotals. |
void |
setSubtotalTop(boolean value)
Get or set whether show |
void |
sort(java.lang.Boolean isAscendSort,
PivotDataField sortByField)
|
Constructor Detail |
---|
public XlsPivotField(java.lang.Object parent)
Method Detail |
---|
public PivotTableFields getParent()
public java.lang.String getName()
getName
in interface IPivotField
public AxisTypes getAxis()
getAxis
in interface IPivotField
public void setAxis(AxisTypes axis)
setAxis
in interface IPivotField
axis
- sets field axis.public java.lang.String getNumberFormat()
getNumberFormat
in interface IPivotField
public void setNumberFormat(java.lang.String value)
setNumberFormat
in interface IPivotField
value
- public SubtotalTypes getSubtotals()
getSubtotals
in interface IPivotField
public void setSubtotals(SubtotalTypes value)
setSubtotals
in interface IPivotField
value
- public boolean canDragToRow()
canDragToRow
in interface IPivotField
public void canDragToRow(boolean value)
canDragToRow
in interface IPivotField
value
- public boolean canDragToColumn()
canDragToColumn
in interface IPivotField
public void canDragToColumn(boolean value)
canDragToColumn
in interface IPivotField
value
- public boolean canDragToPage()
canDragToPage
in interface IPivotField
public void canDragToPage(boolean value)
canDragToPage
in interface IPivotField
value
- public boolean canDragOff()
canDragOff
in interface IPivotField
public void canDragOff(boolean value)
canDragOff
in interface IPivotField
value
- public boolean canDragToData()
canDragToData
in interface IPivotField
public void canDragToData(boolean value)
canDragToData
in interface IPivotField
value
- public boolean getDataField()
public boolean isDataField()
public int getNumberFormatIndex()
public void setNumberFormatIndex(int value)
value
- public java.lang.String getSubtotalCaption()
public void setSubtotalCaption(java.lang.String value)
value
- public boolean getSubtotalTop()
public void setSubtotalTop(boolean value)
value
- public boolean isAutoShow()
public void isAutoShow(boolean value)
value
- public boolean isDragToHide()
public void isDragToHide(boolean value)
value
- public boolean getShowNewItemsInFilter()
public void setShowNewItemsInFilter(boolean value)
value
- public boolean getShowNewItemsOnRefresh()
public void setShowNewItemsOnRefresh(boolean value)
value
- public boolean getShowBlankRow()
getShowBlankRow
in interface IPivotField
public void setShowBlankRow(boolean value)
setShowBlankRow
in interface IPivotField
value
- public boolean getShowPageBreak()
public void setShowPageBreak(boolean value)
value
- public int getItemsPerPage()
public void setItemsPerPage(int value)
value
- public boolean isMultiSelected()
public void isMultiSelected(boolean value)
value
- public boolean isShowAllItems()
public void isShowAllItems(boolean value)
value
- public boolean getShowOutline()
public void setShowOutline(boolean value)
value
- public boolean getShowDropDown()
public void setShowDropDown(boolean value)
value
- public boolean getShowPropAsCaption()
public void setShowPropAsCaption(boolean value)
value
- public boolean getShowToolTip()
public void setShowToolTip(boolean value)
value
- public PivotFieldSortType getSortType()
public void setSortType(PivotFieldSortType value)
value
- public java.lang.String getCaption()
public void setCaption(java.lang.String value)
value
- public boolean getCompact()
public void setCompact(boolean value)
value
- public java.lang.String getFormula()
getFormula
in interface IPivotField
public void setFormula(java.lang.String value)
setFormula
in interface IPivotField
value
- public boolean isFormulaField()
isFormulaField
in interface IPivotField
public AutoSortScope getAutoSort()
public void setAutoSort(AutoSortScope value)
value
- public PivotFieldFormatType getShowDataAs()
public void setShowDataAs(PivotFieldFormatType value)
value
- The show data as.public void addItemOption(int index)
public boolean isHiddenItemDetail(int index)
index
- the index of the pivotItem in the pivotField.
public void hideItemDetail(int index, boolean isHiddenDetail)
index
- the index of the pivotItem in the pivotField.isHiddenDetail
- whether the specific PivotItem is hiddenpublic void hideItemDetail(java.lang.String itemValue, boolean isHiddenDetail)
itemValue
- the value of the pivotItem in the pivotField.isHiddenDetail
- whether the specific PivotItem is hiddenpublic void hideDetail(boolean isHiddenDetail)
isHiddenDetail
- whether DetailItems is hiddenpublic boolean isHiddenItem(int index)
index
- the index of the pivotItem in the pivotField.
public void hideItem(java.lang.String itemValue, boolean isHidden)
itemValue
- the value of the pivotItem in the pivotField.isHidden
- whether the specific PivotItem is hiddenpublic void sort(java.lang.Boolean isAscendSort, PivotDataField sortByField)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |