Short.G.Pro.ObservableMutable

trait ObservableMutable[A <: Any.Short] extends Short.G.Pro.M[A] with Short.G.Pro.O[A] with Pro.OM[A]
Source
Pro.scala
trait Pro.ObservableMutable[Short.G.Pro.ObservableMutable.A]
trait Short.G.Pro.Observable[Short.G.Pro.ObservableMutable.A]
trait Pro.Observable[Short.G.Pro.ObservableMutable.A]
trait Short.G.Pro.Mutable[Short.G.Pro.ObservableMutable.A]
trait Pro.Mutable[Short.G.Pro.ObservableMutable.A]
trait Short.G.Pro[Short.G.Pro.ObservableMutable.A]
trait Any.Z.PrimitiveTag.Short
trait Any.Z.PrimitiveTag
trait Pro[Short.G.Pro.ObservableMutable.A]
class java.lang.Object
trait scala.Matchable
class Any
class Short.G.Pro.ObservableMutable.X.Abstract[Short.G.Pro.ObservableMutable.X.Abstract.A]
class Short.G.Pro.ObservableMutable.X.Basic[Short.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