[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / AccessibleRelation.cs
old mode 100755 (executable)
new mode 100644 (file)
index 0c88422..cdd5b03
  * limitations under the License.
  */
 
+using System;
 
 namespace ElmSharp.Accessible
 {
     /// <summary>
-    /// IAccessibleRelation is a interface which defines the relationship between two accessible objects.
+    /// IAccessibleRelation is an interface, which defines the relationship between two accessible objects.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public interface IAccessibleRelation
     {
 
         /// <summary>
         /// Gets or sets the target object.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         int Type { get; }
     }
 
     /// <summary>
-    /// To define label info for accessible object.
+    /// To define the label info for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class LabelledBy : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is LabelledBy.
+        /// Gets or sets the target object, which is LabelledBy.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the LabelledBy type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_LABELLED_BY; }
@@ -54,18 +67,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define label info for accessible object.
+    /// To define the label info for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class LabelFor : IAccessibleRelation
     {
         /// <summary>
         /// Gets or sets the target object which is LabelFor.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the LabelFor type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_LABEL_FOR; }
@@ -73,18 +92,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define control relationship for accessible object.
+    /// To define the control relationship for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class ControllerFor : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is ControllerFor.
+        /// Gets or sets the target object, which is ControllerFor.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the ControllerFor type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_CONTROLLER_FOR; }
@@ -92,18 +117,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define control relationship for accessible object.
+    /// To define the control relationship for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class ControlledBy : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is ControlledBy.
+        /// Gets or sets the target object, which is ControlledBy.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the ControlledBy type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_CONTROLLED_BY; }
@@ -111,18 +142,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define member relationship for accessible object.
+    /// To define the member relationship for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class MemberOf : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is MemberOf.
+        /// Gets or sets the target object, which is MemberOf.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the MemberOf type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_MEMBER_OF; }
@@ -130,18 +167,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define tooltip for accessible object.
+    /// To define the tooltip for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class TooltipFor : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is TooltipFor.
+        /// Gets or sets the target object, which is TooltipFor.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the TooltipFor type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_TOOLTIP_FOR; }
@@ -149,18 +192,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define child for accessible object.
+    /// To define the child for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class ChildOf : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is ChildOf.
+        /// Gets or sets the target object, which is ChildOf.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the ChildOf type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_NODE_CHILD_OF; }
@@ -168,18 +217,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define parent for accessible object.
+    /// To define the parent for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class ParentOf : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is ParentOf.
+        /// Gets or sets the target object, which is ParentOf.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the ParentOf type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_NODE_PARENT_OF; }
@@ -187,18 +242,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define extend for accessible object.
+    /// To define the extend for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class Extended : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is Extended.
+        /// Gets or sets the target object, which is Extended.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
-        /// Gets the Extended type.
+        /// Gets the extended type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_EXTENDED; }
@@ -208,16 +269,22 @@ namespace ElmSharp.Accessible
     /// <summary>
     /// To define the custom reading order.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class FlowsTo : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is FlowsTo.
+        /// Gets or sets the target object, which is FlowsTo.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the FlowsTo type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_FLOWS_TO; }
@@ -227,16 +294,22 @@ namespace ElmSharp.Accessible
     /// <summary>
     /// To define the custom reading order.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class FlowsFrom : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is FlowsFrom.
+        /// Gets or sets the target object, which is FlowsFrom.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the FlowsFrom type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_FLOWS_FROM; }
@@ -244,18 +317,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define subwindow for accessible object.
+    /// To define the subwindow for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class SubwindowOf : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is SubwindowOf.
+        /// Gets or sets the target object, which is SubwindowOf.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the SubwindowOf type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_SUBWINDOW_OF; }
@@ -263,18 +342,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define embed for accessible object.
+    /// To define the embed for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class Embeds : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is Embeds.
+        /// Gets or sets the target object ,which is Embeds.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the Embeds type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_EMBEDS; }
@@ -282,18 +367,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define embed for accessible object.
+    /// To define the embed for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class EmbeddedBy : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is EmbeddedBy.
+        /// Gets or sets the target object, which is EmbeddedBy.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the EmbeddedBy type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_EMBEDDED_BY; }
@@ -301,18 +392,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define popup for accessible object.
+    /// To define the popup for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class PopupFor : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is PopupFor.
+        /// Gets or sets the target object, which is PopupFor.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the PopupFor type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_POPUP_FOR; }
@@ -320,18 +417,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define parent window for accessible object.
+    /// To define the parent window for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class ParentWindowOf : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is ParentWindowOf.
+        /// Gets or sets the target object, which is ParentWindowOf.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the ParentWindowOf type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_PARENT_WINDOW_OF; }
@@ -339,18 +442,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define description for accessible object.
+    /// To define the description for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class DescriptionFor : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is DescriptionFor.
+        /// Gets or sets the target object, which is DescriptionFor.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the DescriptionFor type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_DESCRIPTION_FOR; }
@@ -358,18 +467,24 @@ namespace ElmSharp.Accessible
     }
 
     /// <summary>
-    /// To define description for accessible object.
+    /// To define the description for an accessible object.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")] 
     public class DescribedBy : IAccessibleRelation
     {
         /// <summary>
-        /// Gets or sets the target object which is DescribedBy.
+        /// Gets or sets the target object, which is DescribedBy.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public AccessibleObject Target { get; set; }
 
         /// <summary>
         /// Gets the DescribedBy type.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")] 
         public int Type
         {
             get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_DESCRIBED_BY; }