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.
18 * @file FUiCtrlListTypes.h
19 * @brief This is the header file for the List enumerations.
21 * This header file contains the declarations of the List enumerations.
23 #ifndef _FUI_CTRL_LIST_TYPES_H_
24 #define _FUI_CTRL_LIST_TYPES_H_
26 namespace Tizen { namespace Ui { namespace Controls
30 //This integer is for internal use only. Using this integer can cause behavioral, security-related,
31 //and consistency-related issues in the application.
33 static const int LIST_ITEM_NOTFOUND = 0;
36 * The integer value that represents the unspecified item ID
40 static const int LIST_ITEM_UNSPECIFIED_ID = -1;
46 * Defines the list style.
48 * @brief <i> [Deprecated] </i>
49 * @deprecated This enum is deprecated. Instead of using this enum, use ListAnnexStyle enumeration for CustomItem or SimpleItem class. @n
55 LIST_STYLE_NORMAL = 0, /**< @if OSPDEPREC The normal style @endif */
56 LIST_STYLE_NUMBER, /**< @if OSPDEPREC The numbered style @endif */
57 LIST_STYLE_RADIO, /**< @if OSPDEPREC The radio style for single selection @endif */
58 LIST_STYLE_RADIO_WITH_DIVIDER, /**< @if OSPDEPREC The radio style with divider for single selection @endif */
59 LIST_STYLE_MARK, /**< @if OSPDEPREC The mark style for multiple selection @endif */
60 LIST_STYLE_MARK_WITH_DIVIDER, /**< @if OSPDEPREC The mark style with divider for multiple selection @endif */
61 LIST_STYLE_ONOFF, /**< @if OSPDEPREC The On/Off style @endif */
62 LIST_STYLE_ONOFF_WITH_DIVIDER /**< @if OSPDEPREC The On/Off style with divider @endif */
67 * @enum ListItemFormat
69 * Defines the list item format.
71 * @brief <i> [Deprecated] </i>
72 * @deprecated This enum is deprecated. There is no need to use this enum.
78 LIST_ITEM_SINGLE_IMAGE = 0, /**< @if OSPDEPREC The single line of image @endif */
79 LIST_ITEM_SINGLE_TEXT, /**< @if OSPDEPREC The single line of text @endif */
80 LIST_ITEM_SINGLE_IMAGE_TEXT, /**< @if OSPDEPREC The single line of image, and text @endif */
81 LIST_ITEM_SINGLE_TEXT_IMAGE, /**< @if OSPDEPREC The single line of text, and image @endif */
82 LIST_ITEM_SINGLE_IMAGE_TEXT_IMAGE, /**< @if OSPDEPREC The single line of image, text, and image @endif */
83 LIST_ITEM_DOUBLE_IMAGE_TEXT_FULLTEXT, /**< @if OSPDEPREC The 1st line of image and text, 2nd line of text @endif */
84 LIST_ITEM_DOUBLE_FULLTEXT_IMAGE_TEXT, /**< @if OSPDEPREC The 1st line of text, 2nd line of image, and text @endif */
85 LIST_ITEM_DOUBLE_TEXT_IMAGE_FULLTEXT, /**< @if OSPDEPREC The 1st line of text and image, 2nd line of text @endif */
86 LIST_ITEM_DOUBLE_FULLTEXT_TEXT_IMAGE, /**< @if OSPDEPREC The 1st line of text, 2nd line of text, and image @endif */
87 LIST_ITEM_DOUBLE_IMAGE_TEXT_TEXT, /**< @if OSPDEPREC A big image followed by two lines of text @endif */
88 LIST_ITEM_DOUBLE_TEXT_TEXT_IMAGE /**< @if OSPDEPREC The two lines of text followed by a big image @endif */
95 * Defines the option of text slide.
97 * @brief <i> [Deprecated] </i>
98 * @deprecated This enum is deprecated. There is no need to use this enum.
104 LIST_ITEM_TEXT1, /**< @if OSPDEPREC The sliding of 1st text is switched on @endif */
105 LIST_ITEM_TEXT2 /**< @if OSPDEPREC The sliding of 2nd text is switched on @endif */
110 * @enum FastScrollIndexDigit
112 * Defines the number of digits or characters of the fast scroll index.
114 * @brief <i> [Deprecated] </i>
115 * @deprecated This enum is deprecated. There is no need to use this enum.
119 enum FastScrollIndexDigit
121 SCROLL_INDEX_DIGIT_NUM_1, /**< @if OSPDEPREC The number of digits or characters of the index is 1 @endif */
122 SCROLL_INDEX_DIGIT_NUM_2 /**< @if OSPDEPREC The number of digits or characters of the index is 2 @endif */
125 }}} // Tizen::Ui::Controls
127 #endif //_FUI_CTRL_LIST_TYPES_H_