[NUI] Change key focus related event's name
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Input / FocusManagerArgs.cs
1 /*
2  * Copyright(c) 2022 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 Tizen.NUI.BaseComponents;
20
21 namespace Tizen.NUI
22 {
23     ///<summary>
24     /// Event arguments that passed via the FocusChanging signal.
25     /// </summary>
26     /// <since_tizen> 10 </since_tizen>
27     public class FocusChangingEventArgs : EventArgs
28     {
29         private View current;
30         private View proposed;
31         private View.FocusDirection direction;
32
33         /// <summary>
34         /// The current focus view.
35         /// </summary>
36         /// <since_tizen> 10 </since_tizen>
37         public View Current
38         {
39             get
40             {
41                 return current;
42             }
43             set
44             {
45                 current = value;
46             }
47         }
48
49         /// <summary>
50         /// The  proposed view.
51         /// </summary>
52         /// <since_tizen> 10 </since_tizen>
53         public View Proposed
54         {
55             get
56             {
57                 return proposed;
58             }
59             set
60             {
61                 proposed = value;
62             }
63         }
64
65         /// <summary>
66         /// The focus move direction.
67         /// </summary>
68         /// <since_tizen> 10 </since_tizen>
69         public View.FocusDirection Direction
70         {
71             get
72             {
73                 return direction;
74             }
75             set
76             {
77                 direction = value;
78             }
79         }
80     }
81 }