Class WindowUtils

java.lang.Object
com.logicaldoc.gui.common.client.util.WindowUtils

public class WindowUtils extends Object
Utilities for accessing the javascript Window object
Since:
6.0
Author:
Marco Meschieri - LogicalDOC
  • Method Details

    • getRequestInfo

      public static RequestInfo getRequestInfo()
    • getAppName

      public static String getAppName()
    • reload

      public static void reload()
    • setTitle

      public static void setTitle(String title)
    • setTitle

      public static void setTitle(GUIInfo info, String prefix)
    • setFavicon

      public static void setFavicon(GUIInfo info)
    • openUrl

      public static void openUrl(String url)
    • openUrlInNewTab

      public static void openUrlInNewTab(String url)
    • openUrl

      public static void openUrl(String url, String window)
    • openUrl

      public static void openUrl(String url, String window, String specs)
    • focus

      public static void focus()
    • left

      public static String left()
    • top

      public static String top()
    • getUserAgent

      public static String getUserAgent()
    • openHtmlInWindow

      public static void openHtmlInWindow(String title, String html)
      Opens a given HTML document in new popup windows
      Parameters:
      title - window titlew
      html - the HTML code to display
    • isChrome

      public static boolean isChrome()
    • isWindows

      public static boolean isWindows()