Uses of Interface
com.google.gwt.safehtml.shared.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
Modifier and TypeMethodDescriptionSelectionCell.Template.deselected
(String option) protected SafeHtml
IconCellDecorator.getIconHtml
(C value) Get the safe HTML string that represents the icon.(package private) SafeHtml
IconCellDecorator.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) Modifier 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 void
AbstractSafeHtmlCell.render
(Cell.Context context, SafeHtml data, SafeHtmlBuilder sb) Render the cell contents after they have been converted toSafeHtml
form.void
ButtonCell.render
(Cell.Context context, SafeHtml data, SafeHtmlBuilder sb) protected void
ClickableTextCell.render
(Cell.Context context, SafeHtml value, SafeHtmlBuilder sb) void
SafeHtmlCell.render
(Cell.Context context, SafeHtml value, SafeHtmlBuilder sb) void
TextCell.render
(Cell.Context context, SafeHtml value, SafeHtmlBuilder sb) ModifierConstructorDescriptionActionCell
(SafeHtml message, ActionCell.Delegate<C> delegate) Construct a newActionCell
. -
Uses of SafeHtml in com.google.gwt.dom.builder.client
-
Uses of SafeHtml in com.google.gwt.dom.client
Modifier and TypeMethodDescriptionfinal void
Element.setInnerSafeHtml
(SafeHtml html) All of the markup and content within a given element. -
Uses of SafeHtml in com.google.gwt.safehtml.client
-
Uses of SafeHtml in com.google.gwt.user.cellview.client
Modifier 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) SafeHtml
CellTree.getClosedImageHtml
(boolean isTop) Get the HTML to render the closed image.CellList.getEmptyListMessage()
Deprecated.(package private) SafeHtml
CellTree.getLoadingImageHtml()
Return the HTML to render the loading image.(package private) SafeHtml
CellTree.getOpenImageHtml
(boolean isTop) Get the HTML to render the open image.SafeHtmlHeader.getValue()
Return theSafeHtml
text 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) Modifier and TypeMethodDescriptionvoid
Adds a column to the end of the table with an associatedSafeHtml
header.void
Adds a column to the end of the table with an associatedSafeHtml
header and footer.protected Element
AbstractCellTable.convertToElements
(SafeHtml html) protected Element
AbstractHasData.convertToElements
(SafeHtml html) Convert the specified HTML into DOM elements and return the parent of the DOM elements.(package private) static Element
AbstractHasData.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) void
AbstractCellTable.insertColumn
(int beforeIndex, Column<T, ?> col, SafeHtml headerHtml) Inserts a column into the table at the specified index with an associatedSafeHtml
header.void
AbstractCellTable.insertColumn
(int beforeIndex, Column<T, ?> col, SafeHtml headerHtml, SafeHtml footerHtml) Inserts a column into the table at the specified index with an associatedSafeHtml
header 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 void
AbstractCellTable.replaceAllChildren
(List<T> values, SafeHtml html) (package private) static void
AbstractHasData.replaceAllChildren
(Widget widget, Element childContainer, SafeHtml html) Convenience method to replace all children of a Widget.protected void
AbstractHasData.replaceAllChildren
(List<T> values, SafeHtml html) Replace all children with the specified html.protected void
AbstractCellTable.replaceChildren
(List<T> values, int start, SafeHtml html) (package private) static void
AbstractHasData.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 void
AbstractHasData.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.void
CellList.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) ModifierConstructorDescriptionSafeHtmlHeader
(SafeHtml text) Construct a Header with a givenSafeHtml
text value. -
Uses of SafeHtml in com.google.gwt.user.client.ui
Modifier and TypeMethodDescriptionprotected SafeHtml
RenderablePanel.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.Modifier and TypeMethodDescriptionvoid
Adds a child widget to this stack, along with a widget representing the stack header.void
Adds a new child with the given widget and header, optionally interpreting the header as HTML.void
Adds 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.void
Adds a new tab with the specified text.void
Inserts a widget into the panel.void
Inserts 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.void
Inserts a new tab at the specified index.void
CaptionPanel.CaptionPanelImpl.setCaption
(FieldSetElement fieldset, Element legend, SafeHtml caption) void
CaptionPanel.CaptionPanelImplMozilla.setCaption
(FieldSetElement fieldset, Element legend, SafeHtml caption) void
CaptionPanel.CaptionPanelImplSafari.setCaption
(FieldSetElement fieldset, Element legend, SafeHtml caption) void
CaptionPanel.setCaptionHTML
(SafeHtml html) Sets the caption for the panel using a SafeHtml string.void
StackLayoutPanel.setHeaderHTML
(int index, SafeHtml html) Sets a stack header's HTML contents.void
Sets the element's content to the given value (html).void
DirectionalTextHelper.setHtml
(SafeHtml content, HasDirection.Direction dir) Sets the element's content to the given value (html), applying the given direction.void
void
Anchor.setHTML
(SafeHtml html, HasDirection.Direction dir) void
void
CheckBox.setHTML
(SafeHtml html, HasDirection.Direction dir) void
Set the face's contents as html.void
void
Sets the html string inside the caption by calling itsDialogBox.setHTML(SafeHtml)
method.void
HasDirectionalSafeHtml.setHTML
(SafeHtml html, HasDirection.Direction dir) Sets this object's html, also declaring its direction.void
Sets this object's contents via known-safe HTML.void
HTML.setHTML
(SafeHtml html, HasDirection.Direction dir) void
Sets the HTML contents of the specified cell.void
void
Hyperlink.setHTML
(SafeHtml html, HasDirection.Direction dir) void
void
void
void
StackPanel.setStackText
(int index, SafeHtml html) Sets the html associated with a child by its index.void
TabBar.setTabHTML
(int index, SafeHtml html) Sets a tab's contents via safe html.void
TabLayoutPanel.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.ModifierConstructorDescriptionCreates 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 givenSafeHtml
object.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 givenSafeHtml
object.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 givenSafeHtml
object.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 givenSafeHtml
object.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