Pro.ObservableMutable.X.Abstract

class Abstract[A] extends Pro.X.Abstract[A] with Pro.O.X.Base[A] with Pro.OM[A]
Source
X.scala
trait Pro.ObservableMutable[Pro.ObservableMutable.X.Abstract.A]
trait Pro.Mutable[Pro.ObservableMutable.X.Abstract.A]
trait Pro.Observable.X.Base[Pro.ObservableMutable.X.Abstract.A]
trait Pro.Observable[Pro.ObservableMutable.X.Abstract.A]
class Pro.X.Abstract[Pro.ObservableMutable.X.Abstract.A]
trait Pro.X.Base[Pro.ObservableMutable.X.Abstract.A]
trait Able.Doc
trait Able.Tag
trait Pro[Pro.ObservableMutable.X.Abstract.A]
class java.lang.Object
trait scala.Matchable
class Any
class Pro.ObservableMutable.X.Basic[Pro.ObservableMutable.X.Basic.A]

Def

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
protected def fireChange: Int
Inherited from
Base
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
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
def update(v: A): Unit
Source
X.scala