textbender.o.rhinohide.events
Class Relay
java.lang.Object
Relay
- All Implemented Interfaces:
- EventListener
- Direct Known Subclasses:
- RelayS, RelaySI
public abstract class Relay
- extends Object
- implements EventListener
Relay to transfer events from JavaScript to Java.
Constructor Summary |
Relay()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Relay
public Relay()
checkThreadSafe
static void checkThreadSafe(EventListener listener)
- Throws:
Error
- if the listener's handleEvent() method
is not annotated @thread-safe
addTo
abstract void addTo(RhiEventTarget target,
String type,
boolean useCapture)
- Adds this relay to the specified target.
removeFrom
abstract void removeFrom(RhiEventTarget target,
String type,
boolean useCapture)
- Removes this relay from the specified target.