[NUI] Add descriptions of Accessibility Interfaces
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Accessibility / IAtspiTableCell.cs
1 /*
2  * Copyright(c) 2023 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18 using System;
19 using System.ComponentModel;
20
21 namespace Tizen.NUI.Accessibility
22 {
23     /// <summary>
24     /// Interface representing a table cell.
25     /// </summary>
26     [EditorBrowsable(EditorBrowsableState.Never)]
27     public interface IAtspiTableCell
28     {
29         /// <summary>
30         /// Returns the table this cell belongs to.
31         /// </summary>
32         /// <returns> The table </returns>
33         [EditorBrowsable(EditorBrowsableState.Never)]
34         IAtspiTable AccessibilityGetTable();
35
36         /// <summary>
37         /// Returns the position of this cell in the table.
38         /// </summary>
39         /// <returns> A pair of integers (row index, column index) </returns>
40         [EditorBrowsable(EditorBrowsableState.Never)]
41         Tuple<int, int> AccessibilityGetCellPosition();
42
43         /// <summary>
44         /// Returns the number of rows occupied by this cell.
45         /// </summary>
46         /// <returns> The number of rows </returns>
47         [EditorBrowsable(EditorBrowsableState.Never)]
48         int AccessibilityGetCellRowSpan();
49
50         /// <summary>
51         /// Returns the number of columns occupied by this cell.
52         /// </summary>
53         /// <returns> The number of columns </returns>
54         [EditorBrowsable(EditorBrowsableState.Never)]
55         int AccessibilityGetCellColumnSpan();
56     }
57 }