public class ConfigurationContext extends Object
As of BST Player 2.0, it provides access to the providers' JavaScript object on the DOM. The object could be used to bind global functions and/or variables as required.
Constructor and Description |
---|
ConfigurationContext(com.google.gwt.core.client.JavaScriptObject globalJSStack,
String globalJSStackName)
Creates the configuration context
|
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
getGlobalJSStack()
Returns the global JavaScript object assigned to the player provider
|
String |
getGlobalJSStackName()
Returns the name of the global JavaScript object assigned to the player provider
|
public ConfigurationContext(com.google.gwt.core.client.JavaScriptObject globalJSStack, String globalJSStackName)
globalJSStack
- the global JavaScript object on the DOMglobalJSStackName
- the name of the JavaScript objectpublic com.google.gwt.core.client.JavaScriptObject getGlobalJSStack()
public String getGlobalJSStackName()
Copyright © 2009-2013. All Rights Reserved.