Klasse SpecialField
java.lang.Object
com.inet.report.Field
com.inet.report.SpecialField
- Alle implementierten Schnittstellen:
NodeParser, com.inet.report.ReferencedObject, Serializable
The
This class is part of the
SpecialField was created for contents that's source is in the environment of the
running engine or of the engine itself. That can be the date or time when the report was printed,
or the current page number, the name of the author of the report, etc.
This class is part of the
RDC.- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifikator und TypKlasseBeschreibungstatic enumFOR INTERNAL USE ONLYVon Klasse geerbte verschachtelte Klassen/Schnittstellen Field
Field.FieldAttributeTag -
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final intThe type of theSpecialField"Content Locale".static final intThe type of theSpecialField"Creation Date".static final intThe type of theSpecialField"Current User ID".static final intThe type of theSpecialField"Current User Name".static final intThe type of theSpecialField"Current User Time Zone".static final intThe type of theSpecialField"Data Date".static final intThe type of theSpecialField"Data Time".static final intThe type of theSpecialField"Data Time Zone".static final intThe type of theSpecialField"Group Number".static final intThe type of theSpecialField"Group Selection Formula".static final intThe type of theSpecialField"Horizontal Page Number".static final intThe type of theSpecialField"Modification Date".static final intThe type of theSpecialField"Modification Time".static final intThe type of theSpecialField"Page N of M".static final intThe type of theSpecialField"Page Number".static final intThe type of theSpecialField"Print Date".static final intThe type of theSpecialField"Print Time".static final intThe type of theSpecialField"Print Time Zone".static final intThe type of theSpecialField"Record Count".static final intThe type of theSpecialField"Record Number".static final intThe type of theSpecialField"Record Selection Formula".static final intThe type of theSpecialField"Report Author".static final intThe type of theSpecialField"Report Comments".static final intThe type of theSpecialField"Report File".static final intThe type of theSpecialField"Report Title".static final intThe type of theSpecialField"Selection Locale".static final intThe type of theSpecialField"Total Page Count".Von Klasse geerbte Felder Field
BINARY, BOOLEAN, CURRENCY, CURSOR, DATABASE_FIELD, DATE, DATETIME, FORMULA_FIELD, GROUP_NAME_FIELD, NUMBER, PARAMETER_FIELD, SORT_FIELD, SPECIAL_FIELD, SQL_FIELD, STRING, SUMMARY_FIELD, TIME, UNKNOWN -
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleanReturns whether this SpecialField is equal to the supplied SpecialField.getName()Returns the value of the property 'name'.Returns the name of the operation of thisSpecialField, i.e.Returns a reference name identifying this SpecialField.intReturns the type of the special field.protected voidsaveFieldXML2(PrintWriter pw, int depth) FOR INTERNAL USE ONLYvoidSets a new name for thisSpecialField.voidsetSpecialType(int type) Sets the type of the special field.Von Klasse geerbte Methoden Field
addReferenceHolder, checkNameExists, duplicate, extractReference, getField, getGroup, getPlaceholderName, getRealReferenceCount, getReferenceHolderCount, getReferenceHolders, getType, getValueType, indexOf, isDOMParser, isUsed, paramString, parseDOM, parseElement, parseEndElement, parseText, removeReferenceHolder, rename, setField, setGroup, setValueType, trimAwayBrackets
-
Felddetails
-
PRINT_DATE
public static final int PRINT_DATEThe type of theSpecialField"Print Date".- Siehe auch:
-
PRINT_TIME
public static final int PRINT_TIMEThe type of theSpecialField"Print Time".- Siehe auch:
-
MODIFICATION_DATE
public static final int MODIFICATION_DATEThe type of theSpecialField"Modification Date". This is the last save date of the rpt file.- Siehe auch:
-
MODIFICATION_TIME
public static final int MODIFICATION_TIMEThe type of theSpecialField"Modification Time". This is the last save time of the rpt file.- Siehe auch:
-
DATA_DATE
public static final int DATA_DATEThe type of theSpecialField"Data Date". Because i-net Clear Reports not supports "Save data with report" this is ever the print date.- Siehe auch:
-
DATA_TIME
public static final int DATA_TIMEThe type of theSpecialField"Data Time". Because i-net Clear Reports not supports "Save data with report" this is ever the print time.- Siehe auch:
-
RECORD_NUMBER
public static final int RECORD_NUMBERThe type of theSpecialField"Record Number".- Siehe auch:
-
PAGE_NUMBER
public static final int PAGE_NUMBERThe type of theSpecialField"Page Number".- Siehe auch:
-
GROUP_NUMBER
public static final int GROUP_NUMBERThe type of theSpecialField"Group Number".- Siehe auch:
-
TOTAL_PAGE_COUNT
public static final int TOTAL_PAGE_COUNTThe type of theSpecialField"Total Page Count".- Siehe auch:
-
REPORT_TITLE
public static final int REPORT_TITLEThe type of theSpecialField"Report Title".- Siehe auch:
-
REPORT_COMMENTS
public static final int REPORT_COMMENTSThe type of theSpecialField"Report Comments".- Siehe auch:
-
RECORD_SELECTION_FORMULA
public static final int RECORD_SELECTION_FORMULAThe type of theSpecialField"Record Selection Formula".- Siehe auch:
-
GROUP_SELECTION_FORMULA
public static final int GROUP_SELECTION_FORMULAThe type of theSpecialField"Group Selection Formula".- Siehe auch:
-
REPORT_FILE
public static final int REPORT_FILEThe type of theSpecialField"Report File".- Siehe auch:
-
REPORT_AUTHOR
public static final int REPORT_AUTHORThe type of theSpecialField"Report Author".- Siehe auch:
-
CREATION_DATE
public static final int CREATION_DATEThe type of theSpecialField"Creation Date".- Siehe auch:
-
PAGE_N_OF_M
public static final int PAGE_N_OF_MThe type of theSpecialField"Page N of M".- Siehe auch:
-
RECORD_COUNT
public static final int RECORD_COUNTThe type of theSpecialField"Record Count". The number of records fetched for the report.- Seit:
- 6.0
- Siehe auch:
-
HORIZONTAL_PAGE_NUMBER
public static final int HORIZONTAL_PAGE_NUMBERThe type of theSpecialField"Horizontal Page Number".- Siehe auch:
-
CURRENT_USER_NAME
public static final int CURRENT_USER_NAMEThe type of theSpecialField"Current User Name".- Siehe auch:
-
CURRENT_USER_ID
public static final int CURRENT_USER_IDThe type of theSpecialField"Current User ID".- Siehe auch:
-
CURRENT_USER_TIME_ZONE
public static final int CURRENT_USER_TIME_ZONEThe type of theSpecialField"Current User Time Zone".- Siehe auch:
-
PRINT_TIME_ZONE
public static final int PRINT_TIME_ZONEThe type of theSpecialField"Print Time Zone".- Siehe auch:
-
DATA_TIME_ZONE
public static final int DATA_TIME_ZONEThe type of theSpecialField"Data Time Zone".- Siehe auch:
-
CONTENT_LOCALE
public static final int CONTENT_LOCALEThe type of theSpecialField"Content Locale".- Siehe auch:
-
SELECTION_LOCALE
public static final int SELECTION_LOCALEThe type of theSpecialField"Selection Locale".- Seit:
- 8.3
- Siehe auch:
-
-
Methodendetails
-
setName
Sets a new name for thisSpecialField. As it is not possible to change the name of aSpecialFieldthis will cause a ReportException to be thrown always.- Angegeben von:
setNamein KlasseField- Parameter:
newValue- The name which should be set for thisSpecialField.- Löst aus:
IllegalStateException- Always, as it is not possible to change the name of aSpecialField.- Seit:
- 6.0
-
getOperationName
Returns the name of the operation of thisSpecialField, i.e. SpecialField RECORD_NUMBER -> "RecordNumber"- Gibt zurück:
- String Name of the operation
- Seit:
- 6.0
-
setSpecialType
public void setSpecialType(int type) Sets the type of the special field. Must be one of the special field constants.- Parameter:
type- the special type of this field- Seit:
- 6.0
- Siehe auch:
-
getSpecialType
public int getSpecialType()Returns the type of the special field. Will be one of the special field constants.- Gibt zurück:
- the special field type
- Seit:
- 6.0
- Siehe auch:
-
saveFieldXML2
FOR INTERNAL USE ONLY- Angegeben von:
saveFieldXML2in KlasseField- Parameter:
pw- the print writerdepth- the current depth
-
getRefName
Returns a reference name identifying this SpecialField. The returned name consists of "SpecialField:" and the SpecialField oprtation type.- Setzt außer Kraft:
getRefNamein KlasseField- Gibt zurück:
- The reference name for this SpecialField.
- Seit:
- 6.0
- Siehe auch:
-
equals
Returns whether this SpecialField is equal to the supplied SpecialField. This will test if the SpecialField operation types are equal. -
getName
-