MissileSite class
MissileSite SamModel injected into widget tree.
Several constant vales are hard coded as they represent the pixel count for various components of the MissileSite widget tree,
The Banks are not seen here because they are children accessed via the SamModel.kids getter property.
- Inheritance
- Object
- SamModel
- MissileSite
Constructors
- MissileSite()
- Un-embellished constructor.
Properties
- aaaName ↔ String
-
The model name. [...]
read / write, inherited
- cfg ↔ Config
-
Config data collected from user
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
kids
→ List<
SamModel> -
get the list of children of this
SamModelread-only, inherited - logger ↔ Logger
-
Logger object for logging
read / write
- parent → SamModel
-
get the parent
SamModelor nullread-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- samState → String
-
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(
String err) → SamModel -
return
SamModelafter jamming it intoSE.ss_brokenstate with whyBroken set toerr.inherited -
defReject(
SamModel sm, Map req, String msg) → void -
A shortcut to jam
SamModelintoSE.ss_brokenstate with whyBroken set tomsg.inherited -
dumpSamHot(
) → String -
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(
String state) → DefState -
returns the current
DefStatefor thisSamModelinherited -
getHot(
String sym) → Object -
Return the current
symvalue and track request for dependency determination.inherited -
hasHot(
String 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 MissileSiteFactory sf, SamAction sa, SamState ss, SamView sv) → void -
Customize model before activation. [...]
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(
String sym, Object value) → void -
Set a new
valueofsyminSamHotand record fact it changed for dependency notification.inherited -
toString(
) → String -
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
Static Properties
- bankMissileDepth ↔ double
-
number missiles we show by default
read / write
- bankSiloHgt ↔ double
-
computed silo height
read / write
Constants
-
height if banner
30.0 - frameHgt → const double
-
height if frame height overhead
88.0 - hdrHgt → const double
-
height if header section
30.0 - siloHdrHgt → const double
-
height if silo header section
115.0