ActionController class final
The actions registered on a form element, by event.
Port of org.javarosa.core.model.actions.ActionController.
Constructors
- ActionController()
- Creates a controller with no actions registered.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
listenersFor(
String event) → List< Action> -
The actions registered for
event. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerEventListener(
Iterable< String> events, Action action) → void -
Registers
actionfor each ofevents. -
toString(
) → String -
A string representation of this object.
inherited
-
triggerActionsFromEvent(
String event, FormDef form, TreeReference? context, ActionResultProcessor? resultProcessor) → void -
Triggers
event's actions incontext, reporting each set reference toresultProcessor. -
triggerActionsFromEventNested(
String event, Iterable< FormElement> nestedElements, FormDef form) → void -
Triggers
event's actions here, then in every instance of each ofnestedElements(elements inside repeats with top-level events).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited