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 voidElement. 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.StringBidiFormatter. spanWrap(java.lang.String str)LikeBidiFormatter.spanWrap(String, boolean, boolean), but assumesisHtmlis false anddirResetis true.java.lang.StringBidiFormatter. spanWrap(java.lang.String str, boolean isHtml)LikeBidiFormatter.spanWrap(String, boolean, boolean), but assumesdirResetis true.java.lang.StringBidiFormatter. 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.StringBidiFormatterBase. spanWrapBase(java.lang.String str, boolean isHtml, boolean dirReset)java.lang.StringBidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str)LikeBidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean), but assumesisHtmlis false anddirResetis true.java.lang.StringBidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean isHtml)LikeBidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean), but assumesdirResetis true.java.lang.StringBidiFormatter. 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.StringBidiFormatterBase. 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.StringBidiFormatter. spanWrap(java.lang.String str, boolean isHtml)LikeBidiFormatter.spanWrap(String, boolean, boolean), but assumesdirResetis true.java.lang.StringBidiFormatter. 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.StringBidiFormatterBase. spanWrapBase(java.lang.String str, boolean isHtml, boolean dirReset)java.lang.StringBidiFormatter. spanWrapWithKnownDir(HasDirection.Direction dir, java.lang.String str, boolean isHtml)LikeBidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean), but assumesdirResetis true.java.lang.StringBidiFormatter. 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.StringBidiFormatterBase. 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.StringOnlyToBeUsedInGeneratedCodeStringBlessedAsSafeHtml. asString()Returns this object's contained HTML as a string.java.lang.StringSafeHtml. asString()Returns this object's contained HTML as a string.java.lang.StringSafeHtmlString. asString()Returns this object's contained HTML as a string.static java.lang.StringSafeHtmlUtils. 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 ElementUiBinderUtil. 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 voidDOM. 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.StringMultiWordSuggestOracle.MultiWordSuggestion. getDisplayString()java.lang.StringSuggestOracle.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 voidStackLayoutPanel. add(IsWidget widget, java.lang.String header, boolean asHtml, double headerSize)Overloaded version for IsWidget.voidStackLayoutPanel. 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.voidStackPanel. 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.voidTabLayoutPanel. add(IsWidget w, java.lang.String text, boolean asHtml)Convenience overload to allowIsWidgetto be used directly.voidTabLayoutPanel. add(Widget child, java.lang.String text, boolean asHtml)Adds a widget to the panel.voidTabPanel. add(IsWidget w, java.lang.String tabText, boolean asHTML)Convenience overload to allowIsWidgetto be used directly.voidTabPanel. add(Widget w, java.lang.String tabText, boolean asHTML)Adds a widget to the tab panel.MenuItemMenuBar. 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.MenuItemMenuBar. 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.voidTabBar. addTab(java.lang.String text, boolean asHTML)Adds a new tab with the specified text.protected MultiWordSuggestOracle.MultiWordSuggestionMultiWordSuggestOracle. createSuggestion(java.lang.String replacementString, java.lang.String displayString)Creates the suggestion based on the given replacement and display strings.voidStackLayoutPanel. insert(Widget child, java.lang.String text, boolean asHtml, double headerSize, int beforeIndex)Inserts a widget into the panel.voidTabLayoutPanel. insert(IsWidget child, java.lang.String text, boolean asHtml, int beforeIndex)Convenience overload to allowIsWidgetto be used directly.voidTabLayoutPanel. insert(Widget child, java.lang.String text, boolean asHtml, int beforeIndex)Inserts a widget into the panel.voidTabPanel. insert(IsWidget widget, java.lang.String tabText, boolean asHTML, int beforeIndex)Convenience overload to allowIsWidgetto be used directly.voidTabPanel. insert(Widget widget, java.lang.String tabText, boolean asHTML, int beforeIndex)Inserts a widget into the tab panel.voidRichTextArea.Formatter. insertHTML(java.lang.String html)Inserts generic html.voidTabBar. insertTab(java.lang.String text, boolean asHTML, int beforeIndex)Inserts a new tab at the specified index.voidCaptionPanel.CaptionPanelImpl. setCaption(FieldSetElement fieldset, Element legend, java.lang.String caption, boolean asHTML)voidCaptionPanel.CaptionPanelImplMozilla. setCaption(FieldSetElement fieldset, Element legend, java.lang.String caption, boolean asHTML)voidCaptionPanel.CaptionPanelImplSafari. setCaption(FieldSetElement fieldset, Element legend, java.lang.String caption, boolean asHTML)voidCaptionPanel. setCaptionHTML(java.lang.String html)Sets the caption for the panel using an HTML fragment.voidStackLayoutPanel. setHeaderHTML(int index, java.lang.String html)Sets a stack header's HTML contents.voidDirectionalTextHelper. setHtml(java.lang.String content)Sets the element's content to the given value (html).voidDirectionalTextHelper. setHtml(java.lang.String content, HasDirection.Direction dir)Sets the element's content to the given value (html), applying the given direction.voidAnchor. setHTML(java.lang.String html)voidButtonBase. setHTML(java.lang.String html)voidCheckBox. setHTML(java.lang.String html)voidCustomButton.Face. setHTML(java.lang.String html)Set the face's contents as html.voidCustomButton. setHTML(java.lang.String html)Sets the current face's html.voidDialogBox. setHTML(java.lang.String html)Sets the html string inside the caption by calling itsDialogBox.setHTML(SafeHtml)method.voidHasDirectionalHtml. setHTML(java.lang.String html, HasDirection.Direction dir)Sets this object's html, also declaring its direction.voidHasHTML. setHTML(java.lang.String html)Sets this object's contents via HTML.voidHTML. setHTML(java.lang.String html)Sets the label's content to the given HTML.voidHTML. setHTML(java.lang.String html, HasDirection.Direction dir)Sets the label's content to the given HTML, applying the given direction.voidHTMLTable. setHTML(int row, int column, java.lang.String html)Sets the HTML contents of the specified cell.voidHyperlink. setHTML(java.lang.String html)voidMenuItem. setHTML(java.lang.String html)voidRichTextArea. setHTML(java.lang.String html)voidTreeItem. setHTML(java.lang.String html)voidStackPanel. setStackText(int index, java.lang.String text, boolean asHTML)Sets the text associated with a child by its index.voidTabBar. setTabHTML(int index, java.lang.String html)Sets a tab's contents via HTML.voidTabLayoutPanel. setTabHTML(int index, java.lang.String html)Sets a tab's HTML contents.voidDirectionalTextHelper. setTextOrHtml(java.lang.String content, boolean isHtml)Sets the element's content to the given value (either plain text or HTML).voidDirectionalTextHelper. 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.
-