ObjViewBase

trait ObjViewBase[T <: Txn[T], -Target] extends AuralViewBase[T, Target]
trait AuralViewBase[T, Target]
trait ViewBase[T]
trait Disposable[T]
trait Observable[T, State]
class Object
trait Matchable
class Any
trait AuralObj[T]
trait Action[T]
trait Container[T, Self]
trait FolderLike[T, Self]
trait Folder[T]
trait AuralFolderLikeImpl[T, View]
trait Timeline[T]
trait Manual[T]
trait Control[T]
trait Proc[T]
trait AuralProcImpl[T]
class Impl[T]
trait AuralScheduledBase[T, Target, Elem]
trait AuralGraphemeBase[T, I, Target, Elem]
trait AuralTimelineBase[T, I, Target, Elem]

Type members

Types

type Repr <: Obj[T]

Value members

Abstract methods

def tpe: Type

Inherited methods

def dispose()(implicit tx: T): Unit
Inherited from
Disposable
def obj(implicit tx: T): Repr
Inherited from
AuralViewBase
def prepare(timeRef: Option)(implicit tx: T): Unit

Prepares the view to be able to run.

Prepares the view to be able to run.

Value Params
timeRef

an optional context of temporal position

Inherited from
AuralViewBase
def react(fun: T => State => Unit)(implicit tx: T): Disposable[T]

Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type A, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type A, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

Inherited from
Observable
final
def reactNow(fun: T => State => Unit)(implicit tx: T): Disposable[T]

Like react, but also invokes the function with the current state immediately.

Like react, but also invokes the function with the current state immediately.

Inherited from
ViewBase
def run(timeRef: Option, target: Target)(implicit tx: T): Unit

Runs the view, whatever that means for the particular object. If the object is not prepared and needs preparing, the view will take care of running the prepare step (without mapping any attr map).

Runs the view, whatever that means for the particular object. If the object is not prepared and needs preparing, the view will take care of running the prepare step (without mapping any attr map).

Inherited from
AuralViewBase
def state(implicit tx: T): State
Inherited from
ViewBase
def stop()(implicit tx: T): Unit
Inherited from
ViewBase