Short.G.Pro.ObservableMutable.X.Basic
class Basic[A <: Any.Short](v: A) extends Short.G.Pro.M.X.Basic[A] with Pro.O.X.Base[A] with Short.G.Pro.OM[A]
- Source
- Pro.scala
trait Short.G.Pro.ObservableMutable[Short.G.Pro.ObservableMutable.X.Basic.A]
trait Pro.ObservableMutable[Short.G.Pro.ObservableMutable.X.Basic.A]
trait Short.G.Pro.Observable[Short.G.Pro.ObservableMutable.X.Basic.A]
trait Pro.Observable.X.Base[Short.G.Pro.ObservableMutable.X.Basic.A]
trait Event.Store.Provider
trait Pro.Observable[Short.G.Pro.ObservableMutable.X.Basic.A]
trait Observable
trait Pro.X.Base[Short.G.Pro.ObservableMutable.X.Basic.A]
trait Able.Doc
trait Able.Tag
class Short.G.Pro.Mutable.X.Basic[Short.G.Pro.ObservableMutable.X.Basic.A]
trait Short.G.Pro.Mutable[Short.G.Pro.ObservableMutable.X.Basic.A]
trait Pro.Mutable[Short.G.Pro.ObservableMutable.X.Basic.A]
trait Short.G.Pro[Short.G.Pro.ObservableMutable.X.Basic.A]
trait Any.Z.PrimitiveTag.Short
trait Any.Z.PrimitiveTag
trait Pro[Short.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