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.
|
com.google.gwt.user.client.ui.impl |
Modifier and Type | Method and Description |
---|---|
void |
Element.setInnerHTML(String html)
All of the markup and content within a given element.
|
Modifier and Type | Method and Description |
---|---|
String |
BidiFormatter.spanWrap(String str)
Like
BidiFormatter.spanWrap(String, boolean, boolean) , but assumes isHtml is false and dirReset is true. |
String |
BidiFormatter.spanWrap(String str,
boolean isHtml)
Like
BidiFormatter.spanWrap(String, boolean, boolean) , but assumes dirReset is true. |
String |
BidiFormatter.spanWrap(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 String |
BidiFormatterBase.spanWrapBase(String str,
boolean isHtml,
boolean dirReset) |
String |
BidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
String str)
Like
BidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean) ,
but assumes isHtml is false and dirReset is true. |
String |
BidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
String str,
boolean isHtml)
Like
BidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean) ,
but assumes dirReset is true. |
String |
BidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
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 String |
BidiFormatterBase.spanWrapWithKnownDirBase(HasDirection.Direction dir,
String str,
boolean isHtml,
boolean dirReset) |
Modifier and Type | Method and Description |
---|---|
String |
BidiFormatter.spanWrap(String str,
boolean isHtml)
Like
BidiFormatter.spanWrap(String, boolean, boolean) , but assumes dirReset is true. |
String |
BidiFormatter.spanWrap(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 String |
BidiFormatterBase.spanWrapBase(String str,
boolean isHtml,
boolean dirReset) |
String |
BidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
String str,
boolean isHtml)
Like
BidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean) ,
but assumes dirReset is true. |
String |
BidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
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 String |
BidiFormatterBase.spanWrapWithKnownDirBase(HasDirection.Direction dir,
String str,
boolean isHtml,
boolean dirReset) |
Modifier and Type | Method and Description |
---|---|
String |
SafeHtml.asString()
Returns this object's contained HTML as a string.
|
String |
OnlyToBeUsedInGeneratedCodeStringBlessedAsSafeHtml.asString()
Returns this object's contained HTML as a string.
|
static String |
SafeHtmlUtils.htmlEscapeAllowEntities(String text)
HTML-escapes a string, but does not double-escape HTML-entities already
present in the string.
|
Modifier and Type | Method and Description |
---|---|
static Element |
UiBinderUtil.fromHtml(String html) |
Modifier and Type | Method and Description |
---|---|
static void |
DOM.setInnerHTML(Element elem,
String html)
Deprecated.
Use
Element.setInnerHTML(String) instead. |
Modifier and Type | Method and Description |
---|---|
String |
SuggestOracle.Suggestion.getDisplayString()
Gets the display string associated with this suggestion.
|
String |
MultiWordSuggestOracle.MultiWordSuggestion.getDisplayString() |
Modifier and Type | Method and Description |
---|---|
void |
TabPanel.add(IsWidget w,
String tabText,
boolean asHTML)
Convenience overload to allow
IsWidget to be used directly. |
void |
TabLayoutPanel.add(IsWidget w,
String text,
boolean asHtml)
Convenience overload to allow
IsWidget to be used directly. |
void |
StackLayoutPanel.add(IsWidget widget,
String header,
boolean asHtml,
double headerSize)
Overloaded version for IsWidget.
|
void |
StackPanel.add(Widget w,
String stackText,
boolean asHTML)
Adds a new child with the given widget and header, optionally interpreting
the header as HTML.
|
void |
TabPanel.add(Widget w,
String tabText,
boolean asHTML)
Adds a widget to the tab panel.
|
void |
TabLayoutPanel.add(Widget child,
String text,
boolean asHtml)
Adds a widget to the panel.
|
void |
StackLayoutPanel.add(Widget widget,
String header,
boolean asHtml,
double headerSize)
Adds a child widget to this stack, along with a widget representing the
stack header.
|
MenuItem |
MenuBar.addItem(String text,
boolean asHTML,
MenuBar popup)
Adds a menu item to the bar, that will open the specified menu when it is
selected.
|
MenuItem |
MenuBar.addItem(String text,
boolean asHTML,
Scheduler.ScheduledCommand cmd)
Adds a menu item to the bar, that will fire the given command when it is
selected.
|
void |
TabBar.addTab(String text,
boolean asHTML)
Adds a new tab with the specified text.
|
protected MultiWordSuggestOracle.MultiWordSuggestion |
MultiWordSuggestOracle.createSuggestion(String replacementString,
String displayString)
Creates the suggestion based on the given replacement and display strings.
|
void |
TabPanel.insert(IsWidget widget,
String tabText,
boolean asHTML,
int beforeIndex)
Convenience overload to allow
IsWidget to be used directly. |
void |
TabLayoutPanel.insert(IsWidget child,
String text,
boolean asHtml,
int beforeIndex)
Convenience overload to allow
IsWidget to be used directly. |
void |
StackLayoutPanel.insert(Widget child,
String text,
boolean asHtml,
double headerSize,
int beforeIndex)
Inserts a widget into the panel.
|
void |
TabPanel.insert(Widget widget,
String tabText,
boolean asHTML,
int beforeIndex)
Inserts a widget into the tab panel.
|
void |
TabLayoutPanel.insert(Widget child,
String text,
boolean asHtml,
int beforeIndex)
Inserts a widget into the panel.
|
void |
RichTextArea.Formatter.insertHTML(String html)
Inserts generic html.
|
void |
TabBar.insertTab(String text,
boolean asHTML,
int beforeIndex)
Inserts a new tab at the specified index.
|
void |
CaptionPanel.CaptionPanelImpl.setCaption(FieldSetElement fieldset,
Element legend,
String caption,
boolean asHTML) |
void |
CaptionPanel.CaptionPanelImplMozilla.setCaption(FieldSetElement fieldset,
Element legend,
String caption,
boolean asHTML) |
void |
CaptionPanel.CaptionPanelImplSafari.setCaption(FieldSetElement fieldset,
Element legend,
String caption,
boolean asHTML) |
void |
CaptionPanel.setCaptionHTML(String html)
Sets the caption for the panel using an HTML fragment.
|
void |
StackLayoutPanel.setHeaderHTML(int index,
String html)
Sets a stack header's HTML contents.
|
void |
HTMLTable.setHTML(int row,
int column,
String html)
Sets the HTML contents of the specified cell.
|
void |
DirectionalTextHelper.setHtml(String content)
Sets the element's content to the given value (html).
|
void |
TreeItem.setHTML(String html) |
void |
HTML.setHTML(String html)
Sets the label's content to the given HTML.
|
void |
MenuItem.setHTML(String html) |
void |
DialogBox.setHTML(String html)
Sets the html string inside the caption by calling its
DialogBox.setHTML(SafeHtml) method. |
void |
RichTextArea.setHTML(String html) |
void |
CheckBox.setHTML(String html) |
void |
CustomButton.setHTML(String html)
Sets the current face's html.
|
void |
CustomButton.Face.setHTML(String html)
Set the face's contents as html.
|
void |
ButtonBase.setHTML(String html) |
void |
Hyperlink.setHTML(String html) |
void |
HasHTML.setHTML(String html)
Sets this object's contents via HTML.
|
void |
Anchor.setHTML(String html) |
void |
DirectionalTextHelper.setHtml(String content,
HasDirection.Direction dir)
Sets the element's content to the given value (html), applying the given
direction.
|
void |
HTML.setHTML(String html,
HasDirection.Direction dir)
Sets the label's content to the given HTML, applying the given direction.
|
void |
HasDirectionalHtml.setHTML(String html,
HasDirection.Direction dir)
Sets this object's html, also declaring its direction.
|
void |
StackPanel.setStackText(int index,
String text,
boolean asHTML)
Sets the text associated with a child by its index.
|
void |
TabLayoutPanel.setTabHTML(int index,
String html)
Sets a tab's HTML contents.
|
void |
TabBar.setTabHTML(int index,
String html)
Sets a tab's contents via HTML.
|
void |
DirectionalTextHelper.setTextOrHtml(String content,
boolean isHtml)
Sets the element's content to the given value (either plain text or HTML).
|
void |
DirectionalTextHelper.setTextOrHtml(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 and Description |
---|
Anchor(String text,
boolean asHtml)
Creates an anchor for scripting.
|
Anchor(String text,
boolean asHTML,
String href)
Creates an anchor with its text and href (target URL) specified.
|
Anchor(String text,
boolean asHtml,
String href,
String target)
Creates a source anchor (link to URI).
|
Button(String html)
Creates a button with the given HTML caption.
|
Button(String html,
ClickHandler handler)
Creates a button with the given HTML caption and click listener.
|
Button(String html,
ClickListener listener)
Deprecated.
Use
Button.Button(String, ClickHandler) instead |
CaptionPanel(String caption,
boolean asHTML)
Constructs a CaptionPanel having the specified caption.
|
CheckBox(String label,
boolean asHTML)
Creates a check box with the specified text label.
|
HTML(String html)
Creates an HTML widget with the specified HTML contents.
|
HTML(String html,
boolean wordWrap)
Creates an HTML widget with the specified contents, optionally treating it
as HTML, and optionally disabling word wrapping.
|
HTML(String html,
HasDirection.Direction dir)
Creates an HTML widget with the specified HTML contents and with the
specified direction.
|
HTMLPanel(String html)
Creates an HTML panel with the specified HTML contents inside a DIV
element.
|
HTMLPanel(String tag,
String html)
Creates an HTML panel whose root element has the given tag, and with the
specified HTML contents.
|
Hyperlink(String text,
boolean asHTML,
String targetHistoryToken)
Creates a hyperlink with its text and target history token specified.
|
InlineHTML(String html)
Creates an HTML widget with the specified HTML contents.
|
InlineHTML(String html,
HasDirection.Direction dir)
Creates an HTML widget with the specified HTML contents and with the
specified direction.
|
InlineHyperlink(String text,
boolean asHTML,
String targetHistoryToken)
Creates a hyperlink with its text and target history token specified.
|
MenuItem(String text,
boolean asHTML,
MenuBar subMenu)
Constructs a new menu item that cascades to a sub-menu when it is selected.
|
MenuItem(String text,
boolean asHTML,
Scheduler.ScheduledCommand cmd)
Constructs a new menu item that fires a command when it is selected.
|
MultiWordSuggestion(String replacementString,
String displayString)
Constructor for
MultiWordSuggestion . |
RadioButton(String name,
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(String html)
Creates an HTML panel with the specified HTML contents inside a DIV
element.
|
ResetButton(String html)
Creates a button with the given HTML caption.
|
ResetButton(String html,
ClickHandler handler)
Creates a button with the given HTML caption and click listener.
|
SubmitButton(String html)
Creates a button with the given HTML caption.
|
SubmitButton(String html,
ClickHandler handler)
Creates a button with the given HTML caption and click listener.
|
Modifier and Type | Method and Description |
---|---|
void |
RichTextAreaImplIE8toIE10.insertHTML(String html) |
void |
RichTextAreaImplStandard.insertHTML(String html) |
void |
RichTextAreaImplStandard.setHTML(String html) |
void |
RichTextAreaImpl.setHTML(String html) |
protected void |
RichTextAreaImplStandard.setHTMLImpl(String html) |
Copyright © 2018. All rights reserved.