[NUI] Sync the director number with the csharp-binder (#1942)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / ViewImpl.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 System.Reflection;
21 using Tizen.NUI.BaseComponents;
22
23 namespace Tizen.NUI
24 {
25     internal class ViewImpl : CustomActorImpl
26     {
27
28         internal ViewImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.ViewImpl.ViewImpl_SWIGUpcast(cPtr), cMemoryOwn)
29         {
30         }
31
32         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewImpl obj)
33         {
34             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
35         }
36
37         protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
38         {
39             throw new global::System.MethodAccessException("C++ destructor does not have public access");
40         }
41
42         public static View New()
43         {
44             View ret = new View(Interop.ViewImpl.ViewImpl_New(), true);
45             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
46             return ret;
47         }
48
49         public void SetStyleName(string styleName)
50         {
51             Interop.ViewImpl.ViewImpl_SetStyleName(swigCPtr, styleName);
52             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
53         }
54
55         public string GetStyleName()
56         {
57             string ret = Interop.ViewImpl.ViewImpl_GetStyleName(swigCPtr);
58             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
59             return ret;
60         }
61
62         public void SetBackgroundColor(Vector4 color)
63         {
64             Interop.ViewImpl.ViewImpl_SetBackgroundColor(swigCPtr, Vector4.getCPtr(color));
65             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
66         }
67
68         public Vector4 GetBackgroundColor()
69         {
70             Vector4 ret = new Vector4(Interop.ViewImpl.ViewImpl_GetBackgroundColor(swigCPtr), true);
71             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
72             return ret;
73         }
74         public void SetBackground(PropertyMap map)
75         {
76             Interop.ViewImpl.ViewImpl_SetBackground(swigCPtr, PropertyMap.getCPtr(map));
77             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
78         }
79
80         public void ClearBackground()
81         {
82             Interop.ViewImpl.ViewImpl_ClearBackground(swigCPtr);
83             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
84         }
85
86         public void EnableGestureDetection(Gesture.GestureType type)
87         {
88             Interop.ViewImpl.ViewImpl_EnableGestureDetection(swigCPtr, (int)type);
89             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
90         }
91
92         public void DisableGestureDetection(Gesture.GestureType type)
93         {
94             Interop.ViewImpl.ViewImpl_DisableGestureDetection(swigCPtr, (int)type);
95             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
96         }
97
98         public PinchGestureDetector GetPinchGestureDetector()
99         {
100             PinchGestureDetector ret = new PinchGestureDetector(Interop.ViewImpl.ViewImpl_GetPinchGestureDetector(swigCPtr), true);
101             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
102             return ret;
103         }
104
105         public PanGestureDetector GetPanGestureDetector()
106         {
107             PanGestureDetector ret = new PanGestureDetector(Interop.ViewImpl.ViewImpl_GetPanGestureDetector(swigCPtr), true);
108             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
109             return ret;
110         }
111
112         public TapGestureDetector GetTapGestureDetector()
113         {
114             TapGestureDetector ret = new TapGestureDetector(Interop.ViewImpl.ViewImpl_GetTapGestureDetector(swigCPtr), true);
115             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
116             return ret;
117         }
118
119         public LongPressGestureDetector GetLongPressGestureDetector()
120         {
121             LongPressGestureDetector ret = new LongPressGestureDetector(Interop.ViewImpl.ViewImpl_GetLongPressGestureDetector(swigCPtr), true);
122             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
123             return ret;
124         }
125
126         public void SetKeyboardNavigationSupport(bool isSupported)
127         {
128             Interop.ViewImpl.ViewImpl_SetKeyboardNavigationSupport(swigCPtr, isSupported);
129             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
130         }
131
132         public bool IsKeyboardNavigationSupported()
133         {
134             bool ret = Interop.ViewImpl.ViewImpl_IsKeyboardNavigationSupported(swigCPtr);
135             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
136             return ret;
137         }
138
139         public void SetKeyInputFocus()
140         {
141             Interop.ViewImpl.ViewImpl_SetKeyInputFocus(swigCPtr);
142             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
143         }
144
145         public bool HasKeyInputFocus()
146         {
147             bool ret = Interop.ViewImpl.ViewImpl_HasKeyInputFocus(swigCPtr);
148             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
149             return ret;
150         }
151
152         public void ClearKeyInputFocus()
153         {
154             Interop.ViewImpl.ViewImpl_ClearKeyInputFocus(swigCPtr);
155             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
156         }
157
158         public void SetAsFocusGroup(bool isFocusGroup)
159         {
160             Interop.ViewImpl.ViewImpl_SetAsKeyboardFocusGroup(swigCPtr, isFocusGroup);
161             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
162         }
163
164         public bool IsFocusGroup()
165         {
166             bool ret = Interop.ViewImpl.ViewImpl_IsKeyboardFocusGroup(swigCPtr);
167             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
168             return ret;
169         }
170
171         /// <summary>
172         /// [Obsolete("Please do not use! this will be deprecated")]
173         /// </summary>
174         /// Please do not use! this will be deprecated!
175         /// <since_tizen> 5 </since_tizen>
176         [Obsolete("Please do not use! this will be deprecated.")]
177         [EditorBrowsable(EditorBrowsableState.Never)]
178         public void AccessibilityActivate()
179         {
180             Interop.ViewImpl.ViewImpl_AccessibilityActivate(swigCPtr);
181             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
182         }
183
184         /// <summary>
185         /// [Obsolete("Please do not use! this will be deprecated")]
186         /// </summary>
187         /// Please do not use! this will be deprecated!
188         /// <since_tizen> 5 </since_tizen>
189         [Obsolete("Please do not use! this will be deprecated.")]
190         [EditorBrowsable(EditorBrowsableState.Never)]
191         public void KeyboardEnter()
192         {
193             Interop.ViewImpl.ViewImpl_KeyboardEnter(swigCPtr);
194             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
195         }
196
197         internal ControlKeySignal KeyEventSignal()
198         {
199             ControlKeySignal ret = new ControlKeySignal(Interop.ViewImplSignal.ViewImpl_KeyEventSignal(swigCPtr), false);
200             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
201             return ret;
202         }
203
204         internal KeyInputFocusSignal KeyInputFocusGainedSignal()
205         {
206             KeyInputFocusSignal ret = new KeyInputFocusSignal(Interop.ViewImplSignal.ViewImpl_KeyInputFocusGainedSignal(swigCPtr), false);
207             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
208             return ret;
209         }
210
211         internal KeyInputFocusSignal KeyInputFocusLostSignal()
212         {
213             KeyInputFocusSignal ret = new KeyInputFocusSignal(Interop.ViewImplSignal.ViewImpl_KeyInputFocusLostSignal(swigCPtr), false);
214             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
215             return ret;
216         }
217
218         /// <summary>
219         /// [Obsolete("Please do not use! this will be deprecated")]
220         /// </summary>
221         /// Please do not use! this will be deprecated!
222         /// <since_tizen> 5 </since_tizen>
223         [Obsolete("Please do not use! this will be deprecated.")]
224         [EditorBrowsable(EditorBrowsableState.Never)]
225         public bool EmitKeyEventSignal(Key arg0)
226         {
227             bool ret = Interop.ViewImplSignal.ViewImpl_EmitKeyEventSignal(swigCPtr, Key.getCPtr(arg0));
228             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
229             return ret;
230         }
231
232         protected virtual new void OnSceneConnection(int depth)
233         {
234             if (SwigDerivedClassHasMethod("OnSceneConnection", swigMethodTypes0)) Interop.ViewImplSignal.ViewImpl_OnSceneConnectionSwigExplicitViewImpl(swigCPtr, depth); else Interop.ViewImplSignal.ViewImpl_OnSceneConnection(swigCPtr, depth);
235             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
236         }
237
238         protected virtual new void OnSceneDisconnection()
239         {
240             if (SwigDerivedClassHasMethod("OnSceneDisconnection", swigMethodTypes1)) Interop.ViewImplSignal.ViewImpl_OnSceneDisconnectionSwigExplicitViewImpl(swigCPtr); else Interop.ViewImplSignal.ViewImpl_OnSceneDisconnection(swigCPtr);
241             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
242         }
243
244         protected virtual new void OnChildAdd(View child)
245         {
246             if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2)) Interop.ViewImplSignal.ViewImpl_OnChildAddSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else Interop.ViewImplSignal.ViewImpl_OnChildAdd(swigCPtr, View.getCPtr(child));
247             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
248         }
249
250         protected virtual new void OnChildRemove(View child)
251         {
252             if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3)) Interop.ViewImplSignal.ViewImpl_OnChildRemoveSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else Interop.ViewImplSignal.ViewImpl_OnChildRemove(swigCPtr, View.getCPtr(child));
253             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
254         }
255
256         protected virtual new void OnPropertySet(int index, PropertyValue propertyValue)
257         {
258             if (SwigDerivedClassHasMethod("OnPropertySet", swigMethodTypes4)) Interop.ViewImplSignal.ViewImpl_OnPropertySetSwigExplicitViewImpl(swigCPtr, index, PropertyValue.getCPtr(propertyValue)); else Interop.ViewImplSignal.ViewImpl_OnPropertySet(swigCPtr, index, PropertyValue.getCPtr(propertyValue));
259             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
260         }
261
262         protected virtual new void OnSizeSet(Vector3 targetSize)
263         {
264             if (SwigDerivedClassHasMethod("OnSizeSet", swigMethodTypes5)) Interop.ViewImplSignal.ViewImpl_OnSizeSetSwigExplicitViewImpl(swigCPtr, Vector3.getCPtr(targetSize)); else Interop.ViewImplSignal.ViewImpl_OnSizeSet(swigCPtr, Vector3.getCPtr(targetSize));
265             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
266         }
267
268         protected virtual new void OnSizeAnimation(Animation animation, Vector3 targetSize)
269         {
270             if (SwigDerivedClassHasMethod("OnSizeAnimation", swigMethodTypes6)) Interop.ViewImplSignal.ViewImpl_OnSizeAnimationSwigExplicitViewImpl(swigCPtr, Animation.getCPtr(animation), Vector3.getCPtr(targetSize)); else Interop.ViewImplSignal.ViewImpl_OnSizeAnimation(swigCPtr, Animation.getCPtr(animation), Vector3.getCPtr(targetSize));
271             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
272         }
273
274         protected virtual new bool OnHoverEvent(Hover arg0)
275         {
276             bool ret = (SwigDerivedClassHasMethod("OnHoverEvent", swigMethodTypes8) ? Interop.ViewImplSignal.ViewImpl_OnHoverEventSwigExplicitViewImpl(swigCPtr, Hover.getCPtr(arg0)) : Interop.ViewImplSignal.ViewImpl_OnHoverEvent(swigCPtr, Hover.getCPtr(arg0)));
277             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
278             return ret;
279         }
280
281         protected virtual new bool OnKeyEvent(Key arg0)
282         {
283             bool ret = (SwigDerivedClassHasMethod("OnKeyEvent", swigMethodTypes9) ? Interop.ViewImplSignal.ViewImpl_OnKeyEventSwigExplicitViewImpl(swigCPtr, Key.getCPtr(arg0)) : Interop.ViewImplSignal.ViewImpl_OnKeyEvent(swigCPtr, Key.getCPtr(arg0)));
284             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
285             return ret;
286         }
287
288         protected virtual new bool OnWheelEvent(Wheel arg0)
289         {
290             bool ret = (SwigDerivedClassHasMethod("OnWheelEvent", swigMethodTypes10) ? Interop.ViewImplSignal.ViewImpl_OnWheelEventSwigExplicitViewImpl(swigCPtr, Wheel.getCPtr(arg0)) : Interop.ViewImplSignal.ViewImpl_OnWheelEvent(swigCPtr, Wheel.getCPtr(arg0)));
291             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
292             return ret;
293         }
294
295         protected virtual new void OnRelayout(Vector2 size, RelayoutContainer container)
296         {
297             if (SwigDerivedClassHasMethod("OnRelayout", swigMethodTypes11)) Interop.ViewImplSignal.ViewImpl_OnRelayoutSwigExplicitViewImpl(swigCPtr, Vector2.getCPtr(size), RelayoutContainer.getCPtr(container)); else Interop.ViewImplSignal.ViewImpl_OnRelayout(swigCPtr, Vector2.getCPtr(size), RelayoutContainer.getCPtr(container));
298             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
299         }
300
301         protected virtual new void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension)
302         {
303             if (SwigDerivedClassHasMethod("OnSetResizePolicy", swigMethodTypes12)) Interop.ViewImplSignal.ViewImpl_OnSetResizePolicySwigExplicitViewImpl(swigCPtr, (int)policy, (int)dimension); else Interop.ViewImplSignal.ViewImpl_OnSetResizePolicy(swigCPtr, (int)policy, (int)dimension);
304             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
305         }
306
307         protected virtual new Vector3 GetNaturalSize()
308         {
309             Vector3 ret = new Vector3((SwigDerivedClassHasMethod("GetNaturalSize", swigMethodTypes13) ? Interop.ViewImpl.ViewImpl_GetNaturalSizeSwigExplicitViewImpl(swigCPtr) : Interop.ViewImpl.ViewImpl_GetNaturalSize(swigCPtr)), true);
310             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
311             return ret;
312         }
313
314         protected virtual new float CalculateChildSize(View child, DimensionType dimension)
315         {
316             float ret = (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14) ? Interop.ViewImpl.ViewImpl_CalculateChildSizeSwigExplicitViewImpl(swigCPtr, View.getCPtr(child), (int)dimension) : Interop.ViewImpl.ViewImpl_CalculateChildSize(swigCPtr, View.getCPtr(child), (int)dimension));
317             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
318             return ret;
319         }
320
321         protected virtual new float GetHeightForWidth(float width)
322         {
323             float ret = (SwigDerivedClassHasMethod("GetHeightForWidth", swigMethodTypes15) ? Interop.ViewImpl.ViewImpl_GetHeightForWidthSwigExplicitViewImpl(swigCPtr, width) : Interop.ViewImpl.ViewImpl_GetHeightForWidth(swigCPtr, width));
324             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
325             return ret;
326         }
327
328         protected virtual new float GetWidthForHeight(float height)
329         {
330             float ret = (SwigDerivedClassHasMethod("GetWidthForHeight", swigMethodTypes16) ? Interop.ViewImpl.ViewImpl_GetWidthForHeightSwigExplicitViewImpl(swigCPtr, height) : Interop.ViewImpl.ViewImpl_GetWidthForHeight(swigCPtr, height));
331             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
332             return ret;
333         }
334
335         protected virtual new bool RelayoutDependentOnChildren(DimensionType dimension)
336         {
337             bool ret = (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes17) ? Interop.ViewImpl.ViewImpl_RelayoutDependentOnChildrenSwigExplicitViewImpl__SWIG_0(swigCPtr, (int)dimension) : Interop.ViewImpl.ViewImpl_RelayoutDependentOnChildren__SWIG_0(swigCPtr, (int)dimension));
338             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
339             return ret;
340         }
341
342         protected virtual new bool RelayoutDependentOnChildren()
343         {
344             bool ret = (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes18) ? Interop.ViewImpl.ViewImpl_RelayoutDependentOnChildrenSwigExplicitViewImpl__SWIG_1(swigCPtr) : Interop.ViewImpl.ViewImpl_RelayoutDependentOnChildren__SWIG_1(swigCPtr));
345             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
346             return ret;
347         }
348
349         protected virtual new void OnCalculateRelayoutSize(DimensionType dimension)
350         {
351             if (SwigDerivedClassHasMethod("OnCalculateRelayoutSize", swigMethodTypes19)) Interop.ViewImplSignal.ViewImpl_OnCalculateRelayoutSizeSwigExplicitViewImpl(swigCPtr, (int)dimension); else Interop.ViewImplSignal.ViewImpl_OnCalculateRelayoutSize(swigCPtr, (int)dimension);
352             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
353         }
354
355         protected virtual new void OnLayoutNegotiated(float size, DimensionType dimension)
356         {
357             if (SwigDerivedClassHasMethod("OnLayoutNegotiated", swigMethodTypes20)) Interop.ViewImplSignal.ViewImpl_OnLayoutNegotiatedSwigExplicitViewImpl(swigCPtr, size, (int)dimension); else Interop.ViewImplSignal.ViewImpl_OnLayoutNegotiated(swigCPtr, size, (int)dimension);
358             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
359         }
360
361         public virtual void OnInitialize()
362         {
363             if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21)) Interop.ViewImplSignal.ViewImpl_OnInitializeSwigExplicitViewImpl(swigCPtr); else Interop.ViewImplSignal.ViewImpl_OnInitialize(swigCPtr);
364             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
365         }
366
367         public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)
368         {
369             if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24)) Interop.ViewImplSignal.ViewImpl_OnStyleChangeSwigExplicitViewImpl(swigCPtr, StyleManager.getCPtr(styleManager), (int)change); else Interop.ViewImplSignal.ViewImpl_OnStyleChange(swigCPtr, StyleManager.getCPtr(styleManager), (int)change);
370             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
371         }
372
373         public virtual bool OnAccessibilityActivated()
374         {
375             bool ret = (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25) ? Interop.ViewImplSignal.ViewImpl_OnAccessibilityActivatedSwigExplicitViewImpl(swigCPtr) : Interop.ViewImplSignal.ViewImpl_OnAccessibilityActivated(swigCPtr));
376             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
377             return ret;
378         }
379
380         public virtual bool OnAccessibilityPan(PanGesture gesture)
381         {
382             bool ret = (SwigDerivedClassHasMethod("OnAccessibilityPan", swigMethodTypes26) ? Interop.ViewImplSignal.ViewImpl_OnAccessibilityPanSwigExplicitViewImpl(swigCPtr, PanGesture.getCPtr(gesture)) : Interop.ViewImplSignal.ViewImpl_OnAccessibilityPan(swigCPtr, PanGesture.getCPtr(gesture)));
383             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
384             return ret;
385         }
386
387         public virtual bool OnAccessibilityValueChange(bool isIncrease)
388         {
389             bool ret = (SwigDerivedClassHasMethod("OnAccessibilityValueChange", swigMethodTypes28) ? Interop.ViewImplSignal.ViewImpl_OnAccessibilityValueChangeSwigExplicitViewImpl(swigCPtr, isIncrease) : Interop.ViewImplSignal.ViewImpl_OnAccessibilityValueChange(swigCPtr, isIncrease));
390             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
391             return ret;
392         }
393
394         public virtual bool OnAccessibilityZoom()
395         {
396             bool ret = (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29) ? Interop.ViewImplSignal.ViewImpl_OnAccessibilityZoomSwigExplicitViewImpl(swigCPtr) : Interop.ViewImplSignal.ViewImpl_OnAccessibilityZoom(swigCPtr));
397             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
398             return ret;
399         }
400
401         public virtual void OnKeyInputFocusGained()
402         {
403             if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30)) Interop.ViewImplSignal.ViewImpl_OnKeyInputFocusGainedSwigExplicitViewImpl(swigCPtr); else Interop.ViewImplSignal.ViewImpl_OnKeyInputFocusGained(swigCPtr);
404             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
405         }
406
407         public virtual void OnKeyInputFocusLost()
408         {
409             if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31)) Interop.ViewImplSignal.ViewImpl_OnKeyInputFocusLostSwigExplicitViewImpl(swigCPtr); else Interop.ViewImplSignal.ViewImpl_OnKeyInputFocusLost(swigCPtr);
410             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
411         }
412
413         public virtual View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
414         {
415             View ret = new View((SwigDerivedClassHasMethod("GetNextFocusableView", swigMethodTypes32) ? Interop.ViewImpl.ViewImpl_GetNextKeyboardFocusableActorSwigExplicitViewImpl(swigCPtr, View.getCPtr(currentFocusedView), (int)direction, loopEnabled) : Interop.ViewImpl.ViewImpl_GetNextKeyboardFocusableActor(swigCPtr, View.getCPtr(currentFocusedView), (int)direction, loopEnabled)), true);
416             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
417             return ret;
418         }
419
420         public virtual void OnFocusChangeCommitted(View commitedFocusableView)
421         {
422             if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33)) Interop.ViewImplSignal.ViewImpl_OnKeyboardFocusChangeCommittedSwigExplicitViewImpl(swigCPtr, View.getCPtr(commitedFocusableView)); else Interop.ViewImplSignal.ViewImpl_OnKeyboardFocusChangeCommitted(swigCPtr, View.getCPtr(commitedFocusableView));
423             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
424         }
425
426         public virtual bool OnKeyboardEnter()
427         {
428             bool ret = (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34) ? Interop.ViewImplSignal.ViewImpl_OnKeyboardEnterSwigExplicitViewImpl(swigCPtr) : Interop.ViewImplSignal.ViewImpl_OnKeyboardEnter(swigCPtr));
429             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
430             return ret;
431         }
432
433         public virtual void OnPinch(PinchGesture pinch)
434         {
435             if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35)) Interop.ViewImplSignal.ViewImpl_OnPinchSwigExplicitViewImpl(swigCPtr, PinchGesture.getCPtr(pinch)); else Interop.ViewImplSignal.ViewImpl_OnPinch(swigCPtr, PinchGesture.getCPtr(pinch));
436             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
437         }
438
439         public virtual void OnPan(PanGesture pan)
440         {
441             if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36)) Interop.ViewImplSignal.ViewImpl_OnPanSwigExplicitViewImpl(swigCPtr, PanGesture.getCPtr(pan)); else Interop.ViewImplSignal.ViewImpl_OnPan(swigCPtr, PanGesture.getCPtr(pan));
442             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
443         }
444
445         public virtual void OnTap(TapGesture tap)
446         {
447             if (SwigDerivedClassHasMethod("OnTap", swigMethodTypes37)) Interop.ViewImplSignal.ViewImpl_OnTapSwigExplicitViewImpl(swigCPtr, TapGesture.getCPtr(tap)); else Interop.ViewImplSignal.ViewImpl_OnTap(swigCPtr, TapGesture.getCPtr(tap));
448             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
449         }
450
451         public virtual void OnLongPress(LongPressGesture longPress)
452         {
453             if (SwigDerivedClassHasMethod("OnLongPress", swigMethodTypes38)) Interop.ViewImplSignal.ViewImpl_OnLongPressSwigExplicitViewImpl(swigCPtr, LongPressGesture.getCPtr(longPress)); else Interop.ViewImplSignal.ViewImpl_OnLongPress(swigCPtr, LongPressGesture.getCPtr(longPress));
454             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
455         }
456
457         internal virtual void SignalConnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)
458         {
459             if (SwigDerivedClassHasMethod("SignalConnected", swigMethodTypes39)) Interop.ViewImplSignal.ViewImpl_SignalConnectedSwigExplicitViewImpl(swigCPtr, SlotObserver.getCPtr(slotObserver), SWIGTYPE_p_Dali__CallbackBase.getCPtr(callback)); else Interop.ViewImplSignal.ViewImpl_SignalConnected(swigCPtr, SlotObserver.getCPtr(slotObserver), SWIGTYPE_p_Dali__CallbackBase.getCPtr(callback));
460             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
461         }
462
463         internal virtual void SignalDisconnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)
464         {
465             if (SwigDerivedClassHasMethod("SignalDisconnected", swigMethodTypes40)) Interop.ViewImplSignal.ViewImpl_SignalDisconnectedSwigExplicitViewImpl(swigCPtr, SlotObserver.getCPtr(slotObserver), SWIGTYPE_p_Dali__CallbackBase.getCPtr(callback)); else Interop.ViewImplSignal.ViewImpl_SignalDisconnected(swigCPtr, SlotObserver.getCPtr(slotObserver), SWIGTYPE_p_Dali__CallbackBase.getCPtr(callback));
466             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
467         }
468
469         private void SwigDirectorConnect()
470         {
471             if (SwigDerivedClassHasMethod("OnSceneConnection", swigMethodTypes0))
472                 swigDelegate0 = new SwigDelegateViewImpl_0(SwigDirectorOnSceneConnection);
473             if (SwigDerivedClassHasMethod("OnSceneDisconnection", swigMethodTypes1))
474                 swigDelegate1 = new SwigDelegateViewImpl_1(SwigDirectorOnSceneDisconnection);
475             if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2))
476                 swigDelegate2 = new SwigDelegateViewImpl_2(SwigDirectorOnChildAdd);
477             if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3))
478                 swigDelegate3 = new SwigDelegateViewImpl_3(SwigDirectorOnChildRemove);
479             if (SwigDerivedClassHasMethod("OnPropertySet", swigMethodTypes4))
480                 swigDelegate4 = new SwigDelegateViewImpl_4(SwigDirectorOnPropertySet);
481             if (SwigDerivedClassHasMethod("OnSizeSet", swigMethodTypes5))
482                 swigDelegate5 = new SwigDelegateViewImpl_5(SwigDirectorOnSizeSet);
483             if (SwigDerivedClassHasMethod("OnSizeAnimation", swigMethodTypes6))
484                 swigDelegate6 = new SwigDelegateViewImpl_6(SwigDirectorOnSizeAnimation);
485             if (SwigDerivedClassHasMethod("OnHoverEvent", swigMethodTypes8))
486                 swigDelegate8 = new SwigDelegateViewImpl_8(SwigDirectorOnHoverEvent);
487             if (SwigDerivedClassHasMethod("OnKeyEvent", swigMethodTypes9))
488                 swigDelegate9 = new SwigDelegateViewImpl_9(SwigDirectorOnKeyEvent);
489             if (SwigDerivedClassHasMethod("OnWheelEvent", swigMethodTypes10))
490                 swigDelegate10 = new SwigDelegateViewImpl_10(SwigDirectorOnWheelEvent);
491             if (SwigDerivedClassHasMethod("OnRelayout", swigMethodTypes11))
492                 swigDelegate11 = new SwigDelegateViewImpl_11(SwigDirectorOnRelayout);
493             if (SwigDerivedClassHasMethod("OnSetResizePolicy", swigMethodTypes12))
494                 swigDelegate12 = new SwigDelegateViewImpl_12(SwigDirectorOnSetResizePolicy);
495             if (SwigDerivedClassHasMethod("GetNaturalSize", swigMethodTypes13))
496                 swigDelegate13 = new SwigDelegateViewImpl_13(SwigDirectorGetNaturalSize);
497             if (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14))
498                 swigDelegate14 = new SwigDelegateViewImpl_14(SwigDirectorCalculateChildSize);
499             if (SwigDerivedClassHasMethod("GetHeightForWidth", swigMethodTypes15))
500                 swigDelegate15 = new SwigDelegateViewImpl_15(SwigDirectorGetHeightForWidth);
501             if (SwigDerivedClassHasMethod("GetWidthForHeight", swigMethodTypes16))
502                 swigDelegate16 = new SwigDelegateViewImpl_16(SwigDirectorGetWidthForHeight);
503             if (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes17))
504                 swigDelegate17 = new SwigDelegateViewImpl_17(SwigDirectorRelayoutDependentOnChildren__SWIG_0);
505             if (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes18))
506                 swigDelegate18 = new SwigDelegateViewImpl_18(SwigDirectorRelayoutDependentOnChildren__SWIG_1);
507             if (SwigDerivedClassHasMethod("OnCalculateRelayoutSize", swigMethodTypes19))
508                 swigDelegate19 = new SwigDelegateViewImpl_19(SwigDirectorOnCalculateRelayoutSize);
509             if (SwigDerivedClassHasMethod("OnLayoutNegotiated", swigMethodTypes20))
510                 swigDelegate20 = new SwigDelegateViewImpl_20(SwigDirectorOnLayoutNegotiated);
511             if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21))
512                 swigDelegate21 = new SwigDelegateViewImpl_21(SwigDirectorOnInitialize);
513             if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24))
514                 swigDelegate24 = new SwigDelegateViewImpl_24(SwigDirectorOnStyleChange);
515             if (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25))
516                 swigDelegate25 = new SwigDelegateViewImpl_25(SwigDirectorOnAccessibilityActivated);
517             if (SwigDerivedClassHasMethod("OnAccessibilityPan", swigMethodTypes26))
518                 swigDelegate26 = new SwigDelegateViewImpl_26(SwigDirectorOnAccessibilityPan);
519             if (SwigDerivedClassHasMethod("OnAccessibilityValueChange", swigMethodTypes28))
520                 swigDelegate28 = new SwigDelegateViewImpl_28(SwigDirectorOnAccessibilityValueChange);
521             if (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29))
522                 swigDelegate29 = new SwigDelegateViewImpl_29(SwigDirectorOnAccessibilityZoom);
523             if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30))
524                 swigDelegate30 = new SwigDelegateViewImpl_30(SwigDirectorOnKeyInputFocusGained);
525             if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31))
526                 swigDelegate31 = new SwigDelegateViewImpl_31(SwigDirectorOnKeyInputFocusLost);
527             if (SwigDerivedClassHasMethod("GetNextFocusableView", swigMethodTypes32))
528                 swigDelegate32 = new SwigDelegateViewImpl_32(SwigDirectorGetNextKeyboardFocusableView);
529             if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33))
530                 swigDelegate33 = new SwigDelegateViewImpl_33(SwigDirectorOnKeyboardFocusChangeCommitted);
531             if (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34))
532                 swigDelegate34 = new SwigDelegateViewImpl_34(SwigDirectorOnKeyboardEnter);
533             if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35))
534                 swigDelegate35 = new SwigDelegateViewImpl_35(SwigDirectorOnPinch);
535             if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36))
536                 swigDelegate36 = new SwigDelegateViewImpl_36(SwigDirectorOnPan);
537             if (SwigDerivedClassHasMethod("OnTap", swigMethodTypes37))
538                 swigDelegate37 = new SwigDelegateViewImpl_37(SwigDirectorOnTap);
539             if (SwigDerivedClassHasMethod("OnLongPress", swigMethodTypes38))
540                 swigDelegate38 = new SwigDelegateViewImpl_38(SwigDirectorOnLongPress);
541             if (SwigDerivedClassHasMethod("SignalConnected", swigMethodTypes39))
542                 swigDelegate39 = new SwigDelegateViewImpl_39(SwigDirectorSignalConnected);
543             if (SwigDerivedClassHasMethod("SignalDisconnected", swigMethodTypes40))
544                 swigDelegate40 = new SwigDelegateViewImpl_40(SwigDirectorSignalDisconnected);
545             Interop.ViewImpl.ViewImpl_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate24, swigDelegate25, swigDelegate26, swigDelegate28, swigDelegate29, swigDelegate30, swigDelegate31, swigDelegate32, swigDelegate33, swigDelegate34, swigDelegate35, swigDelegate36, swigDelegate37, swigDelegate38, swigDelegate39, swigDelegate40);
546         }
547
548
549         private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)
550         {
551             global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes);
552             bool hasDerivedMethod = this.GetType().GetTypeInfo().IsSubclassOf(typeof(ViewImpl));
553
554             NUILog.Debug("hasDerivedMethod=" + hasDerivedMethod);
555
556             return hasDerivedMethod && (methodInfo != null);
557         }
558
559         private void SwigDirectorOnSceneConnection(int depth)
560         {
561             OnSceneConnection(depth);
562         }
563
564         private void SwigDirectorOnSceneDisconnection()
565         {
566             OnSceneDisconnection();
567         }
568
569         private void SwigDirectorOnChildAdd(global::System.IntPtr child)
570         {
571             View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
572
573             if (view)
574             {
575                 OnChildAdd(view);
576             }
577         }
578
579         private void SwigDirectorOnChildRemove(global::System.IntPtr child)
580         {
581             View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
582
583             if (view)
584             {
585                 OnChildRemove(view);
586             }
587         }
588
589         private void SwigDirectorOnPropertySet(int index, global::System.IntPtr propertyValue)
590         {
591             OnPropertySet(index, new PropertyValue(propertyValue, true));
592         }
593
594         private void SwigDirectorOnSizeSet(global::System.IntPtr targetSize)
595         {
596             OnSizeSet(new Vector3(targetSize, false));
597         }
598
599         private void SwigDirectorOnSizeAnimation(global::System.IntPtr animation, global::System.IntPtr targetSize)
600         {
601             OnSizeAnimation(new Animation(animation, false), new Vector3(targetSize, false));
602         }
603
604         private bool SwigDirectorOnHoverEvent(global::System.IntPtr arg0)
605         {
606             return OnHoverEvent(new Hover(arg0, false));
607         }
608
609         private bool SwigDirectorOnKeyEvent(global::System.IntPtr arg0)
610         {
611             return OnKeyEvent(new Key(arg0, false));
612         }
613
614         private bool SwigDirectorOnWheelEvent(global::System.IntPtr arg0)
615         {
616             return OnWheelEvent(new Wheel(arg0, false));
617         }
618
619         private void SwigDirectorOnRelayout(global::System.IntPtr size, global::System.IntPtr container)
620         {
621             OnRelayout(new Vector2(size, false), new RelayoutContainer(container, false));
622         }
623
624         private void SwigDirectorOnSetResizePolicy(int policy, int dimension)
625         {
626             OnSetResizePolicy((ResizePolicyType)policy, (DimensionType)dimension);
627         }
628
629         private global::System.IntPtr SwigDirectorGetNaturalSize()
630         {
631             return Vector3.getCPtr(GetNaturalSize()).Handle;
632         }
633
634         private float SwigDirectorCalculateChildSize(global::System.IntPtr child, int dimension)
635         {
636             View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
637             if (view)
638             {
639                 return CalculateChildSize(view, (DimensionType)dimension);
640             }
641             return 0.0f;
642         }
643
644         private float SwigDirectorGetHeightForWidth(float width)
645         {
646             return GetHeightForWidth(width);
647         }
648
649         private float SwigDirectorGetWidthForHeight(float height)
650         {
651             return GetWidthForHeight(height);
652         }
653
654         private bool SwigDirectorRelayoutDependentOnChildren__SWIG_0(int dimension)
655         {
656             return RelayoutDependentOnChildren((DimensionType)dimension);
657         }
658
659         private bool SwigDirectorRelayoutDependentOnChildren__SWIG_1()
660         {
661             return RelayoutDependentOnChildren();
662         }
663
664         private void SwigDirectorOnCalculateRelayoutSize(int dimension)
665         {
666             OnCalculateRelayoutSize((DimensionType)dimension);
667         }
668
669         private void SwigDirectorOnLayoutNegotiated(float size, int dimension)
670         {
671             OnLayoutNegotiated(size, (DimensionType)dimension);
672         }
673
674         private void SwigDirectorOnInitialize()
675         {
676             OnInitialize();
677         }
678
679         private void SwigDirectorOnStyleChange(global::System.IntPtr styleManager, int change)
680         {
681             StyleManager stManager = Registry.GetManagedBaseHandleFromNativePtr(styleManager) as StyleManager;
682             if (stManager)
683             {
684                 OnStyleChange(stManager, (StyleChangeType)change);
685             }
686         }
687
688         private bool SwigDirectorOnAccessibilityActivated()
689         {
690             return OnAccessibilityActivated();
691         }
692
693         private bool SwigDirectorOnAccessibilityPan(global::System.IntPtr gesture)
694         {
695             return OnAccessibilityPan(new PanGesture(gesture, true));
696         }
697
698         private bool SwigDirectorOnAccessibilityValueChange(bool isIncrease)
699         {
700             return OnAccessibilityValueChange(isIncrease);
701         }
702
703         private bool SwigDirectorOnAccessibilityZoom()
704         {
705             return OnAccessibilityZoom();
706         }
707
708         private void SwigDirectorOnKeyInputFocusGained()
709         {
710             OnKeyInputFocusGained();
711         }
712
713         private void SwigDirectorOnKeyInputFocusLost()
714         {
715             OnKeyInputFocusLost();
716         }
717
718         private global::System.IntPtr SwigDirectorGetNextKeyboardFocusableView(global::System.IntPtr currentFocusedView, int direction, bool loopEnabled)
719         {
720             return View.getCPtr(GetNextFocusableView(Registry.GetManagedBaseHandleFromNativePtr(currentFocusedView) as View, (View.FocusDirection)direction, loopEnabled)).Handle;
721         }
722
723         private void SwigDirectorOnKeyboardFocusChangeCommitted(global::System.IntPtr commitedFocusableView)
724         {
725             OnFocusChangeCommitted(Registry.GetManagedBaseHandleFromNativePtr(commitedFocusableView) as View);
726         }
727
728         private bool SwigDirectorOnKeyboardEnter()
729         {
730             return OnKeyboardEnter();
731         }
732
733         private void SwigDirectorOnPinch(global::System.IntPtr pinch)
734         {
735             OnPinch(new PinchGesture(pinch, false));
736         }
737
738         private void SwigDirectorOnPan(global::System.IntPtr pan)
739         {
740             OnPan(new PanGesture(pan, false));
741         }
742
743         private void SwigDirectorOnTap(global::System.IntPtr tap)
744         {
745             OnTap(new TapGesture(tap, false));
746         }
747
748         private void SwigDirectorOnLongPress(global::System.IntPtr longPress)
749         {
750             OnLongPress(new LongPressGesture(longPress, false));
751         }
752
753         private void SwigDirectorSignalConnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)
754         {
755             SignalConnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));
756         }
757
758         private void SwigDirectorSignalDisconnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)
759         {
760             SignalDisconnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));
761         }
762
763         /// <since_tizen> 3 </since_tizen>
764         public delegate void SwigDelegateViewImpl_0(int depth);
765         /// <since_tizen> 3 </since_tizen>
766         public delegate void SwigDelegateViewImpl_1();
767         /// <since_tizen> 3 </since_tizen>
768         public delegate void SwigDelegateViewImpl_2(global::System.IntPtr child);
769         /// <since_tizen> 3 </since_tizen>
770         public delegate void SwigDelegateViewImpl_3(global::System.IntPtr child);
771         /// <since_tizen> 3 </since_tizen>
772         public delegate void SwigDelegateViewImpl_4(int index, global::System.IntPtr propertyValue);
773         /// <since_tizen> 3 </since_tizen>
774         public delegate void SwigDelegateViewImpl_5(global::System.IntPtr targetSize);
775         /// <since_tizen> 3 </since_tizen>
776         public delegate void SwigDelegateViewImpl_6(global::System.IntPtr animation, global::System.IntPtr targetSize);
777         /// <since_tizen> 3 </since_tizen>
778         public delegate bool SwigDelegateViewImpl_8(global::System.IntPtr arg0);
779         /// <since_tizen> 3 </since_tizen>
780         public delegate bool SwigDelegateViewImpl_9(global::System.IntPtr arg0);
781         /// <since_tizen> 3 </since_tizen>
782         public delegate bool SwigDelegateViewImpl_10(global::System.IntPtr arg0);
783         /// <since_tizen> 3 </since_tizen>
784         public delegate void SwigDelegateViewImpl_11(global::System.IntPtr size, global::System.IntPtr container);
785         /// <since_tizen> 3 </since_tizen>
786         public delegate void SwigDelegateViewImpl_12(int policy, int dimension);
787         /// <since_tizen> 3 </since_tizen>
788         public delegate global::System.IntPtr SwigDelegateViewImpl_13();
789         /// <since_tizen> 3 </since_tizen>
790         public delegate float SwigDelegateViewImpl_14(global::System.IntPtr child, int dimension);
791         /// <since_tizen> 3 </since_tizen>
792         public delegate float SwigDelegateViewImpl_15(float width);
793         /// <since_tizen> 3 </since_tizen>
794         public delegate float SwigDelegateViewImpl_16(float height);
795         /// <since_tizen> 3 </since_tizen>
796         public delegate bool SwigDelegateViewImpl_17(int dimension);
797         /// <since_tizen> 3 </since_tizen>
798         public delegate bool SwigDelegateViewImpl_18();
799         /// <since_tizen> 3 </since_tizen>
800         public delegate void SwigDelegateViewImpl_19(int dimension);
801         /// <since_tizen> 3 </since_tizen>
802         public delegate void SwigDelegateViewImpl_20(float size, int dimension);
803         /// <since_tizen> 3 </since_tizen>
804         public delegate void SwigDelegateViewImpl_21();
805         /// <since_tizen> 3 </since_tizen>
806         public delegate void SwigDelegateViewImpl_22(global::System.IntPtr child);
807         /// <since_tizen> 3 </since_tizen>
808         public delegate void SwigDelegateViewImpl_23(global::System.IntPtr child);
809         /// <since_tizen> 3 </since_tizen>
810         public delegate void SwigDelegateViewImpl_24(global::System.IntPtr styleManager, int change);
811         /// <since_tizen> 3 </since_tizen>
812         public delegate bool SwigDelegateViewImpl_25();
813         /// <since_tizen> 3 </since_tizen>
814         public delegate bool SwigDelegateViewImpl_26(global::System.IntPtr gesture);
815         /// <since_tizen> 3 </since_tizen>
816         public delegate bool SwigDelegateViewImpl_28(bool isIncrease);
817         /// <since_tizen> 3 </since_tizen>
818         public delegate bool SwigDelegateViewImpl_29();
819         /// <since_tizen> 3 </since_tizen>
820         public delegate void SwigDelegateViewImpl_30();
821         /// <since_tizen> 3 </since_tizen>
822         public delegate void SwigDelegateViewImpl_31();
823         /// <since_tizen> 3 </since_tizen>
824         public delegate global::System.IntPtr SwigDelegateViewImpl_32(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled);
825         /// <since_tizen> 3 </since_tizen>
826         public delegate void SwigDelegateViewImpl_33(global::System.IntPtr commitedFocusableActor);
827         /// <since_tizen> 3 </since_tizen>
828         public delegate bool SwigDelegateViewImpl_34();
829         /// <since_tizen> 3 </since_tizen>
830         public delegate void SwigDelegateViewImpl_35(global::System.IntPtr pinch);
831         /// <since_tizen> 3 </since_tizen>
832         public delegate void SwigDelegateViewImpl_36(global::System.IntPtr pan);
833         /// <since_tizen> 3 </since_tizen>
834         public delegate void SwigDelegateViewImpl_37(global::System.IntPtr tap);
835         /// <since_tizen> 3 </since_tizen>
836         public delegate void SwigDelegateViewImpl_38(global::System.IntPtr longPress);
837         /// <since_tizen> 3 </since_tizen>
838         public delegate void SwigDelegateViewImpl_39(global::System.IntPtr slotObserver, global::System.IntPtr callback);
839         /// <since_tizen> 3 </since_tizen>
840         public delegate void SwigDelegateViewImpl_40(global::System.IntPtr slotObserver, global::System.IntPtr callback);
841
842         private SwigDelegateViewImpl_0 swigDelegate0;
843         private SwigDelegateViewImpl_1 swigDelegate1;
844         private SwigDelegateViewImpl_2 swigDelegate2;
845         private SwigDelegateViewImpl_3 swigDelegate3;
846         private SwigDelegateViewImpl_4 swigDelegate4;
847         private SwigDelegateViewImpl_5 swigDelegate5;
848         private SwigDelegateViewImpl_6 swigDelegate6;
849         private SwigDelegateViewImpl_8 swigDelegate8;
850         private SwigDelegateViewImpl_9 swigDelegate9;
851         private SwigDelegateViewImpl_10 swigDelegate10;
852         private SwigDelegateViewImpl_11 swigDelegate11;
853         private SwigDelegateViewImpl_12 swigDelegate12;
854         private SwigDelegateViewImpl_13 swigDelegate13;
855         private SwigDelegateViewImpl_14 swigDelegate14;
856         private SwigDelegateViewImpl_15 swigDelegate15;
857         private SwigDelegateViewImpl_16 swigDelegate16;
858         private SwigDelegateViewImpl_17 swigDelegate17;
859         private SwigDelegateViewImpl_18 swigDelegate18;
860         private SwigDelegateViewImpl_19 swigDelegate19;
861         private SwigDelegateViewImpl_20 swigDelegate20;
862         private SwigDelegateViewImpl_21 swigDelegate21;
863         private SwigDelegateViewImpl_22 swigDelegate22;
864         private SwigDelegateViewImpl_23 swigDelegate23;
865         private SwigDelegateViewImpl_24 swigDelegate24;
866         private SwigDelegateViewImpl_25 swigDelegate25;
867         private SwigDelegateViewImpl_26 swigDelegate26;
868         private SwigDelegateViewImpl_28 swigDelegate28;
869         private SwigDelegateViewImpl_29 swigDelegate29;
870         private SwigDelegateViewImpl_30 swigDelegate30;
871         private SwigDelegateViewImpl_31 swigDelegate31;
872         private SwigDelegateViewImpl_32 swigDelegate32;
873         private SwigDelegateViewImpl_33 swigDelegate33;
874         private SwigDelegateViewImpl_34 swigDelegate34;
875         private SwigDelegateViewImpl_35 swigDelegate35;
876         private SwigDelegateViewImpl_36 swigDelegate36;
877         private SwigDelegateViewImpl_37 swigDelegate37;
878         private SwigDelegateViewImpl_38 swigDelegate38;
879         private SwigDelegateViewImpl_39 swigDelegate39;
880         private SwigDelegateViewImpl_40 swigDelegate40;
881
882         private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(int) };
883         private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
884         private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(View) };
885         private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { typeof(View) };
886         private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(int), typeof(PropertyValue) };
887         private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(Vector3) };
888         private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Animation), typeof(Vector3) };
889         private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(Hover) };
890         private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { typeof(Key) };
891         private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { typeof(Wheel) };
892         private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { typeof(Vector2), typeof(RelayoutContainer) };
893         private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { typeof(ResizePolicyType), typeof(DimensionType) };
894         private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
895         private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { typeof(View), typeof(DimensionType) };
896         private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { typeof(float) };
897         private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { typeof(float) };
898         private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(DimensionType) };
899         private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { };
900         private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { typeof(DimensionType) };
901         private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { typeof(float), typeof(DimensionType) };
902         private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
903         private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { typeof(View) };
904         private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(View) };
905         private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { typeof(StyleManager), typeof(StyleChangeType) };
906         private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };
907         private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { typeof(PanGesture) };
908         private static global::System.Type[] swigMethodTypes28 = new global::System.Type[] { typeof(bool) };
909         private static global::System.Type[] swigMethodTypes29 = new global::System.Type[] { };
910         private static global::System.Type[] swigMethodTypes30 = new global::System.Type[] { };
911         private static global::System.Type[] swigMethodTypes31 = new global::System.Type[] { };
912         private static global::System.Type[] swigMethodTypes32 = new global::System.Type[] { typeof(View), typeof(View.FocusDirection), typeof(bool) };
913         private static global::System.Type[] swigMethodTypes33 = new global::System.Type[] { typeof(View) };
914         private static global::System.Type[] swigMethodTypes34 = new global::System.Type[] { };
915         private static global::System.Type[] swigMethodTypes35 = new global::System.Type[] { typeof(PinchGesture) };
916         private static global::System.Type[] swigMethodTypes36 = new global::System.Type[] { typeof(PanGesture) };
917         private static global::System.Type[] swigMethodTypes37 = new global::System.Type[] { typeof(TapGesture) };
918         private static global::System.Type[] swigMethodTypes38 = new global::System.Type[] { typeof(LongPressGesture) };
919         private static global::System.Type[] swigMethodTypes39 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
920         private static global::System.Type[] swigMethodTypes40 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
921     }
922 }