| java.lang.Object com.google.gwt.dev.shell.moz.MethodDispatch
MethodDispatch | class MethodDispatch implements DispatchMethod(Code) | | Wraps an arbitrary Java Method as a Dispatchable component. The class was
motivated by the need to expose Java objects into JavaScript.
|
Method Summary | |
public void | invoke(int jsthisInt, int[] jsargsInt, int returnValueInt) Invoke a Java method from JavaScript. |
invoke | public void invoke(int jsthisInt, int[] jsargsInt, int returnValueInt)(Code) | | Invoke a Java method from JavaScript. This is called solely from native
code.
Parameters: jsthis - JavaScript reference to Java object Parameters: jsargs - array of JavaScript values for parameters Parameters: returnValue - JavaScript value to return result in throws: RuntimeException - if improper arguments are suppliedTODO(jat): lift most of this interface to platform-independent code (onlyexceptions still need to be made platform-independent) |
|
|