|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
this interface contains the API for defining a PivotRange field group.
| Inner Class Summary | |
static class |
FieldGroupDef.EDateType
|
static class |
FieldGroupDef.EType
Enumeration class identifying the type of field group. |
| Method Summary | |
boolean |
allowIncrementAdjustment()
Indicates whether the increment can be adjusted based on other grouping characteristics, such as the date type for date grouping. |
int |
getDateTypeTitleCount()
Returns the number of date type titles. |
java.lang.String[] |
getDateTypeTitles()
Returns an array of titles for the types of date grouping. |
double |
getFinalValue()
Returns the final grouping value for this field. |
java.lang.String |
getFinalValueAsString()
Returns the final grouping value for this field as a string. |
double |
getIncrement()
Returns the grouping increment for this field. |
java.lang.String |
getIncrementAsString()
Returns the final grouping increment as a string. |
double |
getInitialValue()
Returns the initial grouping value for this field. |
java.lang.String |
getInitialValueAsString()
Returns the initial grouping value for this field as a string. |
FieldGroupDef.EType |
getType()
Returns an enumeration identifying the type of grouping. |
boolean |
isDateTypeEnabled(FieldGroupDef.EDateType dateType)
Indicates whether the specified date type is enabled for grouping. |
boolean |
isDateTypeEnabled(int index)
Indicates whether the specified date type is enabled for grouping. |
void |
setDateTypeEnabled(FieldGroupDef.EDateType dateType,
boolean enabled)
Sets whether the specified date type is enabled for grouping. |
void |
setDateTypeEnabled(int index,
boolean enabled)
Sets whether the specified date type is enabled for grouping. |
void |
setFinalValue(double value)
Sets the final grouping value for this field. |
void |
setFinalValue(java.lang.String str)
Sets the final grouping value for this field from a string. |
void |
setIncrement(double value)
Sets the grouping increment for this field. |
void |
setIncrement(java.lang.String str)
Sets the grouping increment for this field from a string. |
void |
setInitialValue(double value)
Sets the initial grouping value for this field. |
void |
setInitialValue(java.lang.String str)
Sets the initial grouping value for this field from a string. |
void |
setWantsDefaultFinalValue(boolean useDefault)
Sets whether the default final group value should be used. |
void |
setWantsDefaultInitialValue(boolean useDefault)
Sets whether the default initial group value should be used. |
boolean |
wantsDefaultFinalValue()
Indicates that the default final group value should be used. |
boolean |
wantsDefaultInitialValue()
Indicates that the default initiali group value should be used. |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public boolean allowIncrementAdjustment()
true = if increment can be adjusted.
public java.lang.String[] getDateTypeTitles()
throws InvalidStateException,
F1Exception
public double getFinalValue()
Fieldpublic java.lang.String getFinalValueAsString()
Fieldpublic double getIncrement()
Fieldpublic java.lang.String getIncrementAsString()
Fieldpublic double getInitialValue()
Fieldpublic java.lang.String getInitialValueAsString()
Field
public int getDateTypeTitleCount()
throws InvalidStateException,
F1Exception
public FieldGroupDef.EType getType()
Field
public boolean isDateTypeEnabled(int index)
throws InvalidStateException,
com.f1j.util.InvalidIndexException,
F1Exception
index - Index of the desired date type.true = if date type is enabled.
public boolean isDateTypeEnabled(FieldGroupDef.EDateType dateType)
throws InvalidStateException,
F1Exception
dateType - Enumeration identifying the desired date type.true = if date type is enabled.FieldGroupDef.EDateType
public void setDateTypeEnabled(int index,
boolean enabled)
throws InvalidStateException,
com.f1j.util.InvalidIndexException,
F1Exception
index - Index of the desired date type.enabled - boolean. true = if date type is enabled.
public void setDateTypeEnabled(FieldGroupDef.EDateType dateType,
boolean enabled)
throws InvalidStateException,
F1Exception
dateType - Enumeration identifying the desired date type.enabled - boolean. true = if date type is enabled.FieldGroupDef.EDateTypepublic void setFinalValue(double value)
value - The final group value.Field
public void setFinalValue(java.lang.String str)
throws InvalidArgumentException,
F1Exception
str - The final group value as a string.Fieldpublic void setIncrement(double value)
value - The grouping increment for this field.Field
public void setIncrement(java.lang.String str)
throws InvalidArgumentException,
F1Exception
str - The grouping increment as a string.Fieldpublic void setInitialValue(double value)
value - The initial group value.Field
public void setInitialValue(java.lang.String str)
throws InvalidArgumentException,
F1Exception
str - The initial group value as a string.Fieldpublic void setWantsDefaultFinalValue(boolean useDefault)
useDefault - boolean. true = if default value
should be used.public void setWantsDefaultInitialValue(boolean useDefault)
useDefault - boolean. true = if default value
should be used.public boolean wantsDefaultFinalValue()
true = if default value should be used.public boolean wantsDefaultInitialValue()
true = if default value should be used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||