Package | Description |
---|---|
com.google.gwt.cell.client | |
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.resources.client |
Classes for aggregating static resources into bundles.
|
com.google.gwt.safecss.shared |
Shared classes for creating safe CSS style content.
|
com.google.gwt.safehtml.shared |
Shared classes for creating safe HTML content.
|
com.google.gwt.user.client.ui |
Widgets, Panels, and other user-interface classes.
|
Modifier and Type | Method and Description |
---|---|
SafeHtml |
SafeImageCell.Template.img(SafeUri url) |
void |
SafeImageCell.render(Cell.Context context,
SafeUri value,
SafeHtmlBuilder sb) |
Modifier and Type | Method and Description |
---|---|
StylesBuilder |
DomStylesBuilder.backgroundImage(SafeUri uri) |
Modifier and Type | Method and Description |
---|---|
StylesBuilder |
HtmlStylesBuilder.backgroundImage(SafeUri uri) |
StylesBuilder |
StylesBuilder.backgroundImage(SafeUri uri)
Sets the background-image CSS property.
|
Modifier and Type | Method and Description |
---|---|
SafeUri |
DataResource.getSafeUri()
Retrieves a URL by which the contents of the resource can be obtained.
|
SafeUri |
ImageResource.getSafeUri()
Returns the URL for the composite image that contains the ImageResource.
|
Modifier and Type | Method and Description |
---|---|
SafeStylesBuilder |
SafeStylesBuilder.backgroundImage(SafeUri uri)
Append the background-image CSS property.
|
static SafeStyles |
SafeStylesUtils.forBackgroundImage(SafeUri uri)
Sets the background-image CSS property.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
SafeUriString
A string wrapped as an object of type
SafeUri . |
Modifier and Type | Method and Description |
---|---|
static SafeUri |
UriUtils.fromSafeConstant(java.lang.String s)
Returns a
SafeUri constructed from a value that is fully under
the control of the program, e.g., a constant. |
static SafeUri |
UriUtils.fromString(java.lang.String s)
Returns a
SafeUri obtained by sanitizing the provided string. |
static SafeUri |
UriUtils.fromTrustedString(java.lang.String s)
Returns a
SafeUri constructed from a trusted string, i.e., without
sanitizing the string. |
static SafeUri |
UriUtils.unsafeCastFromUntrustedString(java.lang.String s)
Deprecated.
This method is intended only for use in APIs that use
SafeUri to represent URIs, but for backwards
compatibility have methods that accept URI parameters as plain
strings. |
Modifier and Type | Method and Description |
---|---|
static void |
Image.prefetch(SafeUri url)
Causes the browser to pre-fetch the image at a given URL.
|
void |
FormPanel.setAction(SafeUri url)
Sets the 'action' associated with this form.
|
void |
Frame.setUrl(SafeUri url)
Sets the URL of the resource to be displayed within the frame.
|
void |
Image.setUrl(SafeUri url)
Sets the URL of the image to be displayed.
|
void |
Image.setUrlAndVisibleRect(SafeUri url,
int left,
int top,
int width,
int height)
Sets the url and the visibility rectangle for the image at the same time.
|
Constructor and Description |
---|
Image(SafeUri url)
Creates an image with a specified URL.
|
Image(SafeUri url,
int left,
int top,
int width,
int height)
Creates a clipped image with a specified URL and visibility rectangle.
|