Long.G.Pro.ObservableMutable

trait ObservableMutable[A <: Any.Long] extends Long.G.Pro.M[A] with Long.G.Pro.O[A] with Pro.OM[A]
Source
Pro.scala
trait Pro.ObservableMutable[Long.G.Pro.ObservableMutable.A]
trait Long.G.Pro.Observable[Long.G.Pro.ObservableMutable.A]
trait Pro.Observable[Long.G.Pro.ObservableMutable.A]
trait Long.G.Pro.Mutable[Long.G.Pro.ObservableMutable.A]
trait Pro.Mutable[Long.G.Pro.ObservableMutable.A]
trait Long.G.Pro[Long.G.Pro.ObservableMutable.A]
trait Any.Z.PrimitiveTag.Long
trait Any.Z.PrimitiveTag
trait Pro[Long.G.Pro.ObservableMutable.A]
class java.lang.Object
trait scala.Matchable
class Any
class Long.G.Pro.ObservableMutable.X.Abstract[Long.G.Pro.ObservableMutable.X.Abstract.A]
class Long.G.Pro.ObservableMutable.X.Basic[Long.G.Pro.ObservableMutable.X.Basic.A]

Def

def apply(): A
Inherited from
Pro
Source
Pro.scala
def onChange[U](l: () => U): Event.Control

On change subscription

On change subscription

Adds given function as listener to property change events

   val pro = String.Pro.OM("foo")

   // event subscription
   pro.onChange(() => "Change Detected".tp)

   // library based event subscription
   pro.onValueChangeWithOld((v, old) => "Value changed from " + old + " to " + v tp()))

   pro() = "bar"

   // Output
   Value changed from foo to bar
   Change Detected
Inherited from
Observable
Source
__.scala
def onObservableChange[U](l: () => U): Event.Control
Inherited from
Observable
Source
__.scala
def update(v: A): Unit
Inherited from
Mutable
Source
Pro.scala