|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRelay
RelaySI
public abstract class RelaySI
A synchronous relay, based on an intermediate JavaScript listener/relay [but with bugs] The JavaScript side listener/relay pushes events out to the Java side.
Suffers same bugs as RelayS. Try RelaySIP, instead.
Nested Class Summary | |
---|---|
class |
RelaySI.DispatchAdaptor
Relay adaptor that wraps each event from the JavaScript side, as a proper Java Event. |
Field Summary | |
---|---|
(package private) Object |
dispatchAdaptor
Called from JavaScript side when event occurs. |
static String |
HANDLE_EVENT_SCRIPT
Implementation of rhiRelay listener, expressed as a script fragment. |
(package private) Rhinohide |
rhiRelay
The listener/relay on the JavaScript side. |
Constructor Summary | |
---|---|
RelaySI()
Creates a RelaySI. |
|
RelaySI(boolean dummyFlag)
Creates a modified RelaySI. |
Method Summary | |
---|---|
(package private) void |
addTo(RhiEventTarget target,
String type,
boolean useCapture)
Adds a JavaScript relay to the specified target, as a listener. |
(package private) netscape.javascript.JSObject |
createJSORelay_orNull(RhiWindow window)
|
(package private) void |
removeFrom(RhiEventTarget target,
String type,
boolean useCapture)
Removes this relay from the specified target. |
Methods inherited from class Relay |
---|
checkThreadSafe |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.events.EventListener |
---|
handleEvent |
Field Detail |
---|
Object dispatchAdaptor
Rhinohide rhiRelay
public static final String HANDLE_EVENT_SCRIPT
Constructor Detail |
---|
public RelaySI()
RelaySI(boolean dummyFlag)
dummyFlag
- ignored, serves only to discriminate constructorMethod Detail |
---|
@ThreadSafe netscape.javascript.JSObject createJSORelay_orNull(RhiWindow window)
@ThreadSafe void addTo(RhiEventTarget target, String type, boolean useCapture) throws StubbornRhinoException
addTo
in class Relay
StubbornRhinoException
@ThreadSafe void removeFrom(RhiEventTarget target, String type, boolean useCapture)
Relay
removeFrom
in class Relay
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |