|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the PivotRange field settings API.
| Inner Class Summary | |
static class |
FieldSettings.EAutoSortOption
Enumeration class for defining the auto sorting that should be applied to the items in this field. |
static class |
FieldSettings.ESubtotalType
Enumeration class for defining the type of Field subtotalling to use. |
| Inner classes inherited from class com.f1j.ss.pivot.BaseFieldSettings |
BaseFieldSettings.EFunctionType |
| Method Summary | |
java.lang.String |
getAutoShowField()
Returns the name of the summary field that will be used as the key for auto show. |
int |
getAutoShowFieldCount()
Returns the number of summary fields available for auto show. |
java.lang.String[] |
getAutoShowFields()
Returns an array of summary fields that can be used as the key field for auto show. |
int |
getAutoShowItemCount()
Returns the number of items that will be displayed with auto show. |
java.lang.String |
getAutoSortField()
Returns the name of the field that will be used when sorting in ascending or descending order. |
int |
getAutoSortFieldCount()
Returns the number of fields available for auto sort. |
java.lang.String[] |
getAutoSortFields()
Returns an array of fields that can be used as the key field when sorting in ascending or descending order. |
FieldSettings.EAutoSortOption |
getAutoSortOption()
Returns an enumeration indicating which auto sort option is currently applied to the items in the field. |
int |
getCustomSubtotalCount()
/** Returns the number of custom subtotals applied to this Field. |
FieldLayout |
getFieldLayout()
Returns a FieldLayout object for defining layout characteristics for the current Field. |
FieldSettings.ESubtotalType |
getSubtotalType()
Returns an enumeration indicating the type of subtotal, if any, to apply to the current Field. |
boolean |
isAutoShowEnabled()
Indicates whether auto show is enabled. |
boolean |
isAutoShowingTopItems()
Indicates whether top or bottom items are being shown. |
boolean |
isShowingAllItems()
Indicates whether all items in the PivotRange report are to being displayed, even if they do not contain summary data. |
boolean |
isSubtotalEnabled(BaseFieldSettings.EFunctionType function)
Indicates whether the indexed subtotal is enabled. |
void |
setAutoShowEnabled(boolean enabled)
Sets whether auto show is enabled. |
void |
setAutoShowField(java.lang.String name)
Sets the summary field that will be used for auto show. |
void |
setAutoShowingTopItems(boolean wantTopItems)
Sets whether top or bottom items should be shown. |
void |
setAutoSortField(java.lang.String name)
Sets the field that will be used when sorting in ascending or descending order. |
void |
setAutoSortOption(FieldSettings.EAutoSortOption option)
Sets which auto sort option should be applied to the items in the field. |
void |
setFieldLayout(FieldLayout fieldLayout)
Sets the layout characteristics of the current field. |
void |
setNumAutoShowItems(int count)
Sets the number of items that should be displayed with auto show. |
void |
setShowAllItems(boolean show)
Sets whether all items in the PivotRange report are to be displayed, even if they do not contain summary data. |
void |
setSubtotalEnabled(BaseFieldSettings.EFunctionType function,
boolean enabled)
Sets whether the subtotal function type should be enabled. |
void |
setSubtotalType(FieldSettings.ESubtotalType type)
Sets the type of subtotal, if any, to apply to the current Field. |
| Methods inherited from interface com.f1j.ss.pivot.RowColumnFieldSettings |
getItemCount,
getItems,
isVisible,
setVisibility |
| Methods inherited from interface com.f1j.ss.pivot.BaseFieldSettings |
getName,
getNumberFormat,
setName,
setNumberFormat |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public java.lang.String getAutoShowField()
Fieldpublic java.lang.String[] getAutoShowFields()
Fieldpublic java.lang.String getAutoSortField()
Fieldpublic java.lang.String[] getAutoSortFields()
Fieldpublic FieldSettings.EAutoSortOption getAutoSortOption()
FieldSettings.EAutoSortOption,
Fieldpublic FieldLayout getFieldLayout()
Field,
FieldLayoutpublic int getAutoShowFieldCount()
Fieldpublic int getAutoShowItemCount()
Fieldpublic int getAutoSortFieldCount()
Fieldpublic int getCustomSubtotalCount()
Fieldpublic FieldSettings.ESubtotalType getSubtotalType()
FieldSettings.ESubtotalType,
Fieldpublic boolean isAutoShowEnabled()
true = if subtotal is enabled.public boolean isAutoShowingTopItems()
true = if top items are being shown.public boolean isShowingAllItems()
true = if all items are being displayed.Field
public boolean isSubtotalEnabled(BaseFieldSettings.EFunctionType function)
throws com.f1j.util.InvalidIndexException,
F1Exception
function - The subtotal function type.true = if subtotal is enabled.public void setAutoShowEnabled(boolean enabled)
enabled - boolean. true = if auto show is enabled.public void setAutoShowingTopItems(boolean wantTopItems)
wantTopItems - boolean. true = if top items should be
shown.
public void setAutoShowField(java.lang.String name)
throws InvalidArgumentException,
F1Exception
name - The name of the auto show key field.Field
public void setAutoSortField(java.lang.String name)
throws InvalidArgumentException,
F1Exception
name - The name of the auto sort key field.Fieldpublic void setAutoSortOption(FieldSettings.EAutoSortOption option)
option - An enumeration of EAutoSortOption.FieldSettings.EAutoSortOption,
Fieldpublic void setFieldLayout(FieldLayout fieldLayout)
fieldLayout - A FieldLayout object.Field,
FieldLayoutpublic void setNumAutoShowItems(int count)
count - Number of items to show.Fieldpublic void setShowAllItems(boolean show)
show - true = if all items are displayed.Field
public void setSubtotalEnabled(BaseFieldSettings.EFunctionType function,
boolean enabled)
throws com.f1j.util.InvalidIndexException,
F1Exception
function - Subtotal function type.enabled - true = if subtotal is enabled.Fieldpublic void setSubtotalType(FieldSettings.ESubtotalType type)
type - An enumeration of ESubtotalType.FieldSettings.ESubtotalType,
Field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||