# Candera Behaviors

#### Event Handler Behaviors

Classes have been added to support [Event](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_event.html) Handling. The [TriggerBehavior](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_trigger_behavior.html "The TriggerBehavior references a ConditionBehavior and an array of ActionBehavior. ConditionBehavior and ActionBehavior are base classes. Any input event is processed by a TriggerBehavior, which evaluates a condition (ConditionBehavior). If the condition evaluates to true, then the TriggerBehavior invokes one or more ActionBehavior. A filter on event type can be achieved by a specialized ConditionBehaviorclass for such an event.") references a ConditionBehavior and an array of [ActionBehavior](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_action_behavior.html "The Action Behavior is part of the Event Handling with Behaviors pattern. It follows the ECA (Event-C..."). ConditionBehavior and [ActionBehavior](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_action_behavior.html "The Action Behavior is part of the Event Handling with Behaviors pattern. It follows the ECA (Event-C...") are base classes. Any input event is processed by a [TriggerBehavior](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_trigger_behavior.html "The TriggerBehavior references a ConditionBehavior and an array of ActionBehavior. ConditionBehavior and ActionBehavior are base classes. Any input event is processed by a TriggerBehavior, which evaluates a condition (ConditionBehavior). If the condition evaluates to true, then the TriggerBehavior invokes one or more ActionBehavior. A filter on event type can be achieved by a specialized ConditionBehaviorclass for such an event."), which evaluates a condition (ConditionBehavior). If the condition evaluates to true, then the [TriggerBehavior](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_trigger_behavior.html "The TriggerBehavior references a ConditionBehavior and an array of ActionBehavior. ConditionBehavior and ActionBehavior are base classes. Any input event is processed by a TriggerBehavior, which evaluates a condition (ConditionBehavior). If the condition evaluates to true, then the TriggerBehavior invokes one or more ActionBehavior. A filter on event type can be achieved by a specialized ConditionBehaviorclass for such an event.") invokes one or more ActionBehaviors. A filter on event type can be achieved by a specialized ConditionBehavior class for such an event.

<div class="contents" id="bkmrk-value-processing-beh"><div class="contents"><div class="textblock">---

</div></div></div>#### Value Processing Behaviors

The ValueBehavior provides a Variant data type which is bindable. A value change results in a processing of that value by sending a [ProcessValueEvent](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_process_value_event.html "Event gets sent by Source Process Value Behaviors (Value Behavior) when value changed.") to a referenced [ProcessValueBehavior](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_process_value_behavior.html "The ProcessValueBehavior provides a Variant data type which is bindable. A value change results in a ..."). The [ProcessValueBehavior](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_process_value_behavior.html "The ProcessValueBehavior provides a Variant data type which is bindable. A value change results in a ...") base class has been added. Derived classes can be chained to realize a data flow processing from input to an according (visual) output. Example: from a changed "speed" value to a mapped rotation value and further to an animated rotation of a needle node.

---