class Trigger extends AnyRef
Trigger works very similar to Channel except it doesn't receive anything. Listeners are attached like on an
Observable, but they receive no arguments.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Trigger
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Trigger()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attach(f: ⇒ Unit): Listener[Unit]
Attaches a function to listen for triggering.
Attaches a function to listen for triggering.
- f
function listener
- returns
the listener instance
-
def
clear(): Unit
Clears all attached listeners.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
detach(f: Listener[Unit]): Unit
Detaches a listener from this Trigger.
Detaches a listener from this Trigger.
- f
the listener to detach
-
def
dispose(): Unit
Cleans up all cross references in preparation for GC.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fire(): Unit
Triggers this instance.
-
def
future(): Future[Unit]
Future that completes successfully upon the next triggering of this Trigger.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
once(f: ⇒ Unit): Unit
Attaches the listener but automatically detaches after being invoked once.
Attaches the listener but automatically detaches after being invoked once.
- f
the listener
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )