Pro.Observable.X.Abstract
- Source
- X.scala
trait Pro.Observable.X.Base[Pro.Observable.X.Abstract.A]
trait Event.Store.Provider
trait Pro.Observable[Pro.Observable.X.Abstract.A]
trait Observable
class Pro.X.Abstract[Pro.Observable.X.Abstract.A]
trait Pro.X.Base[Pro.Observable.X.Abstract.A]
trait Able.Doc
trait Able.Tag
trait Pro[Pro.Observable.X.Abstract.A]
class java.lang.Object
trait scala.Matchable
class Any
class Boolean.G.Pro.Observable.X.Abstract[Boolean.G.Pro.Observable.X.Abstract.A]
class Boolean.G.Pro.ObservableMutable.X.Abstract[Boolean.G.Pro.ObservableMutable.X.Abstract.A]
class Byte.G.Pro.Observable.X.Abstract[Byte.G.Pro.Observable.X.Abstract.A]
class Byte.G.Pro.ObservableMutable.X.Abstract[Byte.G.Pro.ObservableMutable.X.Abstract.A]
class Char.G.Pro.Observable.X.Abstract[Char.G.Pro.Observable.X.Abstract.A]
class Char.G.Pro.ObservableMutable.X.Abstract[Char.G.Pro.ObservableMutable.X.Abstract.A]
class Double.G.Pro.Observable.X.Abstract[Double.G.Pro.Observable.X.Abstract.A]
class Double.G.Pro.ObservableMutable.X.Abstract[Double.G.Pro.ObservableMutable.X.Abstract.A]
class Float.G.Pro.Observable.X.Abstract[Float.G.Pro.Observable.X.Abstract.A]
class Float.G.Pro.ObservableMutable.X.Abstract[Float.G.Pro.ObservableMutable.X.Abstract.A]
class Int.G.Pro.Observable.X.Abstract[Int.G.Pro.Observable.X.Abstract.A]
class Int.G.Pro.ObservableMutable.X.Abstract[Int.G.Pro.ObservableMutable.X.Abstract.A]
class Long.G.Pro.Observable.X.Abstract[Long.G.Pro.Observable.X.Abstract.A]
class Long.G.Pro.ObservableMutable.X.Abstract[Long.G.Pro.ObservableMutable.X.Abstract.A]
class Short.G.Pro.Observable.X.Abstract[Short.G.Pro.Observable.X.Abstract.A]
class Short.G.Pro.ObservableMutable.X.Abstract[Short.G.Pro.ObservableMutable.X.Abstract.A]
class Pro.Observable.X.Basic[Pro.Observable.X.Basic.A]
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