|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflash.external.ExternalInterface
public final class ExternalInterface
| Method Summary | |
|---|---|
static boolean |
addCallback(String methodName,
CallbackListener listener)
Register callback for invocations from the container. |
static com.google.gwt.core.client.JavaScriptObject |
call(String methodName,
com.google.gwt.core.client.JavaScriptObject... params)
Invoke a function in the container. |
static boolean |
isAvailable()
Determine if the external interface is available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isAvailable()
public static boolean addCallback(String methodName,
CallbackListener listener)
methodName - name of the method that will be called
by the containerlistener - instance that will receive container invocations
public static com.google.gwt.core.client.JavaScriptObject call(String methodName,
com.google.gwt.core.client.JavaScriptObject... params)
methodName - name of the method to invokeparams - zero or more arrays each containing a method parameter
as the first element in the array
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||