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 * @brief This is the header file for the %List class.
21 * This header file contains the declarations of the %List class and its helper classes.
24 #ifndef _FUI_CTRL_LIST_H_
25 #define _FUI_CTRL_LIST_H_
27 #include <FBaseObject.h>
28 #include <FBaseTypes.h>
29 #include <FGrpRectangle.h>
30 #include <FUiControl.h>
31 #include <FUiContainer.h>
32 #include <FUiCtrlListTypes.h>
33 #include <FUiCtrlControlsTypes.h>
34 #include <FUiIItemEventListener.h>
37 namespace Tizen { namespace Base { namespace Runtime
40 }}} // Tizen::Base::Runtime
42 namespace Tizen { namespace Ui { namespace Controls
48 * @brief <i> [Deprecated] </i> This class defines the common behavior of the %List control.
50 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
53 * The %List class defines the common behavior of the %List control.
54 * A list displays the user selection in the form of a list of items. When an item
55 * on the list is selected or deselected, an item event occurs. It is passed on to
56 * any item event listeners that have registered an interest in item events generated
59 * If an application wants to perform something based on a list being selected and
60 * deselected, it must realize IItemEventListener and register the listener to
61 * receive events from this list, by calling the list's AddItemEventListener() method.
63 * There are several styles supported with differences in the number of columns, rows and
64 * types of data that can be set. The Construct has a parameter for the size of
65 * all 4 aspects of a list item. If the item has less than 2 rows or 2 columns, you
66 * only need to specify the width and height information relevant to the style selected.
67 * Also, the check style causes some space to be taken up on the right side of the list
68 * item. The framework will try to make room for the check from the right-most column,
69 * so the actual width of each column may be different from what you have set.
71 * @image html ui_controls_list_construct.png
73 * If the application directly allocates resources, the resources must be deleted
74 * (for example, text or bitmap).
78 * @image html ui_controls_list.png
81 * This is a simple UI application which uses a list control.
85 //Sample code for ListSample.h
89 : public Tizen::Ui::Controls::Form
90 , public Tizen::Ui::IItemEventListener
96 bool Initialize(void);
97 virtual result OnInitializing(void);
98 virtual void OnItemStateChanged(const Tizen::Ui::Control &source, int index, int itemId, Tizen::Ui::ItemStatus status);
101 static const int ID_LIST_FIRSTITEM = 101;
102 static const int ID_LIST_SECONDITEM = 102;
104 Tizen::Ui::Controls::List* __pList;
109 //Sample code for ListSample.cpp
110 #include <FGraphics.h>
112 #include "ListSample.h"
114 using namespace Tizen::Base;
115 using namespace Tizen::Ui;
116 using namespace Tizen::Graphics;
117 using namespace Tizen::Ui::Controls;
120 ListSample::Initialize(void)
122 Construct(FORM_STYLE_NORMAL);
127 ListSample::OnInitializing(void)
129 result r = E_SUCCESS;
131 // Creates an instance of List
132 __pList = new List();
133 __pList->Construct(Rectangle(0, 0, GetClientAreaBounds().width, 500),
134 LIST_STYLE_NORMAL, LIST_ITEM_SINGLE_TEXT, 100, 0, GetClientAreaBounds().width, 0);
135 __pList->AddItemEventListener(*this);
138 String itemText1(L"List Item 1");
139 String itemText2(L"List Item 2");
141 // Adds the items to the list
142 __pList->AddItem(&itemText1, null, null, null, ID_LIST_FIRSTITEM);
143 __pList->AddItem(&itemText2, null, null, null, ID_LIST_SECONDITEM);
145 // Adds the list to the form
146 AddControl(*__pList);
151 // IItemEventListener implementation
153 ListSample::OnItemStateChanged (const Tizen::Ui::Control &source, int index, int itemId, Tizen::Ui::ItemStatus status)
157 case ID_LIST_FIRSTITEM:
162 case ID_LIST_SECONDITEM:
174 class _OSP_EXPORT_ List
175 : public Tizen::Ui::Control
180 * The object is not fully constructed after this constructor is called. For full construction, the Construct() method must be called right after calling this constructor.
182 * @brief <i> [Deprecated] </i>
183 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
191 * This polymorphic destructor should be overridden if required. This way, the destructors of the derived classes are called when the destructor of this interface is called.
193 * @brief <i> [Deprecated] </i>
194 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
202 * Initializes this instance of %List with the specified parameters.
204 * @brief <i> [Deprecated] </i>
205 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
208 * @return An error code
209 * @param[in] rect An instance of the Graphics::Rectangle class @n
210 * This instance represents the x and y coordinates of the top-left corner of the created list along with
211 * the width and height of the list.
212 * @param[in] style The style set of the list
213 * @param[in] itemFormat The layout of the list items
214 * @param[in] row1Height The height of the first row
215 * @param[in] row2Height The height of the second row
216 * @param[in] column1Width The width of the first column
217 * @param[in] column2Width The width of the second column
218 * @exception E_SUCCESS The method is successful.
219 * @exception E_INVALID_ARG A specified input parameter is invalid.
220 * @exception E_SYSTEM A system error has occurred.
221 * @remarks A control is fully usable only after it has been added to a container, therefore some methods may fail if used earlier. @n
222 * If the given size is less than the minimum size, %List is constructed with the minimum size. @n
223 * When, %List is constructed with LIST_STYLE_NUMBER style, the maximum number of items supported is @c 99.
224 * @remarks The size of the control must be within the range defined by the minimum size and the maximum size.
225 * @remarks The minimum size of this control is 92 x 72 on a WVGA screen, 60 x 48 on a HVGA screen and 46 x 36 on a WQVGA screen.
228 result Construct(const Tizen::Graphics::Rectangle& rect, ListStyle style, ListItemFormat itemFormat, int row1Height, int row2Height, int column1Width, int column2Width);
232 * Adds the specified listener instance. @n
233 * The added listener can listen to the item events when they are fired. Only an item event with the ITEM_SELECTED state is fired.
235 * @brief <i> [Deprecated] </i>
236 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
239 * @param[in] listener The event listener to add
242 void AddItemEventListener(Tizen::Ui::IItemEventListener& listener);
246 * Removes the specified listener instance. @n
247 * The removed listener cannot listen to events when they are fired.
249 * @brief <i> [Deprecated] </i>
250 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
253 * @param[in] listener The event listener to remove
256 void RemoveItemEventListener(Tizen::Ui::IItemEventListener& listener);
260 * Adds the item to the current %List instance.
262 * @brief <i> [Deprecated] </i>
263 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
266 * @return An error code
267 * @param[in] pText1 A pointer to the first string
268 * @param[in] pText2 A pointer to the second string
269 * @param[in] pBitmap1 A pointer to the first normal bitmap
270 * @param[in] pBitmap2 A pointer to the second normal bitmap
271 * @param[in] itemId The itemId for this item
272 * @exception E_SUCCESS The method is successful.
273 * @exception E_MAX_EXCEEDED The number of items has exceeded the maximum limit.
274 * @exception E_SYSTEM A system error has occurred.
275 * @remarks The contents of the specified texts and bitmaps are copied and kept by the list.
276 * If the size of the text exceeds the displayable area, the text will slide automatically when the list item is selected.
279 result AddItem(const Tizen::Base::String* pText1, const Tizen::Base::String* pText2, const Tizen::Graphics::Bitmap* pBitmap1, const Tizen::Graphics::Bitmap* pBitmap2, int itemId = LIST_ITEM_UNSPECIFIED_ID);
283 * Inserts the specified item to list, at the specified index.
285 * @brief <i> [Deprecated] </i>
286 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
289 * @return An error code
290 * @param[in] index The index at which the item is inserted
291 * @param[in] pText1 A pointer to the first string
292 * @param[in] pText2 A pointer to the second string
293 * @param[in] pBitmap1 A pointer to the first normal bitmap
294 * @param[in] pBitmap2 A pointer to the second normal bitmap
295 * @param[in] itemId The item ID for this item
296 * @exception E_SUCCESS The method is successful.
297 * @exception E_OUT_OF_RANGE The specified @c index is less than @c 0 or greater than the item count.
298 * @exception E_MAX_EXCEEDED The number of items has exceeded the maximum limit.
299 * @exception E_SYSTEM A system error has occurred.
300 * @remarks The contents of the specified texts and bitmaps are copied and kept by the list.
301 * If the size of the text exceeds the displayable area, the text will slide automatically when a list item is selected.
304 result InsertItemAt(int index, const Tizen::Base::String* pText1, const Tizen::Base::String* pText2, const Tizen::Graphics::Bitmap* pBitmap1, const Tizen::Graphics::Bitmap* pBitmap2, int itemId = LIST_ITEM_UNSPECIFIED_ID);
308 * Sets the contents of the specified item to list at the specified index.
310 * @brief <i> [Deprecated] </i>
311 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
314 * @return An error code
315 * @param[in] index The index at which the contents of the item is set
316 * @param[in] pText1 A pointer to the first string
317 * @param[in] pText2 A pointer to the second string
318 * @param[in] pBitmap1 A pointer to the first normal bitmap
319 * @param[in] pBitmap2 A pointer to the second normal bitmap
320 * @param[in] itemId The item ID for this item
321 * @exception E_SUCCESS The method is successful.
322 * @exception E_OUT_OF_RANGE The specified @c index is less than @c 0 or greater than or equal to the item count.
323 * @exception E_SYSTEM A system error has occurred.
324 * @remarks The contents of the specified texts and bitmaps are copied and kept in the list.
325 * If the size of the text exceeds the displayable area, the text will slide automatically when a list item is selected.
328 result SetItemAt(int index, const Tizen::Base::String* pText1, const Tizen::Base::String* pText2, const Tizen::Graphics::Bitmap* pBitmap1, const Tizen::Graphics::Bitmap* pBitmap2, int itemId = LIST_ITEM_UNSPECIFIED_ID);
332 * Removes the item at the specified index of the list.
334 * @brief <i> [Deprecated] </i>
335 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
338 * @return An error code
339 * @param[in] index The index at which the item is deleted
340 * @exception E_SUCCESS The method is successful.
341 * @exception E_OUT_OF_RANGE The specified @c index is less than @c 0 or greater than or equal to the item count.
342 * @exception E_SYSTEM A system error has occurred.
345 result RemoveItemAt(int index);
349 * Removes all the items of the list.
351 * @brief <i> [Deprecated] </i>
352 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
355 * @return An error code
356 * @exception E_SUCCESS The method is successful.
357 * @exception E_SYSTEM A system error has occurred.
360 result RemoveAllItems(void);
364 * Gets the item count of the list.
366 * @brief <i> [Deprecated] </i>
367 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
370 * @return The number of items in the list
373 int GetItemCount(void) const;
377 * Sets the enabled status of the specified item of the list.
379 * @brief <i> [Deprecated] </i>
380 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
383 * @return An error code
384 * @param[in] index The index of the list item for which status is set
385 * @param[in] enable Set to @c true to enable the item, @n
387 * @exception E_SUCCESS The method is successful.
388 * @exception E_SYSTEM A system error has occurred.
391 result SetItemEnabled(int index, bool enable);
395 * Checks whether the specified item is enabled.
397 * @brief <i> [Deprecated] </i>
398 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
401 * @return @c true if the item is enabled, @n
403 * @param[in] index The index of the list item
406 bool IsItemEnabled(int index) const;
410 * Sets the background bitmap image of the focused item.
412 * @brief <i> [Deprecated] </i>
413 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
416 * @param[in] bitmap The background bitmap of the focused item
419 void SetFocusedItemBackgroundBitmap(const Tizen::Graphics::Bitmap& bitmap);
423 * Sets the highlighted background image on the rectangle of each list item.
425 * @brief <i> [Deprecated] </i>
426 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
429 * @param[in] bitmap The background image
430 * @remarks When a user navigates a user interface with directional keys, the selected UI control is highlighted and takes the focus.
433 void SetHighlightedItemBackgroundBitmap(const Tizen::Graphics::Bitmap& bitmap);
437 * Sets the background image on the rectangle of each list item.
439 * @brief <i> [Deprecated] </i>
440 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
443 * @param[in] bitmap The background image
446 void SetNormalItemBackgroundBitmap(const Tizen::Graphics::Bitmap& bitmap);
450 * Gets the index of the top-drawn item of the list.
452 * @brief <i> [Deprecated] </i>
453 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
456 * @return The index of the top-drawn item
459 int GetTopDrawnItemIndex(void) const;
463 * Gets the index of the bottom-drawn item of the list.
465 * @brief <i> [Deprecated] </i>
466 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
469 * @return The index of the bottom-drawn item
472 int GetBottomDrawnItemIndex(void) const;
476 * Sets the text to be displayed when the list is empty.
478 * @brief <i> [Deprecated] </i>
479 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
482 * @param[in] text The text message to display
485 void SetTextOfEmptyList(const Tizen::Base::String& text);
489 * Sets the color of the text that is displayed when the list is empty.
491 * @brief <i> [Deprecated] </i>
492 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
495 * @param[in] color The color of the text for an empty List
498 void SetTextColorOfEmptyList(const Tizen::Graphics::Color& color);
502 * Gets the color of the empty text that is displayed when the list is empty.
504 * @brief <i> [Deprecated] </i>
505 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
508 * @return The empty text color, @n
509 * else RGBA(0, 0, 0, 0) if the instance is invalid
512 Tizen::Graphics::Color GetTextColorOfEmptyList(void) const;
516 * Sets the background color of this control.
518 * @brief <i> [Deprecated] </i>
519 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
522 * @param[in] color The background color
525 void SetBackgroundColor(const Tizen::Graphics::Color& color);
529 * Sets the item text color.
531 * @brief <i> [Deprecated] </i>
532 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
535 * @param[in] textIndex The index of the text
536 * @param[in] textColor The color of the text
539 void SetItemTextColor(ListItemText textIndex, const Tizen::Graphics::Color& textColor);
543 * Gets the text color of item.
545 * @brief <i> [Deprecated] </i>
546 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
549 * @return The item text color
550 * @param[in] textIndex The index of the text, @n
551 * else RGBA(0, 0, 0, 0) if the instance is invalid
554 Tizen::Graphics::Color GetItemTextColor(ListItemText textIndex) const;
558 * Enables the text slide.
560 * @brief <i> [Deprecated] </i>
561 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
564 * @param[in] textIndex The text index of the list item format to slide
565 * @remarks If text slide is enabled, the texts which are too long to fit in the given list item slide show the remnant contents when a user touches
566 * the item for a long time.
569 void EnableTextSlide(ListItemText textIndex);
573 * Disables the text sliding.
575 * @brief <i> [Deprecated] </i>
576 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
580 void DisableTextSlide(void);
584 * Gets the height of the list item.
586 * @brief <i> [Deprecated] </i>
587 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
590 * @return The height of the item
593 int GetItemHeight(void) const;
597 * Gets the row1 height of the current list
599 * @brief <i> [Deprecated] </i>
600 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
603 * @return The row1 height of the item
606 int GetRow1Height(void) const;
610 * Gets the row2 height of the current list
612 * @brief <i> [Deprecated] </i>
613 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
616 * @return The row2 height of the item
619 int GetRow2Height(void) const;
623 * Gets the column1 width of the current list
625 * @brief <i> [Deprecated] </i>
626 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
629 * @return The column1 width of the item
632 int GetColumn1Width(void) const;
636 * Gets the column2 width of the current list
638 * @brief <i> [Deprecated] </i>
639 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
642 * @return The column2 width of the item
645 int GetColumn2Width(void) const;
649 * Sets the row1 height of the current List
651 * @brief <i> [Deprecated] </i>
652 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
655 * @return An error code
656 * @param[in] row1Height The row1 height of the list item
657 * @exception E_SUCCESS The method is successful.
658 * @exception E_SYSTEM A system error has occurred.
659 * @remarks In logical pixels, the minimum height of the rows is 48.
662 result SetRow1Height(int row1Height);
666 * Sets the row2 height of the current list.
668 * @brief <i> [Deprecated] </i>
669 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
672 * @return An error code
673 * @param[in] row2Height The row2 height of the list item
674 * @exception E_SUCCESS The method is successful.
675 * @exception E_SYSTEM A system error has occurred.
676 * @remarks In logical pixels, the minimum height of the rows is 48.
679 result SetRow2Height(int row2Height);
683 * Sets the column1 width of the current %List
685 * @brief <i> [Deprecated] </i>
686 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
689 * @return An error code
690 * @param[in] column1Width The column1 width of the list item
691 * @exception E_SUCCESS The method is successful.
692 * @exception E_SYSTEM A system error has occurred.
695 result SetColumn1Width(int column1Width);
699 * Sets the column2 width of the current %List
701 * @brief <i> [Deprecated] </i>
702 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
705 * @return An error code
706 * @param[in] column2Width The column2 width of the list item
707 * @exception E_SUCCESS The method is successful.
708 * @exception E_SYSTEM A system error has occurred.
711 result SetColumn2Width(int column2Width);
715 * Sets the check status of the specified item of the list.
717 * @brief <i> [Deprecated] </i>
718 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
721 * @return An error code
722 * @param[in] index The index of the list
723 * @param[in] check The check status
724 * @exception E_SUCCESS The method is successful.
725 * @exception E_SYSTEM A system error has occurred.
727 * @remarks This method can only be used when the style of the list allows selection.
730 result SetItemChecked(int index, bool check);
734 * Checks whether the specified item of the list is checked.
736 * @brief <i> [Deprecated] </i>
737 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
740 * @return @c true if the item is checked, @n
742 * @param[in] index The index of the list item
744 * @remarks This method can only be used when the style of the list allows selection.
747 bool IsItemChecked(int index) const;
751 * Sets the checked status of all the items of the list.
753 * @brief <i> [Deprecated] </i>
754 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
757 * @return An error code
758 * @param[in] check Set to @c true to check all the items, @n
760 * @exception E_SUCCESS The method is successful.
761 * @exception E_SYSTEM A system error has occurred.
762 * @remarks This method can only be used when the style of the list allows multiple selections.
765 result SetAllItemsChecked(bool check);
769 * Removes all the checked items of the list.
771 * @brief <i> [Deprecated] </i>
772 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
775 * @return An error code
776 * @exception E_SUCCESS The method is successful.
777 * @exception E_SYSTEM A system error has occurred.
778 * @remarks This method can only be used when the style of the list allows multiple selections.
781 result RemoveAllCheckedItems(void);
785 * Gets the index of the first checked item from the list.
787 * @brief <i> [Deprecated] </i>
788 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
791 * @return The index of the first checked item
792 * @remarks This method can only be used when the style of the list allows multiple selections.
795 int GetFirstCheckedItemIndex(void) const;
799 * Gets the index of the last checked item from the list.
801 * @brief <i> [Deprecated] </i>
802 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
805 * @return The index of the last checked item
806 * @remarks This method can only be used when the style of the list allows multiple selections.
809 int GetLastCheckedItemIndex(void) const;
813 * Gets the index of the next checked item after the specified index from the list.
815 * @brief <i> [Deprecated] </i>
816 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
819 * @return The index of the next checked item
820 * @param[in] index The index of the item
821 * @remarks This method can only be used when the style of the list allows multiple selections.
824 int GetNextCheckedItemIndexAfter(int index) const;
828 * Gets the index of the item with the specified item ID.
830 * @brief <i> [Deprecated] </i>
831 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
834 * @return The index of the item
835 * @param[in] itemId The item ID of the list
836 * @remarks The method returns -1 when there is no list item with the specified item ID.
839 int GetItemIndexFromItemId(int itemId) const;
843 * Gets the index of the item at the specified item position.
845 * @brief <i> [Deprecated] </i>
846 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
849 * @return The index of the item, @n
850 * else @c -1 if there is no list item at the specified position
851 * @param[in] x The x position of the point
852 * @param[in] y The y position of the point
855 int GetItemIndexFromPosition(int x, int y) const;
859 * Gets the index of the item at the specified item position.
861 * @brief <i> [Deprecated] </i>
862 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
865 * @return The index of the item, @n
866 * else @c -1 if there is no list item at the specified position
867 * @param[in] position The position of the point
870 int GetItemIndexFromPosition(const Tizen::Graphics::Point& position) const;
874 * Gets the item ID of the item at the specified index.
876 * @brief <i> [Deprecated] </i>
877 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
880 * @return The ID of the item, @n
881 * else @c -1 if there is no list item at the specified index
882 * @param[in] index The index of the list item
885 int GetItemIdAt(int index) const;
889 * Scrolls to the bottom of the List.
891 * @brief <i> [Deprecated] </i>
892 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
896 void ScrollToBottom(void);
900 * Scrolls to the top of the List.
902 * @brief <i> [Deprecated] </i>
903 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
907 void ScrollToTop(void);
911 * Scrolls to the item at the specified index. @n
912 * The specified item is drawn at the top of the list.
914 * @brief <i> [Deprecated] </i>
915 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
918 * @return An error code
919 * @param[in] index The index of the list item
920 * @exception E_SUCCESS The method is successful.
921 * @exception E_SYSTEM A system error has occurred.
922 * @exception E_INVALID_ARG The specified input parameter is invalid.
925 result ScrollToTop(int index);
929 * Draws and shows the item of the list.
931 * @brief <i> [Deprecated] </i>
932 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
935 * @return An error code
936 * @param[in] index The index of the list item
937 * @exception E_SUCCESS The method is successful.
938 * @exception E_SYSTEM A system error has occurred.
939 * @exception E_INVALID_ARG The specified input parameter is invalid.
942 result RefreshItem(int index);
947 // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
949 List(const List& rhs);
952 // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
954 List& operator =(const List& rhs);
956 friend class _ListImpl;
959 }}} // Tizen::Ui::Controls
961 #endif // _FUI_CTRL_LIST_H_