Var

org.sphix.Var
See theVar companion object
abstract class Var[A] extends Val[A] with Property[A]

Attributes

Companion:
object
Graph
Supertypes
trait Property[A]
trait WritableValue[A]
trait ReadOnlyProperty[A]
class Val[A]
trait ObservableValue[A]
trait Observable
class Object
trait Matchable
class Any
Known subtypes
class ConvertedVar[A, B]
class SimpleVar[A]
trait VarImpl[A]
trait VarProxy[A]

Members list

Concise view

Value members

Concrete methods

def <-=(ov: ObservableValue[Option[A]]): Unit
def <=!=>(that: Property[_]): Unit
def <==(ov: ObservableValue[A]): Unit
def <==>(that: Property[A]): Unit
def <=~[B](holder: ConverterHolder[A, B]): Unit
def <=~=>[B](that: Property[B])(implicit converter: FullConverter[A, B]): Unit
def <~=: Nothing
def bindBidirectionalWithConverter[B](that: Property[B], converter: FullConverter[A, B]): Unit
def convert[B](implicit converter: FullConverter[A, B]): Var[B]
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
def unbindBidirectionalAny(that: Property[_]): Unit
def update(newValue: A): Unit

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Val
def bind(x$0: ObservableValue[_ <: A]): Unit

Attributes

Inherited from:
Property
def bindBidirectional(x$0: Property[A]): Unit

Attributes

Inherited from:
Property
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 getBean(): <FromJavaObject>

Attributes

Inherited from:
ReadOnlyProperty
def getName(): String

Attributes

Inherited from:
ReadOnlyProperty
def getValue(): T

Attributes

Inherited from:
WritableValue
def isBound(): Boolean

Attributes

Inherited from:
Property
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(x$0: ChangeListener[_ >: A <: <FromJavaObject>]): Unit

Attributes

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

Attributes

Inherited from:
Observable
def setValue(x$0: A): Unit

Attributes

Inherited from:
WritableValue
def unbind(): Unit

Attributes

Inherited from:
Property
def unbindBidirectional(x$0: Property[A]): Unit

Attributes

Inherited from:
Property