org.drools.guvnor.client.util
Class Util
java.lang.Object
org.drools.guvnor.client.util.Util
public class Util
- extends Object
Constructor Summary |
Util()
|
Method Summary |
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 string 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
getHeader
public 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.
- Parameters:
image
- the ImageResource
to add next to the headertext
- the header text
- Returns:
- the header as a string
getHeaderHTML
public static com.google.gwt.user.client.ui.HTML getHeaderHTML(com.google.gwt.resources.client.ImageResource image,
String text)
- Get a string representation of the header that includes an image and some
text.
- Parameters:
image
- the ImageResource
to add next to the headertext
- the header text
- Returns:
- the header as a string
getSelfURL
public static String getSelfURL()
- The URL that will be used to open up assets in a feed.
(by tacking asset id on the end, of course !).
Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.