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.
|
Modifier and Type | Method and Description |
---|---|
void |
Element.setInnerHTML(java.lang.String html)
All of the markup and content within a given element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
BidiFormatter.spanWrap(java.lang.String str)
Like
BidiFormatter.spanWrap(String, boolean, boolean) , but assumes isHtml is false and dirReset is true. |
java.lang.String |
BidiFormatter.spanWrap(java.lang.String str,
boolean isHtml)
Like
BidiFormatter.spanWrap(String, boolean, boolean) , but assumes dirReset is true. |
java.lang.String |
BidiFormatter.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.String |
BidiFormatterBase.spanWrapBase(java.lang.String str,
boolean isHtml,
boolean dirReset) |
java.lang.String |
BidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
java.lang.String str)
Like
BidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean) ,
but assumes isHtml is false and dirReset is true. |
java.lang.String |
BidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
java.lang.String str,
boolean isHtml)
Like
BidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean) ,
but assumes dirReset is true. |
java.lang.String |
BidiFormatter.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.String |
BidiFormatterBase.spanWrapWithKnownDirBase(HasDirection.Direction dir,
java.lang.String str,
boolean isHtml,
boolean dirReset) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
BidiFormatter.spanWrap(java.lang.String str,
boolean isHtml)
Like
BidiFormatter.spanWrap(String, boolean, boolean) , but assumes dirReset is true. |
java.lang.String |
BidiFormatter.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.String |
BidiFormatterBase.spanWrapBase(java.lang.String str,
boolean isHtml,
boolean dirReset) |
java.lang.String |
BidiFormatter.spanWrapWithKnownDir(HasDirection.Direction dir,
java.lang.String str,
boolean isHtml)
Like
BidiFormatter.spanWrapWithKnownDir(com.google.gwt.i18n.client.HasDirection.Direction, String, boolean, boolean) ,
but assumes dirReset is true. |
java.lang.String |
BidiFormatter.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.String |
BidiFormatterBase.spanWrapWithKnownDirBase(HasDirection.Direction dir,
java.lang.String str,
boolean isHtml,
boolean dirReset) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
SafeHtmlString.asString()
Returns this object's contained HTML as a string.
|
java.lang.String |
SafeHtml.asString()
Returns this object's contained HTML as a string.
|
java.lang.String |
OnlyToBeUsedInGeneratedCodeStringBlessedAsSafeHtml.asString()
Returns this object's contained HTML as a string.
|
static java.lang.String |
SafeHtmlUtils.htmlEscapeAllowEntities(java.lang.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(java.lang.String html) |
Modifier and Type | Method and Description |
---|---|
static void |
DOM.setInnerHTML(Element elem,
java.lang.String html)
Deprecated.
Use
Element.setInnerHTML(String) instead. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
SuggestOracle.Suggestion.getDisplayString()
Gets the display string associated with this suggestion.
|
java.lang.String |
MultiWordSuggestOracle.MultiWordSuggestion.getDisplayString() |
Modifier and Type | Method and Description |
---|---|
void |
TabPanel.add(IsWidget w,
java.lang.String tabText,
boolean asHTML)
Convenience overload to allow
IsWidget to be used directly. |
void |
TabLayoutPanel.add(IsWidget w,
java.lang.String text,
boolean asHtml)
Convenience overload to allow
IsWidget to be used directly. |
void |
StackLayoutPanel.add(IsWidget widget,
java.lang.String header,
boolean asHtml,
double headerSize)
Overloaded version for IsWidget.
|
void |
TabPanel.add(Widget w,
java.lang.String tabText,
boolean asHTML)
Adds a widget to the tab panel.
|
void |
TabLayoutPanel.add(Widget child,
java.lang.String text,
boolean asHtml)
Adds a widget to the panel.
|
void |
StackPanel.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.
|
void |
StackLayoutPanel.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.
|
MenuItem |
MenuBar.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.
|
MenuItem |
MenuBar.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.
|
void |
TabBar.addTab(java.lang.String text,
boolean asHTML)
Adds a new tab with the specified text.
|
protected MultiWordSuggestOracle.MultiWordSuggestion |
MultiWordSuggestOracle.createSuggestion(java.lang.String replacementString,
java.lang.String displayString)
Creates the suggestion based on the given replacement and display strings.
|
void |
TabPanel.insert(IsWidget widget,
java.lang.String tabText,
boolean asHTML,
int beforeIndex)
Convenience overload to allow
IsWidget to be used directly. |
void |
TabLayoutPanel.insert(IsWidget child,
java.lang.String text,
boolean asHtml,
int beforeIndex)
Convenience overload to allow
IsWidget to be used directly. |
void |
StackLayoutPanel.insert(Widget child,
java.lang.String text,
boolean asHtml,
double headerSize,
int beforeIndex)
Inserts a widget into the panel.
|
void |
TabPanel.insert(Widget widget,
java.lang.String tabText,
boolean asHTML,
int beforeIndex)
Inserts a widget into the tab panel.
|
void |
TabLayoutPanel.insert(Widget child,
java.lang.String text,
boolean asHtml,
int beforeIndex)
Inserts a widget into the panel.
|
void |
RichTextArea.Formatter.insertHTML(java.lang.String html)
Inserts generic html.
|
void |
TabBar.insertTab(java.lang.String text,
boolean asHTML,
int beforeIndex)
Inserts a new tab at the specified index.
|
void |
CaptionPanel.CaptionPanelImpl.setCaption(FieldSetElement fieldset,
Element legend,
java.lang.String caption,
boolean asHTML) |
void |
CaptionPanel.CaptionPanelImplMozilla.setCaption(FieldSetElement fieldset,
Element legend,
java.lang.String caption,
boolean asHTML) |
void |
CaptionPanel.CaptionPanelImplSafari.setCaption(FieldSetElement fieldset,
Element legend,
java.lang.String caption,
boolean asHTML) |
void |
CaptionPanel.setCaptionHTML(java.lang.String html)
Sets the caption for the panel using an HTML fragment.
|
void |
StackLayoutPanel.setHeaderHTML(int index,
java.lang.String html)
Sets a stack header's HTML contents.
|
void |
HTMLTable.setHTML(int row,
int column,
java.lang.String html)
Sets the HTML contents of the specified cell.
|
void |
DirectionalTextHelper.setHtml(java.lang.String content)
Sets the element's content to the given value (html).
|
void |
TreeItem.setHTML(java.lang.String html) |
void |
RichTextArea.setHTML(java.lang.String html) |
void |
MenuItem.setHTML(java.lang.String html) |
void |
Hyperlink.setHTML(java.lang.String html) |
void |
HasHTML.setHTML(java.lang.String html)
Sets this object's contents via HTML.
|
void |
HTML.setHTML(java.lang.String html)
Sets the label's content to the given HTML.
|
void |
DialogBox.setHTML(java.lang.String html)
Sets the html string inside the caption by calling its
DialogBox.setHTML(SafeHtml) method. |
void |
CustomButton.setHTML(java.lang.String html)
Sets the current face's html.
|
void |
CustomButton.Face.setHTML(java.lang.String html)
Set the face's contents as html.
|
void |
CheckBox.setHTML(java.lang.String html) |
void |
ButtonBase.setHTML(java.lang.String html) |
void |
Anchor.setHTML(java.lang.String html) |
void |
DirectionalTextHelper.setHtml(java.lang.String content,
HasDirection.Direction dir)
Sets the element's content to the given value (html), applying the given
direction.
|
void |
HasDirectionalHtml.setHTML(java.lang.String html,
HasDirection.Direction dir)
Sets this object's html, also declaring its direction.
|
void |
HTML.setHTML(java.lang.String html,
HasDirection.Direction dir)
Sets the label's content to the given HTML, applying the given direction.
|
void |
StackPanel.setStackText(int index,
java.lang.String text,
boolean asHTML)
Sets the text associated with a child by its index.
|
void |
TabLayoutPanel.setTabHTML(int index,
java.lang.String html)
Sets a tab's HTML contents.
|
void |
TabBar.setTabHTML(int index,
java.lang.String html)
Sets a tab's contents via HTML.
|
void |
DirectionalTextHelper.setTextOrHtml(java.lang.String content,
boolean isHtml)
Sets the element's content to the given value (either plain text or HTML).
|
void |
DirectionalTextHelper.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 and 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.
Use
Button.Button(String, ClickHandler) instead |
CaptionPanel(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,
MenuBar subMenu)
Constructs a new menu item that cascades to a sub-menu when it is selected.
|
MenuItem(java.lang.String text,
boolean asHTML,
Scheduler.ScheduledCommand cmd)
Constructs a new menu item that fires a command when it is selected.
|
MultiWordSuggestion(java.lang.String replacementString,
java.lang.String displayString)
Constructor for
MultiWordSuggestion . |
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.
|