Class ThumbnailUtils

java.lang.Object
com.levigo.jadice.web.demo.common.client.util.ThumbnailUtils

public class ThumbnailUtils extends Object
  • Constructor Details

    • ThumbnailUtils

      public ThumbnailUtils()
  • Method Details

    • createImageFromHandle

      public static com.google.gwt.user.client.ui.Image createImageFromHandle(PageSegmentHandle handle)
      Start the rendering of a thumbnail image specified by a PageSegmentHandle for demo purposes. This will subsequently trigger a request to the server which will then render the image, so don't expect the image to be complete after returning from the method since this is an asynchronous operation
      Parameters:
      handle - a PageSegmentHandle belonging to the page which shall be rendered
      Returns:
      placeholder for the image which will later on be filled with data when the rendering request on the server completes.
    • stringify

      public static String stringify(com.google.gwt.core.client.JavaScriptObject obj)