2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
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
9 // http://www.apache.org/licenses/LICENSE-2.0/
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 FUiCtrlListViewTypes.h
20 * @brief This is the header file for the List enumerations.
22 * This header file contains the declarations of the List enumerations.
24 #ifndef _FUI_CTRL_LIST_VIEW_TYPES_H_
25 #define _FUI_CTRL_LIST_VIEW_TYPES_H_
27 namespace Tizen { namespace Ui { namespace Controls
31 * @enum ListAnnexStyle
33 * Defines the style of annex in the items.
39 LIST_ANNEX_STYLE_NORMAL = 0, /**< The no style annex */
40 LIST_ANNEX_STYLE_MARK, /**< The mark style annex for multiple selection */
41 LIST_ANNEX_STYLE_ONOFF_SLIDING, /**< The slider style On/Off */
42 LIST_ANNEX_STYLE_DETAILED, /**< Detailed style for further interaction */
43 LIST_ANNEX_STYLE_RADIO, /**< The radio style for simple look */
44 LIST_ANNEX_STYLE_ONOFF_SLIDING_WITH_DIVIDER /**< The slider style On/Off with divider @b Since: @b 2.1 */
48 * @enum ListItemDrawingStatus
50 * Defines the drawing state of the items.
54 enum ListItemDrawingStatus
56 LIST_ITEM_DRAWING_STATUS_NORMAL = 0, /**< The normal drawing state */
57 LIST_ITEM_DRAWING_STATUS_PRESSED, /**< The pressed drawing state */
58 LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED /**< The highlighted drawing state */
62 * @enum ListRefreshType
64 * Defines the update type of the list.
70 LIST_REFRESH_TYPE_ITEM_ADD = 0, /**< The add type */
71 LIST_REFRESH_TYPE_ITEM_REMOVE, /**< The remove type */
72 LIST_REFRESH_TYPE_ITEM_MODIFY /**< The modify type */
76 * @enum ListItemStatus
78 * Defines the item state of the list.
84 LIST_ITEM_STATUS_SELECTED = 0, /**< The selected item state */
85 LIST_ITEM_STATUS_HIGHLIGHTED, /**< The highlighted item state */
86 LIST_ITEM_STATUS_CHECKED, /**< The check item state */
87 LIST_ITEM_STATUS_UNCHECKED, /**< The uncheck item state */
88 LIST_ITEM_STATUS_MORE /**< The more item state */
92 * @enum ListContextItemStatus
94 * Defines the state of the context items.
98 enum ListContextItemStatus
100 LIST_CONTEXT_ITEM_STATUS_SELECTED = 0, /**< The selected context item state */
101 LIST_CONTEXT_ITEM_STATUS_HIGHLIGHTED /**< The highlighted context item state */
105 * @enum ListContextItemElementStatus
107 * Defines the element status of the context item.
111 enum ListContextItemElementStatus
113 LIST_CONTEXT_ITEM_ELEMENT_STATUS_NORMAL = 0, /**< The normal element status */
114 LIST_CONTEXT_ITEM_ELEMENT_STATUS_PRESSED, /**< The pressed element status */
115 LIST_CONTEXT_ITEM_ELEMENT_STATUS_HIGHLIGHTED /**< The highlighted element status */
119 * @enum SweepDirection
121 * Defines the direction of the sweep interaction.
127 SWEEP_DIRECTION_LEFT = 0, /**< The left direction */
128 SWEEP_DIRECTION_RIGHT /**< The right direction */
132 * @enum ListScrollItemAlignment
134 * Defines the alignment information for item scroll.
138 enum ListScrollItemAlignment
140 LIST_SCROLL_ITEM_ALIGNMENT_TOP = 0, /**< The item is aligned at the top of the ListView at item scroll*/
141 LIST_SCROLL_ITEM_ALIGNMENT_BOTTOM /**< The item is aligned at the bottom of the ListView at item scroll */
145 * @enum ListScrollStyle
147 * Defines the scroll style of the list.
153 SCROLL_STYLE_FADE_OUT = 0, /**< The fade-out scroll style */
154 SCROLL_STYLE_FIXED, /**< The fixed scroll style */
155 SCROLL_STYLE_FAST_SCROLL, /**< The fast scroll style */
156 SCROLL_STYLE_JUMP_TO_TOP, /**< The jump to top scroll style */
157 SCROLL_STYLE_THUMB, /**< The thumb scroll style */
158 SCROLL_STYLE_FAST_SCROLL_FIXED /**< The fixed fast scroll style @b Since: @b 2.2 */
161 }}} // Tizen::Ui::Controls
163 #endif // _FUI_CTRL_LIST_VIEW_TYPES_H_