[NUI] Make AccessibilityManager APIs as public ones (#1460)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / AccessibilityManagerEventArgs.cs
1 /*
2  * Copyright(c) 2020 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 using Tizen.NUI.BaseComponents;
21
22 namespace Tizen.NUI
23 {
24     public partial class AccessibilityManager
25     {
26         /// <summary>
27         /// Event arguments that passed via FocusChangedEvent signal
28         /// </summary>
29         /// <since_tizen> 6 </since_tizen>
30         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
31         [EditorBrowsable(EditorBrowsableState.Never)]
32         public class FocusChangedEventArgs : EventArgs
33         {
34             private View _viewCurrent;
35             private View _viewNext;
36
37             /// <since_tizen> 6 </since_tizen>
38             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
39             [EditorBrowsable(EditorBrowsableState.Never)]
40             public View ViewCurrent
41             {
42                 get
43                 {
44                     return _viewCurrent;
45                 }
46                 set
47                 {
48                     _viewCurrent = value;
49                 }
50             }
51
52             /// <since_tizen> 6 </since_tizen>
53             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
54             [EditorBrowsable(EditorBrowsableState.Never)]
55             public View ViewNext
56             {
57                 get
58                 {
59                     return _viewNext;
60                 }
61                 set
62                 {
63                     _viewNext = value;
64                 }
65             }
66         }
67
68         /// <summary>
69         /// Event arguments that passed via FocusedViewActivated signal
70         /// </summary>
71         /// <since_tizen> 6 </since_tizen>
72         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
73         [EditorBrowsable(EditorBrowsableState.Never)]
74         public class FocusedViewActivatedEventArgs : EventArgs
75         {
76             private View _view;
77
78
79             /// <since_tizen> 6 </since_tizen>
80             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
81             [EditorBrowsable(EditorBrowsableState.Never)]
82             public View View
83             {
84                 get
85                 {
86                     return _view;
87                 }
88                 set
89                 {
90                     _view = value;
91                 }
92             }
93         }
94
95         /// <summary>
96         /// Event arguments that passed via FocusOvershot signal
97         /// </summary>
98         /// <since_tizen> 6 </since_tizen>
99         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
100         [EditorBrowsable(EditorBrowsableState.Never)]
101         public class FocusOvershotEventArgs : EventArgs
102         {
103             private View _currentFocusedView;
104             private AccessibilityManager.FocusOvershotDirection _focusOvershotDirection;
105
106             /// <since_tizen> 6 </since_tizen>
107             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
108             [EditorBrowsable(EditorBrowsableState.Never)]
109             public View CurrentFocusedView
110             {
111                 get
112                 {
113                     return _currentFocusedView;
114                 }
115                 set
116                 {
117                     _currentFocusedView = value;
118                 }
119             }
120
121             /// <since_tizen> 6 </since_tizen>
122             /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
123             [EditorBrowsable(EditorBrowsableState.Never)]
124             public AccessibilityManager.FocusOvershotDirection FocusOvershotDirection
125             {
126                 get
127                 {
128                     return _focusOvershotDirection;
129                 }
130                 set
131                 {
132                     _focusOvershotDirection = value;
133                 }
134             }
135         }
136     }
137 }