This is the base class for Parallel Activity Host nodes. More...
#include <kanzi/ui/node/concept/activity/parallel_activity_host_concept.hpp>
Classes | |
struct | ActivityInParallelHostInfo |
Stores information that identifies an Activity node under a ParallelActivityHost. More... | |
class | ActivityInParallelHostPrefabLoader |
Extends ActivityPrefabLoader with a specialized behavior for child Activity nodes of a ParallelExclusiveActivityHost. More... | |
Public Types | |
using | ParallelActivityHostContent |
Container for the content information for a ParallelActivityHost. | |
enum class | ParallelActivityHostFocusingPolicy { WhenHostHasFocus , AlwaysFocus , NeverFocus } |
Specifies the focusing policy that Kanzi applies to an activating Activity in a Parallel Activity Host. More... | |
Public Member Functions | |
virtual | ~ParallelActivityHostConcept ()=default |
Destructor. | |
Static Public Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Returns the PropertyType editor information for a Parallel Activity Host Concept. | |
Static Public Attributes | |
Properties | |
static PropertyType< bool > | BringActivatedToFrontProperty |
Sets whether to show the activated Activity in front within its Parallel Activity Host. | |
static PropertyType< bool > | ActivationStackProperty |
Sets whether a Parallel Activity Host keeps a child Activity node active to satisfy the request from both ActivateActivityMessage activation and ApplyActivationAction mechanism. | |
static PropertyType< string > | ParallelActivityHostContentProperty |
Describes the content of a Parallel Activity Host node. | |
static PropertyType< ParallelActivityHostFocusingPolicy > | FocusOnActivationProperty |
Sets the focusing policy that Kanzi uses to decide whether it tries to set focus to an activating Activity in a Parallel Activity Host. | |
This is the base class for Parallel Activity Host nodes.
Container for the content information for a ParallelActivityHost.
For each child Activity node contains this information:
Specifies the focusing policy that Kanzi applies to an activating Activity in a Parallel Activity Host.
Apply this rule to an Activity in a Parallel Activity Host.
Enumerator | |
---|---|
WhenHostHasFocus | If the Activity Host contains focus, set focus to the Activity. |
AlwaysFocus | Always set focus to the Activity. |
NeverFocus | Never set focus to the Activity. |
|
virtualdefault |
Destructor.
|
static |
Returns the PropertyType editor information for a Parallel Activity Host Concept.
|
static |
Sets whether to show the activated Activity in front within its Parallel Activity Host.
This property affects the z-order of the Activities within the same priority layer:
Changing the value of this property does not affect the z-order of already active Activities.
The default value is false.
|
static |
Sets whether a Parallel Activity Host keeps a child Activity node active to satisfy the request from both ActivateActivityMessage activation and ApplyActivationAction mechanism.
To activate an Activity node, the ApplyActivationAction mechanism sets a property modifier for the ActivationStackProperty.
Set this property on child Activity nodes of a Parallel Activity Host. The default value is false.
|
static |
Describes the content of a Parallel Activity Host node.
The Parallel Activity Host uses this content to instantiate Activity node prefabs and control the status and lifetime of its child Activity nodes.
Kanzi Studio user cannot directly edit this property. The ActivityBrowserController sets the value of this property according to the changes done to the state of the Activity Tree in the ActivityBrowser.
The expected format for the property value is a list of Activity node descriptions. Each description contains:
The values in this property must be separated by a comma.
Syntax: {{<child-activity-name>,<controller-property-value>,<activity-prefab-path>,<priority-layer-number>},{<child-activity-name>,<controller-property-value>,<activity-prefab-path>,<priority-layer-number>},...} Example: {{name1,1,path1,0},{name2,0,path2,1}}.
By default this property value is empty, that is, the Activity Host does not contain any content.
|
static |
Sets the focusing policy that Kanzi uses to decide whether it tries to set focus to an activating Activity in a Parallel Activity Host.