org.drools.guvnor.client.util
Class Util

java.lang.Object
  extended by org.drools.guvnor.client.util.Util

public class Util
extends Object


Constructor Summary
Util()
           
 
Method Summary
static com.google.gwt.safehtml.shared.SafeHtml 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 StackItemHeaderViewImpl 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
 

Constructor Detail

Util

public Util()
Method Detail

getHeader

public static com.google.gwt.safehtml.shared.SafeHtml 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 header
text - the header text
Returns:
the header as a string

getHeaderHTML

public static StackItemHeaderViewImpl 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 header
text - 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-2012 JBoss by Red Hat. All Rights Reserved.