Uses of Enum
com.google.gwt.i18n.client.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
Modifier and TypeMethodDescriptionHasDirection.getDirection()
Gets the directionality of the widget.static HasDirection.Direction
BidiUtils.getDirectionOnElement
(Element elem) Gets the directionality of an element.static HasDirection.Direction
Returns 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.Modifier and TypeMethodDescriptionvoid
HasDirection.setDirection
(HasDirection.Direction direction) Sets the directionality for a widget.static void
BidiUtils.setDirectionOnElement
(Element elem, HasDirection.Direction direction) Sets the directionality property for an element. -
Uses of HasDirection.Direction in com.google.gwt.user.client.ui
Modifier 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()
Modifier and TypeMethodDescriptionvoid
ListBox.addItem
(String item, HasDirection.Direction dir) Adds an item to the list box, specifying its direction.void
ListBox.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) void
ListBox.insertItem
(String item, HasDirection.Direction dir, int index) Inserts an item into the list box, specifying its direction.void
ListBox.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.void
Anchor.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)
insteadvoid
DirectionalTextHelper.setDirection
(HasDirection.Direction direction) Deprecated.void
Label.setDirection
(HasDirection.Direction direction) Deprecated.UseLabelBase.setDirectionEstimator(boolean)
and / or pass explicit direction toLabel.setText(java.lang.String)
insteadvoid
ValueBoxBase.setDirection
(HasDirection.Direction direction) void
DirectionalTextHelper.setHtml
(SafeHtml content, HasDirection.Direction dir) Sets the element's content to the given value (html), applying the given direction.void
DirectionalTextHelper.setHtml
(String content, HasDirection.Direction dir) Sets the element's content to the given value (html), applying the given direction.void
Anchor.setHTML
(SafeHtml html, HasDirection.Direction dir) void
CheckBox.setHTML
(SafeHtml html, HasDirection.Direction dir) void
HasDirectionalHtml.setHTML
(String html, HasDirection.Direction dir) Sets this object's html, also declaring its direction.void
HasDirectionalSafeHtml.setHTML
(SafeHtml html, HasDirection.Direction dir) Sets this object's html, also declaring its direction.void
HTML.setHTML
(SafeHtml html, HasDirection.Direction dir) void
HTML.setHTML
(String html, HasDirection.Direction dir) Sets the label's content to the given HTML, applying the given direction.void
Hyperlink.setHTML
(SafeHtml html, HasDirection.Direction dir) void
ListBox.setItemText
(int index, String text, HasDirection.Direction dir) Sets the text associated with the item at a given index.protected void
ListBox.setOptionText
(OptionElement option, String text, HasDirection.Direction dir) Sets the text of an option element.void
Anchor.setText
(String text, HasDirection.Direction dir) void
CheckBox.setText
(String text, HasDirection.Direction dir) void
DirectionalTextHelper.setText
(String content, HasDirection.Direction dir) Sets the element's content to the given value (plain text), applying the given direction.void
HasDirectionalText.setText
(String text, HasDirection.Direction dir) Sets this object's text, also declaring its direction.void
Hyperlink.setText
(String text, HasDirection.Direction dir) void
Label.setText
(String text, HasDirection.Direction dir) Sets the label's content to the given text, applying the given direction.void
DirectionalTextHelper.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) ModifierConstructorDescriptionAnchor
(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