References Deprecated
JSObject is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Object | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private final long | |
| private final int | |
| private static AtomicInteger | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | call(String
The name of the JavaScript method to be invoked. methodName, Object... the Java objects passed as arguments to the method. args)Implements abstract netscape. Calls a JavaScript method. |
| private static native Object | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public Object | eval(String
The JavaScript expression. s)Implements abstract netscape. Evaluates a JavaScript expression. |
| private static native Object | |
| private static JSException | fwkMakeException(Object value)
References Deprecated
JSException is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public Object | getMember(String
The name of the JavaScript property to be accessed. name)Implements abstract netscape. Retrieves a named member of a JavaScript object. |
| private static native Object | |
| pack-priv long | |
| public Object | getSlot(int
The index of the array to be accessed. index)Implements abstract netscape. Retrieves an indexed member of a JavaScript object. |
| private static native Object | |
| public int | |
| public void | removeMember(String
The name of the JavaScript property to be removed. name)Implements abstract netscape. Removes a named member of a JavaScript object. |
| private static native void | |
| public void | setMember(String
The name of the JavaScript property to be accessed. name, Object The value of the property. value)Implements abstract netscape. Sets a named member of a JavaScript object. |
| private static native void | |
| public void | setSlot(int
The index of the array to be accessed. index, Object The value to set value)Implements abstract netscape. Sets an indexed member of a JavaScript object. |
| private static native void | |
| pack-priv static int | |
| public String | |
| private static native String | |
| private static native void |
| DUMMY_ACC | back to summary |
|---|---|
| private static final Object DUMMY_ACC | |
| JS_CONTEXT_OBJECT | back to summary |
|---|---|
| pack-priv static final int JS_CONTEXT_OBJECT | |
| JS_DOM_NODE_OBJECT | back to summary |
|---|---|
| pack-priv static final int JS_DOM_NODE_OBJECT | |
| JS_DOM_WINDOW_OBJECT | back to summary |
|---|---|
| pack-priv static final int JS_DOM_WINDOW_OBJECT | |
| peer | back to summary |
|---|---|
| private final long peer | |
| peer_type | back to summary |
|---|---|
| private final int peer_type | |
| peerCount | back to summary |
|---|---|
| private static AtomicInteger peerCount | |
| UNDEFINED | back to summary |
|---|---|
| private static final String UNDEFINED | |
| JSObject | back to summary |
|---|---|
| pack-priv JSObject(long peer, int peer_type) | |
| call | back to summary |
|---|---|
| public Object call(String methodName, Object... args) throws JSException Implements abstract netscape. Doc from netscape. Calls a JavaScript method. Equivalent to "this.methodName(args[0], args[1], ...)" in JavaScript.
| |
| callImpl | back to summary |
|---|---|
| private static native Object callImpl(long peer, int peer_type, String methodName, Object[] args, Object acc) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| eval | back to summary |
|---|---|
| public Object eval(String s) throws JSException Implements abstract netscape. Doc from netscape. Evaluates a JavaScript expression. The expression is a string of JavaScript source code which will be evaluated in the context given by "this".
| |
| evalImpl | back to summary |
|---|---|
| private static native Object evalImpl(long peer, int peer_type, String name) | |
| fwkMakeException | back to summary |
|---|---|
| private static JSException fwkMakeException(Object value)
References Deprecated
See corresponding docs for further information. | |
| getMember | back to summary |
|---|---|
| public Object getMember(String name) Implements abstract netscape. Doc from netscape. Retrieves a named member of a JavaScript object. Equivalent to "this.name" in JavaScript. | |
| getMemberImpl | back to summary |
|---|---|
| private static native Object getMemberImpl(long peer, int peer_type, String name) | |
| getPeer | back to summary |
|---|---|
| pack-priv long getPeer() | |
| getSlot | back to summary |
|---|---|
| public Object getSlot(int index) throws JSException Implements abstract netscape. Doc from netscape. Retrieves an indexed member of a JavaScript object. Equivalent to "this[index]" in JavaScript.
| |
| getSlotImpl | back to summary |
|---|---|
| private static native Object getSlotImpl(long peer, int peer_type, int index) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| removeMember | back to summary |
|---|---|
| public void removeMember(String name) throws JSException Implements abstract netscape. Doc from netscape. Removes a named member of a JavaScript object. Equivalent to "delete this.name" in JavaScript.
| |
| removeMemberImpl | back to summary |
|---|---|
| private static native void removeMemberImpl(long peer, int peer_type, String name) | |
| setMember | back to summary |
|---|---|
| public void setMember(String name, Object value) throws JSException Implements abstract netscape. Doc from netscape. Sets a named member of a JavaScript object. Equivalent to "this.name = value" in JavaScript.
| |
| setMemberImpl | back to summary |
|---|---|
| private static native void setMemberImpl(long peer, int peer_type, String name, Object value, Object acc) | |
| setSlot | back to summary |
|---|---|
| public void setSlot(int index, Object value) throws JSException Implements abstract netscape. Doc from netscape. Sets an indexed member of a JavaScript object. Equivalent to "this[index] = value" in JavaScript.
| |
| setSlotImpl | back to summary |
|---|---|
| private static native void setSlotImpl(long peer, int peer_type, int index, Object value, Object acc) | |
| test_getPeerCount | back to summary |
|---|---|
| pack-priv static int test_getPeerCount() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| toStringImpl | back to summary |
|---|---|
| private static native String toStringImpl(long peer, int peer_type) | |
| unprotectImpl | back to summary |
|---|---|
| private static native void unprotectImpl(long peer, int peer_type) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv long | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| peer | back to summary |
|---|---|
| pack-priv long peer | |
| peer_type | back to summary |
|---|---|
| pack-priv final int peer_type | |
| SelfDisposer | back to summary |
|---|---|
| private SelfDisposer(long peer, int peer_type) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements com.
| |