FirableVal

org.sphix.FirableVal
trait FirableVal[A] extends Val[A] with ValImpl[A]

Attributes

Graph
Supertypes
trait ValImpl[A]
class Val[A]
trait ObservableValue[A]
trait Observable
class Object
trait Matchable
class Any
Known subtypes
class FutureVal[A]
trait LazyVal[A]
class ConvertedVar[A, B]
class DelayedVal[A]
class Flattener[A]
class Func[A]
class Func1[B, A]
trait VarImpl[A]
class SimpleVar[A]
class ObservingVal[A]

Members list

Concise view

Value members

Abstract methods

protected def currentValue: A

Concrete methods

def atomic[U](proc: => U): Unit
def fire(): Unit

Inherited methods

def addListener(listener: ChangeListener[_ >: A]): Unit

Attributes

Inherited from:
ValImpl
def addListener(listener: InvalidationListener): Unit

Attributes

Inherited from:
ObservableImpl
def apply(): A

Attributes

Inherited from:
Val
def apply[A, B](f: FirableVal[A] => A)(implicit applier: Applier[A, FirableVal[A], B]): B

Attributes

Inherited from:
Observable
def as[B](implicit f: A => B): Func[B]

Attributes

Inherited from:
Val
def delay(millis: Long): DelayedVal[A]

Attributes

Inherited from:
Val
def filter(p: A => Boolean): Func[Option[A]]

Attributes

Inherited from:
Val
def flatten[B](implicit ev: A <:< ObservableValue[B]): Val[B]

Attributes

Inherited from:
Val
def getValue(): T

Attributes

Inherited from:
ObservableValue
def map[B](f: A => B): Func[B]

Attributes

Inherited from:
Val
def observe[U](f: => U): InvalidationObserver[U]

Attributes

Inherited from:
Observable
def observeOnce[U](f: => U): Observer

Attributes

Inherited from:
Observable
def on[U](value: A)(f: => U): ChangeObserver[A, Unit]

Attributes

Inherited from:
Val
def onChange[U](f: (ObservableValue[_ <: A], A, A) => U): ChangeObserver[A, U]

Attributes

Inherited from:
Val
def onChangeOnce[U](f: (ObservableValue[_ <: A], A, A) => U): Observer

Attributes

Inherited from:
Val
def onInvalidate[U](f: Observable => U): InvalidationObserver[U]

Attributes

Inherited from:
Observable
def onInvalidateOnce[U](f: Observable => U): Observer

Attributes

Inherited from:
Observable
def onOnce[U](value: A)(f: => U): Observer

Attributes

Inherited from:
Val
def onValue[U](f: A => U): ChangeObserver[A, U]

Attributes

Inherited from:
Val
def onValueOnce[U](f: A => U): Observer

Attributes

Inherited from:
Val
def removeListener(listener: ChangeListener[_ >: A]): Unit

Attributes

Inherited from:
ValImpl
def removeListener(listener: InvalidationListener): Unit

Attributes

Inherited from:
ObservableImpl
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Val -> Any
Inherited from:
Val

Inherited fields

lazy protected val changeListeners: ListBuffer[ChangeListener[_ >: A]]

Attributes

Inherited from:
ValImpl
lazy protected val invalidationListeners: ListBuffer[InvalidationListener]

Attributes

Inherited from:
ObservableImpl