Rocket class
The Rocket model is designed to be used used as a component.
It extends from SamModel and introduces several values.
- Inheritance
- Object
- SamModel
- Rocket
Constructors
- Rocket({dynamic name})
-
The construct allows us to specify a
nameand defaults to 'Atlas'
Properties
- aaaName ↔ dynamic
-
The model name. [...]
read / write, inherited
- bLog → bool
-
debug option that will enable debug logging for
certain log statements.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
kids
→ List<
SamModel> -
get the list of children of this
SamModelread-only, inherited - parent → SamModel
-
get the parent
SamModelor nullread-only, inherited - rocketName → dynamic
-
The constructor specified rocketName
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- samState → dynamic
-
get the present State string. [...]
read-only, inherited
Methods
-
actionCall(
Object action, [Map actMap]) → void -
Entry point for standard Form Widget actions such as a button press. [...]
inherited
-
activate(
{bool bLog: false}) → SamModel -
Activate the
SamModelafter assert validation. [...]inherited -
broken(
dynamic err) → SamModel -
return
SamModelafter jamming it intoSE.ss_brokenstate with whyBroken set toerr.inherited -
defReject(
SamModel sm, Map req, dynamic msg) → void -
A shortcut to jam
SamModelintoSE.ss_brokenstate with whyBroken set tomsg.inherited -
dumpSamHot(
) → dynamic -
list all samHot values for debugging
inherited
-
flipState(
Object estrState) → void -
a shortcut to create a proposal to flip the present SamModel.samState to
estrState. [...]inherited -
getBuildContext(
) → BuildContext -
returns current BuildContext for
SamModel[...]inherited -
getDefState(
dynamic state) → DefState -
returns the current
DefStatefor thisSamModelinherited -
getHot(
dynamic sym) → Object -
Return the current
symvalue and track request for dependency determination.inherited -
getRocketHeight(
) → double - Return locked in Rocket height in pixels
-
getRocketWidth(
) → double - Return locked in Rocket width in pixels
-
hasHot(
dynamic sym) → bool -
return true if the
symhas a value in theSamHotmap.inherited -
isState(
Object testState) → bool -
returns true if the current state of this
SamModelistestState[...]inherited -
makeModel(
covariant SamFactory sf, SamAction sa, SamState ss, SamView sv) → void -
The specific implementation of Rocket.makeModel [...]
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
present(
Object expState, Object what, {Map stepParms, Function rejector}) → void -
Present a transition proposal to this
SamModelmodel. [...]inherited -
presentNow(
Object what, {Map stepParms, Function rejector}) → void -
A shortcut to call SamModel.present with
expStateset to this SamModel.samState.inherited -
raiseSignal(
Object signal, SamReq req) → void -
Raise a signal to a parent
SamModel. [...]inherited -
setHot(
dynamic sym, Object value) → void -
Set a new
valueofsyminSamHotand record fact it changed for dependency notification.inherited -
toString(
) → dynamic -
convenient debug representation of
SamModelinherited -
view(
) → SamView -
returns the related
SamViewfor theSamModelinherited -
watch(
BuildFunc bf) → SamWatch -
Establish a watch scope and return a
SamWatchwidget. [...]inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited