textbender.o.rhinohide.events
Class RelayS

java.lang.Object
  extended by Relay
      extended by RelayS
All Implemented Interfaces:
EventListener

public abstract class RelayS
extends Relay

A basic synchronous relay [but with bugs]. It takes care of wrapping each event, as a proper Java Event.

BUG: null-pointer-member

http://zelea.com/var/cache/textbender-javadoc/textbender/o/rhinohide/RelayS.html#null-pointer-member

E.g. on system/host/obsidian/linux.xht#firefox. JSObject.getMember() throws NullPointerException for objects pushed out (JavaScript to Java).

BUG: no-QueryInterface

http://zelea.com/var/cache/textbender-javadoc/textbender/o/rhinohide/RelayS.html#no-QueryInterface

E.g. on system/host/obsidian/linux.xht#firefox. As events occur, browser fills logs with Error: Java class textbender.o.rhinohide.events.RelayS$DispatchAdaptor has no public field or method named "QueryInterface".


Nested Class Summary
 class RelayS.DispatchAdaptor
          Relay adaptor that wraps each event from the JavaScript side, as a proper Java Event.
 
Constructor Summary
RelayS()
           
 
Method Summary
(package private)  void addTo(RhiEventTarget target, String type, boolean useCapture)
          Adds this relay directly to the specified target, as a listener.
(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
 

Constructor Detail

RelayS

public RelayS()
Method Detail

addTo

@ThreadSafe
void addTo(RhiEventTarget target,
                      String type,
                      boolean useCapture)
Adds this relay directly to the specified target, as a listener.

Specified by:
addTo in class Relay

removeFrom

@ThreadSafe
void removeFrom(RhiEventTarget target,
                           String type,
                           boolean useCapture)
Description copied from class: Relay
Removes this relay from the specified target.

Specified by:
removeFrom in class Relay