java.lang.Object
com.levigo.jadice.web.client.util.helper.Pages

public class Pages extends Object
Utility class for Pages.

Currently this class provides a method for calculating the rendered size of the page

  • Method Details

    • getRenderedSize

      public static Dimension getRenderedSize(Page page, RenderControls rc)
      Get the rendered Page size in base units.
      Parameters:
      page - the page for which the size should be returned
      rc - the RenderControls to calculate the bounds of the page
      Returns:
      the Dimension of the page