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 java.lang.Object

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

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

Field Summary
static java.lang.String CENTER
          Centers the text.
static java.lang.String JUSTIFY
          Increases the spaces between words in order for lines to have the same width.
static java.lang.String LEFT
          Aligns the text to the left.
static java.lang.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 java.lang.String LEFT
Aligns the text to the left.

See Also:
Constant Field Values

RIGHT

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

See Also:
Constant Field Values

CENTER

public static final java.lang.String CENTER
Centers the text.

See Also:
Constant Field Values

JUSTIFY

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

See Also:
Constant Field Values


Copyright © 2004-2010 XWiki. All Rights Reserved.