HasDirectionalSafeHtml abstract class
An object that implements this interface contains html that has a direction.
abstract class HasDirectionalSafeHtml implements HasDirectionalText, HasSafeHtml { // /** // * Sets this object's html, also declaring its direction. // * // * @param html the object's new html // * @param dir the html's direction // */ // void setHtml(SafeHtml html, Direction dir); }
Subclasses
Anchor, CheckBox, Html, Hyperlink
Implements
HasSafeHtml, HasDirectionalText
Properties
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 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