NextApp Echo2
v2.1.0

nextapp.echo2.app
Class LayoutDirection

java.lang.Object
  extended by nextapp.echo2.app.LayoutDirection
All Implemented Interfaces:
java.io.Serializable

public class LayoutDirection
extends java.lang.Object
implements java.io.Serializable

Describes the layout direction of text and content to provide support for bidirectional localization.

See Also:
Serialized Form

Field Summary
static LayoutDirection LTR
           
static LayoutDirection RTL
           
 
Method Summary
static LayoutDirection forLocale(java.util.Locale locale)
          Returns the default LayoutDirection for the specified Locale.
 boolean isLeftToRight()
          Determines if the LayoutDirection is left-to-right.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LTR

public static final LayoutDirection LTR

RTL

public static final LayoutDirection RTL
Method Detail

forLocale

public static LayoutDirection forLocale(java.util.Locale locale)
Returns the default LayoutDirection for the specified Locale.

Parameters:
locale - the locale
Returns:
the default layout direction

isLeftToRight

public boolean isLeftToRight()
Determines if the LayoutDirection is left-to-right.

Returns:
true if the LayoutDirection is left-to-right.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

NextApp Echo2
v2.1.0