SetValueAction class final
<setvalue>: sets target to value when its event fires.
Port of SetValueAction; processAction is FormDef.processSetValue.
Constructors
- SetValueAction(TreeReference target, XPathExpression value)
- Creates the action.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The element name, e.g.
setvalue.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → TreeReference
-
The node to set.
final
- value → XPathExpression
-
The value expression (a string literal for literal content).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processAction(
FormDef form, TreeReference? context) → TreeReference? -
Performs the action in
form, withincontext(a repeat instance ornullfor top level); returns the reference it set, if any.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- elementName → const String
- The element name.