public interface HasDirection
HasWidgets interface.| Modifier and Type | Interface and Description | 
|---|---|
| static class  | HasDirection.DirectionPossible return values for  getDirection()and parameter values forsetDirection(Direction).Widgets that implement this interface can 
 either have a direction that is right-to-left (RTL), left-to-right (LTR), or default 
 (which means that their directionality is inherited from their parent widget). | 
| Modifier and Type | Method and Description | 
|---|---|
| HasDirection.Direction | getDirection()Gets the directionality of the widget. | 
| void | setDirection(HasDirection.Direction direction)Sets the directionality for a widget. | 
void setDirection(HasDirection.Direction direction)
direction - RTL if the directionality should be set to right-to-left,
                  LTR if the directionality should be set to left-to-right
                  DEFAULT if the directionality should not be explicitly setHasDirection.Direction getDirection()
RTL if the directionality is right-to-left,
         LTR if the directionality is left-to-right, or
         DEFAULT if the directionality is not explicitly specified