|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.i18n.client.BidiUtils
public class BidiUtils
A set of bidi-related utility methods.
| Field Summary | |
|---|---|
static java.lang.String |
DIR_PROPERTY_NAME
The name of the element property which controls element directionality. |
| Constructor Summary | |
|---|---|
BidiUtils()
|
|
| Method Summary | |
|---|---|
static HasDirection.Direction |
getDirectionOnElement(Element elem)
Gets the directionality of an element. |
static void |
setDirectionOnElement(Element elem,
HasDirection.Direction direction)
Sets the directionality property for an element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DIR_PROPERTY_NAME
| Constructor Detail |
|---|
public BidiUtils()
| Method Detail |
|---|
public static HasDirection.Direction getDirectionOnElement(Element elem)
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
public static void setDirectionOnElement(Element elem,
HasDirection.Direction direction)
elem - the element on which to set the propertydirection - 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
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||