
public static class HasHorizontalAlignment extends Object
The names of the static members of HorizontalAlignmentConstant, as
well as simple alignment names (left, center,
right, justify), can be used as values for a
horizontalAlignment attribute of any widget that implements this
interface. (In fact, this will work for any widget method that takes a single
HorizontalAlignmentConstant value.)
For example,
<g:Label horizontalAlignment='ALIGN_RIGHT'>Hi there.</g:Label> <g:Label horizontalAlignment='right'>Hi there.</g:Label>
Copyright © 2018. All rights reserved.