public interface HasAutoHorizontalAlignment extends HasHorizontalAlignment
HasHorizontalAlignment.HasHorizontalAlignment.AutoHorizontalAlignmentConstant, HasHorizontalAlignment.HorizontalAlignmentConstant| Modifier and Type | Field and Description | 
|---|---|
| static HasHorizontalAlignment.AutoHorizontalAlignmentConstant | ALIGN_CONTENT_ENDSpecifies that the widget's contents should be aligned right for LTR
 content, left for RTL content, and if the content's direction is DEFAULT,
 like  HasHorizontalAlignment.ALIGN_LOCALE_END. | 
| static HasHorizontalAlignment.AutoHorizontalAlignmentConstant | ALIGN_CONTENT_STARTSpecifies that the widget's contents should be aligned left for LTR
 content, right for RTL content, and if the content's direction is DEFAULT,
 like  HasHorizontalAlignment.ALIGN_LOCALE_START. | 
ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_LOCALE_END, ALIGN_LOCALE_START, ALIGN_RIGHT| Modifier and Type | Method and Description | 
|---|---|
| HasHorizontalAlignment.AutoHorizontalAlignmentConstant | getAutoHorizontalAlignment()Gets the horizontal auto-alignment setting. | 
| void | setAutoHorizontalAlignment(HasHorizontalAlignment.AutoHorizontalAlignmentConstant autoHorizontalAlignment)Sets the horizontal alignment, allowing in addition to the "static"
  HasHorizontalAlignment.HorizontalAlignmentConstantvalues, the
 "automatic"HasHorizontalAlignment.AutoHorizontalAlignmentConstantvalues that depend on the content direction. | 
getHorizontalAlignment, setHorizontalAlignmentstatic final HasHorizontalAlignment.AutoHorizontalAlignmentConstant ALIGN_CONTENT_START
HasHorizontalAlignment.ALIGN_LOCALE_START.static final HasHorizontalAlignment.AutoHorizontalAlignmentConstant ALIGN_CONTENT_END
HasHorizontalAlignment.ALIGN_LOCALE_END.HasHorizontalAlignment.AutoHorizontalAlignmentConstant getAutoHorizontalAlignment()
ALIGN_CONTENT_START), or one of the
 "static" HasHorizontalAlignment.HorizontalAlignmentConstant
 alignment values (e.g. HasHorizontalAlignment.ALIGN_LOCALE_START).
 It may be set by either setAutoHorizontalAlignment or HasHorizontalAlignment#setHorizontalAlignment. The default is null,
 indicating that no specific horizontal alignment has been set, allowing it
 to be determined by the usual HTML and CSS mechanisms.void setAutoHorizontalAlignment(HasHorizontalAlignment.AutoHorizontalAlignmentConstant autoHorizontalAlignment)
HasHorizontalAlignment.HorizontalAlignmentConstant values, the
 "automatic" HasHorizontalAlignment.AutoHorizontalAlignmentConstant
 values that depend on the content direction. Determines the values returned
 by both getAutoHorizontalAlignment() and
 HasHorizontalAlignment.getHorizontalAlignment().
  For the ALIGN_CONTENT_START and ALIGN_CONTENT_END
 values, sets the horizontal alignment (including the value of HasHorizontalAlignment#getHorizontalAlignment()) to the start or end edge
 of the current content's direction, respectively, and continues to
 automatically update it whenever the content direction changes.
 
 For other values, operates like HasHorizontalAlignment.setHorizontalAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant).
 
 For null, the horizontal alignment is cleared, allowing it to
 be determined by the standard HTML mechanisms such as inheritance and CSS
 rules.
autoHorizontalAlignment - the new automatic horizontal alignment
        policyHasHorizontalAlignment