API Reference 0.3.24dart_web_toolkit_i18nHasDirectionalHtml

HasDirectionalHtml abstract class

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

abstract class HasDirectionalHtml implements HasDirectionalText, HasHtml {

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

Subclasses

Html

Implements

HasHtml, HasDirectionalText

Properties

abstract String get html #

inherited from HasHtml

Gets this object's contents as HTML.

@return the object's HTML

abstract void set html(String value) #

inherited from HasHtml

Sets this object's contents via HTML. Use care when setting an object's HTML; it is an easy way to expose script-based security problems. Consider using {@link #setText(String)} whenever possible.

@param html the object's new HTML

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() #

inherited from HasDirectionalText

Gets the direction of this object's text.

@return the direction of this object's text

abstract void setHtml(String html, Direction dir) #

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

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

abstract void setText(String text, Direction dir) #

inherited from HasDirectionalText

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

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