SamView class
The View Part of the Complex.
This contains the SamView.svMap table that maps the possible states into a Widget tree.
If the key defRender has a mapping it will be used when the SamView.svMap pam has no key for a particular state.
Constructors
- SamView(SamFactory sf)
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sf ↔ SamFactory
-
read / write
-
svMap
↔ Map<
String, RenderFunc> -
read / write
Methods
-
addView(
Object state, RenderFunc func) → void -
brokenMsg(
SamModel sm, String msg) → Widget - returns a Widget that displays the SE.ss_broken state.
-
getRender(
SamModel sm, SamReq req) → _SamRenderList - returns a list that represents one or more widgets that deed to be rendered.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
render(
SamModel sm, SamReq req) → void -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited