|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.util.DisplayType
public final class DisplayType
System Display Types.
SELECT AD_Reference_ID, Name FROM AD_Reference WHERE ValidationType = 'D'
| Field Summary | |
|---|---|
static int |
Account
Display Type 25 Account |
static int |
Amount
Display Type 12 Amount |
static int |
Assignment
Display Type 33 Assignment |
static int |
Binary
Display Type 23 BLOB |
static int |
Button
Display Type 28 Button |
static int |
Color
Display Type 27 Color |
static int |
CostPrice
Display Type 37 CostPrice |
static int |
Date
Display Type 15 Date |
static int |
DateTime
Display Type 16 DateTime |
static int |
FileName
Display Type 39 File Name |
static int |
FilePath
Display Type 38 File Path |
static int |
ID
Display Type 13 ID |
static int |
Image
Display Type 32 Image |
static int |
Integer
Display Type 11 Integer |
static int |
List
Display Type 17 List |
static int |
Location
Display Type 21 Location |
static int |
Locator
Display Type 31 Locator |
static int |
Memo
Display Type 34 Memo |
static int |
Number
Display Type 22 Number |
static int |
PAttribute
Display Type 35 PAttribute |
static int |
PrinterName
Display Type 42 PrinterName |
static int |
Quantity
Display Type 29 Quantity |
static int |
RowID
Display Type 26 RowID |
static int |
Search
Display Type 30 Search |
static int |
String
Display Type 10 String |
static int |
Table
Display Type 18 Table |
static int |
TableDir
Display Type 19 TableDir |
static int |
Text
Display Type 14 Text |
static int |
TextLong
Display Type 36 CLOB |
static int |
Time
Display Type 24 Time |
static int |
URL
Display Type 40 URL |
static int |
YesNo
Display Type 20 YN |
| Constructor Summary | |
|---|---|
DisplayType()
|
|
| Method Summary | |
|---|---|
static Class |
getClass(int displayType,
boolean yesNoAsBoolean)
Return Storage Class. |
static SimpleDateFormat |
getDateFormat_JDBC()
JDBC Date Format YYYY-MM-DD |
static SimpleDateFormat |
getDateFormat()
Return Date Format |
static SimpleDateFormat |
getDateFormat(int displayType)
Return format for date displayType |
static SimpleDateFormat |
getDateFormat(int displayType,
Language language)
Return format for date displayType |
static SimpleDateFormat |
getDateFormat(Language language)
Return Date Format |
static int |
getDefaultPrecision(int displayType)
Get Default Precision. |
static String |
getDescription(int displayType)
Get Description |
static DecimalFormat |
getNumberFormat(int displayType)
Return Format for numeric DisplayType |
static DecimalFormat |
getNumberFormat(int displayType,
Language language)
Return Format for numeric DisplayType |
static String |
getSQLDataType(int displayType,
String columnName,
int fieldLength)
Get SQL DataType |
static SimpleDateFormat |
getTimestampFormat_Default()
JDBC Timestamp Format yyyy-mm-dd hh:mm:ss |
static boolean |
isDate(int displayType)
Returns truem if DisplayType is a Date. |
static boolean |
isID(int displayType)
Returns true if (numeric) ID (Table, Search, Account, ..). |
static boolean |
isLOB(int displayType)
Returns true if DisplayType is a Large Object |
static boolean |
isLookup(int displayType)
Returns true if DisplayType is a VLookup (List, Table, TableDir, Search). |
static boolean |
isNumeric(int displayType)
Returns true, if DisplayType is numeric (Amount, Number, Quantity, Integer). |
static boolean |
isText(int displayType)
Returns true, if DisplayType is text (String, Text, TextLong, Memo). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int String
public static final int Integer
public static final int Amount
public static final int ID
public static final int Text
public static final int Date
public static final int DateTime
public static final int List
public static final int Table
public static final int TableDir
public static final int YesNo
public static final int Location
public static final int Number
public static final int Binary
public static final int Time
public static final int Account
public static final int RowID
public static final int Color
public static final int Button
public static final int Quantity
public static final int Search
public static final int Locator
public static final int Image
public static final int Assignment
public static final int Memo
public static final int PAttribute
public static final int TextLong
public static final int CostPrice
public static final int FilePath
public static final int FileName
public static final int URL
public static final int PrinterName
| Constructor Detail |
|---|
public DisplayType()
| Method Detail |
|---|
public static boolean isID(int displayType)
displayType - Display Type
public static boolean isNumeric(int displayType)
displayType - Display Type
public static int getDefaultPrecision(int displayType)
displayType - display type
public static boolean isText(int displayType)
displayType - Display Type
public static boolean isDate(int displayType)
displayType - Display Type
public static boolean isLookup(int displayType)
displayType - Display Type
public static boolean isLOB(int displayType)
displayType - Display Type
public static DecimalFormat getNumberFormat(int displayType,
Language language)
displayType - Display Type (default Number)language - Language
public static DecimalFormat getNumberFormat(int displayType)
displayType - Display Type
public static SimpleDateFormat getDateFormat()
public static SimpleDateFormat getDateFormat(Language language)
language - Language
public static SimpleDateFormat getDateFormat(int displayType)
displayType - Display Type
public static SimpleDateFormat getDateFormat(int displayType,
Language language)
displayType - Display Type (default Date)language - Language
public static SimpleDateFormat getDateFormat_JDBC()
public static SimpleDateFormat getTimestampFormat_Default()
public static Class getClass(int displayType,
boolean yesNoAsBoolean)
displayType - Display TypeyesNoAsBoolean - - yes or no as boolean
public static String getSQLDataType(int displayType,
String columnName,
int fieldLength)
displayType - AD_Reference_IDcolumnName - namefieldLength - length
public static String getDescription(int displayType)
displayType - display Type
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||