ConvertedVar

org.sphix.ConvertedVar
class ConvertedVar[A, B](remote: Property[B], converter: FullConverter[B, A]) extends Var[A] with LazyVal[A]

Attributes

Graph
Supertypes
trait LazyVal[A]
trait FirableVal[A]
trait ValImpl[A]
class Var[A]
trait Property[A]
trait WritableValue[A]
trait ReadOnlyProperty[A]
class Val[A]
trait ObservableValue[A]
trait Observable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def bind(that: ObservableValue[_ <: A]): Unit
def bindBidirectional(that: Property[A]): Unit
protected def compute: A
def getBean: <FromJavaObject>
def getName: String
def getRemote: A
override def invalidate(o: Observable): Unit

Attributes

Definition Classes
def isBound: Boolean
def setValue(newValue: A): Unit
def unbind(): Unit
def unbindBidirectional(that: Property[A]): Unit
protected def write(a: A): Unit

Inherited methods

def <-=(ov: ObservableValue[Option[A]]): Unit

Attributes

Inherited from:
Var
def <=!=>(that: Property[_]): Unit

Attributes

Inherited from:
Var
def <==(ov: ObservableValue[A]): Unit

Attributes

Inherited from:
Var
def <==>(that: Property[A]): Unit

Attributes

Inherited from:
Var
def <=~[B](holder: ConverterHolder[A, B]): Unit

Attributes

Inherited from:
Var
def <=~=>[B](that: Property[B])(implicit converter: FullConverter[A, B]): Unit

Attributes

Inherited from:
Var
def <~=: Nothing

Attributes

Inherited from:
Var
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: ConvertedVar[A, B] => A)(implicit applier: Applier[A, ConvertedVar[A, B], B]): B

Attributes

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

Attributes

Inherited from:
Val
def atomic[U](proc: => U): Unit

Attributes

Inherited from:
FirableVal
def bindBidirectionalWithConverter[B](that: Property[B], converter: FullConverter[A, B]): Unit

Attributes

Inherited from:
Var
def convert[B](implicit converter: FullConverter[A, B]): Var[B]

Attributes

Inherited from:
Var
protected def currentValue: A

Attributes

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

Attributes

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

Attributes

Inherited from:
Val
def fire(): Unit

Attributes

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

Attributes

Inherited from:
Val
def getValue(): A

Attributes

Inherited from:
LazyVal
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
Var -> Val -> Any
Inherited from:
Var
def unbindBidirectionalAny(that: Property[_]): Unit

Attributes

Inherited from:
Var
def update(newValue: A): Unit

Attributes

Inherited from:
Var

Concrete fields

lazy protected val bidirListener: ChangeListener[A]

Inherited fields

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

Attributes

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

Attributes

Inherited from:
ObservableImpl
lazy protected val lazyListener: InvalidationListener

Attributes

Inherited from:
LazyVal
protected var valid: Boolean

Attributes

Inherited from:
LazyVal
protected var value: A

Attributes

Inherited from:
LazyVal