Modifier and Type | Method and Description |
---|---|
static void |
alert(String message)
Displays an alert box with a specified message and an OK button.
|
static String |
atob(String encoded)
Decode a base-64 encoded string
|
static String |
btoa(String str)
Encodes a string in base-64.
|
static void |
enableResizeOnBeforePrint()
CSS media queries allow changing styles when printing a page.
|
static double |
getDevicePixelRatio()
Returns the device pixel ratio
|
static int |
getInnerHeight()
The innerHeight property returns the inner height of a window's content area.
|
static int |
getInnerWidth()
The innerWidth property returns the inner width of a window's content area.
|
static int |
getOuterHeight()
The outerHeight property returns the outer height of a window, including all interface elements (like toolbars/scrollbars).
|
static int |
getOuterWidth()
The outerWidth property returns the outer width of a window, including all interface elements (like toolbars/scrollbars).
|
static <T> T |
undefined()
Returns an
undefined instance. |
@JsProperty(name="undefined") public static <T> T undefined()
undefined
instance.T
- type of result objectundefined
instance@JsProperty public static double getDevicePixelRatio()
@JsProperty public static int getInnerWidth()
@JsProperty public static int getInnerHeight()
@JsProperty public static int getOuterWidth()
@JsProperty public static int getOuterHeight()
public static void alert(String message)
message
- The text to display in the alert boxpublic static String atob(String encoded)
encoded
- Required. The string which has been encoded by the btoa() methodpublic static String btoa(String str)
str
- Required. The string to be encoded@JsOverlay public static void enableResizeOnBeforePrint()
onbeforeprint
event and manually trigger resizing of each chart.