|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.terminal.gwt.client.ApplicationConfiguration
public class ApplicationConfiguration
Nested Class Summary | |
---|---|
static class |
ApplicationConfiguration.ErrorMessage
Wraps a native javascript object containing fields for an error message |
Field Summary | |
---|---|
static String |
VERSION
Builds number. |
Constructor Summary | |
---|---|
ApplicationConfiguration()
|
Method Summary | |
---|---|
void |
addComponentInheritanceInfo(ValueMap valueMap)
|
void |
addComponentMappings(ValueMap valueMap,
WidgetSet widgetSet)
|
String |
getApplicationUri()
Gets the application base URI. |
String |
getApplicationVersion()
|
ApplicationConfiguration.ErrorMessage |
getAuthorizationError()
|
ApplicationConfiguration.ErrorMessage |
getCommunicationError()
|
static ApplicationConfiguration |
getConfigFromDOM(String appId)
|
Class<? extends ServerConnector> |
getConnectorClassByEncodedTag(int tag)
|
Integer |
getParentTag(int tag)
|
String |
getPortletUidlURLBase()
|
int |
getRootId()
Gets the root if of this application instance. |
String |
getRootPanelId()
|
static List<ApplicationConnection> |
getRunningApplications()
|
String |
getServerSideClassNameForTag(Integer tag)
|
String |
getServletVersion()
|
String |
getThemeName()
|
String |
getThemeUri()
|
String |
getUIDL()
Gets the initial UIDL from the DOM, if it was provided during the init process. |
com.google.gwt.core.client.JavaScriptObject |
getVersionInfoJSObject()
|
boolean |
isBrowserDetailsSent()
Checks whether information from the web browser (e.g. |
static boolean |
isDebugMode()
Checks if client side is in debug mode. |
static boolean |
isQuietDebugMode()
Checks whether debug logging should be quiet |
boolean |
isStandalone()
|
boolean |
isWidgetsetVersionSent()
Checks whether the widget set version has been sent to the server. |
void |
onModuleLoad()
|
static void |
registerCallback(String widgetsetName)
Registers that callback that the bootstrap javascript uses to start applications once the widgetset is loaded and all required information is available |
void |
setAppId(String appId)
|
void |
setBrowserDetailsSent()
Registers that the browser details have been sent. |
void |
setWidgetsetVersionSent()
Registers that the widget set version has been sent to the server. |
static void |
startApplication(String applicationId)
Starts the application with a given id by reading the configuration options stored by the bootstrap javascript. |
boolean |
useDebugIdInDOM()
|
boolean |
usePortletURLs()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String VERSION
Constructor Detail |
---|
public ApplicationConfiguration()
Method Detail |
---|
public boolean usePortletURLs()
public String getPortletUidlURLBase()
public String getRootPanelId()
public String getApplicationUri()
public String getThemeName()
public String getThemeUri()
public void setAppId(String appId)
public String getUIDL()
public boolean isStandalone()
public int getRootId()
public com.google.gwt.core.client.JavaScriptObject getVersionInfoJSObject()
public ApplicationConfiguration.ErrorMessage getCommunicationError()
public ApplicationConfiguration.ErrorMessage getAuthorizationError()
public static void startApplication(String applicationId)
applicationId
- id of the application to load, this is also the id of the html
element into which the application should be rendered.public static List<ApplicationConnection> getRunningApplications()
public static ApplicationConfiguration getConfigFromDOM(String appId)
public String getServletVersion()
public String getApplicationVersion()
public boolean useDebugIdInDOM()
public Class<? extends ServerConnector> getConnectorClassByEncodedTag(int tag)
public void addComponentInheritanceInfo(ValueMap valueMap)
public void addComponentMappings(ValueMap valueMap, WidgetSet widgetSet)
public Integer getParentTag(int tag)
public String getServerSideClassNameForTag(Integer tag)
public void onModuleLoad()
onModuleLoad
in interface com.google.gwt.core.client.EntryPoint
public static void registerCallback(String widgetsetName)
widgetsetName
- the name of this widgetsetpublic static boolean isDebugMode()
public static boolean isQuietDebugMode()
true
if debug logging should be quietpublic boolean isBrowserDetailsSent()
true
if browser information has already been sentApplicationConnection.getNativeBrowserDetailsParameters(String)
public void setBrowserDetailsSent()
isBrowserDetailsSent()
will return
after this method has been invoked.
public boolean isWidgetsetVersionSent()
true
if browser information has already been sentApplicationConnection.getNativeBrowserDetailsParameters(String)
public void setWidgetsetVersionSent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |