Byte.G.Pro.Observable

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