scala.swing

trait Reactor

[source: scala/swing/Reactor.scala]

trait Reactor
extends AnyRef
The counterpart to publishers. Listens to events from registered publishers.
Direct Known Subclasses:
Publisher, SimpleApplet.ui

Value Summary
val reactions : Reactions
All reactions of this reactor.
Method Summary
def deafTo (ps : Publisher*) : Unit
Installed reaction won't receive events from the given publisher anylonger.
def listenTo (ps : Publisher*) : Unit
Listen to the given publisher as long as deafTo isn't called for them.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
val reactions : Reactions
All reactions of this reactor.

Method Details
def listenTo(ps : Publisher*) : Unit
Listen to the given publisher as long as deafTo isn't called for them.

def deafTo(ps : Publisher*) : Unit
Installed reaction won't receive events from the given publisher anylonger.