[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / GenGridItem.cs
index afdede0..e497d0a 100644 (file)
@@ -21,15 +21,21 @@ namespace ElmSharp
 {
     /// <summary>
     /// It inherits <see cref="GenItem"/>.
-    /// A instance to the gengrid item added.
-    /// It contains Update() method to update a gengrid item which is given.
+    /// An instance to the gengrid item is added.
+    /// It contains the Update() method to update a gengrid item which is given.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public class GenGridItem : GenItem
     {
         internal GenGridItem(object data, GenItemClass itemClass) : base(data, itemClass)
         {
         }
 
+        internal GenGridItem(object data, GenItemClass itemClass, EvasObject parent) : base(data, itemClass, parent)
+        {
+        }
+
         /// <summary>
         /// Gets or sets whether a given gengrid item is selected.
         /// If one gengrid item is selected, any other previously selected items get unselected in favor of this new one.
@@ -38,6 +44,8 @@ namespace ElmSharp
         /// If true, it is selected.
         /// If false, it is unselected.
         /// </remarks>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public override bool IsSelected
         {
             get
@@ -50,6 +58,11 @@ namespace ElmSharp
             }
         }
 
+        /// <summary>
+        /// Sets or gets the cursor to be shown when the mouse is over the gengrid item.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         [EditorBrowsable(EditorBrowsableState.Never)]
         public override string Cursor
         {
@@ -70,6 +83,11 @@ namespace ElmSharp
             }
         }
 
+        /// <summary>
+        /// Sets or gets the style for this item cursor.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         [EditorBrowsable(EditorBrowsableState.Never)]
         public override string CursorStyle
         {
@@ -83,6 +101,11 @@ namespace ElmSharp
             }
         }
 
+        /// <summary>
+        /// Sets or gets the cursor engine only usage for this item cursor.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         [EditorBrowsable(EditorBrowsableState.Never)]
         public override bool IsUseEngineCursor
         {
@@ -97,8 +120,10 @@ namespace ElmSharp
         }
 
         /// <summary>
-        /// Gets or sets the style of given gengrid item's tooltip.
+        /// Sets or gets, or sets the style of the given gengrid item's tooltip.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public override string TooltipStyle
         {
             get
@@ -111,6 +136,11 @@ namespace ElmSharp
             }
         }
 
+        /// <summary>
+        /// Gets the gengrid item's select mode.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public override GenItemSelectionMode SelectionMode
         {
             get
@@ -124,8 +154,10 @@ namespace ElmSharp
         }
 
         /// <summary>
-        /// Gets or sets gengrid item's row position, relative to the whole gengrid's grid area.
+        /// Gets or sets the gengrid item's row position, relative to the whole gengrid's grid area.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public int Row
         {
             get
@@ -137,8 +169,10 @@ namespace ElmSharp
         }
 
         /// <summary>
-        /// Gets or sets gengrid item's column position, relative to the whole gengrid's grid area.
+        /// Gets or sets the gengrid item's column position, relative to the whole gengrid's grid area.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public int Column
         {
             get
@@ -149,11 +183,22 @@ namespace ElmSharp
             }
         }
 
+        /// <summary>
+        /// Sets the text to be shown in the gengrid item.
+        /// </summary>
+        /// <param name="tooltip">The text to set.</param>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public override void SetTooltipText(string tooltip)
         {
             Interop.Elementary.elm_gengrid_item_tooltip_text_set(Handle, tooltip);
         }
 
+        /// <summary>
+        /// Unsets the tooltip from item.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public override void UnsetTooltip()
         {
             Interop.Elementary.elm_gengrid_item_tooltip_unset(Handle);
@@ -161,17 +206,24 @@ namespace ElmSharp
 
         /// <summary>
         /// Updates the content of a given gengrid item.
-        /// This updates an item by calling all the genitem class functions again to get the content, text, and states.
+        /// This updates an item by calling all the GenItem class functions again to get the content, text, and states.
         /// Use this when the original item data has changed and you want the changes to reflect.
         /// </summary>
         /// <remarks>
         /// <see cref="GenGrid.UpdateRealizedItems"/> to update the contents of all the realized items.
         /// </remarks>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public override void Update()
         {
             Interop.Elementary.elm_gengrid_item_update(Handle);
         }
 
+        /// <summary>
+        /// Sets the content to be shown in the tooltip item.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         protected override void UpdateTooltipDelegate()
         {
             Interop.Elementary.elm_gengrid_item_tooltip_content_cb_set(Handle,