Interface HasDirectionalText

All Superinterfaces:
All Known Subinterfaces:
HasDirectionalHtml, HasDirectionalSafeHtml
All Known Implementing Classes:
Anchor, CheckBox, DialogBox.CaptionImpl, HTML, Hyperlink, InlineHTML, InlineHyperlink, InlineLabel, Label, RadioButton

public interface HasDirectionalText extends HasText
An object that implements this interface contains text that has a direction.
  • Method Details

    • getTextDirection

      HasDirection.Direction getTextDirection()
      Gets the direction of this object's text.
      the direction of this object's text
    • setText

      void setText(String text, HasDirection.Direction dir)
      Sets this object's text, also declaring its direction.
      text - the object's new text
      dir - the text's direction