2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FUiScenesBackwardSceneTransition.h
20 * @brief This is the header file for the %BackwardSceneTransition class.
22 * This header file contains the declarations of the %BackwardSceneTransition class.
25 #ifndef _FUI_SCENES_BACKWARD_SCENE_TRANSITION_H_
26 #define _FUI_SCENES_BACKWARD_SCENE_TRANSITION_H_
28 #include <FUiScenesSceneTransition.h>
31 namespace Tizen { namespace Ui { namespace Scenes
35 * @class BackwardSceneTransition
36 * @brief This class is the %BackwardSceneTransition class of a Tizen native application.
40 * @final This class is not intended for extension.
42 * The %BackwardSceneTransition class contains transition information, such as transition direction, transition destination,
43 * animation type, history option, and destroy option. By default, the transition direction is set as SCENE_TRANSITION_DIRECTION_BACKWARD
44 * and the history option is set as SCENE_HISTORY_OPTION_NO_HISTORY. @n
46 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/ui/scene_management.htm">Scene Management</a>.
48 class _OSP_EXPORT_ BackwardSceneTransition
49 : public Tizen::Ui::Scenes::SceneTransition
53 * This is the default constructor for this class.
57 * @remarks Use this constructor for adjacent backward transition with default options
58 * (SCENE_TRANSITION_ANIMATION_TYPE_NONE, SCENE_DESTROY_OPTION_DESTROY).
60 BackwardSceneTransition(void);
63 * Initializes this instance of %BackwardSceneTransition with the specified parameters.
67 * @param[in] animationType The transition animation type
68 * @param[in] destroyOption The destroy option whether to destroy the current scene or not
69 * @remarks Use this constructor for adjacent backward transition.
71 BackwardSceneTransition(SceneTransitionAnimationType animationType,
72 SceneDestroyOption destroyOption = SCENE_DESTROY_OPTION_DESTROY);
75 * Initializes this instance of %BackwardSceneTransition with the specified parameters.
79 * @param[in] destinationSceneId The scene ID of transition destination
80 * @param[in] animationType The transition animation type
81 * @param[in] destroyOption The destroy option whether to destroy the current scene or not
82 * @remarks Use this constructor for non-adjacent backward transition.
84 BackwardSceneTransition(const SceneId& destinationSceneId,
85 SceneTransitionAnimationType animationType = SCENE_TRANSITION_ANIMATION_TYPE_NONE,
86 SceneDestroyOption destroyOption = SCENE_DESTROY_OPTION_DESTROY);
89 * This destructor overrides Tizen::Ui::Scenes::SceneTransition::~SceneTransition().
93 virtual ~BackwardSceneTransition(void);
97 // This method is for internal use only. Using this method can cause behavioral,
98 // security-related, and consistency-related issues in the application.
102 virtual void BackwardSceneTransition_Reserved1(void) {}
105 // This method is for internal use only. Using this method can cause behavioral,
106 // security-related, and consistency-related issues in the application.
110 virtual void BackwardSceneTransition_Reserved2(void) {}
113 // This method is for internal use only. Using this method can cause behavioral,
114 // security-related, and consistency-related issues in the application.
118 virtual void BackwardSceneTransition_Reserved3(void) {}
120 }; // BackwardSceneTransition
121 } } } // Tizen::Ui::Scenes
123 #endif // _FUI_SCENES_BACKWARD_SCENE_TRANSITION_H_