scala.swing

class Reactions

[source: scala/swing/Reactions.scala]

abstract class Reactions
extends PartialFunction[Event, Unit]
Used by reactors to let clients register custom event reactions.
Direct Known Subclasses:
Reactions.Impl

Method Summary
abstract def += (r : PartialFunction) : Unit
Add a reaction.
abstract def -= (r : PartialFunction) : Unit
Remove the given reaction.
Methods inherited from PartialFunction
isDefinedAt (abstract), orElse, andThen
Methods inherited from Function1
apply (abstract), toString, compose
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def +=(r : PartialFunction) : Unit
Add a reaction.

abstract def -=(r : PartialFunction) : Unit
Remove the given reaction.