|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.clients.util.WTJSObject
public class WTJSObject
A wrapper class for netscape.javascript.JSObject.
This class can be used by Windchill client applications
as a proxy for the netscape.javascript.JSObject.
Using this class avoids needing the netscape.javascript.* classes
in the Windchill codebase. The classes are supplied by the browsers
at runtime.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
Object |
call(String methodName,
Object[] args)
Invoke the named method with the specified arguments. |
static void |
callWithoutReturnValue(Applet applet,
String methodName,
Object[] args)
Same as instance method of the same name except that this variation avoids creating a WTJSObject (and thus calling JSObject.getWindows(applet)) where this is unnecessary. |
void |
callWithoutReturnValue(String methodName,
Object[] args)
This method can be used whenever the return value of the given function call is not of interest. |
static WTJSObject |
getWindow(Applet applet)
Static method to obtain initial WTJSObject for applet's browser window. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static WTJSObject getWindow(Applet applet)
throws WTException
WTException
public Object call(String methodName,
Object[] args)
throws WTException
WTException
public void callWithoutReturnValue(String methodName,
Object[] args)
throws WTException
WTException
public static void callWithoutReturnValue(Applet applet,
String methodName,
Object[] args)
throws WTException
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||