Val

org.sphix.Val
See theVal companion object
abstract class Val[A] extends Observable with ObservableValue[A]

Attributes

Companion:
object
Graph
Supertypes
trait ObservableValue[A]
trait Observable
class Object
trait Matchable
class Any
Known subtypes
class ConstantVal[A]
class ObservingVal[A]
trait FirableVal[A]
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]
trait ValProxy[A]
trait VarProxy[A]
class Var[A]
Self type
Val[A]

Members list

Concise view

Value members

Concrete methods

def apply(): A
def as[B](implicit f: A => B): Func[B]
def delay(millis: Long): DelayedVal[A]
def filter(p: A => Boolean): Func[Option[A]]
def flatten[B](implicit ev: A <:< ObservableValue[B]): Val[B]
def map[B](f: A => B): Func[B]
def on[U](value: A)(f: => U): ChangeObserver[A, Unit]
def onChange[U](f: (ObservableValue[_ <: A], A, A) => U): ChangeObserver[A, U]
def onChangeOnce[U](f: (ObservableValue[_ <: A], A, A) => U): Observer
def onOnce[U](value: A)(f: => U): Observer
def onValue[U](f: A => U): ChangeObserver[A, U]
def onValueOnce[U](f: A => U): Observer
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
Any

Inherited methods

def addListener(x$0: ChangeListener[_ >: A <: <FromJavaObject>]): Unit

Attributes

Inherited from:
ObservableValue
def addListener(x$0: InvalidationListener): Unit

Attributes

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

Attributes

Inherited from:
Observable
def getValue(): T

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Observable
def removeListener(x$0: ChangeListener[_ >: A <: <FromJavaObject>]): Unit

Attributes

Inherited from:
ObservableValue
def removeListener(x$0: InvalidationListener): Unit

Attributes

Inherited from:
Observable