show OverlayRegion when FormActivated
[platform/framework/native/uifw.git] / inc / FUiInputConnectionTypes.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.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
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0/
10 //
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.
16 //
17 /**
18  * @file                FUiInputConnectionTypes.h
19  * @brief       This is the header file for the data types.
20  *
21  * This header file contains the declarations of the commonly used data types.
22  *
23  */
24
25
26 #ifndef _FUI_INPUT_CONNECTION_TYPES_H_
27 #define _FUI_INPUT_CONNECTION_TYPES_H_
28
29 namespace Tizen { namespace Ui {
30
31
32 /**
33  *      @enum   InputPanelStyle
34  *      Defines the style of the input panel.
35  *
36  *      @since 2.0
37  */
38 enum InputPanelStyle
39 {
40         INPUT_PANEL_STYLE_NORMAL,                               /**< Default style */
41         INPUT_PANEL_STYLE_EMAIL,                                /**< Email style */
42         INPUT_PANEL_STYLE_URL,                                  /**< URL        style */
43         INPUT_PANEL_STYLE_NUMBER,                               /**< Number style */
44         INPUT_PANEL_STYLE_NUMBER_ONLY,                  /**< Number Only style */
45         INPUT_PANEL_STYLE_PHONE_NUMBER,                 /**< Phone Number  style */
46         INPUT_PANEL_STYLE_IP                                    /**< IP style */
47 };
48
49 /**
50  *      @enum   InputPanelShowState
51  *      Defines the state of the input panel.
52  *
53  *      @since 2.0
54  */
55 enum InputPanelShowState
56 {
57         INPUT_PANEL_SHOW_STATE_SHOW,                                    /**< Show State */
58         INPUT_PANEL_SHOW_STATE_HIDE                             /**< Hide State */
59 };
60
61 /**
62  *      @enum   AutoCapitalizationMode
63  *      Defines the type of auto-capitalization mode.
64  *
65  *      @since 2.0
66  */
67 enum AutoCapitalizationMode
68 {
69         AUTO_CAPITALIZATION_MODE_NONE,                                  /**< Auto-capitalization mode is set to None */
70         AUTO_CAPITALIZATION_MODE_WORD,                                  /**< Auto-capitalization mode is Word */
71         AUTO_CAPITALIZATION_MODE_SENTENCE,                              /**< Auto-capitalization mode is Sentence */
72         AUTO_CAPITALIZATION_MODE_ALL                                            /**< Auto-capitalization mode is set to All */
73 };
74
75 /**
76  * @enum                InputPanelAction
77  *
78  * Defines the possible keypad action types.
79  * @since 2.0
80  */
81 enum InputPanelAction
82 {
83         INPUT_PANEL_ACTION_ENTER,                               /**< The Enter key */
84         INPUT_PANEL_ACTION_GO,                                  /**< The Go key */
85         INPUT_PANEL_ACTION_NEXT,                        /**< The Next key */
86         INPUT_PANEL_ACTION_SEND,                                /**< The Send key */
87         INPUT_PANEL_ACTION_SEARCH,                      /**< The Search key */
88         INPUT_PANEL_ACTION_LOGIN,                       /**< The Login key */
89         INPUT_PANEL_ACTION_SIGN_IN,                     /**< The Sign-In key */
90         INPUT_PANEL_ACTION_JOIN,                        /**< The Join key */
91         INPUT_PANEL_ACTION_DONE                         /**< The Done key */
92 };
93
94 }} // Tizen::Ui
95
96 #endif // _FUI_INPUT_CONNECTION_TYPES_H_