Double.G.Pro.ObservableMutable.X.Base

abstract class Base[A <: Raw.Double] extends Double.G.Pro.Observable.X.Base[A] with Double.G.Pro.ObservableMutable[A]
Source
Pro.scala

Def

def apply(): A
Inherited from
Pro
Source
Pro.scala
def doc: Doc
Inherited from
Basis
Source
X.scala
lazy protected val eventStore: Event.Store
Inherited from
Provider
Source
Provider.scala
protected def fireChange: Int
Inherited from
Basis
Source
X.scala
override def onChange[U](f: () => 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
Definition Classes
Inherited from
Basis
Source
X.scala
def tag: String

Make String

Make String

tag returns this instance String representation, which should be used insted of toString

Inherited from
Doc
Source
Doc.scala
def update(v: A): Unit
Inherited from
Mutable
Source
Pro.scala