public final class ModuleUtils extends Object
This class should contain only static methods or fields.
Modifier and Type | Method and Description |
---|---|
static void |
addInitFunctions()
Adds entry points to call during gwtOnLoad, uses JS arguments.
|
static void |
gwtOnLoad(JavaScriptObject errFn,
JavaScriptObject modName,
JavaScriptObject modBase,
JavaScriptObject softPermutationId)
Module startup glue.
|
static JavaScriptObject |
registerEntry() |
static void |
setGwtProperty(String propertyName,
JavaScriptObject propertyValue) |
public static void gwtOnLoad(JavaScriptObject errFn, JavaScriptObject modName, JavaScriptObject modBase, JavaScriptObject softPermutationId)
This function is responsible for calling the module entry points.
gwtOnLoad(com.google.gwt.core.client.JavaScriptObject, com.google.gwt.core.client.JavaScriptObject, com.google.gwt.core.client.JavaScriptObject, com.google.gwt.core.client.JavaScriptObject)
will have a global alias gwtOnLoad called
to startup the application.
public static void addInitFunctions()
public static JavaScriptObject registerEntry()
public static void setGwtProperty(String propertyName, JavaScriptObject propertyValue)
Copyright © 2018. All rights reserved.