Package quadbase.reportdesigner.util
Interface IFormat
- All Known Implementing Classes:
BarcodeFormat,ImageURLFormat,LocaleDateTimeFormat,LocaleNumericFormat,LogicalFormat,NumericFormat,StringFormat,TextURLFormat
public interface IFormat
Tagging interface for data formats.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intdata format type is Barcodestatic final intdata format type is DateTimestatic final intstatic final intdata format type is LocaleDateTimestatic final intdata format type is LocaleNumericstatic final intdata format type is Logicalstatic final intdata format type is Numericstatic final intdata format type is Stringstatic final int -
Method Summary
Modifier and TypeMethodDescriptionConvert the object to a string using the formatting rules encapsulated by the IFormat subclassintReturns the type of formatFor internal use only
-
Field Details
-
LOGICAL
static final int LOGICALdata format type is Logical- See Also:
-
NUMERIC
static final int NUMERICdata format type is Numeric- See Also:
-
LOCALENUMERIC
static final int LOCALENUMERICdata format type is LocaleNumeric- See Also:
-
DATETIME
static final int DATETIMEdata format type is DateTime- See Also:
-
LOCALEDATETIME
static final int LOCALEDATETIMEdata format type is LocaleDateTime- See Also:
-
STRING
static final int STRINGdata format type is String- See Also:
-
BARCODE
static final int BARCODEdata format type is Barcode- See Also:
-
IMAGEURL
static final int IMAGEURL- See Also:
-
TEXTURL
static final int TEXTURL- See Also:
-
-
Method Details
-
getFormatType
int getFormatType()Returns the type of format- Returns:
- LOGICAL, NUMERIC, LOCALENUMERIC, DATETIME, LOCALEDATETIME, STRING BARCODE, IMAGEURL, or TEXTURL
-
format
Convert the object to a string using the formatting rules encapsulated by the IFormat subclass- Returns:
- Formatted string
-
getTextFormat
String getTextFormat()For internal use only
-