ContextMixin

trait ContextMixin[T <: Txn[T]] extends Context[T]
trait Context[T]
trait Disposable[T]
class Object
trait Matchable
class Any

Value members

Abstract methods

protected
def selfH: Option[Source[T, Obj[T]]]

Concrete methods

def dispose()(implicit tx: T): Unit
def getProperty[A](c: Control, key: String)(implicit tx: T): Option[A]
def initGraph(g: Graph)(implicit tx: T): Unit
def nested[A](it: Expanded[T, _])(body: => A)(implicit tx: T): (A, Disposable[T])
def selfOption(implicit tx: T): Option[Obj[T]]
final
def visit[U <: Disposable[T]](ref: AnyRef, init: => U)(implicit tx: T): U

Inherited methods

def attr: Attr[T]
Inherited from
Context
def reactTo[A](event: EventLike[T, A])(fun: T => A => Unit)(implicit tx: T): Disposable[T]

Installs a reaction to an event. Depending on the type of context, this will simply call event.changed.react with the given fun (when the context is for an Act or Control or Widget), or in will register the event as used (when the context is for an ex-obj).

Installs a reaction to an event. Depending on the type of context, this will simply call event.changed.react with the given fun (when the context is for an Act or Control or Widget), or in will register the event as used (when the context is for an ex-obj).

Inherited from
Context

Concrete fields

final
val targets: ITargets[T]

Implicits

Inherited implicits

implicit
def cursor: Cursor[T]
Inherited from
Context
implicit
def undoManager: UndoManager[T]
Inherited from
Context
implicit
Inherited from
Context