textbender.o.rhinohide.events
Class RelayS
java.lang.Object
  
Relay
      
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
 
 
     E.g. on
     system/host/obsidian/linux.xht#firefox.
     JSObject.getMember() throws NullPointerException
     for objects pushed out (JavaScript to Java).
     
 BUG: 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. | 
 
 
| 
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 java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
RelayS
public RelayS()
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