Package | Description |
---|---|
com.google.gwt.cell.client |
Standard
Cell subclasses used by the
cellview widgets. |
com.google.gwt.dom.builder.client |
Classes used to build DOM elements.
|
com.google.gwt.dom.builder.shared |
Classes used to build DOM elements.
|
com.google.gwt.dom.client |
Classes for low-level DOM programming.
|
com.google.gwt.i18n.server.testing | |
com.google.gwt.i18n.shared |
This package contains i18n classes and interfaces shared between client and
server.
|
com.google.gwt.safehtml.client |
Interfaces for creating safe HTML content using templates.
|
com.google.gwt.safehtml.shared |
Shared classes for creating safe HTML content.
|
com.google.gwt.text.shared |
Classes for parsing and rendering text and safe HTML.
|
com.google.gwt.uibinder.client.impl | |
com.google.gwt.user.cellview.client |
The "cellview" widget set.
|
com.google.gwt.user.client.ui |
Widgets, Panels, and other user-interface classes.
|
com.google.gwt.user.client.ui.impl |
Modifier and Type | Method and Description |
---|---|
protected SafeHtml |
IconCellDecorator.getIconHtml(C value)
Get the safe HTML string that represents the icon.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractSafeHtmlCell.render(Cell.Context context,
SafeHtml data,
SafeHtmlBuilder sb)
Render the cell contents after they have been converted to
SafeHtml
form. |
protected void |
ClickableTextCell.render(Cell.Context context,
SafeHtml value,
SafeHtmlBuilder sb) |
void |
ButtonCell.render(Cell.Context context,
SafeHtml data,
SafeHtmlBuilder sb) |
void |
TextCell.render(Cell.Context context,
SafeHtml value,
SafeHtmlBuilder sb) |
void |
SafeHtmlCell.render(Cell.Context context,
SafeHtml value,
SafeHtmlBuilder sb) |
Constructor and Description |
---|
ActionCell(SafeHtml message,
ActionCell.Delegate<C> delegate)
Construct a new
ActionCell . |
Modifier and Type | Method and Description |
---|---|
StyleBuilder |
DomStyleBuilder.html(SafeHtml html) |
TableRowBuilder |
DomTableRowBuilder.html(SafeHtml html) |
ScriptBuilder |
DomScriptBuilder.html(SafeHtml html) |
HtmlIFrameBuilder |
DomIFrameBuilder.html(SafeHtml html) |
HeadBuilder |
DomHeadBuilder.html(SafeHtml html) |
TableBuilder |
DomTableBuilder.html(SafeHtml html) |
TextAreaBuilder |
DomTextAreaBuilder.html(SafeHtml html) |
TableSectionBuilder |
DomTableSectionBuilder.html(SafeHtml html) |
FrameSetBuilder |
DomFrameSetBuilder.html(SafeHtml html) |
Modifier and Type | Method and Description |
---|---|
SafeHtml |
HtmlElementBuilderBase.asSafeHtml()
Return the HTML as a
SafeHtml string. |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
ElementBuilderImpl.doHtmlImpl(SafeHtml html)
Set the specified html as the inner HTML of the current element.
|
TableRowBuilder |
HtmlTableRowBuilder.html(SafeHtml html) |
IFrameBuilder |
IFrameBuilder.html(SafeHtml html)
Throws
UnsupportedOperationException . |
TableBuilder |
HtmlTableBuilder.html(SafeHtml html) |
TableSectionBuilder |
HtmlOnlyTableSectionBuilder.html(SafeHtml html)
Append html to the builder and validate the correctness of the html.
|
TableSectionBuilder |
HtmlTableSectionBuilder.html(SafeHtml html) |
TextAreaBuilder |
HtmlTextAreaBuilder.html(SafeHtml html) |
R |
AbstractElementBuilderBase.html(SafeHtml html) |
HtmlIFrameBuilder |
HtmlIFrameBuilder.html(SafeHtml html) |
T |
ElementBuilderBase.html(SafeHtml html)
Append html within the node.
|
HeadBuilder |
HtmlHeadBuilder.html(SafeHtml html) |
ScriptBuilder |
HtmlScriptBuilder.html(SafeHtml html) |
StyleBuilder |
HtmlStyleBuilder.html(SafeHtml html) |
void |
ElementBuilderImpl.html(SafeHtml html) |
FrameSetBuilder |
HtmlFrameSetBuilder.html(SafeHtml html) |
StyleBuilder |
StyleBuilder.html(SafeHtml html)
Throws
UnsupportedOperationException . |
Modifier and Type | Method and Description |
---|---|
void |
Element.setInnerSafeHtml(SafeHtml html)
All of the markup and content within a given element.
|
Modifier and Type | Method and Description |
---|---|
SafeHtml |
Child.multiSelect(List<String> names,
String name1,
String name2,
int msgCount,
String gender) |
Modifier and Type | Method and Description |
---|---|
SafeHtml |
SafeHtmlBidiFormatter.dirAttr(SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.dirAttr(String str) |
SafeHtml |
SafeHtmlBidiFormatter.endEdge()
Returns "left" for RTL context direction.
|
SafeHtml |
SafeHtmlBidiFormatter.knownDirAttr(HasDirection.Direction dir) |
SafeHtml |
SafeHtmlBidiFormatter.mark() |
SafeHtml |
SafeHtmlBidiFormatter.markAfter(SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.markAfter(String str) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrap(SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrap(SafeHtml html,
boolean dirReset) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrap(String str) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrap(String str,
boolean dirReset) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
SafeHtml html,
boolean dirReset) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
String str) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
String str,
boolean dirReset) |
SafeHtml |
SafeHtmlBidiFormatter.startEdge()
Returns "right" for RTL context direction.
|
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrap(SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrap(SafeHtml html,
boolean dirReset) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrap(String str) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrap(String str,
boolean dirReset) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrapWithKnownDir(HasDirection.Direction dir,
SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrapWithKnownDir(HasDirection.Direction dir,
SafeHtml html,
boolean dirReset) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrapWithKnownDir(HasDirection.Direction dir,
String str) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrapWithKnownDir(HasDirection.Direction dir,
String str,
boolean dirReset) |
Modifier and Type | Method and Description |
---|---|
SafeHtml |
SafeHtmlBidiFormatter.dirAttr(SafeHtml html) |
HasDirection.Direction |
DirectionEstimator.estimateDirection(SafeHtml html)
Estimates the direction of a SafeHtml.
|
HasDirection.Direction |
SafeHtmlBidiFormatter.estimateDirection(SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.markAfter(SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrap(SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrap(SafeHtml html,
boolean dirReset) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
SafeHtml html,
boolean dirReset) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrap(SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrap(SafeHtml html,
boolean dirReset) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrapWithKnownDir(HasDirection.Direction dir,
SafeHtml html) |
SafeHtml |
SafeHtmlBidiFormatter.unicodeWrapWithKnownDir(HasDirection.Direction dir,
SafeHtml html,
boolean dirReset) |
Modifier and Type | Method and Description |
---|---|
void |
HasSafeHtml.setHTML(SafeHtml html)
Sets this object's contents via known-safe HTML.
|
Modifier and Type | Class and Description |
---|---|
class |
OnlyToBeUsedInGeneratedCodeStringBlessedAsSafeHtml
A string wrapped as an object of type
SafeHtml . |
Modifier and Type | Field and Description |
---|---|
static SafeHtml |
SafeHtmlUtils.EMPTY_SAFE_HTML
An empty String.
|
Modifier and Type | Method and Description |
---|---|
static SafeHtml |
SafeHtmlUtils.fromSafeConstant(String s)
Returns a
SafeHtml constructed from a safe string, i.e., without escaping
the string. |
static SafeHtml |
SafeHtmlUtils.fromString(String s)
Returns a
SafeHtml containing the escaped string. |
static SafeHtml |
SafeHtmlUtils.fromTrustedString(String s)
Returns a
SafeHtml constructed from a trusted string, i.e., without
escaping the string. |
SafeHtml |
HtmlSanitizer.sanitize(String html)
Sanitizes a string into
SafeHtml . |
SafeHtml |
SimpleHtmlSanitizer.sanitize(String html) |
static SafeHtml |
SimpleHtmlSanitizer.sanitizeHtml(String html)
HTML-sanitizes a string.
|
SafeHtml |
SafeHtmlBuilder.toSafeHtml()
Returns the safe HTML accumulated in the builder as a
SafeHtml . |
Modifier and Type | Method and Description |
---|---|
SafeHtmlBuilder |
SafeHtmlBuilder.append(SafeHtml html)
Appends the contents of another
SafeHtml object, without applying
HTML-escaping to it. |
Modifier and Type | Method and Description |
---|---|
SafeHtml |
SimpleSafeHtmlRenderer.render(String object) |
SafeHtml |
SafeHtmlRenderer.render(T object)
Renders
object as safe HTML. |
protected SafeHtml |
AbstractSafeHtmlRenderer.toSafeHtml(Object obj) |
Modifier and Type | Method and Description |
---|---|
protected static SafeHtml |
AbstractUiRenderer.stampUiRendererAttribute(SafeHtml safeHtml,
String attributeName,
String attributeValue)
Inserts an attribute into the first tag found in a
safeHtml template. |
Modifier and Type | Method and Description |
---|---|
protected static SafeHtml |
AbstractUiRenderer.stampUiRendererAttribute(SafeHtml safeHtml,
String attributeName,
String attributeValue)
Inserts an attribute into the first tag found in a
safeHtml template. |
Modifier and Type | Method and Description |
---|---|
SafeHtml |
CellList.getEmptyListMessage()
Deprecated.
as of GWT 2.3, use
CellList.getEmptyListWidget() instead |
SafeHtml |
SafeHtmlHeader.getValue()
Return the
SafeHtml text value. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCellTable.addColumn(Column<T,?> col,
SafeHtml headerHtml)
Adds a column to the end of the table with an associated
SafeHtml
header. |
void |
AbstractCellTable.addColumn(Column<T,?> col,
SafeHtml headerHtml,
SafeHtml footerHtml)
Adds a column to the end of the table with an associated
SafeHtml
header and footer. |
protected Element |
AbstractHasData.convertToElements(SafeHtml html)
Convert the specified HTML into DOM elements and return the parent of the
DOM elements.
|
protected Element |
AbstractCellTable.convertToElements(SafeHtml html) |
void |
AbstractCellTable.insertColumn(int beforeIndex,
Column<T,?> col,
SafeHtml headerHtml)
Inserts a column into the table at the specified index with an associated
SafeHtml 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 associated
SafeHtml header and footer. |
protected void |
AbstractHasData.replaceAllChildren(List<T> values,
SafeHtml html)
Replace all children with the specified html.
|
protected void |
AbstractCellTable.replaceAllChildren(List<T> values,
SafeHtml html) |
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.
|
protected void |
AbstractCellTable.replaceChildren(List<T> values,
int start,
SafeHtml html) |
void |
CellList.setEmptyListMessage(SafeHtml html)
Deprecated.
as of GWT 2.3, use
CellList.setEmptyListWidget(com.google.gwt.user.client.ui.Widget)
instead |
Constructor and Description |
---|
SafeHtmlHeader(SafeHtml text)
Construct a Header with a given
SafeHtml text value. |
Modifier and Type | Field and Description |
---|---|
protected SafeHtml |
RenderablePanel.html |
Modifier and Type | Method and Description |
---|---|
protected SafeHtml |
RenderablePanel.getInnerHtml()
Returns the HTML to be set as the innerHTML of the container.
|
SafeHtml |
AbstractImagePrototype.getSafeHtml()
Gets an HTML fragment that displays the image represented by this
prototype.
|
SafeHtml |
ImageResourceRenderer.render(ImageResource image) |
SafeHtml |
RenderablePanel.render(RenderableStamper stamper) |
SafeHtml |
Composite.render(RenderableStamper stamper) |
SafeHtml |
IsRenderable.render(RenderableStamper stamper) |
SafeHtml |
RenderableStamper.stamp(SafeHtml safeHtml)
Stamps an HTML element in such a way that it can be later found in the DOM tree.
|
Modifier and Type | Method and Description |
---|---|
void |
StackPanel.add(Widget w,
SafeHtml stackHtml)
Adds a new child with the given widget and header, optionally interpreting
the header as HTML.
|
void |
TabLayoutPanel.add(Widget child,
SafeHtml html)
Adds a widget to the panel.
|
void |
StackLayoutPanel.add(Widget widget,
SafeHtml header,
double headerSize)
Adds a child widget to this stack, along with a widget representing the
stack header.
|
TreeItem |
TreeItem.addItem(SafeHtml itemHtml)
Adds a child tree item containing the specified html.
|
TreeItem |
HasTreeItems.addItem(SafeHtml itemHtml)
Adds a simple tree item containing the specified html.
|
TreeItem |
Tree.addItem(SafeHtml itemHtml)
Adds a simple tree item containing the specified html.
|
MenuItem |
MenuBar.addItem(SafeHtml html,
MenuBar popup)
Adds a menu item to the bar, that will open the specified menu when it is
selected.
|
MenuItem |
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.
|
void |
TabBar.addTab(SafeHtml html)
Adds a new tab with the specified text.
|
void |
StackLayoutPanel.insert(Widget child,
SafeHtml html,
double headerSize,
int beforeIndex)
Inserts a widget into the panel.
|
void |
TabLayoutPanel.insert(Widget child,
SafeHtml html,
int beforeIndex)
Inserts a widget into the panel.
|
TreeItem |
TreeItem.insertItem(int beforeIndex,
SafeHtml itemHtml)
Inserts a child tree item at the specified index containing the specified
html.
|
TreeItem |
Tree.insertItem(int beforeIndex,
SafeHtml itemHtml)
Inserts a child tree item at the specified index containing the specified
html.
|
void |
TabBar.insertTab(SafeHtml html,
int beforeIndex)
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 |
HTMLTable.setHTML(int row,
int column,
SafeHtml html)
Sets the HTML contents of the specified cell.
|
void |
TreeItem.setHTML(SafeHtml html) |
void |
HTML.setHTML(SafeHtml html)
Sets this object's contents via known-safe HTML.
|
void |
MenuItem.setHTML(SafeHtml html) |
void |
DialogBox.setHTML(SafeHtml html)
Sets the html string inside the caption by calling its
DialogBox.setHTML(SafeHtml) method. |
void |
RichTextArea.setHTML(SafeHtml html) |
void |
CustomButton.setHTML(SafeHtml html) |
void |
CustomButton.Face.setHTML(SafeHtml html)
Set the face's contents as html.
|
void |
ButtonBase.setHTML(SafeHtml html) |
void |
Hyperlink.setHTML(SafeHtml html) |
void |
Anchor.setHTML(SafeHtml html) |
void |
HTML.setHTML(SafeHtml html,
HasDirection.Direction dir) |
void |
HasDirectionalSafeHtml.setHTML(SafeHtml html,
HasDirection.Direction dir)
Sets this object's html, also declaring its direction.
|
void |
CheckBox.setHTML(SafeHtml html,
HasDirection.Direction dir) |
void |
Hyperlink.setHTML(SafeHtml html,
HasDirection.Direction dir) |
void |
Anchor.setHTML(SafeHtml html,
HasDirection.Direction dir) |
void |
StackPanel.setStackText(int index,
SafeHtml html)
Sets the html associated with a child by its index.
|
void |
TabLayoutPanel.setTabHTML(int index,
SafeHtml html)
Sets a tab's HTML contents.
|
void |
TabBar.setTabHTML(int index,
SafeHtml html)
Sets a tab's contents via safe html.
|
SafeHtml |
RenderableStamper.stamp(SafeHtml safeHtml)
Stamps an HTML element in such a way that it can be later found in the DOM tree.
|
Constructor and Description |
---|
Anchor(SafeHtml html)
Creates an anchor for scripting.
|
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.
|
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,
SafeUri href)
Creates an anchor with its html and href (target URL) specified.
|
Anchor(SafeHtml html,
SafeUri href,
String target)
Creates a source anchor (link to URI).
|
Anchor(SafeHtml html,
String href)
Creates an anchor with its html and href (target URL) specified.
|
Anchor(SafeHtml html,
String href,
String target)
Creates a source anchor (link to URI).
|
Button(SafeHtml html)
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.
|
CheckBox(SafeHtml label)
Creates a check box with the specified text label.
|
CheckBox(SafeHtml label,
DirectionEstimator directionEstimator)
Creates a check box with the specified text label.
|
CheckBox(SafeHtml label,
HasDirection.Direction dir)
Creates a check box with the specified text label.
|
HTML(SafeHtml html)
Initializes the widget's HTML from a given
SafeHtml object. |
HTML(SafeHtml html,
DirectionEstimator directionEstimator)
Creates an HTML widget with the specified HTML contents and specifies a
direction estimator.
|
HTML(SafeHtml html,
HasDirection.Direction dir)
Creates an HTML widget with the specified contents and with the specified
direction.
|
HTMLPanel(SafeHtml safeHtml)
Initializes the panel's HTML from a given
SafeHtml object. |
Hyperlink(SafeHtml html,
DirectionEstimator directionEstimator,
String targetHistoryToken)
Creates a hyperlink with its html and target history token specified.
|
Hyperlink(SafeHtml html,
HasDirection.Direction dir,
String targetHistoryToken)
Creates a hyperlink with its html and target history token specified.
|
Hyperlink(SafeHtml html,
String targetHistoryToken)
Creates a hyperlink with its html and target history token specified.
|
InlineHTML(SafeHtml html)
Initializes the widget's HTML from a given
SafeHtml object. |
InlineHTML(SafeHtml html,
DirectionEstimator directionEstimator)
Creates an HTML widget with the specified HTML contents and with a default
direction estimator.
|
InlineHTML(SafeHtml html,
HasDirection.Direction dir)
Creates an HTML widget with the specified contents and with the
specified direction.
|
InlineHyperlink(SafeHtml html,
DirectionEstimator directionEstimator,
String targetHistoryToken)
Creates a hyperlink with its html and target history token specified.
|
InlineHyperlink(SafeHtml html,
HasDirection.Direction dir,
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.
|
MenuItem(SafeHtml html)
Constructs a new menu item that fires a command when it is selected.
|
MenuItem(SafeHtml html,
MenuBar subMenu)
Constructs a new menu item that cascades to a sub-menu when it is selected.
|
MenuItem(SafeHtml html,
Scheduler.ScheduledCommand cmd)
Constructs a new menu item that fires a command 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,
DirectionEstimator directionEstimator) |
RadioButton(String name,
SafeHtml label,
HasDirection.Direction dir) |
RenderablePanel(SafeHtml safeHtml)
Initializes the panel's HTML from a given
SafeHtml 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.
|
TreeItem(SafeHtml html)
Constructs a tree item with the given HTML.
|
Modifier and Type | Method and Description |
---|---|
SafeHtml |
ClippedImagePrototype.getSafeHtml() |
SafeHtml |
ClippedImageImpl.getSafeHtml(SafeUri url,
int left,
int top,
int width,
int height) |
SafeHtml |
ClippedImageImpl.getSafeHtml(SafeUri url,
int left,
int top,
int width,
int height,
boolean isDraggable) |
Copyright © 2018. All rights reserved.