Long.G.Pro.ObservableMutable.X.Basic
class Basic[A <: Any.Long](v: A) extends Long.G.Pro.M.X.Basic[A] with Pro.O.X.Base[A] with Long.G.Pro.OM[A]
- Source
- Pro.scala
trait Long.G.Pro.ObservableMutable[Long.G.Pro.ObservableMutable.X.Basic.A]
trait Pro.ObservableMutable[Long.G.Pro.ObservableMutable.X.Basic.A]
trait Long.G.Pro.Observable[Long.G.Pro.ObservableMutable.X.Basic.A]
trait Pro.Observable.X.Base[Long.G.Pro.ObservableMutable.X.Basic.A]
trait Event.Store.Provider
trait Pro.Observable[Long.G.Pro.ObservableMutable.X.Basic.A]
trait Observable
trait Pro.X.Base[Long.G.Pro.ObservableMutable.X.Basic.A]
trait Able.Doc
trait Able.Tag
class Long.G.Pro.Mutable.X.Basic[Long.G.Pro.ObservableMutable.X.Basic.A]
trait Long.G.Pro.Mutable[Long.G.Pro.ObservableMutable.X.Basic.A]
trait Pro.Mutable[Long.G.Pro.ObservableMutable.X.Basic.A]
trait Long.G.Pro[Long.G.Pro.ObservableMutable.X.Basic.A]
trait Any.Z.PrimitiveTag.Long
trait Any.Z.PrimitiveTag
trait Pro[Long.G.Pro.ObservableMutable.X.Basic.A]
class java.lang.Object
trait scala.Matchable
class Any
Def
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
- Definition Classes
- Base -> Observable
- Inherited from
- Base
- Source
- X.scala