TinkWidgetOutputBinding<E extends EventModel, W extends TinkWidgetHandler> mixin
Sets some variable when the given attribute is modified as a result of the given event
- Implemented types
Properties
- attribute → TinkWidgetAttribute?
-
The attribute to bind the given variable to
no setter
- attributeSrc → W?
-
The widget from which the attribute's value is taken when event occurs
no setter
- canPersist ↔ bool
-
getter/setter pairinherited
- enabled → bool
-
A source can be enabled/disabled. When false the source will not produce updates
no setterinherited
- entityGroupId → String
-
groupId = Widget | Screen | Component
no setterinherited
- entitySubType → String
-
subtype = ScreenHandler
no setterinherited
- entityType → String
-
type = Handler
no setterinherited
- event → E?
-
When this event is fired, bind the given attribute to the given variable
no setter
- eventKey → String
-
no setterinherited
- eventSrc → W?
-
The widget on which the event occurs
no setter
-
fields
→ List<
TinkEntityField> -
no setterinherited
-
fieldsByName
↔ Map<
String, TinkEntityField> -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hypi ↔ HypiMeta
-
getter/setter pairinherited
- id → String
-
no setterinherited
- label ↔ String?
-
getter/setter pairinherited
- ref → VariableRef
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialisableIsAlive ↔ BoolCallback?
-
getter/setter pairinherited
- valid → bool
-
no setterinherited
- value → dynamic
-
no setterinherited
Methods
-
desc(
TinkVariable variable) → String -
For the given variable, produce a string description of yourself
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onUpdate(
EntityEventSource src) → void -
When invoked, the entity should use the event source to obtain the most recent value for each of its fields, internally performing an update where necessary
Implementations can override this if for example they only want to update selected fields they can use EntityEventSource.valueOf
inherited
-
postDeserialisation(
) → void -
inherited
-
save(
CASMLike casm) → dynamic -
inherited
-
subscribeToUpdates(
CASMLike casm) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited