public class ClientUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
busy(BaseUIComponent target,
String message) |
static void |
canClose(boolean value) |
static void |
eval(String expression) |
static void |
invoke(String function,
Object... args)
Invoke a function on the client.
|
static void |
printToClient(List<String> selectors,
List<String> styleSheets,
boolean preview)
Send a print request to the browser client.
|
static void |
printToClient(String selectors,
String styleSheets,
boolean preview)
Send a print request to the browser client.
|
static void |
redirect(String target) |
static void |
redirect(String target,
String window) |
static void |
saveToFile(String content,
String mimeType,
String fileName) |
static void |
submit(BaseComponent form) |
public static void invoke(String function, Object... args)
function - Name of the function to invoke.args - Arguments to pass to the function.public static void redirect(String target)
public static void eval(String expression)
public static void submit(BaseComponent form)
public static void busy(BaseUIComponent target, String message)
public static void canClose(boolean value)
public static void printToClient(List<String> selectors, List<String> styleSheets, boolean preview)
selectors - List of selectors whose content shall be printed.styleSheets - List of stylesheets to be applied before printing.preview - If true, open in preview mode. If false, submit directly for printing.public static void printToClient(String selectors, String styleSheets, boolean preview)
selectors - Comma-delimited list of selectors whose content shall be printed.styleSheets - Comma-delimited list of stylesheets to be applied before printing.preview - If true, open in preview mode. If false, submit directly for printing.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.