Pro.ObservableMutable.X.Basic

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

Def

Constructor

def this(v: A)
Source
X.scala

Body

def apply(): A
Inherited from
Abstract
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
Inherited from
Abstract
Source
X.scala