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 * @file FUiCtrlIconListView.h
20 * @brief This is the header file for the %IconListView class.
22 * This header file contains the declarations of the %IconListView class and its helper classes.
25 #ifndef _FUI_CTRL_ICON_LIST_VIEW_H_
26 #define _FUI_CTRL_ICON_LIST_VIEW_H_
29 #include <FBaseObject.h>
30 #include <FBaseString.h>
31 #include <FBaseTypes.h>
32 #include <FGrpBitmap.h>
33 #include <FGrpDimension.h>
34 #include <FGrpRectangle.h>
35 #include <FOspConfig.h>
36 #include <FUiContainer.h>
37 #include <FUiControl.h>
38 #include <FUiCtrlControlsTypes.h>
39 #include <FUiCtrlIconListViewTypes.h>
40 #include <FUiCtrlIconListViewItem.h>
41 #include <FUiCtrlIIconListViewItemEventListener.h>
42 #include <FUiCtrlIIconListViewItemProvider.h>
43 #include <FUiCtrlIScrollEventListener.h>
44 #include <FUiCtrlListViewTypes.h>
46 namespace Tizen { namespace Ui { namespace Controls
51 * @brief This class defines the common behavior for a %IconListView control.
55 * The %IconListView class displays a 2-dimentional list of bitmap images and icons.
57 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/ui/implementing_listviews.htm">ListViews</a>.
59 * The following example demonstrates how to use the %IconListView class.
62 //Sample code for IconListViewSample.h
65 class IconListViewSample
66 : public Tizen::Ui::Controls::Form
67 , public Tizen::Ui::Controls::IIconListViewItemProvider
68 , public Tizen::Ui::Controls::IIconListViewItemEventListener
71 IconListViewSample(void)
72 : __pIconListView(null){}
74 bool Initialize(void);
75 virtual result OnInitializing(void);
76 virtual result OnTerminating(void);
78 // IIconListViewItemEventListener
79 virtual void OnIconListViewItemStateChanged(Tizen::Ui::Controls::IconListView &view, int index, Tizen::Ui::Controls::IconListViewItemStatus status);
81 //IIconListViewItemProvider
82 virtual Tizen::Ui::Controls::IconListViewItem* CreateItem(int index);
83 virtual bool DeleteItem(int index, Tizen::Ui::Controls::IconListViewItem* pItem);
84 virtual int GetItemCount(void);
87 Tizen::Graphics::Bitmap* __pHome;
88 Tizen::Graphics::Bitmap* __pMsg;
89 Tizen::Graphics::Bitmap* __pAlarm;
91 Tizen::Ui::Controls::IconListView* __pIconListView;
96 //Sample code for IconListViewSample.cpp
98 #include <FGraphics.h>
100 #include "IconListViewSample.h"
102 using namespace Tizen::App;
103 using namespace Tizen::Base;
104 using namespace Tizen::Graphics;
105 using namespace Tizen::Ui;
106 using namespace Tizen::Ui::Controls;
109 IconListViewSample::Initialize(void)
111 Construct(FORM_STYLE_NORMAL);
116 IconListViewSample::OnInitializing(void)
118 result r = E_SUCCESS;
120 // Creates an instance of IconListView
121 __pIconListView = new IconListView();
122 __pIconListView->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height),
123 Dimension(100, 100), ICON_LIST_VIEW_STYLE_NORMAL, ICON_LIST_VIEW_SCROLL_DIRECTION_VERTICAL);
124 __pIconListView->SetItemProvider(*this);
125 __pIconListView->AddIconListViewItemEventListener(*this);
127 // Adds the icon list view to the form
128 AddControl(*__pIconListView);
130 // Gets instances of Bitmap
131 AppResource* pAppResource = Application::GetInstance()->GetAppResource();
132 __pHome = pAppResource->GetBitmapN(L"home.png");
133 __pMsg = pAppResource->GetBitmapN(L"message.png");
134 __pAlarm = pAppResource->GetBitmapN(L"alarm.png");
140 IconListViewSample::OnTerminating(void)
142 result r = E_SUCCESS;
144 // Deallocates bitmaps
153 IconListViewSample::GetItemCount(void)
159 IconListViewSample::CreateItem(int index)
161 // Creates an instance of IconListViewItem
162 IconListViewItem* pIconListview = new IconListViewItem();
164 // Creates an instance of String
165 String* pStr = new String();
172 pIconListview->Construct(*__pHome, pStr);
178 pIconListview->Construct(*__pMsg, pStr);
184 pIconListview->Construct(*__pAlarm, pStr);
189 // Deallocates the string
192 return pIconListview;
196 IconListViewSample::DeleteItem(int index, IconListViewItem* pItem)
203 IconListViewSample::OnIconListViewItemStateChanged (IconListView &view, int index, IconListViewItemStatus status)
224 class _OSP_EXPORT_ IconListView
225 : public Tizen::Ui::Control
229 * 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.
236 * This destructor overrides Tizen::Base::Object::~Object().
240 virtual ~IconListView(void);
244 * Initializes this instance of %IconListView with the specified parameters.
248 * @return An error code
249 * @param[in] rect An instance of the Graphics::Rectangle class @n
250 * This instance represents the x and y coordinates of the top-left corner of the created %IconListView along with
251 * the width and height.
252 * @param[in] itemBitmapSize The size of an icon in the %IconListView
253 * @param[in] style The style set of %IconListView
254 * @param[in] direction The direction of scroll
255 * @param[in] scrollStyle The scroll style of %IconListView
256 * @exception E_SUCCESS The method is successful.
257 * @exception E_INVALID_ARG A specified input parameter is invalid.
258 * @exception E_SYSTEM A system error has occurred.
259 * @remarks A control is fully usable only after it has been added to a container, therefore some methods may fail if used earlier.
260 * @remarks The number of items to be displayed on a screen is calculated based on %IconListView size, item size, item spacing, and margins. @n
261 * The %IconListView cannot display more than 256 items on the screen at once.
262 * @remarks The actual size of bitmap to be displayed in %IconListView is smaller than the specified size when the border style is ICON_LIST_VIEW_ITEM_BORDER_STYLE_SHADOW.
264 result Construct(const Tizen::Graphics::Rectangle& rect, const Tizen::Graphics::Dimension& itemBitmapSize, IconListViewStyle style = ICON_LIST_VIEW_STYLE_NORMAL, IconListViewScrollDirection direction = ICON_LIST_VIEW_SCROLL_DIRECTION_VERTICAL, IconListViewScrollStyle scrollStyle = ICON_LIST_SCROLL_STYLE_FADE_OUT);
267 * Sets the item provider that creates and deletes items for the %IconListView control.
271 * @return An error code
272 * @param[in] provider The item provider to create and delete items
273 * @exception E_SUCCESS The method is successful.
274 * @exception E_SYSTEM A system error has occurred.
275 * @remarks If an item provider is not set for the %IconListView, it does not work. @n
276 * The specified @c provider should be allocated in heap memory.
278 result SetItemProvider(IIconListViewItemProvider& provider);
281 * Adds a listener instance. @n
282 * The added listener can listen to item events when they are fired.
286 * @param[in] listener The listener to be added
288 void AddIconListViewItemEventListener(IIconListViewItemEventListener& listener);
291 * Removes a listener instance. @n
292 * The removed listener cannot listen to events when they are fired.
296 * @param[in] listener The listener to be removed
298 void RemoveIconListViewItemEventListener(IIconListViewItemEventListener& listener);
301 * Adds a listener instance that listens to state changes of a scroll event. @n
302 * The added listener can listen to events on the context of the given event dispatcher when they are fired.
306 * @param[in] listener The event listener to be added
307 * @see IScrollEventListener::OnScrollEndReached()
308 * @see RemoveScrollEventListener()
310 void AddScrollEventListener(IScrollEventListener& listener);
313 * Removes a listener instance that listens to state changes of a scroll event. @n
314 * The removed listener cannot listen to events when they are fired.
318 * @param[in] listener The event listener to be removed
319 * @see IScrollEventListener::OnScrollEndReached()
320 * @see RemoveScrollEventListener()
322 void RemoveScrollEventListener(IScrollEventListener& listener);
325 * Sets the background bitmap of the %IconListView.
329 * @param[in] pBitmap The background bitmap
330 * @exception E_SUCCESS The method is successful.
331 * @exception E_SYSTEM A system error has occurred.
332 * @remarks When @c pBitmap is null, %IconListView does not have a background bitmap. The default value for the background bitmap is @c null.
333 * @remarks The background bitmap has priority over the background color. When both the background bitmap and the background color are specified,
334 * only the bitmap is displayed.
336 result SetBackgroundBitmap(const Tizen::Graphics::Bitmap* pBitmap);
339 * Sets the background color of this control.
343 * @return An error code
344 * @param[in] color The background color
345 * @exception E_SUCCESS The method is successful.
346 * @remarks The method sets the alpha value of the specified color to 255, when a device does not support 32 bit color space.
347 * @remarks The background bitmap has priority over the background color. When both the background bitmap and the background color are specified,
348 * only the bitmap is displayed.
350 result SetBackgroundColor(const Tizen::Graphics::Color& color);
353 * Gets the background color of this control.
357 * @return The background color, @n
358 * else RGBA(0, 0, 0, 0) if an error occurs
360 Tizen::Graphics::Color GetBackgroundColor(void) const;
363 * Sets the margin of %IconListView.
367 * @return An error code
368 * @param[in] type The type of margin
369 * @param[in] value The marginal value
370 * @exception E_SUCCESS The method is successful.
371 * @exception E_INVALID_ARG A specified input parameter is invalid.
372 * @exception E_SYSTEM A system error has occurred.
373 * @remarks The number of items to be displayed on a screen is calculated based on %IconListView size, item size, item spacing, and
374 * margins. The %IconListView cannot display more than 256 items on screen at once.
376 result SetMargin(MarginType type, int value);
379 * Gets the margin of %IconListView.
383 * @return The marginal value of %IconListView, @n
384 * else @c -1 if an error occurs
385 * @param[in] type The type of margin
387 int GetMargin(MarginType type) const;
390 * Sets the horizontal and vertical spacing between the items.
394 * @return An error code
395 * @param[in] horizontalSpacing The spacing between items in horizontal direction
396 * @param[in] verticalSpacing The spacing between items in vertical direction
397 * @exception E_SUCCESS The method is successful.
398 * @exception E_INVALID_ARG A specified input parameter is invalid.
399 * @exception E_SYSTEM A system error has occurred.
400 * @remarks The number of items to be displayed on a screen is calculated based on %IconListView size, item size, item spacing, and
401 * margins. The %IconListView cannot display more than 256 items on screen at once.
403 result SetItemSpacing(int horizontalSpacing, int verticalSpacing);
406 * Gets the horizontal spacing between items of %IconListView.
410 * @return The value of space between items in horizontal direction, @n
411 * else @c -1 if an error occurs
413 int GetItemHorizontalSpacing(void) const;
416 * Gets the vertical spacing between items of %IconListView.
420 * @return The value of space between items in vertical direction, @n
421 * else @c -1 if an error occurs
423 int GetItemVerticalSpacing(void) const;
426 * Sets the checked status of the specified item of %IconListView.
430 * @return An error code
431 * @param[in] index The index of the %IconListView item
432 * @param[in] check The check status
433 * @exception E_SUCCESS The method is successful.
434 * @exception E_SYSTEM A system error has occurred.
435 * @exception E_OUT_OF_RANGE The specified @c index is out of range.
436 * @remarks This method can only be used when the style of the list allows selection.
437 * @remarks The method only changes the state of the list item. %IconListView needs to be redrawn to reflect the change on the screen.
439 result SetItemChecked(int index, bool check);
442 * Checks whether the specified item is checked.
446 * @return @c true if the specified item is checked, @n
448 * @param[in] index The index of the item
449 * @remarks This method can only be used when the style of the list allows selection.
451 bool IsItemChecked(int index) const;
454 * Gets the index of the item at the specified position.
458 * @return The index of the item, @n
459 * else @c -1 when there is no list item at the specified position or when the %IconListView instance is invalid
460 * @param[in] x The x position of a point
461 * @param[in] y The y position of a point
463 int GetItemIndexFromPosition(int x, int y) const;
466 * Gets the index of the item at the specified position.
470 * @return The index of the item, @n
471 * else @c -1 if there is no list item at the specified position or when the %IconListView instance is invalid
472 * @param[in] position The position of a point
474 int GetItemIndexFromPosition(const Tizen::Graphics::Point& position) const;
477 * Sets the horizontal alignment of the text of an item.
481 * @return An error code
482 * @param[in] alignment The horizontal alignment of the text
483 * @exception E_SUCCESS The method is successful.
484 * @exception E_SYSTEM A system error has occurred.
486 result SetTextHorizontalAlignment(HorizontalAlignment alignment);
489 * Sets the vertical alignment of the text of an item.
493 * @return An error code
494 * @param[in] alignment The vertical alignment of the text
495 * @exception E_SUCCESS The method is successful.
496 * @exception E_SYSTEM A system error has occurred.
498 result SetTextVerticalAlignment(IconListViewItemTextVerticalAlignment alignment);
501 * Gets the horizontal alignment of the text of the %IconListView control.
505 * @return The horizontal alignment of the text, @n
506 * else ALIGNMENT_LEFT when the %IconListView instance is invalid
508 HorizontalAlignment GetTextHorizontalAlignment(void) const;
511 * Gets the vertical alignment of the text of the current %IconListView.
515 * @return The vertical alignment of the text of an item, @n
516 * else ICON_LIST_VIEW_ITEM_TEXT_VERTICAL_ALIGNMENT_INSIDE_TOP when the %IconListView is invalid
518 IconListViewItemTextVerticalAlignment GetTextVerticalAlignment(void) const;
521 * Sets the text of the empty list.
525 * @return An error code
526 * @param[in] text The text of the empty list
527 * @exception E_SUCCESS The method is successful.
528 * @exception E_SYSTEM A system error has occurred.
530 result SetTextOfEmptyList(const Tizen::Base::String& text);
533 * Gets the text to display when there is no item in the list.
537 * @return The text to be displayed, @n
538 * else an empty string if the instance is invalid
540 Tizen::Base::String GetTextOfEmptyList(void) const;
543 * Sets the color of the text that is displayed when %IconListView contains no item.
547 * @return An error code
548 * @param[in] color The color of the text
549 * @exception E_SUCCESS The method is successful.
550 * @exception E_SYSTEM A system error has occurred.
552 result SetTextColorOfEmptyList(const Tizen::Graphics::Color& color);
555 * Gets the color of the text to display when there is no item in the list.
559 * @return The color of the text to be displayed, @n
560 * else RGBA(0, 0, 0, 0) if the instance is invalid
562 Tizen::Graphics::Color GetTextColorOfEmptyList(void) const;
565 * Sets the text color of the item.
569 * @return An error code
570 * @param[in] status The drawing status of items
571 * @param[in] color The color of the text
572 * @exception E_SUCCESS The method is successful.
573 * @exception E_SYSTEM A system error has occurred.
575 result SetItemTextColor(IconListViewItemDrawingStatus status, const Tizen::Graphics::Color& color);
578 * Gets the text color of the item.
582 * @return The color of the text, @n
583 * else RGBA(0, 0, 0, 0) if the instance is invalid
584 * @param[in] status The drawing status of items
586 Tizen::Graphics::Color GetItemTextColor(IconListViewItemDrawingStatus status) const;
589 * Sets the size of the text of the %IconListView control.
593 * @return An error code
594 * @param[in] size The size of the text
595 * @exception E_SUCCESS The method is successful.
596 * @exception E_INVALID_ARG The specified input parameter is invalid.
597 * @exception E_SYSTEM A system error has occurred.
598 * @remarks If the specified @c size is less than the minimum size, this method fails. The minimum font size is @c 6 on devices of high screen density.
600 result SetItemTextSize(int size);
603 * Gets the size of the text of the %IconListView control.
607 * @return The size of the text of the %IconListView control, @n
608 * else @c -1 if the instance is invalid
610 int GetItemTextSize(void) const;
613 * Sets the position of the checkbox of the %IconListView control.
617 * @return An error code
618 * @param[in] position The position of the checkbox of the %IconListView
619 * @exception E_SUCCESS The method is successful.
620 * @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation. @n
621 * That is, %IconListView cannot get the position of the checkbox when the style is ICON_LIST_VIEW_STYLE_NORMAL.
622 * @exception E_SYSTEM A system error has occurred.
623 * @remarks This method changes the position of the checkbox image displayed for the "selected" item(s),
624 * when the style of %IconListView is either ICON_LIST_VIEW_STYLE_RADIO and ICON_LIST_VIEW_STYLE_MARK.
626 result SetCheckBoxPosition(IconListViewCheckBoxPosition position);
629 * Gets the position of the checkbox of the %IconListView control.
633 * @return The position of the checkbox
634 * @remarks The method returns @c ICON_LIST_VIEW_CHECK_BOX_POSITION_TOP_LEFT when the style of %IconListView is ICON_LIST_VIEW_STYLE_NORMAL or
635 * ICON_LIST_VIEW_STYLE_DIVIDE_TEXT.
637 IconListViewCheckBoxPosition GetCheckBoxPosition(void) const;
640 * Enables or disables touch animation.
644 * @return An error code
645 * @param[in] enable Set to @c true to enable touch animation, @n
647 * @exception E_SUCCESS The method is successful.
648 * @exception E_SYSTEM A system error has occurred.
649 * @remarks If you want to use a separate selected bitmap, the animation effect must be disabled.
650 * @remarks In case that a touch animation disabled, the normal bitmap of %IconListViewItem is displayed in response to touch interaction if the
651 * selected bitmap of %IconListViewItem is @c null.
653 result SetTouchAnimationEnabled(bool enable);
656 * Checks whether touch animation is enabled.
660 * @return @c true if touch animation is enabled, @n
661 * else @c false if touch animation is disabled or when the instance is invalid
663 bool IsTouchAnimationEnabled(void) const;
666 * Scrolls the list contents to the specified index.
670 * @return An error code
671 * @param[in] index The index of the item
672 * @exception E_SUCCESS The method is successful.
673 * @exception E_SYSTEM A system error has occurred.
674 * @exception E_OUT_OF_RANGE The specified @c index is out of range.
676 result ScrollToItem(int index);
679 * Refreshes the specified item of %IconListView.
683 * @return An error code
684 * @param[in] index The index of the %IconListView item
685 * @param[in] type The type of change of an item
686 * @exception E_SUCCESS The method is successful.
687 * @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation. @n
688 * That is, %IconListView cannot execute RefreshList() before first drawn.
689 * @exception E_SYSTEM A system error has occurred.
690 * @exception E_OUT_OF_RANGE The specified @c index is out of range.
692 result RefreshList(int index, ListRefreshType type);
695 * Updates the whole items of a list.
699 * @return An error code
700 * @exception E_SUCCESS The method is successful.
701 * @exception E_SYSTEM A system error has occurred.
702 * @remarks This method clears items in the list and re-invokes the methods of the item provider to fill the list.
704 result UpdateList(void);
707 * Gets the size of bitmap of the item.
711 * @return An error code
712 * @param[out] width The width of bitmap of the item
713 * @param[out] height The height of bitmap of the item
714 * @exception E_SUCCESS The method is successful.
715 * @exception E_INVALID_STATE This instance is in an invalid state.
717 result GetItemBitmapSize(int& width, int& height) const;
720 * Gets the size of bitmap of the item.
724 * @return The size of bitmap of the item, @n
725 * else (-1, -1) if the instance is invalid
727 Tizen::Graphics::Dimension GetItemBitmapSize(void) const;
730 * Gets the size of the item.
734 * @return An error code
735 * @param[out] width The width of the item
736 * @param[out] height The height of the item
737 * @exception E_SUCCESS The method is successful.
738 * @exception E_INVALID_STATE This instance is in an invalid state.
740 result GetItemSize(int& width, int& height) const;
743 * Gets the size of the item.
747 * @return The size of the item, @n
748 * else (-1, -1) if the instance is invalid
750 Tizen::Graphics::Dimension GetItemSize(void) const;
753 * Sets the number of item lines to be scrolled for the magnetic scroll of %IconListView.
757 * @return An error code
758 * @param[in] scrollSize The number of item lines for the magnetic scroll of %IconListView
759 * @exception E_SUCCESS The method is successful.
760 * @exception E_INVALID_ARG The specified @c scrollSize is out of range. @n
761 * The specified @c scrollSize is less than @c 0 or greater than the item count shown along the scroll direction.
762 * @exception E_SYSTEM A system error has occurred.
763 * @remarks If the @c scrollSize is set to @c 0, %IconListView does not use the magnetic scroll. The initial value is @c 0.
765 result SetMagneticScrollSize(int scrollSize);
768 * Gets the number of item lines for the magnetic scroll of %IconListView.
772 * @return The number of item lines for the magnetic scroll of %IconListView, @n
773 * else @c -1 when the instance is invalid
775 int GetMagneticScrollSize(void) const;
778 * Gets the number of items to be displayed per axis of %IconListView.
782 * @return The number of items to be displayed per axis, @n
783 * else @c -1 if the instance is invalid
784 * @remarks The axis represents "row" when the scroll style is ICON_LIST_VIEW_SCROLLSDIRECTION_HORIZONTAL, while it represents "column" when the
785 * scroll style is ICON_LIST_VIEW_SCROLLDIRECTION_VERTICAL.
787 int GetItemCountPerAxis(void) const;
790 * Sets the items horizontal alignment of %IconListView.
794 * @return An error code
795 * @param[in] alignment The alignment of items
796 * @exception E_SUCCESS The method is successful.
797 * @exception E_INVALID_OPERATION The alignment of icon list view is not in the vertical scroll direction.
798 * @exception E_SYSTEM A system error has occurred.
800 result SetItemLayoutHorizontalAlignment(HorizontalAlignment alignment);
803 * Sets the items vertical alignment of %IconListView.
807 * @return An error code
808 * @param[in] alignment The alignment of items
809 * @exception E_SUCCESS The method is successful.
810 * @exception E_INVALID_OPERATION The alignment of icon list view is not in the horizontal scroll direction.
811 * @exception E_SYSTEM A system error has occurred.
813 result SetItemLayoutVerticalAlignment(VerticalAlignment alignment);
816 * Gets the items horizontal alignment of %IconListView.
820 * @return The alignment of items, @n
821 * else @c ALIGNMENT_LEFT if the instance is invalid
823 HorizontalAlignment GetItemLayoutHorizontalAlignment(void) const;
826 * Gets the items vertical alignment of %IconListView.
830 * @return The alignment of items, @n
831 * else @c ALIGNMENT_TOP if the instance is invalid
833 VerticalAlignment GetItemLayoutVerticalAlignment(void) const;
836 * Sets the item border style.
840 * @return An error code
841 * @param[in] borderStyle An item border style
842 * @exception E_SUCCESS The method is successful.
843 * @exception E_SYSTEM A system error has occurred.
845 result SetItemBorderStyle(IconListViewItemBorderStyle borderStyle);
848 * Gets the item border style.
852 * @return The item border style, @n
853 * else @c ICON_LIST_VIEW_ITEM_BORDER_STYLE_NONE if an error occurs
855 IconListViewItemBorderStyle GetItemBorderStyle(void) const;
858 * Sets the bitmap of the empty list.
862 * @return An error code
863 * @param[in] pBitmap The bitmap of the empty list
864 * @exception E_SUCCESS The method is successful.
865 * @exception E_SYSTEM A system error has occurred.
867 result SetBitmapOfEmptyList(const Tizen::Graphics::Bitmap* pBitmap);
870 * Begins the reordering mode.
874 * @return An error code
875 * @exception E_SUCCESS The method is successful.
876 * @exception E_SYSTEM A system error has occurred.
877 * @see IIconListViewItemEventListener::OnIconListViewItemReordered()
879 result BeginReorderingMode(void);
882 * Ends the reordering mode.
886 * @exception E_SUCCESS The method is successful.
887 * @exception E_SYSTEM A system error has occurred.
888 * @see IIconListViewItemEventListener::OnIconListViewItemReordered()
890 result EndReorderingMode(void);
893 * Checks whether the %IconListView is in reordering mode.
897 * @return @c true if the %IconListView is in reordering mode, @n
900 bool IsInReorderingMode(void) const;
903 friend class _IconListViewImpl;
907 // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
911 IconListView(const IconListView& rhs);
914 // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
918 IconListView& operator =(const IconListView& rhs);
922 }}} // Tizen::Ui::Controls
924 #endif // _FUI_CTRL_ICON_LIST_VIEW_H_