Uses of Class
com.google.gwt.i18n.client.HasDirection.Direction
-
Packages that use HasDirection.Direction Package Description com.google.gwt.i18n.client Internationalization support for GWT applications.com.google.gwt.i18n.shared This package contains i18n classes and interfaces shared between client and server.com.google.gwt.user.client.ui 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.Direction Modifier and Type Method Description HasDirection.DirectionHasDirection. getDirection()Gets the directionality of the widget.static HasDirection.DirectionBidiUtils. getDirectionOnElement(Element elem)Gets the directionality of an element.static HasDirection.DirectionHasDirection.Direction. valueOf(java.lang.String name)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.Methods in com.google.gwt.i18n.client with parameters of type HasDirection.Direction Modifier and Type Method Description voidHasDirection. 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.i18n.shared
Methods in com.google.gwt.i18n.shared that return HasDirection.Direction Modifier and Type Method Description HasDirection.DirectionAnyRtlDirectionEstimator. estimateDirection(java.lang.String str)Estimates the direction of a given string using the "any RTL" heuristic: the return value is RTL if the string contains at least one RTL character.HasDirection.DirectionBidiFormatterBase. estimateDirection(java.lang.String str)LikeBidiFormatterBase.estimateDirection(String, boolean), but assumesisHtmlis false.HasDirection.DirectionBidiFormatterBase. estimateDirection(java.lang.String str, boolean isHtml)Estimates the direction of a string using the best known general-purpose method, i.e.HasDirection.DirectionBidiUtils. estimateDirection(java.lang.String str)LikeBidiUtils.estimateDirection(String, boolean), but assumesstris not HTML / HTML-escaped.HasDirection.DirectionBidiUtils. estimateDirection(java.lang.String str, boolean isHtml)Estimates the directionality of a string based on relative word counts.HasDirection.DirectionDirectionEstimator. estimateDirection(SafeHtml html)Estimates the direction of a SafeHtml.abstract HasDirection.DirectionDirectionEstimator. estimateDirection(java.lang.String str)Estimates the direction of a plain-text string.HasDirection.DirectionDirectionEstimator. estimateDirection(java.lang.String str, boolean isHtml)Estimates the direction of a string.HasDirection.DirectionFirstStrongDirectionEstimator. estimateDirection(java.lang.String str)Estimates the direction of a given string using the "first strong" heuristic: The return value is determined by the first character in the string with strong directionality.HasDirection.DirectionSafeHtmlBidiFormatter. estimateDirection(SafeHtml html)HasDirection.DirectionWordCountDirectionEstimator. estimateDirection(java.lang.String str)Estimates the direction of a given string using the "word count" heuristic, as defined atBidiUtils.estimateDirection(java.lang.String).HasDirection.DirectionBidiFormatterBase. getContextDir()Returns the context direction.Methods in com.google.gwt.i18n.shared with parameters of type HasDirection.Direction Modifier and Type Method Description BidiFormatterBidiFormatter.Factory. createInstance(HasDirection.Direction contextDir, boolean alwaysSpan)abstract TBidiFormatterBase.Factory. createInstance(HasDirection.Direction contextDir, boolean alwaysSpan)SafeHtmlBidiFormatterSafeHtmlBidiFormatter.Factory. createInstance(HasDirection.Direction contextDir, boolean alwaysSpan)static BidiFormatterBidiFormatter. getInstance(HasDirection.Direction contextDir)Factory for creating an instance of BidiFormatter given the context direction.static BidiFormatterBidiFormatter. getInstance(HasDirection.Direction contextDir, boolean alwaysSpan)Factory for creating an instance of BidiFormatter given the context direction and the desired span wrapping behavior (see below).TBidiFormatterBase.Factory. getInstance(HasDirection.Direction contextDir, boolean alwaysSpan)static SafeHtmlBidiFormatterSafeHtmlBidiFormatter. getInstance(HasDirection.Direction contextDir)Factory for creating an instance of SafeHtmlBidiFormatter given the context direction.static SafeHtmlBidiFormatterSafeHtmlBidiFormatter. getInstance(HasDirection.Direction contextDir, boolean alwaysSpan)Factory for creating an instance of SafeHtmlBidiFormatter given the context direction and the desired span wrapping behavior (see below).java.lang.StringBidiFormatter. knownDirAttr(HasDirection.Direction dir)Returns "dir=ltr" or "dir=rtl", depending on the given direction, if it is not the same as the context direction.SafeHtmlSafeHtmlBidiFormatter. knownDirAttr(HasDirection.Direction dir)protected java.lang.StringBidiFormatterBase. knownDirAttrBase(HasDirection.Direction dir)java.lang.StringBidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str)LikeBidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean), but assumesisHtmlis false anddirResetis true.java.lang.StringBidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean isHtml)LikeBidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean), but assumesdirResetis true.java.lang.StringBidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean isHtml, boolean dirReset)Formats a string of given direction for use in HTML output of the context direction, so an opposite-direction string is neither garbled nor garbles what follows it.SafeHtmlSafeHtmlBidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, SafeHtml html)SafeHtmlSafeHtmlBidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, SafeHtml html, boolean dirReset)SafeHtmlSafeHtmlBidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str)SafeHtmlSafeHtmlBidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean dirReset)protected java.lang.StringBidiFormatterBase. spanWrapWithKnownDirBase(HasDirection.Direction dir, java.lang.String str, boolean isHtml, boolean dirReset)java.lang.StringBidiFormatter. unicodeWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str)LikeBidiFormatter.unicodeWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean), but assumesisHtmlis false anddirResetis true.java.lang.StringBidiFormatter. unicodeWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean isHtml)LikeBidiFormatter.unicodeWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean), but assumesdirResetis true.java.lang.StringBidiFormatter. unicodeWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean isHtml, boolean dirReset)Formats a string of given direction for use in plain-text output of the context direction, so an opposite-direction string is neither garbled nor garbles what follows it.SafeHtmlSafeHtmlBidiFormatter. unicodeWrapWithKnownDir(HasDirection.Direction dir, SafeHtml html)SafeHtmlSafeHtmlBidiFormatter. unicodeWrapWithKnownDir(HasDirection.Direction dir, SafeHtml html, boolean dirReset)SafeHtmlSafeHtmlBidiFormatter. unicodeWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str)SafeHtmlSafeHtmlBidiFormatter. unicodeWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean dirReset)protected java.lang.StringBidiFormatterBase. unicodeWrapWithKnownDirBase(HasDirection.Direction dir, java.lang.String str, boolean isHtml, boolean dirReset)Constructors in com.google.gwt.i18n.shared with parameters of type HasDirection.Direction Constructor Description BidiFormatterBase(HasDirection.Direction contextDir, boolean alwaysSpan) -
Uses of HasDirection.Direction in com.google.gwt.user.client.ui
Methods in com.google.gwt.user.client.ui that return HasDirection.Direction Modifier and Type Method Description HasDirection.DirectionAnchor. getDirection()HasDirection.DirectionLabel. getDirection()Deprecated.UseLabel.getTextDirection()insteadHasDirection.DirectionValueBoxBase. getDirection()HasDirection.DirectionAnchor. getTextDirection()HasDirection.DirectionCheckBox. getTextDirection()HasDirection.DirectionDirectionalTextHelper. getTextDirection()HasDirection.DirectionHasDirectionalText. getTextDirection()Gets the direction of this object's text.HasDirection.DirectionHyperlink. getTextDirection()HasDirection.DirectionLabel. getTextDirection()Methods in com.google.gwt.user.client.ui with parameters of type HasDirection.Direction Modifier and Type Method Description voidListBox. addItem(java.lang.String item, HasDirection.Direction dir)Adds an item to the list box, specifying its direction.voidListBox. addItem(java.lang.String item, HasDirection.Direction dir, java.lang.String value)Adds an item to the list box, specifying its direction and an initial value for the item.static HasHorizontalAlignment.HorizontalAlignmentConstantHasHorizontalAlignment.HorizontalAlignmentConstant. endOf(HasDirection.Direction direction)voidListBox. insertItem(java.lang.String item, HasDirection.Direction dir, int index)Inserts an item into the list box, specifying its direction.voidListBox. insertItem(java.lang.String item, HasDirection.Direction dir, java.lang.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(java.lang.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(java.lang.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(java.lang.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, java.lang.String text, HasDirection.Direction dir)Sets the text associated with the item at a given index.protected voidListBox. setOptionText(OptionElement option, java.lang.String text, HasDirection.Direction dir)Sets the text of an option element.voidAnchor. setText(java.lang.String text, HasDirection.Direction dir)voidCheckBox. setText(java.lang.String text, HasDirection.Direction dir)voidDirectionalTextHelper. setText(java.lang.String content, HasDirection.Direction dir)Sets the element's content to the given value (plain text), applying the given direction.voidHasDirectionalText. setText(java.lang.String text, HasDirection.Direction dir)Sets this object's text, also declaring its direction.voidHyperlink. setText(java.lang.String text, HasDirection.Direction dir)voidLabel. setText(java.lang.String text, HasDirection.Direction dir)Sets the label's content to the given text, applying the given direction.voidDirectionalTextHelper. setTextOrHtml(java.lang.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.static HasHorizontalAlignment.HorizontalAlignmentConstantHasHorizontalAlignment.HorizontalAlignmentConstant. startOf(HasDirection.Direction direction)Constructors in com.google.gwt.user.client.ui with parameters of type HasDirection.Direction Constructor Description Anchor(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, java.lang.String href)Creates an anchor with its html and href (target URL) specified.Anchor(java.lang.String text, HasDirection.Direction dir)Creates an anchor for scripting.Anchor(java.lang.String text, HasDirection.Direction dir, java.lang.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(java.lang.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(java.lang.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, java.lang.String targetHistoryToken)Creates a hyperlink with its html and target history token specified.Hyperlink(java.lang.String text, HasDirection.Direction dir, java.lang.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(java.lang.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, java.lang.String targetHistoryToken)Creates a hyperlink with its html and target history token specified.InlineHyperlink(java.lang.String text, HasDirection.Direction dir, java.lang.String targetHistoryToken)Creates a hyperlink with its text and target history token specified.InlineLabel(java.lang.String text, HasDirection.Direction dir)Creates a label with the specified text and direction.Label(java.lang.String text, HasDirection.Direction dir)Creates a label with the specified text and direction.RadioButton(java.lang.String name, SafeHtml label, HasDirection.Direction dir)RadioButton(java.lang.String name, java.lang.String label, HasDirection.Direction dir)
-