2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 namespace ElmSharp.Accessible
21 /// IAccessibleRelation is a interface which defines the relationship between two accessible objects.
23 /// <since_tizen> preview </since_tizen>
24 public interface IAccessibleRelation
28 /// Gets or sets the target object.
30 /// <since_tizen> preview </since_tizen>
31 AccessibleObject Target { get; set; }
36 /// <since_tizen> preview </since_tizen>
41 /// To define label info for accessible object.
43 /// <since_tizen> preview </since_tizen>
44 public class LabelledBy : IAccessibleRelation
47 /// Gets or sets the target object which is LabelledBy.
49 /// <since_tizen> preview </since_tizen>
50 public AccessibleObject Target { get; set; }
53 /// Gets the LabelledBy type.
55 /// <since_tizen> preview </since_tizen>
58 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_LABELLED_BY; }
63 /// To define label info for accessible object.
65 /// <since_tizen> preview </since_tizen>
66 public class LabelFor : IAccessibleRelation
69 /// Gets or sets the target object which is LabelFor.
71 /// <since_tizen> preview </since_tizen>
72 public AccessibleObject Target { get; set; }
75 /// Gets the LabelFor type.
77 /// <since_tizen> preview </since_tizen>
80 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_LABEL_FOR; }
85 /// To define control relationship for accessible object.
87 /// <since_tizen> preview </since_tizen>
88 public class ControllerFor : IAccessibleRelation
91 /// Gets or sets the target object which is ControllerFor.
93 /// <since_tizen> preview </since_tizen>
94 public AccessibleObject Target { get; set; }
97 /// Gets the ControllerFor type.
99 /// <since_tizen> preview </since_tizen>
102 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_CONTROLLER_FOR; }
107 /// To define control relationship for accessible object.
109 /// <since_tizen> preview </since_tizen>
110 public class ControlledBy : IAccessibleRelation
113 /// Gets or sets the target object which is ControlledBy.
115 /// <since_tizen> preview </since_tizen>
116 public AccessibleObject Target { get; set; }
119 /// Gets the ControlledBy type.
121 /// <since_tizen> preview </since_tizen>
124 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_CONTROLLED_BY; }
129 /// To define member relationship for accessible object.
131 /// <since_tizen> preview </since_tizen>
132 public class MemberOf : IAccessibleRelation
135 /// Gets or sets the target object which is MemberOf.
137 /// <since_tizen> preview </since_tizen>
138 public AccessibleObject Target { get; set; }
141 /// Gets the MemberOf type.
143 /// <since_tizen> preview </since_tizen>
146 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_MEMBER_OF; }
151 /// To define tooltip for accessible object.
153 /// <since_tizen> preview </since_tizen>
154 public class TooltipFor : IAccessibleRelation
157 /// Gets or sets the target object which is TooltipFor.
159 /// <since_tizen> preview </since_tizen>
160 public AccessibleObject Target { get; set; }
163 /// Gets the TooltipFor type.
165 /// <since_tizen> preview </since_tizen>
168 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_TOOLTIP_FOR; }
173 /// To define child for accessible object.
175 /// <since_tizen> preview </since_tizen>
176 public class ChildOf : IAccessibleRelation
179 /// Gets or sets the target object which is ChildOf.
181 /// <since_tizen> preview </since_tizen>
182 public AccessibleObject Target { get; set; }
185 /// Gets the ChildOf type.
187 /// <since_tizen> preview </since_tizen>
190 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_NODE_CHILD_OF; }
195 /// To define parent for accessible object.
197 /// <since_tizen> preview </since_tizen>
198 public class ParentOf : IAccessibleRelation
201 /// Gets or sets the target object which is ParentOf.
203 /// <since_tizen> preview </since_tizen>
204 public AccessibleObject Target { get; set; }
207 /// Gets the ParentOf type.
209 /// <since_tizen> preview </since_tizen>
212 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_NODE_PARENT_OF; }
217 /// To define extend for accessible object.
219 /// <since_tizen> preview </since_tizen>
220 public class Extended : IAccessibleRelation
223 /// Gets or sets the target object which is Extended.
225 /// <since_tizen> preview </since_tizen>
226 public AccessibleObject Target { get; set; }
229 /// Gets the Extended type.
231 /// <since_tizen> preview </since_tizen>
234 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_EXTENDED; }
239 /// To define the custom reading order.
241 /// <since_tizen> preview </since_tizen>
242 public class FlowsTo : IAccessibleRelation
245 /// Gets or sets the target object which is FlowsTo.
247 /// <since_tizen> preview </since_tizen>
248 public AccessibleObject Target { get; set; }
251 /// Gets the FlowsTo type.
253 /// <since_tizen> preview </since_tizen>
256 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_FLOWS_TO; }
261 /// To define the custom reading order.
263 /// <since_tizen> preview </since_tizen>
264 public class FlowsFrom : IAccessibleRelation
267 /// Gets or sets the target object which is FlowsFrom.
269 /// <since_tizen> preview </since_tizen>
270 public AccessibleObject Target { get; set; }
273 /// Gets the FlowsFrom type.
275 /// <since_tizen> preview </since_tizen>
278 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_FLOWS_FROM; }
283 /// To define subwindow for accessible object.
285 /// <since_tizen> preview </since_tizen>
286 public class SubwindowOf : IAccessibleRelation
289 /// Gets or sets the target object which is SubwindowOf.
291 /// <since_tizen> preview </since_tizen>
292 public AccessibleObject Target { get; set; }
295 /// Gets the SubwindowOf type.
297 /// <since_tizen> preview </since_tizen>
300 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_SUBWINDOW_OF; }
305 /// To define embed for accessible object.
307 /// <since_tizen> preview </since_tizen>
308 public class Embeds : IAccessibleRelation
311 /// Gets or sets the target object which is Embeds.
313 /// <since_tizen> preview </since_tizen>
314 public AccessibleObject Target { get; set; }
317 /// Gets the Embeds type.
319 /// <since_tizen> preview </since_tizen>
322 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_EMBEDS; }
327 /// To define embed for accessible object.
329 /// <since_tizen> preview </since_tizen>
330 public class EmbeddedBy : IAccessibleRelation
333 /// Gets or sets the target object which is EmbeddedBy.
335 /// <since_tizen> preview </since_tizen>
336 public AccessibleObject Target { get; set; }
339 /// Gets the EmbeddedBy type.
341 /// <since_tizen> preview </since_tizen>
344 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_EMBEDDED_BY; }
349 /// To define popup for accessible object.
351 /// <since_tizen> preview </since_tizen>
352 public class PopupFor : IAccessibleRelation
355 /// Gets or sets the target object which is PopupFor.
357 /// <since_tizen> preview </since_tizen>
358 public AccessibleObject Target { get; set; }
361 /// Gets the PopupFor type.
363 /// <since_tizen> preview </since_tizen>
366 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_POPUP_FOR; }
371 /// To define parent window for accessible object.
373 /// <since_tizen> preview </since_tizen>
374 public class ParentWindowOf : IAccessibleRelation
377 /// Gets or sets the target object which is ParentWindowOf.
379 /// <since_tizen> preview </since_tizen>
380 public AccessibleObject Target { get; set; }
383 /// Gets the ParentWindowOf type.
385 /// <since_tizen> preview </since_tizen>
388 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_PARENT_WINDOW_OF; }
393 /// To define description for accessible object.
395 /// <since_tizen> preview </since_tizen>
396 public class DescriptionFor : IAccessibleRelation
399 /// Gets or sets the target object which is DescriptionFor.
401 /// <since_tizen> preview </since_tizen>
402 public AccessibleObject Target { get; set; }
405 /// Gets the DescriptionFor type.
407 /// <since_tizen> preview </since_tizen>
410 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_DESCRIPTION_FOR; }
415 /// To define description for accessible object.
417 /// <since_tizen> preview </since_tizen>
418 public class DescribedBy : IAccessibleRelation
421 /// Gets or sets the target object which is DescribedBy.
423 /// <since_tizen> preview </since_tizen>
424 public AccessibleObject Target { get; set; }
427 /// Gets the DescribedBy type.
429 /// <since_tizen> preview </since_tizen>
432 get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_DESCRIBED_BY; }