Uses of Enum
com.google.gwt.i18n.client.HasDirection.Direction
Packages that use HasDirection.Direction
Package
Description
Internationalization support for GWT applications.
This package contains i18n classes and interfaces shared between client and
server.
Widgets, Panels, and other user-interface classes.
-
Uses of HasDirection.Direction in com.google.gwt.i18n.client
Methods in com.google.gwt.i18n.client that return HasDirection.DirectionModifier and TypeMethodDescriptionHasDirection.getDirection()Gets the directionality of the widget.static HasDirection.DirectionBidiUtils.getDirectionOnElement(Element elem) Gets the directionality of an element.static HasDirection.DirectionReturns the enum constant of this type with the specified name.static HasDirection.Direction[]HasDirection.Direction.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.gwt.i18n.client with parameters of type HasDirection.DirectionModifier and TypeMethodDescriptionvoidHasDirection.setDirection(HasDirection.Direction direction) Sets the directionality for a widget.static voidBidiUtils.setDirectionOnElement(Element elem, HasDirection.Direction direction) Sets the directionality property for an element. -
Uses of HasDirection.Direction in com.google.gwt.user.client.ui
Methods in com.google.gwt.user.client.ui that return HasDirection.DirectionModifier and TypeMethodDescriptionAnchor.getDirection()Label.getDirection()Deprecated.ValueBoxBase.getDirection()Anchor.getTextDirection()CheckBox.getTextDirection()DirectionalTextHelper.getTextDirection()HasDirectionalText.getTextDirection()Gets the direction of this object's text.Hyperlink.getTextDirection()Label.getTextDirection()Methods in com.google.gwt.user.client.ui with parameters of type HasDirection.DirectionModifier and TypeMethodDescriptionvoidListBox.addItem(String item, HasDirection.Direction dir) Adds an item to the list box, specifying its direction.voidListBox.addItem(String item, HasDirection.Direction dir, String value) Adds an item to the list box, specifying its direction and an initial value for the item.HasHorizontalAlignment.HorizontalAlignmentConstant.endOf(HasDirection.Direction direction) voidListBox.insertItem(String item, HasDirection.Direction dir, int index) Inserts an item into the list box, specifying its direction.voidListBox.insertItem(String item, HasDirection.Direction dir, String value, int index) Inserts an item into the list box, specifying its direction and an initial value for the item.voidAnchor.setDirection(HasDirection.Direction direction) Deprecated.UseAnchor.setDirectionEstimator(boolean)and / or pass explicit direction toAnchor.setText(java.lang.String),Anchor.setHTML(com.google.gwt.safehtml.shared.SafeHtml)insteadvoidDirectionalTextHelper.setDirection(HasDirection.Direction direction) Deprecated.voidLabel.setDirection(HasDirection.Direction direction) Deprecated.UseLabelBase.setDirectionEstimator(boolean)and / or pass explicit direction toLabel.setText(java.lang.String)insteadvoidValueBoxBase.setDirection(HasDirection.Direction direction) voidDirectionalTextHelper.setHtml(SafeHtml content, HasDirection.Direction dir) Sets the element's content to the given value (html), applying the given direction.voidDirectionalTextHelper.setHtml(String content, HasDirection.Direction dir) Sets the element's content to the given value (html), applying the given direction.voidAnchor.setHTML(SafeHtml html, HasDirection.Direction dir) voidCheckBox.setHTML(SafeHtml html, HasDirection.Direction dir) voidHasDirectionalHtml.setHTML(String html, HasDirection.Direction dir) Sets this object's html, also declaring its direction.voidHasDirectionalSafeHtml.setHTML(SafeHtml html, HasDirection.Direction dir) Sets this object's html, also declaring its direction.voidHTML.setHTML(SafeHtml html, HasDirection.Direction dir) voidHTML.setHTML(String html, HasDirection.Direction dir) Sets the label's content to the given HTML, applying the given direction.voidHyperlink.setHTML(SafeHtml html, HasDirection.Direction dir) voidListBox.setItemText(int index, String text, HasDirection.Direction dir) Sets the text associated with the item at a given index.protected voidListBox.setOptionText(OptionElement option, String text, HasDirection.Direction dir) Sets the text of an option element.voidAnchor.setText(String text, HasDirection.Direction dir) voidCheckBox.setText(String text, HasDirection.Direction dir) voidDirectionalTextHelper.setText(String content, HasDirection.Direction dir) Sets the element's content to the given value (plain text), applying the given direction.voidHasDirectionalText.setText(String text, HasDirection.Direction dir) Sets this object's text, also declaring its direction.voidHyperlink.setText(String text, HasDirection.Direction dir) voidLabel.setText(String text, HasDirection.Direction dir) Sets the label's content to the given text, applying the given direction.voidDirectionalTextHelper.setTextOrHtml(String content, HasDirection.Direction dir, boolean isHtml) Sets the element's content to the given value (either plain text or HTML), applying the given direction.HasHorizontalAlignment.HorizontalAlignmentConstant.startOf(HasDirection.Direction direction) Constructors in com.google.gwt.user.client.ui with parameters of type HasDirection.DirectionModifierConstructorDescriptionAnchor(SafeHtml html, HasDirection.Direction dir) Creates an anchor for scripting.Anchor(SafeHtml html, HasDirection.Direction dir, SafeUri href) Creates an anchor with its html and href (target URL) specified.Anchor(SafeHtml html, HasDirection.Direction dir, String href) Creates an anchor with its html and href (target URL) specified.Anchor(String text, HasDirection.Direction dir) Creates an anchor for scripting.Anchor(String text, HasDirection.Direction dir, String href) Creates an anchor with its text and href (target URL) specified.CheckBox(SafeHtml label, HasDirection.Direction dir) Creates a check box with the specified text label.CheckBox(String label, HasDirection.Direction dir) Creates a check box with the specified text label.HTML(SafeHtml html, HasDirection.Direction dir) Creates an HTML widget with the specified contents and with the specified direction.HTML(String html, HasDirection.Direction dir) Creates an HTML widget with the specified HTML contents and with the specified direction.Hyperlink(SafeHtml html, HasDirection.Direction dir, String targetHistoryToken) Creates a hyperlink with its html and target history token specified.Hyperlink(String text, HasDirection.Direction dir, String targetHistoryToken) Creates a hyperlink with its text and target history token specified.InlineHTML(SafeHtml html, HasDirection.Direction dir) Creates an HTML widget with the specified contents and with the specified direction.InlineHTML(String html, HasDirection.Direction dir) Creates an HTML widget with the specified HTML contents and with the specified direction.InlineHyperlink(SafeHtml html, HasDirection.Direction dir, String targetHistoryToken) Creates a hyperlink with its html and target history token specified.InlineHyperlink(String text, HasDirection.Direction dir, String targetHistoryToken) Creates a hyperlink with its text and target history token specified.InlineLabel(String text, HasDirection.Direction dir) Creates a label with the specified text and direction.Label(String text, HasDirection.Direction dir) Creates a label with the specified text and direction.RadioButton(String name, SafeHtml label, HasDirection.Direction dir) RadioButton(String name, String label, HasDirection.Direction dir)
Label.getTextDirection()instead