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.
20 * @brief This is the header file for the %List class.
22 * This header file contains the declarations of the %List class and its helper classes.
26 #ifndef _FUI_CTRL_LIST_H_
27 #define _FUI_CTRL_LIST_H_
29 #include <FBaseObject.h>
30 #include <FBaseTypes.h>
31 #include <FGrpRectangle.h>
32 #include <FUiControl.h>
33 #include <FUiContainer.h>
34 #include <FUiCtrlListTypes.h>
35 #include <FUiCtrlControlsTypes.h>
36 #include <FUiIItemEventListener.h>
39 namespace Tizen { namespace Base { namespace Runtime
42 }}} // Tizen::Base::Runtime
44 namespace Tizen { namespace Ui { namespace Controls
50 * @brief <i> [Deprecated] </i> This class defines the common behavior of the %List control.
52 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
55 * The %List class defines the common behavior of the %List control.
56 * A list displays the user selection in the form of a list of items. When an item
57 * on the list is selected or deselected, an item event occurs. It is passed on to
58 * any item event listeners that have registered an interest in item events generated
61 * If an application wants to perform something based on a list being selected and
62 * deselected, it must realize IItemEventListener and register the listener to
63 * receive events from this list, by calling the list's AddItemEventListener() method.
65 * There are several styles supported with differences in the number of columns, rows and
66 * types of data that can be set. The Construct has a parameter for the size of
67 * all 4 aspects of a list item. If the item has less than 2 rows or 2 columns, you
68 * only need to specify the width and height information relevant to the style selected.
69 * Also, the check style causes some space to be taken up on the right side of the list
70 * item. The framework will try to make room for the check from the right-most column,
71 * so the actual width of each column may be different from what you have set.
73 * @image html ui_controls_list_construct.png
75 * If the application directly allocates resources, the resources must be deleted
76 * (for example, text or bitmap).
80 * @image html ui_controls_list.png
83 * This is a simple UI application which uses a list control.
87 //Sample code for ListSample.h
91 : public Tizen::Ui::Controls::Form
92 , public Tizen::Ui::IItemEventListener
98 bool Initialize(void);
99 virtual result OnInitializing(void);
100 virtual void OnItemStateChanged(const Tizen::Ui::Control &source, int index, int itemId, Tizen::Ui::ItemStatus status);
103 static const int ID_LIST_FIRSTITEM = 101;
104 static const int ID_LIST_SECONDITEM = 102;
106 Tizen::Ui::Controls::List* __pList;
111 //Sample code for ListSample.cpp
112 #include <FGraphics.h>
114 #include "ListSample.h"
116 using namespace Tizen::Base;
117 using namespace Tizen::Ui;
118 using namespace Tizen::Graphics;
119 using namespace Tizen::Ui::Controls;
122 ListSample::Initialize(void)
124 Construct(FORM_STYLE_NORMAL);
129 ListSample::OnInitializing(void)
131 result r = E_SUCCESS;
133 // Creates an instance of List
134 __pList = new List();
135 __pList->Construct(Rectangle(0, 0, GetClientAreaBounds().width, 500),
136 LIST_STYLE_NORMAL, LIST_ITEM_SINGLE_TEXT, 100, 0, GetClientAreaBounds().width, 0);
137 __pList->AddItemEventListener(*this);
140 String itemText1(L"List Item 1");
141 String itemText2(L"List Item 2");
143 // Adds the items to the list
144 __pList->AddItem(&itemText1, null, null, null, ID_LIST_FIRSTITEM);
145 __pList->AddItem(&itemText2, null, null, null, ID_LIST_SECONDITEM);
147 // Adds the list to the form
153 // IItemEventListener implementation
155 ListSample::OnItemStateChanged (const Tizen::Ui::Control &source, int index, int itemId, Tizen::Ui::ItemStatus status)
159 case ID_LIST_FIRSTITEM:
164 case ID_LIST_SECONDITEM:
176 class _OSP_EXPORT_ List
177 : public Tizen::Ui::Control
182 * The object is not fully constructed after this constructor is called. @n
183 * For full construction, the List::Construct() method must be called right after calling this constructor.
185 * @brief <i> [Deprecated] </i>
186 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
194 * This polymorphic destructor should be overridden if required.@n
195 * This way, the destructors of the derived classes are called when the destructor of this interface is called.
197 * @brief <i> [Deprecated] </i>
198 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
206 * Initializes this instance of %List with the specified parameters.
208 * @brief <i> [Deprecated] </i>
209 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
212 * @return An error code
213 * @param[in] rect An instance of the Graphics::Rectangle class @n
214 * This instance represents the x and y coordinates of the top-left corner of the created list along with
215 * the width and height of the list.
216 * @param[in] style The style set of the list
217 * @param[in] itemFormat The layout of the list items
218 * @param[in] row1Height The height of the first row
219 * @param[in] row2Height The height of the second row
220 * @param[in] column1Width The width of the first column
221 * @param[in] column2Width The width of the second column
222 * @exception E_SUCCESS The method is successful.
223 * @exception E_INVALID_ARG A specified input parameter is invalid.
224 * @exception E_SYSTEM A system error has occurred.
226 * - A control is fully usable only after it has been added to a container, therefore some methods may fail if used earlier.
227 * - If the given size is less than the minimum size, %List is constructed with the minimum size.
228 * - When, %List is constructed with ::LIST_STYLE_NUMBER style, the maximum number of items supported is @c 99.
229 * - The size of the control must be within the range defined by the minimum size and the maximum size.
230 * - 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.
233 result Construct(const Tizen::Graphics::Rectangle& rect, ListStyle style, ListItemFormat itemFormat, int row1Height, int row2Height, int column1Width, int column2Width);
237 * Adds the specified listener instance. @n
238 * The added listener can listen to the item events when they are fired. Only an item event with the ITEM_SELECTED state is fired.
240 * @brief <i> [Deprecated] </i>
241 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
244 * @param[in] listener The event listener to add
247 void AddItemEventListener(Tizen::Ui::IItemEventListener& listener);
251 * Removes the specified listener instance. @n
252 * The removed listener cannot listen to events when they are fired.
254 * @brief <i> [Deprecated] </i>
255 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
258 * @param[in] listener The event listener to remove
261 void RemoveItemEventListener(Tizen::Ui::IItemEventListener& listener);
265 * Adds the item to the current %List instance.
267 * @brief <i> [Deprecated] </i>
268 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
271 * @return An error code
272 * @param[in] pText1 A pointer to the first string
273 * @param[in] pText2 A pointer to the second string
274 * @param[in] pBitmap1 A pointer to the first normal bitmap
275 * @param[in] pBitmap2 A pointer to the second normal bitmap
276 * @param[in] itemId The itemId for this item
277 * @exception E_SUCCESS The method is successful.
278 * @exception E_MAX_EXCEEDED The number of items has exceeded the maximum limit.
279 * @exception E_SYSTEM A system error has occurred.
281 * - The contents of the specified texts and bitmaps are copied and kept by the list.
282 * - If the size of the text exceeds the displayable area, the text will slide automatically when the list item is selected.
285 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);
289 * Inserts the specified item to list, at the specified index.
291 * @brief <i> [Deprecated] </i>
292 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
295 * @return An error code
296 * @param[in] index The index at which the item is inserted
297 * @param[in] pText1 A pointer to the first string
298 * @param[in] pText2 A pointer to the second string
299 * @param[in] pBitmap1 A pointer to the first normal bitmap
300 * @param[in] pBitmap2 A pointer to the second normal bitmap
301 * @param[in] itemId The item ID for this item
302 * @exception E_SUCCESS The method is successful.
303 * @exception E_OUT_OF_RANGE The specified @c index is less than @c 0 or greater than the item count.
304 * @exception E_MAX_EXCEEDED The number of items has exceeded the maximum limit.
305 * @exception E_SYSTEM A system error has occurred.
307 * - The contents of the specified texts and bitmaps are copied and kept by the list.
308 * - If the size of the text exceeds the displayable area, the text will slide automatically when a list item is selected.
311 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);
315 * Sets the contents of the specified item to list at the specified index.
317 * @brief <i> [Deprecated] </i>
318 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
321 * @return An error code
322 * @param[in] index The index at which the contents of the item is set
323 * @param[in] pText1 A pointer to the first string
324 * @param[in] pText2 A pointer to the second string
325 * @param[in] pBitmap1 A pointer to the first normal bitmap
326 * @param[in] pBitmap2 A pointer to the second normal bitmap
327 * @param[in] itemId The item ID for this item
328 * @exception E_SUCCESS The method is successful.
329 * @exception E_OUT_OF_RANGE The specified @c index is less than @c 0 or greater than or equal to the item count.
330 * @exception E_SYSTEM A system error has occurred.
332 * - The contents of the specified texts and bitmaps are copied and kept in the list.
333 * - If the size of the text exceeds the displayable area, the text will slide automatically when a list item is selected.
336 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);
340 * Removes the item at the specified index of the list.
342 * @brief <i> [Deprecated] </i>
343 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
346 * @return An error code
347 * @param[in] index The index at which the item is deleted
348 * @exception E_SUCCESS The method is successful.
349 * @exception E_OUT_OF_RANGE The specified @c index is less than @c 0 or greater than or equal to the item count.
350 * @exception E_SYSTEM A system error has occurred.
353 result RemoveItemAt(int index);
357 * Removes all the items of the list.
359 * @brief <i> [Deprecated] </i>
360 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
363 * @return An error code
364 * @exception E_SUCCESS The method is successful.
365 * @exception E_SYSTEM A system error has occurred.
368 result RemoveAllItems(void);
372 * Gets the item count of the list.
374 * @brief <i> [Deprecated] </i>
375 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
378 * @return The number of items in the list
381 int GetItemCount(void) const;
385 * Sets the enabled status of the specified item of the list.
387 * @brief <i> [Deprecated] </i>
388 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
391 * @return An error code
392 * @param[in] index The index of the list item for which status is set
393 * @param[in] enable Set to @c true to enable the item, @n
395 * @exception E_SUCCESS The method is successful.
396 * @exception E_SYSTEM A system error has occurred.
399 result SetItemEnabled(int index, bool enable);
403 * Checks whether the specified item is enabled.
405 * @brief <i> [Deprecated] </i>
406 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
409 * @return @c true if the item is enabled, @n
411 * @param[in] index The index of the list item
414 bool IsItemEnabled(int index) const;
418 * Sets the background bitmap image of the focused item.
420 * @brief <i> [Deprecated] </i>
421 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
424 * @param[in] bitmap The background bitmap of the focused item
427 void SetFocusedItemBackgroundBitmap(const Tizen::Graphics::Bitmap& bitmap);
431 * Sets the highlighted background image on the rectangle of each list item.
433 * @brief <i> [Deprecated] </i>
434 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
437 * @param[in] bitmap The background image
438 * @remarks When a user navigates a user interface with directional keys, the selected UI control is highlighted and takes the focus.
441 void SetHighlightedItemBackgroundBitmap(const Tizen::Graphics::Bitmap& bitmap);
445 * Sets the background image on the rectangle of each list item.
447 * @brief <i> [Deprecated] </i>
448 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
451 * @param[in] bitmap The background image
454 void SetNormalItemBackgroundBitmap(const Tizen::Graphics::Bitmap& bitmap);
458 * Gets the index of the top-drawn item of the list.
460 * @brief <i> [Deprecated] </i>
461 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
464 * @return The index of the top-drawn item
467 int GetTopDrawnItemIndex(void) const;
471 * Gets the index of the bottom-drawn item of the list.
473 * @brief <i> [Deprecated] </i>
474 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
477 * @return The index of the bottom-drawn item
480 int GetBottomDrawnItemIndex(void) const;
484 * Sets the text to be displayed when the list is empty.
486 * @brief <i> [Deprecated] </i>
487 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
490 * @param[in] text The text message to display
493 void SetTextOfEmptyList(const Tizen::Base::String& text);
497 * Sets the color of the text that is displayed when the list is empty.
499 * @brief <i> [Deprecated] </i>
500 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
503 * @param[in] color The color of the text for an empty List
506 void SetTextColorOfEmptyList(const Tizen::Graphics::Color& color);
510 * Gets the color of the empty text that is displayed when the list is empty.
512 * @brief <i> [Deprecated] </i>
513 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
516 * @return The empty text color, @n
517 * else RGBA(0, 0, 0, 0) if the instance is invalid
520 Tizen::Graphics::Color GetTextColorOfEmptyList(void) const;
524 * Sets the background color of this control.
526 * @brief <i> [Deprecated] </i>
527 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
530 * @param[in] color The background color
533 void SetBackgroundColor(const Tizen::Graphics::Color& color);
537 * Sets the item text color.
539 * @brief <i> [Deprecated] </i>
540 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
543 * @param[in] textIndex The index of the text
544 * @param[in] textColor The color of the text
547 void SetItemTextColor(ListItemText textIndex, const Tizen::Graphics::Color& textColor);
551 * Gets the text color of item.
553 * @brief <i> [Deprecated] </i>
554 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
557 * @return The item text color
558 * @param[in] textIndex The index of the text, @n
559 * else RGBA(0, 0, 0, 0) if the instance is invalid
562 Tizen::Graphics::Color GetItemTextColor(ListItemText textIndex) const;
566 * Enables the text slide.
568 * @brief <i> [Deprecated] </i>
569 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
572 * @param[in] textIndex The text index of the list item format to slide
573 * @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
574 * the item for a long time.
577 void EnableTextSlide(ListItemText textIndex);
581 * Disables the text sliding.
583 * @brief <i> [Deprecated] </i>
584 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
588 void DisableTextSlide(void);
592 * Gets the height of the list item.
594 * @brief <i> [Deprecated] </i>
595 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
598 * @return The height of the item
601 int GetItemHeight(void) const;
605 * Gets the row1 height of the current list
607 * @brief <i> [Deprecated] </i>
608 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
611 * @return The row1 height of the item
614 int GetRow1Height(void) const;
618 * Gets the row2 height of the current list
620 * @brief <i> [Deprecated] </i>
621 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
624 * @return The row2 height of the item
627 int GetRow2Height(void) const;
631 * Gets the column1 width of the current list
633 * @brief <i> [Deprecated] </i>
634 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
637 * @return The column1 width of the item
640 int GetColumn1Width(void) const;
644 * Gets the column2 width of the current list
646 * @brief <i> [Deprecated] </i>
647 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
650 * @return The column2 width of the item
653 int GetColumn2Width(void) const;
657 * Sets the row1 height of the current List
659 * @brief <i> [Deprecated] </i>
660 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
663 * @return An error code
664 * @param[in] row1Height The row1 height of the list item
665 * @exception E_SUCCESS The method is successful.
666 * @exception E_SYSTEM A system error has occurred.
667 * @remarks In logical pixels, the minimum height of the rows is 48.
670 result SetRow1Height(int row1Height);
674 * Sets the row2 height of the current list.
676 * @brief <i> [Deprecated] </i>
677 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
680 * @return An error code
681 * @param[in] row2Height The row2 height of the list item
682 * @exception E_SUCCESS The method is successful.
683 * @exception E_SYSTEM A system error has occurred.
684 * @remarks In logical pixels, the minimum height of the rows is 48.
687 result SetRow2Height(int row2Height);
691 * Sets the column1 width of the current %List
693 * @brief <i> [Deprecated] </i>
694 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
697 * @return An error code
698 * @param[in] column1Width The column1 width of the list item
699 * @exception E_SUCCESS The method is successful.
700 * @exception E_SYSTEM A system error has occurred.
703 result SetColumn1Width(int column1Width);
707 * Sets the column2 width of the current %List
709 * @brief <i> [Deprecated] </i>
710 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
713 * @return An error code
714 * @param[in] column2Width The column2 width of the list item
715 * @exception E_SUCCESS The method is successful.
716 * @exception E_SYSTEM A system error has occurred.
719 result SetColumn2Width(int column2Width);
723 * Sets the check status of the specified item of the list.
725 * @brief <i> [Deprecated] </i>
726 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
729 * @return An error code
730 * @param[in] index The index of the list
731 * @param[in] check The check status
732 * @exception E_SUCCESS The method is successful.
733 * @exception E_SYSTEM A system error has occurred.
735 * @remarks This method can only be used when the style of the list allows selection.
738 result SetItemChecked(int index, bool check);
742 * Checks whether the specified item of the list is checked.
744 * @brief <i> [Deprecated] </i>
745 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
748 * @return @c true if the item is checked, @n
750 * @param[in] index The index of the list item
752 * @remarks This method can only be used when the style of the list allows selection.
755 bool IsItemChecked(int index) const;
759 * Sets the checked status of all the items of the list.
761 * @brief <i> [Deprecated] </i>
762 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
765 * @return An error code
766 * @param[in] check Set to @c true to check all the items, @n
768 * @exception E_SUCCESS The method is successful.
769 * @exception E_SYSTEM A system error has occurred.
770 * @remarks This method can only be used when the style of the list allows multiple selections.
773 result SetAllItemsChecked(bool check);
777 * Removes all the checked items of the list.
779 * @brief <i> [Deprecated] </i>
780 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
783 * @return An error code
784 * @exception E_SUCCESS The method is successful.
785 * @exception E_SYSTEM A system error has occurred.
786 * @remarks This method can only be used when the style of the list allows multiple selections.
789 result RemoveAllCheckedItems(void);
793 * Gets the index of the first checked item from the list.
795 * @brief <i> [Deprecated] </i>
796 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
799 * @return The index of the first checked item
800 * @remarks This method can only be used when the style of the list allows multiple selections.
803 int GetFirstCheckedItemIndex(void) const;
807 * Gets the index of the last checked item from the list.
809 * @brief <i> [Deprecated] </i>
810 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
813 * @return The index of the last checked item
814 * @remarks This method can only be used when the style of the list allows multiple selections.
817 int GetLastCheckedItemIndex(void) const;
821 * Gets the index of the next checked item after the specified index from the list.
823 * @brief <i> [Deprecated] </i>
824 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
827 * @return The index of the next checked item
828 * @param[in] index The index of the item
829 * @remarks This method can only be used when the style of the list allows multiple selections.
832 int GetNextCheckedItemIndexAfter(int index) const;
836 * Gets the index of the item with the specified item ID.
838 * @brief <i> [Deprecated] </i>
839 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
842 * @return The index of the item
843 * @param[in] itemId The item ID of the list
844 * @remarks The method returns -1 when there is no list item with the specified item ID.
847 int GetItemIndexFromItemId(int itemId) const;
851 * Gets the index of the item at the specified item position.
853 * @brief <i> [Deprecated] </i>
854 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
857 * @return The index of the item, @n
858 * else @c -1 if there is no list item at the specified position
859 * @param[in] x The x position of the point
860 * @param[in] y The y position of the point
863 int GetItemIndexFromPosition(int x, int y) const;
867 * Gets the index of the item at the specified item position.
869 * @brief <i> [Deprecated] </i>
870 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
873 * @return The index of the item, @n
874 * else @c -1 if there is no list item at the specified position
875 * @param[in] position The position of the point
878 int GetItemIndexFromPosition(const Tizen::Graphics::Point& position) const;
882 * Gets the item ID of the item at the specified index.
884 * @brief <i> [Deprecated] </i>
885 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
888 * @return The ID of the item, @n
889 * else @c -1 if there is no list item at the specified index
890 * @param[in] index The index of the list item
893 int GetItemIdAt(int index) const;
897 * Scrolls to the bottom of the List.
899 * @brief <i> [Deprecated] </i>
900 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
904 void ScrollToBottom(void);
908 * Scrolls to the top of the List.
910 * @brief <i> [Deprecated] </i>
911 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
915 void ScrollToTop(void);
919 * Scrolls to the item at the specified index. @n
920 * The specified item is drawn at the top of the list.
922 * @brief <i> [Deprecated] </i>
923 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
926 * @return An error code
927 * @param[in] index The index of the list item
928 * @exception E_SUCCESS The method is successful.
929 * @exception E_SYSTEM A system error has occurred.
930 * @exception E_INVALID_ARG The specified input parameter is invalid.
933 result ScrollToTop(int index);
937 * Draws and shows the item of the list.
939 * @brief <i> [Deprecated] </i>
940 * @deprecated This class is deprecated. Instead of using this class, use the ListView class.
943 * @return An error code
944 * @param[in] index The index of the list item
945 * @exception E_SUCCESS The method is successful.
946 * @exception E_SYSTEM A system error has occurred.
947 * @exception E_INVALID_ARG The specified input parameter is invalid.
950 result RefreshItem(int index);
955 // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
957 List(const List& rhs);
960 // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
962 List& operator =(const List& rhs);
964 friend class _ListImpl;
967 }}} // Tizen::Ui::Controls
969 #endif // _FUI_CTRL_LIST_H_