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
Implements
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
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