|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<LanguageDirection>
com.google.gwt.gadgets.client.LanguageDirection
public enum LanguageDirection
Enum used in the Gadget.GadgetLocale annotation to specify the language
direction to use for a locale.
For more informatoin, see Creating
Bi-Directional Gadgets
| Enum Constant Summary | |
|---|---|
LTR
Left to Right language support. |
|
RTL
Right to Left language support. |
|
UNSPECIFIED
Not specified (use the default.) |
|
| Method Summary | |
|---|---|
static LanguageDirection |
getDir()
Returns the value of the substitution variable __BIDI_DIR__ |
static java.lang.String |
getEndEdge()
Returns the value of the substitution variable __BIDI_END_EDGE__ |
static LanguageDirection |
getReverseDir()
Returns the value of the substitution variable __BIDI_REVERSE_DIR__. |
static java.lang.String |
getStartEdge()
Returns the value of the substitution variable __BIDI_START_EDGE__ |
java.lang.String |
getValue()
|
static LanguageDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LanguageDirection[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final LanguageDirection LTR
public static final LanguageDirection RTL
public static final LanguageDirection UNSPECIFIED
| Method Detail |
|---|
public static final LanguageDirection[] values()
for(LanguageDirection c : LanguageDirection.values())
System.out.println(c);
public static LanguageDirection valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic static LanguageDirection getDir()
public static java.lang.String getEndEdge()
public static LanguageDirection getReverseDir()
public static java.lang.String getStartEdge()
public java.lang.String getValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||