Pro.Observable.X.Basic

class Basic[A](source: => A) extends Pro.O.X.Abstract[A]
Source
X.scala
class Pro.Observable.X.Abstract[Pro.Observable.X.Basic.A]
trait Pro.Observable.X.Base[Pro.Observable.X.Basic.A]
trait Pro.Observable[Pro.Observable.X.Basic.A]
class Pro.X.Abstract[Pro.Observable.X.Basic.A]
trait Pro.X.Base[Pro.Observable.X.Basic.A]
trait Able.Doc
trait Able.Tag
trait Pro[Pro.Observable.X.Basic.A]
class java.lang.Object
trait scala.Matchable
class Any

Def

Constructor

def this(source: => A, dependencies: Stream[Observable])
Source
X.scala

Body

def apply(): A
Source
X.scala
def doc: Doc
Inherited from
Base
Source
X.scala
lazy protected val eventStore: Event.Store
Inherited from
Provider
Source
Provider.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
Base
Source
X.scala
def onObservableChange[U](l: () => U): Event.Control
Inherited from
Observable
Source
__.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