[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / FloatingButton.cs
old mode 100755 (executable)
new mode 100644 (file)
index 5252a1f..773a66a
@@ -19,21 +19,27 @@ using System;
 namespace ElmSharp
 {
     /// <summary>
-    /// The FloatingButton is a widget that to add floating area for buttons.
+    /// The FloatingButton is a widget to add the floating area for buttons.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public class FloatingButton : Layout
     {
         /// <summary>
         /// Creates and initializes a new instance of the FloatingButton class.
         /// </summary>
-        /// <param name="parent">Created on this parent container..</param>
+        /// <param name="parent">Created on this parent container.</param>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public FloatingButton(EvasObject parent) : base(parent)
         {
         }
 
         /// <summary>
-        /// Sets or gets floatingbutton mode.
+        /// Sets or gets the floatingbutton mode.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public FloatingButtonMode Mode
         {
             get
@@ -47,8 +53,10 @@ namespace ElmSharp
         }
 
         /// <summary>
-        /// Gets floatingbutton Position.
+        /// Gets the floatingbutton position.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public FloatingButtonPosition Position
         {
             get
@@ -58,8 +66,10 @@ namespace ElmSharp
         }
 
         /// <summary>
-        /// Sets or gets movability for a given floatingbutton widget.
+        /// Sets or gets the movability for a given FloatingButton widget.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public bool MovementBlock
         {
             get
@@ -73,8 +83,10 @@ namespace ElmSharp
         }
 
         /// <summary>
-        /// Get Opacity's value of the given FloatingButton.
+        /// Gets the opacity's value of the given FloatingButton.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public override int Opacity
         {
             get
@@ -89,10 +101,12 @@ namespace ElmSharp
         }
 
         /// <summary>
-        /// Set the floatingbutton position with animation or not.
+        /// Set the floatingbutton position with or without animation.
         /// </summary>
-        /// <param name="position">Button position</param>
-        /// <param name="animated">Animat flag</param>
+        /// <param name="position">Button position.</param>
+        /// <param name="animated">Animation flag.</param>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public void SetPosition(FloatingButtonPosition position, bool animated)
         {
             if (animated)
@@ -105,6 +119,13 @@ namespace ElmSharp
             }
         }
 
+        /// <summary>
+        /// Creates a widget handle.
+        /// </summary>
+        /// <param name="parent">Parent EvasObject.</param>
+        /// <returns>Handle IntPtr.</returns>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         protected override IntPtr CreateHandle(EvasObject parent)
         {
             return Interop.Eext.eext_floatingbutton_add(parent.Handle);
@@ -112,48 +133,52 @@ namespace ElmSharp
     }
 
     /// <summary>
-    /// Enumeration for FloatingButtonMode
+    /// Enumeration for the FloatingButtonMode.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public enum FloatingButtonMode
     {
         /// <summary>
-        /// Allows all positions
+        /// Allows all positions.
         /// </summary>
         All,
 
         /// <summary>
-        /// Allows LEFT and RIGHT positions only
+        /// Allows left and right positions only.
         /// </summary>
         LeftRightOnly,
     }
 
     /// <summary>
-    /// Enumeration for FloatingButtonPosition
+    /// Enumeration for the FloatingButtonPosition.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public enum FloatingButtonPosition
     {
         /// <summary>
-        /// Hides in the left, but small handler will show only
+        /// Hides in the left, but only the small handler will show.
         /// </summary>
         LeftOut,
 
         /// <summary>
-        /// Shows all of buttons, but lies on the left
+        /// Shows all of the buttons, but lies on the left.
         /// </summary>
         Left,
 
         /// <summary>
-        /// Shows all of buttons, but lies on the center
+        /// Shows all of the buttons, but lies on the center.
         /// </summary>
         Center,
 
         /// <summary>
-        /// Shows all of buttons, but lies on the right
+        /// Shows all of the buttons, but lies on the right.
         /// </summary>
         Right,
 
         /// <summary>
-        /// Hides in the right, but small handler will show only
+        /// Hides in the right, but only the small handler will show.
         /// </summary>
         RightOut,
     }