trait Context[T <: Txn[T]] extends Disposable[T]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Context
- Disposable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def attr: Attr[T]
- implicit abstract def cursor: Cursor[T]
- abstract def dispose()(implicit tx: T): Unit
- Definition Classes
- Disposable
- abstract def getProperty[A](control: Control, key: String)(implicit tx: T): Option[A]
- abstract def initGraph(g: Graph)(implicit tx: T): Unit
Prepares graph expansion by copying control properties over for subsequent look-up through
getProperty
. - abstract def nested[A](it: Expanded[T, _])(body: => A)(implicit tx: T): (A, Disposable[T])
Creates a temporary nested context into which all
visit
calls are redirected, thus a compoundDisposable
can be returned. - abstract def reactTo[A](event: EventLike[T, A])(fun: (T) => (A) => Unit)(implicit tx: T): Disposable[T]
Installs a reaction to an event.
Installs a reaction to an event. Depending on the type of context, this will simply call
event.changed.react
with the givenfun
(when the context is for anAct
orControl
orWidget
), or in will register the event as used (when the context is for an ex-obj). - abstract def selfOption(implicit tx: T): Option[Obj[T]]
- implicit abstract def targets: ITargets[T]
- implicit abstract def undoManager: UndoManager[T]
- abstract def visit[U <: Disposable[T]](ref: AnyRef, init: => U)(implicit tx: T): U
- implicit abstract def workspace: Workspace[T]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated