|
|||||||||
| 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. |
|
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( 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 ipivotfieldpublic axistypes getaxis()
getaxis in interface ipivotfieldpublic void setaxis(axistypes axis)
setaxis in interface ipivotfieldaxis - sets field axis.public java.lang.string getnumberformat()
getnumberformat in interface ipivotfieldpublic void setnumberformat(java.lang.string value)
setnumberformat in interface ipivotfieldvalue - public subtotaltypes getsubtotals()
getsubtotals in interface ipivotfieldpublic void setsubtotals(subtotaltypes value)
setsubtotals in interface ipivotfieldvalue - public boolean candragtorow()
candragtorow in interface ipivotfieldpublic void candragtorow(boolean value)
candragtorow in interface ipivotfieldvalue - public boolean candragtocolumn()
candragtocolumn in interface ipivotfieldpublic void candragtocolumn(boolean value)
candragtocolumn in interface ipivotfieldvalue - public boolean candragtopage()
candragtopage in interface ipivotfieldpublic void candragtopage(boolean value)
candragtopage in interface ipivotfieldvalue - public boolean candragoff()
candragoff in interface ipivotfieldpublic void candragoff(boolean value)
candragoff in interface ipivotfieldvalue - public boolean candragtodata()
candragtodata in interface ipivotfieldpublic void candragtodata(boolean value)
candragtodata in interface ipivotfieldvalue - 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 ipivotfieldpublic void setshowblankrow(boolean value)
setshowblankrow in interface ipivotfieldvalue - 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 ipivotfieldpublic void setformula(java.lang.string value)
setformula in interface ipivotfieldvalue - public boolean isformulafield()
isformulafield in interface ipivotfieldpublic getautosort()
public void setautosort( 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 | ||||||||