API Reference 0.3.24dart_web_toolkit_i18nHasDirectionalText

HasDirectionalText abstract class

An object that implements this interface contains text that has a direction.

abstract class HasDirectionalText extends HasText {

 /**
  * Gets the direction of this object's text.
  *
  * @return the direction of this object's text
  */
 Direction getTextDirection();

 /**
  * Sets this object's text, also declaring its direction.
  *
  * @param text the object's new text
  * @param dir the text's direction
  */
 void setText(String text, Direction dir);
}

Extends

HasText > HasDirectionalText

Subclasses

HasDirectionalHtml, HasDirectionalSafeHtml, Label

Properties

abstract String get text #

inherited from HasText

Gets this object's text.

@return the object's text

abstract void set text(String value) #

inherited from HasText

Sets this object's text.

@param text the object's new text

Methods

abstract Direction getTextDirection() #

Gets the direction of this object's text.

@return the direction of this object's text

abstract void setText(String text, Direction dir) #

Sets this object's text, also declaring its direction.

@param text the object's new text @param dir the text's direction