- Index
- »
- axon
- »
- AbstractComp
type
AbstractComp
@Js
abstract class AbstractComp : Obj, Comp
AbstractComp is base class for Fantom components. See Comps.
constructors
make |
All components must implement single arg constructor |
---|
methods
def |
Get the definition |
---|---|
get |
Get a cell value by name or raise error if not a valid cell |
getCell |
Get a cell value by its cell definition |
onRecompute |
Callback to recompute the cells |
recompute |
Recompute the component's cells |
reflect |
Reflect the given type |
set |
Set a cell value by name or raise error if not a valid cell |
setCell |
Set a cell value by its cell definition |
toStr |
Debug string |
Slot Details
def
override CompDef def()
Get the definition
get
getCell
make
new make(Obj init)
All components must implement single arg constructor
onRecompute
protected abstract Void onRecompute(AxonContext cx)
Callback to recompute the cells
recompute
override This recompute(AxonContext cx)
Recompute the component's cells
reflect
set
setCell
toStr
override Str toStr()
Debug string