kanzi::PageTransitionCollection::Transition Class Reference

Describes transition from one page to another. More...

#include <kanzi/ui/node/page_transition_collection.hpp>

Public Types

enum  Direction { Bidirectional, Unidirectional }
 Enumeration that describes the direction of the transition. More...
 
enum  AnimationTarget { PageIn, PageOut }
 Defines target for animation. More...
 

Public Member Functions

 Transition ()
 

Public Attributes

Direction direction
 Direction of the transition. More...
 
string from
 Selection criteria for a state: Path to source page (relative to context). More...
 
string to
 Selection criteria for a state : Path to target page(relative to context). More...
 
string stateId
 Named state for this transition. More...
 
chrono::milliseconds duration
 Duration of the transition in ms. More...
 
TransitionAnimationContainer animationsIn
 Animations in this transition. More...
 
TransitionAnimationContainer animationsOut
 Animations in this transition. More...
 

Detailed Description

Describes transition from one page to another.

Member Enumeration Documentation

Enumeration that describes the direction of the transition.

Enumerator
Bidirectional 

Transition is two-way.

Unidirectional 

Transition is one-way from source to target.

Defines target for animation.

Enumerator
PageIn 

Animation targets to item that is transitioning in.

PageOut 

Animation targets to item that is transitioning out.

Constructor & Destructor Documentation

kanzi::PageTransitionCollection::Transition::Transition ( )
inlineexplicit

Member Data Documentation

Direction kanzi::PageTransitionCollection::Transition::direction

Direction of the transition.

string kanzi::PageTransitionCollection::Transition::from

Selection criteria for a state: Path to source page (relative to context).

string kanzi::PageTransitionCollection::Transition::to

Selection criteria for a state : Path to target page(relative to context).

string kanzi::PageTransitionCollection::Transition::stateId

Named state for this transition.

chrono::milliseconds kanzi::PageTransitionCollection::Transition::duration

Duration of the transition in ms.

TransitionAnimationContainer kanzi::PageTransitionCollection::Transition::animationsIn

Animations in this transition.

TransitionAnimationContainer kanzi::PageTransitionCollection::Transition::animationsOut

Animations in this transition.


The documentation for this class was generated from the following file: