|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the API for setting PivotRange characteristics, such as the name.
| Field Summary | |
static int |
kMaxPageWrapCount
The maximum allowed value in the page wrap count. |
static int |
kMinPageWrapCount
The minimum allowed value in the page wrap count. |
| Method Summary | |
boolean |
alwaysDisplayItems()
Indicates whether the row and column items will be displayed when a data field has not been added. |
boolean |
displayErrorString()
Indicates whether a custom string should be used for errors in the data area. |
boolean |
displayNullString()
Indicates whether a custom string should be used for empty cells in the data area. |
java.lang.String |
getErrorString()
Returns the custom string that should be used for errors in the data area. |
java.lang.String |
getName()
Returns the name of the PivotRange. |
java.lang.String |
getNullString()
Returns the custom string that should be used for empty cells in the data area. |
int |
getPageWrapCount()
Returns the wrap count that should be used in the page area. |
boolean |
isDrillDownEnabled()
Indicates whether drill down is allowed in Fields. |
boolean |
preserveFormatting()
Indicates whether the custom formatting should be preserved. |
boolean |
repeatLabelsWhenPrinting()
Indicates whether field labels should be shown on every page while printing. |
void |
setAlwaysDisplayItems(boolean alwaysDisplayItems)
Set whether the row and column items should be displayed when a data field has not been added. |
void |
setDisplayErrorString(boolean displayErrorString)
Sets whether the custom string should be used for errors in the data area. |
void |
setDisplayNullString(boolean displayNullString)
Sets whether the custom string should be used for empty cells in the data area. |
void |
setDrillDownEnabled(boolean enabled)
Sets whether drill down is allowed in Fields. |
void |
setErrorString(java.lang.String str)
Sets the custom string should be used for errors in the data area. |
void |
setName(java.lang.String str)
Sets the name of the PivotRange. |
void |
setNullString(java.lang.String str)
Sets the custom string should be used for empty cells in the data area. |
void |
setPageWrapCount(int count)
Sets the page area wrap count. |
void |
setPreserveFormatting(boolean preserveFormatting)
Sets whether the custom formatting should be preserved. |
void |
setRepeatLabelsWhenPrinting(boolean repeatLabels)
Sets whether field labels should be shown on every page while printing. |
void |
setSubtotalHiddenPageItems(boolean subtotalHiddenItems)
Sets whether hidden items in page area should be included in subtotals. |
void |
setUseAcrossPageLayout(boolean useAcrossLayout)
Sets the layout direction of Fields in the page area. |
void |
setUseAutoFormat(boolean useAutoFormat)
Sets whether autoformatting should be allowed. |
void |
setWantColumnGrandTotal(boolean wantTotal)
Sets whether grand totals should be diplayed for Fields in the column area. |
void |
setWantMergedLabels(boolean wantMergedLabels)
Sets whether an Item label and adjoining empty cells should be treated as merged cells in the row and column areas. |
void |
setWantPrintedTitles(boolean wantTitles)
Indicates whether printed titles should be used. |
void |
setWantRowGrandTotal(boolean wantTotal)
Sets whether grand totals should be diplayed for Fields in the row area. |
boolean |
subtotalHiddenPageItems()
Indicates whether hidden items in page area should be included in subtotals. |
boolean |
useAcrossPageLayout()
Indicates the layout direction of Fields in the page area. |
boolean |
useAutoFormat()
Indicates whether autoformatting should be allowed. |
boolean |
wantColumnGrandTotal()
Indicates whether grand totals will be diplayed for Fields in the column area. |
boolean |
wantMergedLabels()
Indicates whether an Item label and adjoining empty cells will be treated as merged cells in the row and column areas. |
boolean |
wantPrintedTitles()
Sets whether printed titles should be used. |
boolean |
wantRowGrandTotal()
Indicates whether grand totals will be diplayed for Fields in the row area. |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Field Detail |
public static final int kMinPageWrapCount
public static final int kMaxPageWrapCount
| Method Detail |
public boolean alwaysDisplayItems()
true = if row/column fields will be
displayed when no data field is present.PivotRangepublic boolean displayErrorString()
true = if a custom string should be used.PivotRangepublic boolean displayNullString()
true = if a custom string should be used.PivotRangepublic java.lang.String getErrorString()
PivotRangepublic java.lang.String getName()
PivotRangepublic java.lang.String getNullString()
PivotRangepublic int getPageWrapCount()
PivotRangepublic boolean isDrillDownEnabled()
true = if drill down is allowed.Field,
PivotRangepublic boolean preserveFormatting()
true = if formatting is preserved.PivotRangepublic boolean repeatLabelsWhenPrinting()
true = if want labels on every page.PivotRangepublic void setAlwaysDisplayItems(boolean alwaysDisplayItems)
alwaysDisplayItems - true = if row/column fields
should be displayed when no data field is present.PivotRangepublic void setDisplayErrorString(boolean displayErrorString)
displayErrorString - boolean. true to display the
custom string.PivotRangepublic void setDisplayNullString(boolean displayNullString)
displayNullString - boolean. true to display the
custom string.PivotRangepublic void setErrorString(java.lang.String str)
str - The custom string that should be used for errors in the data
area.PivotRange
public void setName(java.lang.String str)
throws DuplicateNameException,
com.f1j.ss.pivot.InvalidNameException,
F1Exception
str - The name of the PivotRange.PivotRangepublic void setNullString(java.lang.String str)
str - The custom string that should be used for empty cells in
the data area.PivotRange
public void setPageWrapCount(int count)
throws InvalidArgumentException,
F1Exception
count - The number of fields to show in page area before wrapping.PivotRangepublic void setDrillDownEnabled(boolean enabled)
enabled - boolean. true = if drill down is allowed.Field,
PivotRangepublic void setPreserveFormatting(boolean preserveFormatting)
preserveFormatting - boolean. true = if formatting
is preserved.Field,
PivotRangepublic void setRepeatLabelsWhenPrinting(boolean repeatLabels)
repeatLabels - boolean. true = if want labels on
every page.PivotRangepublic void setSubtotalHiddenPageItems(boolean subtotalHiddenItems)
subtotalHiddenItems - boolean. true = if hidden
page items should be included in subtotals.PivotRangepublic void setUseAcrossPageLayout(boolean useAcrossLayout)
useAcrossLayout - boolean. true = if fields should
be displayed across then down. false = if fields should be
displayed down then across.Field,
PivotRangepublic void setUseAutoFormat(boolean useAutoFormat)
useAutoFormat - boolean. true = if autoformatting
is allowed.PivotRangepublic void setWantColumnGrandTotal(boolean wantTotal)
wantTotal - boolean. true = if grand totals should
be displayed.Field,
PivotRangepublic void setWantMergedLabels(boolean wantMergedLabels)
wantMergedLabels - boolean. true = if merged cells
should be used.Item,
PivotRangepublic void setWantPrintedTitles(boolean wantTitles)
wantTitles - boolean. true = if using printed
titles.PivotRangepublic void setWantRowGrandTotal(boolean wantTotal)
wantTotal - boolean. true = if grand totals should
be displayed.Field,
PivotRangepublic boolean subtotalHiddenPageItems()
true = if hidden page items should be
included in subtotals.PivotRangepublic boolean useAcrossPageLayout()
true = if fields will be displayed across
then down. false = if fields will be displayed down then
across.Field,
PivotRangepublic boolean useAutoFormat()
true = if autoformatting is allowed.PivotRangepublic boolean wantColumnGrandTotal()
true = if grand totals should be
displayed.Field,
PivotRangepublic boolean wantMergedLabels()
true = if merged cells will be used.Item,
PivotRangepublic boolean wantPrintedTitles()
true = if using printed titles.PivotRangepublic boolean wantRowGrandTotal()
true = if grand totals should be
displayed.Field,
PivotRange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||