Name
JSObject — Java representation of a JavaScript object
Availability
A Java class in the netscape.javascript package included with Navigator 3 and later
Synopsis
public final class netscape.javascript.JSObject
Methods
- call(methodName, args[])
Invoke a method of a JavaScript object.
- eval(s)
Evaluate a string of JavaScript code.
- getMember(name)
Read a property of a JavaScript object.
- getSlot(index)
Read an array element of a JavaScript object.
- getWindow(applet)
Return initial JSObject for browser window.
- removeMember(name)
Delete a property of a JavaScript object.
- setMember(name, value)
Set a property of a JavaScript object.
- setSlot(index, value)
Set an array element of a JavaScript object.
- toString()
Return the string value of a JavaScript object.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access