Uses of Interface
com.google.gwt.safehtml.shared.SafeHtml
Packages that use SafeHtml
Package
Description
Classes used to build DOM elements.
Classes used to build DOM elements.
Classes for low-level DOM programming.
This package contains i18n classes and interfaces shared between client and
server.
Interfaces for creating safe HTML content using templates.
Shared classes for creating safe HTML content.
Classes for parsing and rendering text and safe HTML.
The "cellview" widget set.
Widgets, Panels, and other user-interface classes.
-
Uses of SafeHtml in com.google.gwt.cell.client
Methods in com.google.gwt.cell.client that return SafeHtmlModifier and TypeMethodDescriptionSelectionCell.Template.deselected(String option) protected SafeHtmlIconCellDecorator.getIconHtml(C value) Get the safe HTML string that represents the icon.(package private) SafeHtmlIconCellDecorator.getImageHtml(ImageResource res, HasVerticalAlignment.VerticalAlignmentConstant valign, boolean isPlaceholder) Get the HTML representation of an image.ButtonCellBase.DefaultAppearance.Template.iconContentLayout(String classes, SafeStyles styles, SafeHtml icon, SafeHtml cellContents) Positions the icon next to the text.ButtonCellBase.DefaultAppearance.Template.iconWrapper(SafeStyles styles, SafeHtml image) The wrapper around the icon that aligns it vertically with the text.IconCellDecorator.Template.imageWrapperBottom(SafeStyles styles, SafeHtml image) The wrapper around the image vertically aligned to the bottom.IconCellDecorator.Template.imageWrapperMiddle(SafeStyles styles, SafeHtml image) The wrapper around the image vertically aligned to the middle.IconCellDecorator.Template.imageWrapperTop(SafeStyles styles, SafeHtml image) The wrapper around the image vertically aligned to the top.IconCellDecorator.Template.outerDiv(SafeStyles padding, SafeHtml icon, SafeHtml cellContents) Methods in com.google.gwt.cell.client with parameters of type SafeHtmlModifier and TypeMethodDescriptionButtonCellBase.DefaultAppearance.Template.iconContentLayout(String classes, SafeStyles styles, SafeHtml icon, SafeHtml cellContents) Positions the icon next to the text.ButtonCellBase.DefaultAppearance.Template.iconWrapper(SafeStyles styles, SafeHtml image) The wrapper around the icon that aligns it vertically with the text.IconCellDecorator.Template.imageWrapperBottom(SafeStyles styles, SafeHtml image) The wrapper around the image vertically aligned to the bottom.IconCellDecorator.Template.imageWrapperMiddle(SafeStyles styles, SafeHtml image) The wrapper around the image vertically aligned to the middle.IconCellDecorator.Template.imageWrapperTop(SafeStyles styles, SafeHtml image) The wrapper around the image vertically aligned to the top.IconCellDecorator.Template.outerDiv(SafeStyles padding, SafeHtml icon, SafeHtml cellContents) protected abstract voidAbstractSafeHtmlCell.render(Cell.Context context, SafeHtml data, SafeHtmlBuilder sb) Render the cell contents after they have been converted toSafeHtmlform.voidButtonCell.render(Cell.Context context, SafeHtml data, SafeHtmlBuilder sb) protected voidClickableTextCell.render(Cell.Context context, SafeHtml value, SafeHtmlBuilder sb) voidSafeHtmlCell.render(Cell.Context context, SafeHtml value, SafeHtmlBuilder sb) voidTextCell.render(Cell.Context context, SafeHtml value, SafeHtmlBuilder sb) Constructors in com.google.gwt.cell.client with parameters of type SafeHtmlModifierConstructorDescriptionActionCell(SafeHtml message, ActionCell.Delegate<C> delegate) Construct a newActionCell. -
Uses of SafeHtml in com.google.gwt.dom.builder.client
Methods in com.google.gwt.dom.builder.client with parameters of type SafeHtml -
Uses of SafeHtml in com.google.gwt.dom.client
Methods in com.google.gwt.dom.client with parameters of type SafeHtmlModifier and TypeMethodDescriptionfinal voidElement.setInnerSafeHtml(SafeHtml html) All of the markup and content within a given element. -
Uses of SafeHtml in com.google.gwt.safehtml.client
Methods in com.google.gwt.safehtml.client with parameters of type SafeHtml -
Uses of SafeHtml in com.google.gwt.user.cellview.client
Methods in com.google.gwt.user.cellview.client that return SafeHtmlModifier and TypeMethodDescriptionCellBrowser.Template.div(int idx, String classes, SafeStyles padding, SafeHtml imageHtml, SafeHtml cellContents) CellBrowser.Template.divFocusable(int idx, String classes, SafeStyles padding, int tabIndex, SafeHtml imageHtml, SafeHtml cellContents) CellBrowser.Template.divFocusableWithKey(int idx, String classes, SafeStyles padding, int tabIndex, char accessKey, SafeHtml imageHtml, SafeHtml cellContents) (package private) SafeHtmlCellTree.getClosedImageHtml(boolean isTop) Get the HTML to render the closed image.CellList.getEmptyListMessage()Deprecated.(package private) SafeHtmlCellTree.getLoadingImageHtml()Return the HTML to render the loading image.(package private) SafeHtmlCellTree.getOpenImageHtml(boolean isTop) Get the HTML to render the open image.SafeHtmlHeader.getValue()Return theSafeHtmltext value.CellBrowser.Template.imageWrapper(SafeStyles css, SafeHtml image) CellTree.Template.imageWrapper(String classes, SafeStyles cssLayout, SafeHtml image) CellTreeNodeView.Template.innerDiv(SafeStyles cssString, String classes, SafeHtml image, String itemValueStyle, SafeHtml cellContents) CellTreeNodeView.Template.outerDiv(SafeStyles cssString, String classes, SafeHtml content, String ariaSelected) CellBasedWidgetImpl.processHtml(SafeHtml html) Deprecated.Takes in an html string and processes it, adding support for events.AbstractCellTable.Template.tdBothAlign(String classes, String hAlign, String vAlign, SafeHtml contents) AbstractCellTable.Template.tdHorizontalAlign(String classes, String hAlign, SafeHtml contents) AbstractCellTable.Template.tdVerticalAlign(String classes, String vAlign, SafeHtml contents) Methods in com.google.gwt.user.cellview.client with parameters of type SafeHtmlModifier and TypeMethodDescriptionvoidAdds a column to the end of the table with an associatedSafeHtmlheader.voidAdds a column to the end of the table with an associatedSafeHtmlheader and footer.protected ElementAbstractCellTable.convertToElements(SafeHtml html) protected ElementAbstractHasData.convertToElements(SafeHtml html) Convert the specified HTML into DOM elements and return the parent of the DOM elements.(package private) static ElementAbstractHasData.convertToElements(Widget widget, Element tmpElem, SafeHtml html) Convenience method to convert the specified HTML into DOM elements and return the parent of the DOM elements.CellBrowser.Template.div(int idx, String classes, SafeStyles padding, SafeHtml imageHtml, SafeHtml cellContents) CellBrowser.Template.divFocusable(int idx, String classes, SafeStyles padding, int tabIndex, SafeHtml imageHtml, SafeHtml cellContents) CellBrowser.Template.divFocusableWithKey(int idx, String classes, SafeStyles padding, int tabIndex, char accessKey, SafeHtml imageHtml, SafeHtml cellContents) CellBrowser.Template.imageWrapper(SafeStyles css, SafeHtml image) CellTree.Template.imageWrapper(String classes, SafeStyles cssLayout, SafeHtml image) CellTreeNodeView.Template.innerDiv(SafeStyles cssString, String classes, SafeHtml image, String itemValueStyle, SafeHtml cellContents) voidAbstractCellTable.insertColumn(int beforeIndex, Column<T, ?> col, SafeHtml headerHtml) Inserts a column into the table at the specified index with an associatedSafeHtmlheader.voidAbstractCellTable.insertColumn(int beforeIndex, Column<T, ?> col, SafeHtml headerHtml, SafeHtml footerHtml) Inserts a column into the table at the specified index with an associatedSafeHtmlheader and footer.CellTreeNodeView.Template.outerDiv(SafeStyles cssString, String classes, SafeHtml content, String ariaSelected) CellBasedWidgetImpl.processHtml(SafeHtml html) Deprecated.Takes in an html string and processes it, adding support for events.protected voidAbstractCellTable.replaceAllChildren(List<T> values, SafeHtml html) (package private) static voidAbstractHasData.replaceAllChildren(Widget widget, Element childContainer, SafeHtml html) Convenience method to replace all children of a Widget.protected voidAbstractHasData.replaceAllChildren(List<T> values, SafeHtml html) Replace all children with the specified html.protected voidAbstractCellTable.replaceChildren(List<T> values, int start, SafeHtml html) (package private) static voidAbstractHasData.replaceChildren(Widget widget, Element childContainer, Element newChildren, int start, SafeHtml html) Convenience method to convert the specified HTML into DOM elements and replace the existing elements starting at the specified index.protected voidAbstractHasData.replaceChildren(List<T> values, int start, SafeHtml html) Convert the specified HTML into DOM elements and replace the existing elements starting at the specified index.voidCellList.setEmptyListMessage(SafeHtml html) Deprecated.as of GWT 2.3, useCellList.setEmptyListWidget(com.google.gwt.user.client.ui.Widget)insteadAbstractCellTable.Template.tdBothAlign(String classes, String hAlign, String vAlign, SafeHtml contents) AbstractCellTable.Template.tdHorizontalAlign(String classes, String hAlign, SafeHtml contents) AbstractCellTable.Template.tdVerticalAlign(String classes, String vAlign, SafeHtml contents) Constructors in com.google.gwt.user.cellview.client with parameters of type SafeHtmlModifierConstructorDescriptionSafeHtmlHeader(SafeHtml text) Construct a Header with a givenSafeHtmltext value. -
Uses of SafeHtml in com.google.gwt.user.client.ui
Fields in com.google.gwt.user.client.ui declared as SafeHtmlMethods in com.google.gwt.user.client.ui that return SafeHtmlModifier and TypeMethodDescriptionprotected SafeHtmlRenderablePanel.getInnerHtml()Returns the HTML to be set as the innerHTML of the container.AbstractImagePrototype.getSafeHtml()Gets an HTML fragment that displays the image represented by this prototype.Composite.render(RenderableStamper stamper) ImageResourceRenderer.render(ImageResource image) IsRenderable.render(RenderableStamper stamper) RenderablePanel.render(RenderableStamper stamper) Stamps an HTML element in such a way that it can be later found in the DOM tree.Methods in com.google.gwt.user.client.ui with parameters of type SafeHtmlModifier and TypeMethodDescriptionvoidAdds a child widget to this stack, along with a widget representing the stack header.voidAdds a new child with the given widget and header, optionally interpreting the header as HTML.voidAdds a widget to the panel.Adds a simple tree item containing the specified html.MenuBar.addItem(SafeHtml html, Scheduler.ScheduledCommand cmd) Adds a menu item to the bar containing SafeHtml, that will fire the given command when it is selected.Adds a menu item to the bar, that will open the specified menu when it is selected.Adds a simple tree item containing the specified html.Adds a child tree item containing the specified html.voidAdds a new tab with the specified text.voidInserts a widget into the panel.voidInserts a widget into the panel.Tree.insertItem(int beforeIndex, SafeHtml itemHtml) Inserts a child tree item at the specified index containing the specified html.TreeItem.insertItem(int beforeIndex, SafeHtml itemHtml) Inserts a child tree item at the specified index containing the specified html.voidInserts a new tab at the specified index.voidCaptionPanel.CaptionPanelImpl.setCaption(FieldSetElement fieldset, Element legend, SafeHtml caption) voidCaptionPanel.CaptionPanelImplMozilla.setCaption(FieldSetElement fieldset, Element legend, SafeHtml caption) voidCaptionPanel.CaptionPanelImplSafari.setCaption(FieldSetElement fieldset, Element legend, SafeHtml caption) voidCaptionPanel.setCaptionHTML(SafeHtml html) Sets the caption for the panel using a SafeHtml string.voidStackLayoutPanel.setHeaderHTML(int index, SafeHtml html) Sets a stack header's HTML contents.voidSets the element's content to the given value (html).voidDirectionalTextHelper.setHtml(SafeHtml content, HasDirection.Direction dir) Sets the element's content to the given value (html), applying the given direction.voidvoidAnchor.setHTML(SafeHtml html, HasDirection.Direction dir) voidvoidCheckBox.setHTML(SafeHtml html, HasDirection.Direction dir) voidSet the face's contents as html.voidvoidSets the html string inside the caption by calling itsDialogBox.setHTML(SafeHtml)method.voidHasDirectionalSafeHtml.setHTML(SafeHtml html, HasDirection.Direction dir) Sets this object's html, also declaring its direction.voidSets this object's contents via known-safe HTML.voidHTML.setHTML(SafeHtml html, HasDirection.Direction dir) voidSets the HTML contents of the specified cell.voidvoidHyperlink.setHTML(SafeHtml html, HasDirection.Direction dir) voidvoidvoidvoidStackPanel.setStackText(int index, SafeHtml html) Sets the html associated with a child by its index.voidTabBar.setTabHTML(int index, SafeHtml html) Sets a tab's contents via safe html.voidTabLayoutPanel.setTabHTML(int index, SafeHtml html) Sets a tab's HTML contents.Stamps an HTML element in such a way that it can be later found in the DOM tree.Constructors in com.google.gwt.user.client.ui with parameters of type SafeHtmlModifierConstructorDescriptionCreates an anchor for scripting.Anchor(SafeHtml html, HasDirection.Direction dir) Creates an anchor for scripting.Anchor(SafeHtml html, HasDirection.Direction dir, SafeUri href) Creates an anchor with its html and href (target URL) specified.Anchor(SafeHtml html, HasDirection.Direction dir, String href) Creates an anchor with its html and href (target URL) specified.Anchor(SafeHtml html, DirectionEstimator directionEstimator) Creates an anchor for scripting.Anchor(SafeHtml html, DirectionEstimator directionEstimator, SafeUri href) Creates an anchor with its html and href (target URL) specified.Anchor(SafeHtml html, DirectionEstimator directionEstimator, String href) Creates an anchor with its html and href (target URL) specified.Creates an anchor with its html and href (target URL) specified.Creates a source anchor (link to URI).Creates an anchor with its html and href (target URL) specified.Creates a source anchor (link to URI).Creates a button with the given HTML caption.Button(SafeHtml html, ClickHandler handler) Creates a button with the given HTML caption and click listener.CaptionPanel(SafeHtml caption) Constructs a CaptionPanel with specified caption text.Creates a check box with the specified text label.CheckBox(SafeHtml label, HasDirection.Direction dir) Creates a check box with the specified text label.CheckBox(SafeHtml label, DirectionEstimator directionEstimator) Creates a check box with the specified text label.Initializes the widget's HTML from a givenSafeHtmlobject.HTML(SafeHtml html, HasDirection.Direction dir) Creates an HTML widget with the specified contents and with the specified direction.HTML(SafeHtml html, DirectionEstimator directionEstimator) Creates an HTML widget with the specified HTML contents and specifies a direction estimator.Initializes the panel's HTML from a givenSafeHtmlobject.Hyperlink(SafeHtml html, HasDirection.Direction dir, String targetHistoryToken) Creates a hyperlink with its html and target history token specified.Hyperlink(SafeHtml html, DirectionEstimator directionEstimator, String targetHistoryToken) Creates a hyperlink with its html and target history token specified.Creates a hyperlink with its html and target history token specified.InlineHTML(SafeHtml html) Initializes the widget's HTML from a givenSafeHtmlobject.InlineHTML(SafeHtml html, HasDirection.Direction dir) Creates an HTML widget with the specified contents and with the specified direction.InlineHTML(SafeHtml html, DirectionEstimator directionEstimator) Creates an HTML widget with the specified HTML contents and with a default direction estimator.InlineHyperlink(SafeHtml html, HasDirection.Direction dir, String targetHistoryToken) Creates a hyperlink with its html and target history token specified.InlineHyperlink(SafeHtml html, DirectionEstimator directionEstimator, String targetHistoryToken) Creates a hyperlink with its html and target history token specified.InlineHyperlink(SafeHtml html, String targetHistoryToken) Creates a hyperlink with its html and target history token specified.Constructs a new menu item that fires a command when it is selected.MenuItem(SafeHtml html, Scheduler.ScheduledCommand cmd) Constructs a new menu item that fires a command when it is selected.Constructs a new menu item that cascades to a sub-menu when it is selected.RadioButton(String name, SafeHtml label) Creates a new radio associated with a particular group, and initialized with the given HTML label.RadioButton(String name, SafeHtml label, HasDirection.Direction dir) RadioButton(String name, SafeHtml label, DirectionEstimator directionEstimator) RenderablePanel(SafeHtml safeHtml) Initializes the panel's HTML from a givenSafeHtmlobject.ResetButton(SafeHtml html) Creates a button with the given HTML caption.ResetButton(SafeHtml html, ClickHandler handler) Creates a button with the given HTML caption and click listener.SubmitButton(SafeHtml html) Creates a button with the given HTML caption.SubmitButton(SafeHtml html, ClickHandler handler) Creates a button with the given HTML caption and click listener.Constructs a tree item with the given HTML.
CellList.getEmptyListWidget()instead