java.lang.Object | |
↳ | com.google.gwt.i18n.client.BidiUtils |
A set of bidi-related utility methods.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DIR_PROPERTY_NAME | The name of the element property which controls element directionality. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the directionality of an element.
| |||||||||||
Sets the directionality property for an element.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The name of the element property which controls element directionality.
Gets the directionality of an element.
elem | the element on which to check the directionality property |
---|
RTL
if the directionality is right-to-left,
LTR
if the directionality is left-to-right, or
DEFAULT
if the directionality is not explicitly set
Sets the directionality property for an element.
elem | the element on which to set the property |
---|---|
direction | RTL if the directionality should be set to right-to-left,
LTR if the directionality should be set to left-to-right
DEFAULT if the directionality should be removed from the element
|