Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ValueSetAct<T>

Communicates that a value was received and recorded.

This act does not imply that the value is valid or otherwise meets any requirements. It merely communicates successful reception.

This act implies that there was no significant ambiguity. In situations were ambiguity is present a more specific act should be created and issued to communicate that clearly to the user.

Default rendering (en-US): "OK, (value)".

Usage:

  • If received value overrides a value previously obtained from the user it is preferable to issue a ValueChangedAct which is more specific to that case.
  • Typically issued when a Control elicits a value from the user and the user replies directly.
  • Also issued when the user provides data on their own initiative which can be interpreted unambiguously, e.g. "U: Send it on Thursday".

Type parameters

  • T

Hierarchy

Implements

Constructors

Properties

Methods

Constructors

constructor

Properties

control

control: Control

Readonly payload

payload: ValueSetPayload<T>

takesInitiative

takesInitiative: boolean

Methods

render

toString

  • toString(): string
  • Produces a string representation of the SystemAct.

    The associated Control.id is included but the complete details of the associate Control are omitted for brevity.

    Returns string