Modifier and Type | Field and Description |
---|---|
static int |
ONE_ZERO
1/0
|
static int |
T_F
T/F
|
static int |
TRUE_FALSE
True/False
|
static int |
Y_N
Y/N
|
static int |
YES_NO
Yes/No
|
BARCODE, DATETIME, IMAGEURL, LOCALEDATETIME, LOCALENUMERIC, LOGICAL, NUMERIC, STRING, TEXTURL
Constructor and Description |
---|
LogicalFormat(int format)
Create a LogicalFormat instance
|
Modifier and Type | Method and Description |
---|---|
static LogicalFormat |
createFormat(java.lang.String text)
For internal use only
|
java.lang.String |
format(java.lang.Object obj)
Define quadbase.reportdesigner.util.IFormat Format the object if it is an instance of
Boolean, otherwise call the default toString() method
|
int |
getformat()
Get the current format
|
int |
getFormatType()
Define quadbase.reportdesigner.util.IFormat Return the type of
quadbase.reportdesigner.util.IFormat
|
java.lang.String |
getTextFormat()
For internal use only
|
void |
setformat(int format)
Set logical format
|
public static final int T_F
public static final int TRUE_FALSE
public static final int YES_NO
public static final int Y_N
public static final int ONE_ZERO
public LogicalFormat(int format)
format
- one of T_F, TRUE_FALSE, YES_NO, Y_N, ONE_ZEROpublic int getFormatType()
getFormatType
in interface IFormat
public java.lang.String format(java.lang.Object obj)
public int getformat()
return
- current formatpublic void setformat(int format)
format
- new formatpublic java.lang.String getTextFormat()
getTextFormat
in interface IFormat
public static LogicalFormat createFormat(java.lang.String text) throws java.lang.Exception
java.lang.Exception