Scala Library
|
|
scala/swing/Reactions.scala
]
class
Impl
extends
ReactionsMethod Summary | |
def
|
+=
(r : PartialFunction) : Unit
Add a reaction.
|
def
|
-=
(r : PartialFunction) : Unit
Remove the given reaction.
|
def
|
apply (e : Event) : Unit |
def
|
isDefinedAt
(e : Event) : Boolean
Checks if a value is contained in the functions domain.
|
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
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 |
x -
the value to testx
is in the domain of this function.
def
+=(r : PartialFunction) : Unit
def
-=(r : PartialFunction) : Unit
Scala Library
|
|