type

Comp

@Js
mixin Comp

Comp is an instance of CompDef. See Comps.

methods

def

Definition of the component

get

Get a cell value by name or raise error if not a valid cell

getCell

Get a cell value by its cell definition

recompute

Recompute cells

set

Set a cell value by name or raise error if not a valid cell

setCell

Set a cell value by its cell definition

Slot Details

def

abstract CompDef def()

Definition of the component

get

@Operator
abstract Obj? get(Str name)

Get a cell value by name or raise error if not a valid cell

getCell

abstract Obj? getCell(CellDef cd)

Get a cell value by its cell definition

recompute

abstract This recompute(AxonContext cx)

Recompute cells

set

@Operator
abstract This set(Str name, Obj? val)

Set a cell value by name or raise error if not a valid cell

setCell

abstract This setCell(CellDef cd, Obj? val)

Set a cell value by its cell definition