Class WindowUtils
java.lang.Object
com.logicaldoc.gui.common.client.util.WindowUtils
Utilities for accessing the javascript Window object
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
focus()
static String
static int
static RequestInfo
static String
static int
getWidth()
static boolean
isChrome()
static boolean
static String
left()
static void
openHtmlInWindow
(String title, String html) Opens a given HTML document in new popup windowsstatic void
static void
static void
static void
openUrlInNewTab
(String url) static void
reload()
static void
setFavicon
(GUIInfo info) static void
static void
static String
top()
-
Method Details
-
getRequestInfo
-
getAppName
-
reload
public static void reload() -
setTitle
-
getWidth
public static int getWidth() -
getHeight
public static int getHeight() -
setTitle
-
setFavicon
-
openUrl
-
openUrlInNewTab
-
openUrl
-
openUrl
-
focus
public static void focus() -
left
-
top
-
getUserAgent
-
openHtmlInWindow
Opens a given HTML document in new popup windows- Parameters:
title
- window titlewhtml
- the HTML code to display
-
isChrome
public static boolean isChrome() -
isWindows
public static boolean isWindows()
-