Package | Description |
---|---|
netscape.javascript |
Modifier and Type | Method and Description |
---|---|
abstract Object |
JSObject.call(String methodName,
Object... args)
Calls a JavaScript method.
|
abstract Object |
JSObject.eval(String s)
Evaluates a JavaScript expression.
|
abstract Object |
JSObject.getMember(String name)
Retrieves a named member of a JavaScript object.
|
abstract Object |
JSObject.getSlot(int index)
Retrieves an indexed member of a JavaScript object.
|
static JSObject |
JSObject.getWindow(Applet applet)
Returns a JSObject for the window containing the given applet.
|
abstract void |
JSObject.removeMember(String name)
Removes a named member of a JavaScript object.
|
abstract void |
JSObject.setMember(String name,
Object value)
Sets a named member of a JavaScript object.
|
abstract void |
JSObject.setSlot(int index,
Object value)
Sets an indexed member of a JavaScript object.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.