scala.swing.Reactions

class Wrapper

[source: scala/swing/Reactions.scala]

class Wrapper(listener : Any, r : PartialFunction)
extends PartialFunction[Event, Unit] with StronglyReferenced with Proxy
Method Summary
def apply (e : Event) : Unit
def isDefinedAt (e : Event) : Boolean
Checks if a value is contained in the functions domain.
def self : Any
Methods inherited from Proxy
hashCode, equals, toString
Methods inherited from PartialFunction
orElse, andThen
Methods inherited from Function1
compose
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def self : Any
Overrides
Proxy.self

def isDefinedAt(e : Event) : Boolean
Checks if a value is contained in the functions domain.
Parameters
x - the value to test
Returns
true, iff x is in the domain of this function.
Overrides
PartialFunction.isDefinedAt

def apply(e : Event) : Unit