|
ALBPM Process API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ColumnFormatType>
fuego.papi.ColumnFormatType
public enum ColumnFormatType
Enumerates the column format types.
| Method Summary | |
|---|---|
Format |
getFormat(Locale locale)
Gets the formatter for the given locale |
Format |
getFormat(Locale locale,
String pattern)
Gets the custom formatter for the given locale and pattern |
String |
getFormatPreview(Locale locale)
|
String |
getFormatPreview(Locale locale,
String pattern)
|
fuego.resources.Msg |
getMsg()
For internal use only. |
static List<ColumnFormatType> |
getNumericalFormatTypes()
Gets all numerical format types. |
String |
getString()
Gets the String representation of this format type. |
String |
getString(Locale locale)
Gets the localized String representation of this format type. |
static List<ColumnFormatType> |
getTimeFormatTypes()
Gets all time format types. |
boolean |
isCustom()
Is custom format type ? |
static ColumnFormatType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ColumnFormatType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ColumnFormatType DATE_FULL
public static final ColumnFormatType DATE_LONG
public static final ColumnFormatType DATE_MEDIUM
public static final ColumnFormatType DATE_SHORT
public static final ColumnFormatType DATE_TIME_FULL
public static final ColumnFormatType DATE_TIME_LONG
public static final ColumnFormatType DATE_TIME_MEDIUM
public static final ColumnFormatType DATE_TIME_SHORT
public static final ColumnFormatType DATE_CUSTOM
public static final ColumnFormatType TIME_FULL
public static final ColumnFormatType TIME_LONG
public static final ColumnFormatType TIME_MEDIUM
public static final ColumnFormatType TIME_SHORT
public static final ColumnFormatType NUMBER_INTEGER
public static final ColumnFormatType NUMBER_DECIMAL
public static final ColumnFormatType NUMBER_CURRENCY
public static final ColumnFormatType NUMBER_PERCENT
public static final ColumnFormatType NUMBER_CUSTOM
| Method Detail |
|---|
public static final ColumnFormatType[] values()
for(ColumnFormatType c : ColumnFormatType.values())
System.out.println(c);
public static ColumnFormatType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic String getString()
getString in interface fuego.resources.Internationalizablepublic String getString(Locale locale)
locale - the desired locale.
public fuego.resources.Msg getMsg()
public Format getFormat(Locale locale)
locale -
public Format getFormat(Locale locale,
String pattern)
locale - pattern -
public boolean isCustom()
public String getFormatPreview(Locale locale)
public String getFormatPreview(Locale locale,
String pattern)
public static List<ColumnFormatType> getTimeFormatTypes()
public static List<ColumnFormatType> getNumericalFormatTypes()
|
ALBPM Process API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||