org.xwiki.gwt.dom.client
Class Style.TextAlign

java.lang.Object
  extended by org.xwiki.gwt.dom.client.Style.TextAlign
Enclosing class:
Style

public static final class Style.TextAlign
extends Object

The text-align property aligns the text in an element.

See Also:
http://www.w3.org/TR/css3-text/#justification

Field Summary
static String CENTER
          Centers the text.
static String JUSTIFY
          Increases the spaces between words in order for lines to have the same width.
static String LEFT
          Aligns the text to the left.
static String RIGHT
          Aligns the text to the right.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEFT

public static final String LEFT
Aligns the text to the left.

See Also:
Constant Field Values

RIGHT

public static final String RIGHT
Aligns the text to the right.

See Also:
Constant Field Values

CENTER

public static final String CENTER
Centers the text.

See Also:
Constant Field Values

JUSTIFY

public static final String JUSTIFY
Increases the spaces between words in order for lines to have the same width.

See Also:
Constant Field Values


Copyright © 2004-2013 XWiki. All Rights Reserved.