X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fscrollable%2Fitem-view%2Fitem-view.h;h=60dba05bad328a5b68ed9d7cae6d991752945bca;hb=refs%2Fchanges%2F66%2F109466%2F1;hp=b63f0cd05454d1c1c49817c97484a584e271d99a;hpb=2eb0f016cf4d8a8282681283ae0e842c0c67bded;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/controls/scrollable/item-view/item-view.h b/dali-toolkit/public-api/controls/scrollable/item-view/item-view.h old mode 100644 new mode 100755 index b63f0cd..60dba05 --- a/dali-toolkit/public-api/controls/scrollable/item-view/item-view.h +++ b/dali-toolkit/public-api/controls/scrollable/item-view/item-view.h @@ -56,12 +56,22 @@ typedef IntrusivePtr ItemLayoutPtr; * |---------------------------------|--------------------------------------------| * | layoutActivated | @ref LayoutActivatedSignal() | * @SINCE_1_0.0 + * + * Actions + * | %Action Name | Attributes | Description | + * |---------------|-------------------------|-------------------------------------------------| + * | stopScrolling | Doesn't have attributes | Stops the scroll animation. See @ref DoAction() | + * @SINCE_1_1.33 */ class DALI_IMPORT_API ItemView : public Scrollable { public: + /** + * @brief The start and end property ranges for this control. + * @SINCE_1_1.18 + */ enum PropertyRange { PROPERTY_START_INDEX = Toolkit::Scrollable::PROPERTY_END_INDEX + 1, ///< @SINCE_1_1.18 @@ -72,11 +82,15 @@ public: }; /** - * @brief An enumeration of properties belonging to the ScrollView class. + * @brief Enumeration for the instance of properties belonging to the ScrollView class. * @SINCE_1_0.0 */ struct Property { + /** + * @brief Enumeration for the instance of properties belonging to the ScrollView class. + * @SINCE_1_0.0 + */ enum { // Event side properties @@ -113,12 +127,15 @@ public: /** * @brief Copy constructor. * @SINCE_1_0.0 + * @param[in] itemView Handle to an object */ ItemView( const ItemView& itemView ); /** * @brief Assignment operator. * @SINCE_1_0.0 + * @param[in] itemView Handle to an object + * @return A reference to this */ ItemView& operator=( const ItemView& itemView ); @@ -140,14 +157,14 @@ public: static ItemView New(ItemFactory& factory); /** - * @brief Downcast an Object handle to ItemView. + * @brief Downcast a handle to ItemView handle. * * If handle points to a ItemView the downcast produces valid * handle. If not the returned handle is left uninitialized. * * @SINCE_1_0.0 * @param[in] handle Handle to an object - * @return handle to a ItemView or an uninitialized handle + * @return A handle to a ItemView or an uninitialized handle */ static ItemView DownCast( BaseHandle handle ); @@ -330,7 +347,9 @@ public: void ScrollToItem(ItemId itemId, float durationSeconds); /** - * @brief Set the interval between refreshes. When the layout-position of items is changed by this interval, + * @brief Set the interval between refreshes. + * + * When the layout-position of items is changed by this interval, * new items are requested from ItemFactory. * * @SINCE_1_0.0 @@ -403,11 +422,12 @@ public: * * A relayout will occur for the remaining actors; for example if RemoveItem(Item(2, ActorZ), 0) is called, * the items with ID 3 or greater will be moved: - * Initial actors: After remove: - * ID 1 - ActorA ID 1 - ActorA - * ID 2 - ActorB ID 2 - ActorC (previously ID 3) - * ID 3 - ActorC ID 3 - ActorB (previously ID 4) - * ID 4 - ActorD + * | Initial actors: | After remove: | + * |:------------------ |:-------------- | + * | ID 1 - ActorA | ID 1 - ActorA | + * | ID 2 - ActorB | ID 2 - ActorC (previously ID 3) | + * | ID 3 - ActorC | ID 3 - ActorB (previously ID 4) | + * | ID 4 - ActorD | | * @SINCE_1_0.0 * @param[in] itemId The Item ID of the item to remove. * @param[in] durationSeconds How long the relayout takes in seconds. @@ -448,7 +468,7 @@ public: void ReplaceItems(const ItemContainer& replacementItems, float durationSeconds); /** - * @brief Set the parent origin of the items + * @brief Set the parent origin of the items. * * A relayout will occur for all the items if the parent origin is different than the current one. * @SINCE_1_0.0 @@ -457,7 +477,7 @@ public: void SetItemsParentOrigin( const Vector3& parentOrigin ); /** - * @brief Get the parent origin of the items + * @brief Get the parent origin of the items. * * @SINCE_1_0.0 * @return The current parent origin of the items @@ -465,7 +485,7 @@ public: Vector3 GetItemsParentOrigin() const; /** - * @brief Set the anchor point of the items + * @brief Set the anchor point of the items. * * A relayout will occur for all the items if the anchor point is different than the current one. * @SINCE_1_0.0 @@ -474,7 +494,7 @@ public: void SetItemsAnchorPoint( const Vector3& anchorPoint ); /** - * @brief Get the anchor point of the items + * @brief Get the anchor point of the items. * * @SINCE_1_0.0 * @return The current anchor point of the items @@ -506,6 +526,7 @@ public: // Signals public: // Not intended for application developers + /// @cond internal /** * @brief Creates a handle using the Toolkit::Internal implementation. * @@ -521,6 +542,7 @@ public: // Not intended for application developers * @param[in] internal A pointer to the internal CustomActor. */ explicit DALI_INTERNAL ItemView( Dali::Internal::CustomActor* internal ); + /// @endcond }; /**