Repr

trait Repr[T <: Txn[T]] extends IControl[T] with IAction[T] with ITrigger[T]
trait ITrigger[T]
trait IPublisher[T, Unit]
trait IAction[T]
trait IControl[T]
trait Disposable[T]
trait Form[T]
class Object
trait Matchable
class Any

Value members

Abstract methods

def cancel()(implicit tx: T): Unit

Inherited methods

def addSource(tr: ITrigger[T])(implicit tx: T): Unit

Directly adds a trigger input to the action. Actions that do not produce successive events can simply rewrite this as

Directly adds a trigger input to the action. Actions that do not produce successive events can simply rewrite this as

tr.changed.react { implicit tx => _ => executeAction() }

If the action produces successive events, it should prevent this indirection, as triggered cannot be logically combined that way.

Inherited from
IAction
def changed: IEvent[T, Unit]
Inherited from
IPublisher
def dispose()(implicit tx: T): Unit
Inherited from
Disposable
def executeAction()(implicit tx: T): Unit
Inherited from
IAction
def initControl()(implicit tx: T): Unit
Inherited from
IControl