Package com.google.gwt.user.client.ui
Class HasHorizontalAlignment.HorizontalAlignmentConstant
java.lang.Object
com.google.gwt.user.client.ui.HasHorizontalAlignment.AutoHorizontalAlignmentConstant
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant
- Enclosing interface:
HasHorizontalAlignment
public static class HasHorizontalAlignment.HorizontalAlignmentConstant
extends HasHorizontalAlignment.AutoHorizontalAlignmentConstant
Possible return values for
HasHorizontalAlignment.getHorizontalAlignment()
, and parameter
values for HasHorizontalAlignment.setHorizontalAlignment(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant)
.-
Method Summary
Modifier and TypeMethodDescriptionendOf
(HasDirection.Direction direction) Gets the CSS 'text-align' string associated with this constant.startOf
(HasDirection.Direction direction)
-
Method Details
-
endOf
public static HasHorizontalAlignment.HorizontalAlignmentConstant endOf(HasDirection.Direction direction) -
startOf
public static HasHorizontalAlignment.HorizontalAlignmentConstant startOf(HasDirection.Direction direction) -
getTextAlignString
Gets the CSS 'text-align' string associated with this constant.- Returns:
- the CSS 'text-align' value
-