|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DateItemSelectorFormat>
com.smartgwt.client.types.DateItemSelectorFormat
public enum DateItemSelectorFormat
DateItem.setSelectorFormat(com.smartgwt.client.types.DateItemSelectorFormat)
Enum Constant Summary | |
---|---|
DAY_MONTH
Output fields in day, month order. |
|
DAY_MONTH_YEAR
Output fields in day, month, year order. |
|
MONTH_DAY
Output only month, day fields. |
|
MONTH_DAY_YEAR
Output fields in month, day, year order. |
|
MONTH_YEAR
Output only month, year fields. |
|
YEAR_MONTH
Output only year, month fields. |
|
YEAR_MONTH_DAY
Output fields in year, month, day order. |
Method Summary | |
---|---|
String |
getValue()
|
static DateItemSelectorFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DateItemSelectorFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 DateItemSelectorFormat DAY_MONTH_YEAR
public static final DateItemSelectorFormat MONTH_DAY_YEAR
public static final DateItemSelectorFormat YEAR_MONTH_DAY
public static final DateItemSelectorFormat DAY_MONTH
public static final DateItemSelectorFormat MONTH_DAY
public static final DateItemSelectorFormat YEAR_MONTH
public static final DateItemSelectorFormat MONTH_YEAR
Method Detail |
---|
public static DateItemSelectorFormat[] values()
for (DateItemSelectorFormat c : DateItemSelectorFormat.values()) System.out.println(c);
public static DateItemSelectorFormat valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getValue()
getValue
in interface ValueEnum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |