public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHeader(com.google.gwt.resources.client.ImageResource image,
String text)
Get a string representation of the header that includes an image and some text.
|
static com.google.gwt.user.client.ui.HTML |
getHeaderHTML(com.google.gwt.resources.client.ImageResource image,
String text)
Get a HTML representation of the header that includes an image and some text.
|
static com.google.gwt.safehtml.shared.SafeHtml |
getHeaderSafeHtml(com.google.gwt.resources.client.ImageResource image,
String text)
Get a SafeHtml representation of the header that includes an image and some text.
|
static String |
getSelfURL()
The URL that will be used to open up assets in a feed.
|
static com.google.gwt.safehtml.shared.SafeHtml |
toSafeHtml(String html)
Convert String to a SafeHtml
|
public static String getHeader(com.google.gwt.resources.client.ImageResource image, String text)
image - the ImageResource to add next to the headertext - the header textpublic static com.google.gwt.user.client.ui.HTML getHeaderHTML(com.google.gwt.resources.client.ImageResource image,
String text)
image - the ImageResource to add next to the headertext - the header textpublic static com.google.gwt.safehtml.shared.SafeHtml getHeaderSafeHtml(com.google.gwt.resources.client.ImageResource image,
String text)
image - the ImageResource to add next to the headertext - the header textpublic static String getSelfURL()
public static com.google.gwt.safehtml.shared.SafeHtml toSafeHtml(String html)
html - Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.