Uses of Class
com.google.gwt.safehtml.shared.annotations.IsSafeHtml
-
Packages that use IsSafeHtml Package Description com.google.gwt.dom.client Classes for low-level DOM programming.com.google.gwt.i18n.shared This package contains i18n classes and interfaces shared between client and server.com.google.gwt.safehtml.shared Shared classes for creating safe HTML content.com.google.gwt.uibinder.client Classes used to generate user interfaces using declarative ui.xml files.com.google.gwt.user.client Fundamental user-interface classes used in client-side GWT code.com.google.gwt.user.client.ui Widgets, Panels, and other user-interface classes. -
-
Uses of IsSafeHtml in com.google.gwt.dom.client
Method parameters in com.google.gwt.dom.client with annotations of type IsSafeHtml Modifier and Type Method Description void
Element. setInnerHTML(java.lang.String html)
All of the markup and content within a given element. -
Uses of IsSafeHtml in com.google.gwt.i18n.shared
Methods in com.google.gwt.i18n.shared with annotations of type IsSafeHtml Modifier and Type Method Description java.lang.String
BidiFormatter. spanWrap(java.lang.String str)
LikeBidiFormatter.spanWrap(String, boolean, boolean)
, but assumesisHtml
is false anddirReset
is true.java.lang.String
BidiFormatter. spanWrap(java.lang.String str, boolean isHtml)
LikeBidiFormatter.spanWrap(String, boolean, boolean)
, but assumesdirReset
is true.java.lang.String
BidiFormatter. spanWrap(java.lang.String str, boolean isHtml, boolean dirReset)
Formats a string of unknown direction for use in HTML output of the context direction, so an opposite-direction string is neither garbled nor garbles what follows it.protected java.lang.String
BidiFormatterBase. spanWrapBase(java.lang.String str, boolean isHtml, boolean dirReset)
java.lang.String
BidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str)
LikeBidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean)
, but assumesisHtml
is false anddirReset
is true.java.lang.String
BidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean isHtml)
LikeBidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean)
, but assumesdirReset
is true.java.lang.String
BidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean isHtml, boolean dirReset)
Formats a string of given direction for use in HTML output of the context direction, so an opposite-direction string is neither garbled nor garbles what follows it.protected java.lang.String
BidiFormatterBase. spanWrapWithKnownDirBase(HasDirection.Direction dir, java.lang.String str, boolean isHtml, boolean dirReset)
Method parameters in com.google.gwt.i18n.shared with annotations of type IsSafeHtml Modifier and Type Method Description java.lang.String
BidiFormatter. spanWrap(java.lang.String str, boolean isHtml)
LikeBidiFormatter.spanWrap(String, boolean, boolean)
, but assumesdirReset
is true.java.lang.String
BidiFormatter. spanWrap(java.lang.String str, boolean isHtml, boolean dirReset)
Formats a string of unknown direction for use in HTML output of the context direction, so an opposite-direction string is neither garbled nor garbles what follows it.protected java.lang.String
BidiFormatterBase. spanWrapBase(java.lang.String str, boolean isHtml, boolean dirReset)
java.lang.String
BidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean isHtml)
LikeBidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean)
, but assumesdirReset
is true.java.lang.String
BidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean isHtml, boolean dirReset)
Formats a string of given direction for use in HTML output of the context direction, so an opposite-direction string is neither garbled nor garbles what follows it.protected java.lang.String
BidiFormatterBase. spanWrapWithKnownDirBase(HasDirection.Direction dir, java.lang.String str, boolean isHtml, boolean dirReset)
-
Uses of IsSafeHtml in com.google.gwt.safehtml.shared
Methods in com.google.gwt.safehtml.shared with annotations of type IsSafeHtml Modifier and Type Method Description java.lang.String
OnlyToBeUsedInGeneratedCodeStringBlessedAsSafeHtml. asString()
Returns this object's contained HTML as a string.java.lang.String
SafeHtml. asString()
Returns this object's contained HTML as a string.java.lang.String
SafeHtmlString. asString()
Returns this object's contained HTML as a string.static java.lang.String
SafeHtmlUtils. htmlEscapeAllowEntities(java.lang.String text)
HTML-escapes a string, but does not double-escape HTML-entities already present in the string. -
Uses of IsSafeHtml in com.google.gwt.uibinder.client
Method parameters in com.google.gwt.uibinder.client with annotations of type IsSafeHtml Modifier and Type Method Description static Element
UiBinderUtil. fromHtml(java.lang.String html)
-
Uses of IsSafeHtml in com.google.gwt.user.client
Method parameters in com.google.gwt.user.client with annotations of type IsSafeHtml Modifier and Type Method Description static void
DOM. setInnerHTML(Element elem, java.lang.String html)
Deprecated.UseElement.setInnerHTML(String)
instead. -
Uses of IsSafeHtml in com.google.gwt.user.client.ui
Methods in com.google.gwt.user.client.ui with annotations of type IsSafeHtml Modifier and Type Method Description java.lang.String
MultiWordSuggestOracle.MultiWordSuggestion. getDisplayString()
java.lang.String
SuggestOracle.Suggestion. getDisplayString()
Gets the display string associated with this suggestion.Method parameters in com.google.gwt.user.client.ui with annotations of type IsSafeHtml Modifier and Type Method Description void
StackLayoutPanel. add(IsWidget widget, java.lang.String header, boolean asHtml, double headerSize)
Overloaded version for IsWidget.void
StackLayoutPanel. add(Widget widget, java.lang.String header, boolean asHtml, double headerSize)
Adds a child widget to this stack, along with a widget representing the stack header.void
StackPanel. add(Widget w, java.lang.String stackText, boolean asHTML)
Adds a new child with the given widget and header, optionally interpreting the header as HTML.void
TabLayoutPanel. add(IsWidget w, java.lang.String text, boolean asHtml)
Convenience overload to allowIsWidget
to be used directly.void
TabLayoutPanel. add(Widget child, java.lang.String text, boolean asHtml)
Adds a widget to the panel.void
TabPanel. add(IsWidget w, java.lang.String tabText, boolean asHTML)
Convenience overload to allowIsWidget
to be used directly.void
TabPanel. add(Widget w, java.lang.String tabText, boolean asHTML)
Adds a widget to the tab panel.MenuItem
MenuBar. addItem(java.lang.String text, boolean asHTML, Scheduler.ScheduledCommand cmd)
Adds a menu item to the bar, that will fire the given command when it is selected.MenuItem
MenuBar. addItem(java.lang.String text, boolean asHTML, MenuBar popup)
Adds a menu item to the bar, that will open the specified menu when it is selected.void
TabBar. addTab(java.lang.String text, boolean asHTML)
Adds a new tab with the specified text.protected MultiWordSuggestOracle.MultiWordSuggestion
MultiWordSuggestOracle. createSuggestion(java.lang.String replacementString, java.lang.String displayString)
Creates the suggestion based on the given replacement and display strings.void
StackLayoutPanel. insert(Widget child, java.lang.String text, boolean asHtml, double headerSize, int beforeIndex)
Inserts a widget into the panel.void
TabLayoutPanel. insert(IsWidget child, java.lang.String text, boolean asHtml, int beforeIndex)
Convenience overload to allowIsWidget
to be used directly.void
TabLayoutPanel. insert(Widget child, java.lang.String text, boolean asHtml, int beforeIndex)
Inserts a widget into the panel.void
TabPanel. insert(IsWidget widget, java.lang.String tabText, boolean asHTML, int beforeIndex)
Convenience overload to allowIsWidget
to be used directly.void
TabPanel. insert(Widget widget, java.lang.String tabText, boolean asHTML, int beforeIndex)
Inserts a widget into the tab panel.void
RichTextArea.Formatter. insertHTML(java.lang.String html)
Inserts generic html.void
TabBar. insertTab(java.lang.String text, boolean asHTML, int beforeIndex)
Inserts a new tab at the specified index.void
CaptionPanel.CaptionPanelImpl. setCaption(FieldSetElement fieldset, Element legend, java.lang.String caption, boolean asHTML)
void
CaptionPanel.CaptionPanelImplMozilla. setCaption(FieldSetElement fieldset, Element legend, java.lang.String caption, boolean asHTML)
void
CaptionPanel.CaptionPanelImplSafari. setCaption(FieldSetElement fieldset, Element legend, java.lang.String caption, boolean asHTML)
void
CaptionPanel. setCaptionHTML(java.lang.String html)
Sets the caption for the panel using an HTML fragment.void
StackLayoutPanel. setHeaderHTML(int index, java.lang.String html)
Sets a stack header's HTML contents.void
DirectionalTextHelper. setHtml(java.lang.String content)
Sets the element's content to the given value (html).void
DirectionalTextHelper. setHtml(java.lang.String content, HasDirection.Direction dir)
Sets the element's content to the given value (html), applying the given direction.void
Anchor. setHTML(java.lang.String html)
void
ButtonBase. setHTML(java.lang.String html)
void
CheckBox. setHTML(java.lang.String html)
void
CustomButton.Face. setHTML(java.lang.String html)
Set the face's contents as html.void
CustomButton. setHTML(java.lang.String html)
Sets the current face's html.void
DialogBox. setHTML(java.lang.String html)
Sets the html string inside the caption by calling itsDialogBox.setHTML(SafeHtml)
method.void
HasDirectionalHtml. setHTML(java.lang.String html, HasDirection.Direction dir)
Sets this object's html, also declaring its direction.void
HasHTML. setHTML(java.lang.String html)
Sets this object's contents via HTML.void
HTML. setHTML(java.lang.String html)
Sets the label's content to the given HTML.void
HTML. setHTML(java.lang.String html, HasDirection.Direction dir)
Sets the label's content to the given HTML, applying the given direction.void
HTMLTable. setHTML(int row, int column, java.lang.String html)
Sets the HTML contents of the specified cell.void
Hyperlink. setHTML(java.lang.String html)
void
MenuItem. setHTML(java.lang.String html)
void
RichTextArea. setHTML(java.lang.String html)
void
TreeItem. setHTML(java.lang.String html)
void
StackPanel. setStackText(int index, java.lang.String text, boolean asHTML)
Sets the text associated with a child by its index.void
TabBar. setTabHTML(int index, java.lang.String html)
Sets a tab's contents via HTML.void
TabLayoutPanel. setTabHTML(int index, java.lang.String html)
Sets a tab's HTML contents.void
DirectionalTextHelper. setTextOrHtml(java.lang.String content, boolean isHtml)
Sets the element's content to the given value (either plain text or HTML).void
DirectionalTextHelper. setTextOrHtml(java.lang.String content, HasDirection.Direction dir, boolean isHtml)
Sets the element's content to the given value (either plain text or HTML), applying the given direction.Constructor parameters in com.google.gwt.user.client.ui with annotations of type IsSafeHtml Constructor Description Anchor(java.lang.String text, boolean asHtml)
Creates an anchor for scripting.Anchor(java.lang.String text, boolean asHTML, java.lang.String href)
Creates an anchor with its text and href (target URL) specified.Anchor(java.lang.String text, boolean asHtml, java.lang.String href, java.lang.String target)
Creates a source anchor (link to URI).Button(java.lang.String html)
Creates a button with the given HTML caption.Button(java.lang.String html, ClickHandler handler)
Creates a button with the given HTML caption and click listener.Button(java.lang.String html, ClickListener listener)
Deprecated.UseButton(String, ClickHandler)
insteadCaptionPanel(java.lang.String caption, boolean asHTML)
Constructs a CaptionPanel having the specified caption.CheckBox(java.lang.String label, boolean asHTML)
Creates a check box with the specified text label.HTML(java.lang.String html)
Creates an HTML widget with the specified HTML contents.HTML(java.lang.String html, boolean wordWrap)
Creates an HTML widget with the specified contents, optionally treating it as HTML, and optionally disabling word wrapping.HTML(java.lang.String html, HasDirection.Direction dir)
Creates an HTML widget with the specified HTML contents and with the specified direction.HTMLPanel(java.lang.String html)
Creates an HTML panel with the specified HTML contents inside a DIV element.HTMLPanel(java.lang.String tag, java.lang.String html)
Creates an HTML panel whose root element has the given tag, and with the specified HTML contents.Hyperlink(java.lang.String text, boolean asHTML, java.lang.String targetHistoryToken)
Creates a hyperlink with its text and target history token specified.InlineHTML(java.lang.String html)
Creates an HTML widget with the specified HTML contents.InlineHTML(java.lang.String html, HasDirection.Direction dir)
Creates an HTML widget with the specified HTML contents and with the specified direction.InlineHyperlink(java.lang.String text, boolean asHTML, java.lang.String targetHistoryToken)
Creates a hyperlink with its text and target history token specified.MenuItem(java.lang.String text, boolean asHTML)
MenuItem(java.lang.String text, boolean asHTML, Scheduler.ScheduledCommand cmd)
Constructs a new menu item that fires a command when it is selected.MenuItem(java.lang.String text, boolean asHTML, MenuBar subMenu)
Constructs a new menu item that cascades to a sub-menu when it is selected.MultiWordSuggestion(java.lang.String replacementString, java.lang.String displayString)
Constructor forMultiWordSuggestion
.RadioButton(java.lang.String name, java.lang.String label, boolean asHTML)
Creates a new radio button associated with a particular group, and initialized with the given label (optionally treated as HTML).RenderablePanel(java.lang.String html)
Creates an HTML panel with the specified HTML contents inside a DIV element.ResetButton(java.lang.String html)
Creates a button with the given HTML caption.ResetButton(java.lang.String html, ClickHandler handler)
Creates a button with the given HTML caption and click listener.SubmitButton(java.lang.String html)
Creates a button with the given HTML caption.SubmitButton(java.lang.String html, ClickHandler handler)
Creates a button with the given HTML caption and click listener.
-