|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.FilterItem
public abstract class FilterItem
This abstract class is used to represent an item in a formula string. This is used as a base class for
the FieldRangeFilterItem object and the OperatorFilterItem object.
| Constructor Summary | |
|---|---|
FilterItem()
|
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
clone(boolean deepClone)
|
abstract java.lang.String |
computeText()
Returns a String representation of the field value that can be used in a report formula. |
abstract void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
|
abstract java.lang.String |
displayText(FieldDisplayNameType displayNameType,
java.util.Locale locale)
Returns the field's value as a localized and formatted string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterItem()
| Method Detail |
|---|
public abstract java.lang.Object clone(boolean deepClone)
public abstract java.lang.String computeText()
IFilterItem
Returns a String representation of the field value that can be used in a report formula.
The string is not formatted or localized. The syntax will always be Crystal syntax.
If the field contains a date, computeText returns Date(x, x, x); if it
contains a date and time, computeText returns DateTime(x, x, x, x, x, x).
However, when the date is 1900, 0, 1 (the Java start date), computeText returns
Time(x, x, x). If you want to set a field to a time value only (that is, with no date),
you should set the date to 1900, 0, 1, so that computeText will retrieve the correct
information.
computeText in interface IFilterItemString representation of the field value that can be used in a report formula.
public abstract void copyTo(java.lang.Object destObject,
boolean deepCopy)
public abstract java.lang.String displayText(FieldDisplayNameType displayNameType,
java.util.Locale locale)
IFilterItemReturns the field's value as a localized and formatted string.
displayText in interface IFilterItemdisplayNameType - How the field names in the filter should be formatted.locale - The locale that is used to format the string. If this value is not specified and you
are writing a Win32 application, the locale will be the user's default locale. If you are writing a
thin client (a script that is running on a server) and this value is not specified, the server's
default locale will be used.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||