[NUI] Rename OnStage signal related internal methods (#1891)
[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         internal virtual new bool OnTouchEvent(SWIGTYPE_p_Dali__TouchEvent arg0)
275         {
276             bool ret = (SwigDerivedClassHasMethod("OnTouchEvent", swigMethodTypes7) ? Interop.ViewImplSignal.ViewImpl_OnTouchEventSwigExplicitViewImpl(swigCPtr, SWIGTYPE_p_Dali__TouchEvent.getCPtr(arg0)) : Interop.ViewImplSignal.ViewImpl_OnTouchEvent(swigCPtr, SWIGTYPE_p_Dali__TouchEvent.getCPtr(arg0)));
277             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
278             return ret;
279         }
280
281         protected virtual new bool OnHoverEvent(Hover arg0)
282         {
283             bool ret = (SwigDerivedClassHasMethod("OnHoverEvent", swigMethodTypes8) ? Interop.ViewImplSignal.ViewImpl_OnHoverEventSwigExplicitViewImpl(swigCPtr, Hover.getCPtr(arg0)) : Interop.ViewImplSignal.ViewImpl_OnHoverEvent(swigCPtr, Hover.getCPtr(arg0)));
284             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
285             return ret;
286         }
287
288         protected virtual new bool OnKeyEvent(Key arg0)
289         {
290             bool ret = (SwigDerivedClassHasMethod("OnKeyEvent", swigMethodTypes9) ? Interop.ViewImplSignal.ViewImpl_OnKeyEventSwigExplicitViewImpl(swigCPtr, Key.getCPtr(arg0)) : Interop.ViewImplSignal.ViewImpl_OnKeyEvent(swigCPtr, Key.getCPtr(arg0)));
291             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
292             return ret;
293         }
294
295         protected virtual new bool OnWheelEvent(Wheel arg0)
296         {
297             bool ret = (SwigDerivedClassHasMethod("OnWheelEvent", swigMethodTypes10) ? Interop.ViewImplSignal.ViewImpl_OnWheelEventSwigExplicitViewImpl(swigCPtr, Wheel.getCPtr(arg0)) : Interop.ViewImplSignal.ViewImpl_OnWheelEvent(swigCPtr, Wheel.getCPtr(arg0)));
298             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
299             return ret;
300         }
301
302         protected virtual new void OnRelayout(Vector2 size, RelayoutContainer container)
303         {
304             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));
305             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
306         }
307
308         protected virtual new void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension)
309         {
310             if (SwigDerivedClassHasMethod("OnSetResizePolicy", swigMethodTypes12)) Interop.ViewImplSignal.ViewImpl_OnSetResizePolicySwigExplicitViewImpl(swigCPtr, (int)policy, (int)dimension); else Interop.ViewImplSignal.ViewImpl_OnSetResizePolicy(swigCPtr, (int)policy, (int)dimension);
311             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
312         }
313
314         protected virtual new Vector3 GetNaturalSize()
315         {
316             Vector3 ret = new Vector3((SwigDerivedClassHasMethod("GetNaturalSize", swigMethodTypes13) ? Interop.ViewImpl.ViewImpl_GetNaturalSizeSwigExplicitViewImpl(swigCPtr) : Interop.ViewImpl.ViewImpl_GetNaturalSize(swigCPtr)), true);
317             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
318             return ret;
319         }
320
321         protected virtual new float CalculateChildSize(View child, DimensionType dimension)
322         {
323             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));
324             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
325             return ret;
326         }
327
328         protected virtual new float GetHeightForWidth(float width)
329         {
330             float ret = (SwigDerivedClassHasMethod("GetHeightForWidth", swigMethodTypes15) ? Interop.ViewImpl.ViewImpl_GetHeightForWidthSwigExplicitViewImpl(swigCPtr, width) : Interop.ViewImpl.ViewImpl_GetHeightForWidth(swigCPtr, width));
331             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
332             return ret;
333         }
334
335         protected virtual new float GetWidthForHeight(float height)
336         {
337             float ret = (SwigDerivedClassHasMethod("GetWidthForHeight", swigMethodTypes16) ? Interop.ViewImpl.ViewImpl_GetWidthForHeightSwigExplicitViewImpl(swigCPtr, height) : Interop.ViewImpl.ViewImpl_GetWidthForHeight(swigCPtr, height));
338             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
339             return ret;
340         }
341
342         protected virtual new bool RelayoutDependentOnChildren(DimensionType dimension)
343         {
344             bool ret = (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes17) ? Interop.ViewImpl.ViewImpl_RelayoutDependentOnChildrenSwigExplicitViewImpl__SWIG_0(swigCPtr, (int)dimension) : Interop.ViewImpl.ViewImpl_RelayoutDependentOnChildren__SWIG_0(swigCPtr, (int)dimension));
345             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
346             return ret;
347         }
348
349         protected virtual new bool RelayoutDependentOnChildren()
350         {
351             bool ret = (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes18) ? Interop.ViewImpl.ViewImpl_RelayoutDependentOnChildrenSwigExplicitViewImpl__SWIG_1(swigCPtr) : Interop.ViewImpl.ViewImpl_RelayoutDependentOnChildren__SWIG_1(swigCPtr));
352             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
353             return ret;
354         }
355
356         protected virtual new void OnCalculateRelayoutSize(DimensionType dimension)
357         {
358             if (SwigDerivedClassHasMethod("OnCalculateRelayoutSize", swigMethodTypes19)) Interop.ViewImplSignal.ViewImpl_OnCalculateRelayoutSizeSwigExplicitViewImpl(swigCPtr, (int)dimension); else Interop.ViewImplSignal.ViewImpl_OnCalculateRelayoutSize(swigCPtr, (int)dimension);
359             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
360         }
361
362         protected virtual new void OnLayoutNegotiated(float size, DimensionType dimension)
363         {
364             if (SwigDerivedClassHasMethod("OnLayoutNegotiated", swigMethodTypes20)) Interop.ViewImplSignal.ViewImpl_OnLayoutNegotiatedSwigExplicitViewImpl(swigCPtr, size, (int)dimension); else Interop.ViewImplSignal.ViewImpl_OnLayoutNegotiated(swigCPtr, size, (int)dimension);
365             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
366         }
367
368         public virtual void OnInitialize()
369         {
370             if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21)) Interop.ViewImplSignal.ViewImpl_OnInitializeSwigExplicitViewImpl(swigCPtr); else Interop.ViewImplSignal.ViewImpl_OnInitialize(swigCPtr);
371             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
372         }
373
374         public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)
375         {
376             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);
377             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
378         }
379
380         public virtual bool OnAccessibilityActivated()
381         {
382             bool ret = (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25) ? Interop.ViewImplSignal.ViewImpl_OnAccessibilityActivatedSwigExplicitViewImpl(swigCPtr) : Interop.ViewImplSignal.ViewImpl_OnAccessibilityActivated(swigCPtr));
383             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
384             return ret;
385         }
386
387         public virtual bool OnAccessibilityPan(PanGesture gesture)
388         {
389             bool ret = (SwigDerivedClassHasMethod("OnAccessibilityPan", swigMethodTypes26) ? Interop.ViewImplSignal.ViewImpl_OnAccessibilityPanSwigExplicitViewImpl(swigCPtr, PanGesture.getCPtr(gesture)) : Interop.ViewImplSignal.ViewImpl_OnAccessibilityPan(swigCPtr, PanGesture.getCPtr(gesture)));
390             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
391             return ret;
392         }
393
394         internal virtual bool OnAccessibilityTouch(SWIGTYPE_p_Dali__TouchEvent touchEvent)
395         {
396             bool ret = (SwigDerivedClassHasMethod("OnAccessibilityTouch", swigMethodTypes27) ? Interop.ViewImplSignal.ViewImpl_OnAccessibilityTouchSwigExplicitViewImpl(swigCPtr, SWIGTYPE_p_Dali__TouchEvent.getCPtr(touchEvent)) : Interop.ViewImplSignal.ViewImpl_OnAccessibilityTouch(swigCPtr, SWIGTYPE_p_Dali__TouchEvent.getCPtr(touchEvent)));
397             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
398             return ret;
399         }
400
401         public virtual bool OnAccessibilityValueChange(bool isIncrease)
402         {
403             bool ret = (SwigDerivedClassHasMethod("OnAccessibilityValueChange", swigMethodTypes28) ? Interop.ViewImplSignal.ViewImpl_OnAccessibilityValueChangeSwigExplicitViewImpl(swigCPtr, isIncrease) : Interop.ViewImplSignal.ViewImpl_OnAccessibilityValueChange(swigCPtr, isIncrease));
404             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
405             return ret;
406         }
407
408         public virtual bool OnAccessibilityZoom()
409         {
410             bool ret = (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29) ? Interop.ViewImplSignal.ViewImpl_OnAccessibilityZoomSwigExplicitViewImpl(swigCPtr) : Interop.ViewImplSignal.ViewImpl_OnAccessibilityZoom(swigCPtr));
411             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
412             return ret;
413         }
414
415         public virtual void OnKeyInputFocusGained()
416         {
417             if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30)) Interop.ViewImplSignal.ViewImpl_OnKeyInputFocusGainedSwigExplicitViewImpl(swigCPtr); else Interop.ViewImplSignal.ViewImpl_OnKeyInputFocusGained(swigCPtr);
418             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
419         }
420
421         public virtual void OnKeyInputFocusLost()
422         {
423             if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31)) Interop.ViewImplSignal.ViewImpl_OnKeyInputFocusLostSwigExplicitViewImpl(swigCPtr); else Interop.ViewImplSignal.ViewImpl_OnKeyInputFocusLost(swigCPtr);
424             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
425         }
426
427         public virtual View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
428         {
429             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);
430             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
431             return ret;
432         }
433
434         public virtual void OnFocusChangeCommitted(View commitedFocusableView)
435         {
436             if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33)) Interop.ViewImplSignal.ViewImpl_OnKeyboardFocusChangeCommittedSwigExplicitViewImpl(swigCPtr, View.getCPtr(commitedFocusableView)); else Interop.ViewImplSignal.ViewImpl_OnKeyboardFocusChangeCommitted(swigCPtr, View.getCPtr(commitedFocusableView));
437             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
438         }
439
440         public virtual bool OnKeyboardEnter()
441         {
442             bool ret = (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34) ? Interop.ViewImplSignal.ViewImpl_OnKeyboardEnterSwigExplicitViewImpl(swigCPtr) : Interop.ViewImplSignal.ViewImpl_OnKeyboardEnter(swigCPtr));
443             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
444             return ret;
445         }
446
447         public virtual void OnPinch(PinchGesture pinch)
448         {
449             if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35)) Interop.ViewImplSignal.ViewImpl_OnPinchSwigExplicitViewImpl(swigCPtr, PinchGesture.getCPtr(pinch)); else Interop.ViewImplSignal.ViewImpl_OnPinch(swigCPtr, PinchGesture.getCPtr(pinch));
450             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
451         }
452
453         public virtual void OnPan(PanGesture pan)
454         {
455             if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36)) Interop.ViewImplSignal.ViewImpl_OnPanSwigExplicitViewImpl(swigCPtr, PanGesture.getCPtr(pan)); else Interop.ViewImplSignal.ViewImpl_OnPan(swigCPtr, PanGesture.getCPtr(pan));
456             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
457         }
458
459         public virtual void OnTap(TapGesture tap)
460         {
461             if (SwigDerivedClassHasMethod("OnTap", swigMethodTypes37)) Interop.ViewImplSignal.ViewImpl_OnTapSwigExplicitViewImpl(swigCPtr, TapGesture.getCPtr(tap)); else Interop.ViewImplSignal.ViewImpl_OnTap(swigCPtr, TapGesture.getCPtr(tap));
462             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
463         }
464
465         public virtual void OnLongPress(LongPressGesture longPress)
466         {
467             if (SwigDerivedClassHasMethod("OnLongPress", swigMethodTypes38)) Interop.ViewImplSignal.ViewImpl_OnLongPressSwigExplicitViewImpl(swigCPtr, LongPressGesture.getCPtr(longPress)); else Interop.ViewImplSignal.ViewImpl_OnLongPress(swigCPtr, LongPressGesture.getCPtr(longPress));
468             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
469         }
470
471         internal virtual void SignalConnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)
472         {
473             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));
474             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
475         }
476
477         internal virtual void SignalDisconnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)
478         {
479             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));
480             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
481         }
482
483         private void SwigDirectorConnect()
484         {
485             if (SwigDerivedClassHasMethod("OnSceneConnection", swigMethodTypes0))
486                 swigDelegate0 = new SwigDelegateViewImpl_0(SwigDirectorOnSceneConnection);
487             if (SwigDerivedClassHasMethod("OnSceneDisconnection", swigMethodTypes1))
488                 swigDelegate1 = new SwigDelegateViewImpl_1(SwigDirectorOnSceneDisconnection);
489             if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2))
490                 swigDelegate2 = new SwigDelegateViewImpl_2(SwigDirectorOnChildAdd);
491             if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3))
492                 swigDelegate3 = new SwigDelegateViewImpl_3(SwigDirectorOnChildRemove);
493             if (SwigDerivedClassHasMethod("OnPropertySet", swigMethodTypes4))
494                 swigDelegate4 = new SwigDelegateViewImpl_4(SwigDirectorOnPropertySet);
495             if (SwigDerivedClassHasMethod("OnSizeSet", swigMethodTypes5))
496                 swigDelegate5 = new SwigDelegateViewImpl_5(SwigDirectorOnSizeSet);
497             if (SwigDerivedClassHasMethod("OnSizeAnimation", swigMethodTypes6))
498                 swigDelegate6 = new SwigDelegateViewImpl_6(SwigDirectorOnSizeAnimation);
499             if (SwigDerivedClassHasMethod("OnTouchEvent", swigMethodTypes7))
500                 swigDelegate7 = new SwigDelegateViewImpl_7(SwigDirectorOnTouchEvent);
501             if (SwigDerivedClassHasMethod("OnHoverEvent", swigMethodTypes8))
502                 swigDelegate8 = new SwigDelegateViewImpl_8(SwigDirectorOnHoverEvent);
503             if (SwigDerivedClassHasMethod("OnKeyEvent", swigMethodTypes9))
504                 swigDelegate9 = new SwigDelegateViewImpl_9(SwigDirectorOnKeyEvent);
505             if (SwigDerivedClassHasMethod("OnWheelEvent", swigMethodTypes10))
506                 swigDelegate10 = new SwigDelegateViewImpl_10(SwigDirectorOnWheelEvent);
507             if (SwigDerivedClassHasMethod("OnRelayout", swigMethodTypes11))
508                 swigDelegate11 = new SwigDelegateViewImpl_11(SwigDirectorOnRelayout);
509             if (SwigDerivedClassHasMethod("OnSetResizePolicy", swigMethodTypes12))
510                 swigDelegate12 = new SwigDelegateViewImpl_12(SwigDirectorOnSetResizePolicy);
511             if (SwigDerivedClassHasMethod("GetNaturalSize", swigMethodTypes13))
512                 swigDelegate13 = new SwigDelegateViewImpl_13(SwigDirectorGetNaturalSize);
513             if (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14))
514                 swigDelegate14 = new SwigDelegateViewImpl_14(SwigDirectorCalculateChildSize);
515             if (SwigDerivedClassHasMethod("GetHeightForWidth", swigMethodTypes15))
516                 swigDelegate15 = new SwigDelegateViewImpl_15(SwigDirectorGetHeightForWidth);
517             if (SwigDerivedClassHasMethod("GetWidthForHeight", swigMethodTypes16))
518                 swigDelegate16 = new SwigDelegateViewImpl_16(SwigDirectorGetWidthForHeight);
519             if (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes17))
520                 swigDelegate17 = new SwigDelegateViewImpl_17(SwigDirectorRelayoutDependentOnChildren__SWIG_0);
521             if (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes18))
522                 swigDelegate18 = new SwigDelegateViewImpl_18(SwigDirectorRelayoutDependentOnChildren__SWIG_1);
523             if (SwigDerivedClassHasMethod("OnCalculateRelayoutSize", swigMethodTypes19))
524                 swigDelegate19 = new SwigDelegateViewImpl_19(SwigDirectorOnCalculateRelayoutSize);
525             if (SwigDerivedClassHasMethod("OnLayoutNegotiated", swigMethodTypes20))
526                 swigDelegate20 = new SwigDelegateViewImpl_20(SwigDirectorOnLayoutNegotiated);
527             if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21))
528                 swigDelegate21 = new SwigDelegateViewImpl_21(SwigDirectorOnInitialize);
529             if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24))
530                 swigDelegate24 = new SwigDelegateViewImpl_24(SwigDirectorOnStyleChange);
531             if (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25))
532                 swigDelegate25 = new SwigDelegateViewImpl_25(SwigDirectorOnAccessibilityActivated);
533             if (SwigDerivedClassHasMethod("OnAccessibilityPan", swigMethodTypes26))
534                 swigDelegate26 = new SwigDelegateViewImpl_26(SwigDirectorOnAccessibilityPan);
535             if (SwigDerivedClassHasMethod("OnAccessibilityTouch", swigMethodTypes27))
536                 swigDelegate27 = new SwigDelegateViewImpl_27(SwigDirectorOnAccessibilityTouch);
537             if (SwigDerivedClassHasMethod("OnAccessibilityValueChange", swigMethodTypes28))
538                 swigDelegate28 = new SwigDelegateViewImpl_28(SwigDirectorOnAccessibilityValueChange);
539             if (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29))
540                 swigDelegate29 = new SwigDelegateViewImpl_29(SwigDirectorOnAccessibilityZoom);
541             if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30))
542                 swigDelegate30 = new SwigDelegateViewImpl_30(SwigDirectorOnKeyInputFocusGained);
543             if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31))
544                 swigDelegate31 = new SwigDelegateViewImpl_31(SwigDirectorOnKeyInputFocusLost);
545             if (SwigDerivedClassHasMethod("GetNextFocusableView", swigMethodTypes32))
546                 swigDelegate32 = new SwigDelegateViewImpl_32(SwigDirectorGetNextKeyboardFocusableView);
547             if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33))
548                 swigDelegate33 = new SwigDelegateViewImpl_33(SwigDirectorOnKeyboardFocusChangeCommitted);
549             if (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34))
550                 swigDelegate34 = new SwigDelegateViewImpl_34(SwigDirectorOnKeyboardEnter);
551             if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35))
552                 swigDelegate35 = new SwigDelegateViewImpl_35(SwigDirectorOnPinch);
553             if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36))
554                 swigDelegate36 = new SwigDelegateViewImpl_36(SwigDirectorOnPan);
555             if (SwigDerivedClassHasMethod("OnTap", swigMethodTypes37))
556                 swigDelegate37 = new SwigDelegateViewImpl_37(SwigDirectorOnTap);
557             if (SwigDerivedClassHasMethod("OnLongPress", swigMethodTypes38))
558                 swigDelegate38 = new SwigDelegateViewImpl_38(SwigDirectorOnLongPress);
559             if (SwigDerivedClassHasMethod("SignalConnected", swigMethodTypes39))
560                 swigDelegate39 = new SwigDelegateViewImpl_39(SwigDirectorSignalConnected);
561             if (SwigDerivedClassHasMethod("SignalDisconnected", swigMethodTypes40))
562                 swigDelegate40 = new SwigDelegateViewImpl_40(SwigDirectorSignalDisconnected);
563             Interop.ViewImpl.ViewImpl_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate24, swigDelegate25, swigDelegate26, swigDelegate27, swigDelegate28, swigDelegate29, swigDelegate30, swigDelegate31, swigDelegate32, swigDelegate33, swigDelegate34, swigDelegate35, swigDelegate36, swigDelegate37, swigDelegate38, swigDelegate39, swigDelegate40);
564         }
565
566
567         private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)
568         {
569             global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes);
570             bool hasDerivedMethod = this.GetType().GetTypeInfo().IsSubclassOf(typeof(ViewImpl));
571
572             NUILog.Debug("hasDerivedMethod=" + hasDerivedMethod);
573
574             return hasDerivedMethod && (methodInfo != null);
575         }
576
577         private void SwigDirectorOnSceneConnection(int depth)
578         {
579             OnSceneConnection(depth);
580         }
581
582         private void SwigDirectorOnSceneDisconnection()
583         {
584             OnSceneDisconnection();
585         }
586
587         private void SwigDirectorOnChildAdd(global::System.IntPtr child)
588         {
589             View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
590
591             if (view)
592             {
593                 OnChildAdd(view);
594             }
595         }
596
597         private void SwigDirectorOnChildRemove(global::System.IntPtr child)
598         {
599             View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
600
601             if (view)
602             {
603                 OnChildRemove(view);
604             }
605         }
606
607         private void SwigDirectorOnPropertySet(int index, global::System.IntPtr propertyValue)
608         {
609             OnPropertySet(index, new PropertyValue(propertyValue, true));
610         }
611
612         private void SwigDirectorOnSizeSet(global::System.IntPtr targetSize)
613         {
614             OnSizeSet(new Vector3(targetSize, false));
615         }
616
617         private void SwigDirectorOnSizeAnimation(global::System.IntPtr animation, global::System.IntPtr targetSize)
618         {
619             OnSizeAnimation(new Animation(animation, false), new Vector3(targetSize, false));
620         }
621
622         private bool SwigDirectorOnTouchEvent(global::System.IntPtr arg0)
623         {
624             return OnTouchEvent(new SWIGTYPE_p_Dali__TouchEvent(arg0, false));
625         }
626
627         private bool SwigDirectorOnHoverEvent(global::System.IntPtr arg0)
628         {
629             return OnHoverEvent(new Hover(arg0, false));
630         }
631
632         private bool SwigDirectorOnKeyEvent(global::System.IntPtr arg0)
633         {
634             return OnKeyEvent(new Key(arg0, false));
635         }
636
637         private bool SwigDirectorOnWheelEvent(global::System.IntPtr arg0)
638         {
639             return OnWheelEvent(new Wheel(arg0, false));
640         }
641
642         private void SwigDirectorOnRelayout(global::System.IntPtr size, global::System.IntPtr container)
643         {
644             OnRelayout(new Vector2(size, false), new RelayoutContainer(container, false));
645         }
646
647         private void SwigDirectorOnSetResizePolicy(int policy, int dimension)
648         {
649             OnSetResizePolicy((ResizePolicyType)policy, (DimensionType)dimension);
650         }
651
652         private global::System.IntPtr SwigDirectorGetNaturalSize()
653         {
654             return Vector3.getCPtr(GetNaturalSize()).Handle;
655         }
656
657         private float SwigDirectorCalculateChildSize(global::System.IntPtr child, int dimension)
658         {
659             View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
660             if (view)
661             {
662                 return CalculateChildSize(view, (DimensionType)dimension);
663             }
664             return 0.0f;
665         }
666
667         private float SwigDirectorGetHeightForWidth(float width)
668         {
669             return GetHeightForWidth(width);
670         }
671
672         private float SwigDirectorGetWidthForHeight(float height)
673         {
674             return GetWidthForHeight(height);
675         }
676
677         private bool SwigDirectorRelayoutDependentOnChildren__SWIG_0(int dimension)
678         {
679             return RelayoutDependentOnChildren((DimensionType)dimension);
680         }
681
682         private bool SwigDirectorRelayoutDependentOnChildren__SWIG_1()
683         {
684             return RelayoutDependentOnChildren();
685         }
686
687         private void SwigDirectorOnCalculateRelayoutSize(int dimension)
688         {
689             OnCalculateRelayoutSize((DimensionType)dimension);
690         }
691
692         private void SwigDirectorOnLayoutNegotiated(float size, int dimension)
693         {
694             OnLayoutNegotiated(size, (DimensionType)dimension);
695         }
696
697         private void SwigDirectorOnInitialize()
698         {
699             OnInitialize();
700         }
701
702         private void SwigDirectorOnStyleChange(global::System.IntPtr styleManager, int change)
703         {
704             StyleManager stManager = Registry.GetManagedBaseHandleFromNativePtr(styleManager) as StyleManager;
705             if (stManager)
706             {
707                 OnStyleChange(stManager, (StyleChangeType)change);
708             }
709         }
710
711         private bool SwigDirectorOnAccessibilityActivated()
712         {
713             return OnAccessibilityActivated();
714         }
715
716         private bool SwigDirectorOnAccessibilityPan(global::System.IntPtr gesture)
717         {
718             return OnAccessibilityPan(new PanGesture(gesture, true));
719         }
720
721         private bool SwigDirectorOnAccessibilityTouch(global::System.IntPtr touchEvent)
722         {
723             return OnAccessibilityTouch(new SWIGTYPE_p_Dali__TouchEvent(touchEvent, false));
724         }
725
726         private bool SwigDirectorOnAccessibilityValueChange(bool isIncrease)
727         {
728             return OnAccessibilityValueChange(isIncrease);
729         }
730
731         private bool SwigDirectorOnAccessibilityZoom()
732         {
733             return OnAccessibilityZoom();
734         }
735
736         private void SwigDirectorOnKeyInputFocusGained()
737         {
738             OnKeyInputFocusGained();
739         }
740
741         private void SwigDirectorOnKeyInputFocusLost()
742         {
743             OnKeyInputFocusLost();
744         }
745
746         private global::System.IntPtr SwigDirectorGetNextKeyboardFocusableView(global::System.IntPtr currentFocusedView, int direction, bool loopEnabled)
747         {
748             return View.getCPtr(GetNextFocusableView(Registry.GetManagedBaseHandleFromNativePtr(currentFocusedView) as View, (View.FocusDirection)direction, loopEnabled)).Handle;
749         }
750
751         private void SwigDirectorOnKeyboardFocusChangeCommitted(global::System.IntPtr commitedFocusableView)
752         {
753             OnFocusChangeCommitted(Registry.GetManagedBaseHandleFromNativePtr(commitedFocusableView) as View);
754         }
755
756         private bool SwigDirectorOnKeyboardEnter()
757         {
758             return OnKeyboardEnter();
759         }
760
761         private void SwigDirectorOnPinch(global::System.IntPtr pinch)
762         {
763             OnPinch(new PinchGesture(pinch, false));
764         }
765
766         private void SwigDirectorOnPan(global::System.IntPtr pan)
767         {
768             OnPan(new PanGesture(pan, false));
769         }
770
771         private void SwigDirectorOnTap(global::System.IntPtr tap)
772         {
773             OnTap(new TapGesture(tap, false));
774         }
775
776         private void SwigDirectorOnLongPress(global::System.IntPtr longPress)
777         {
778             OnLongPress(new LongPressGesture(longPress, false));
779         }
780
781         private void SwigDirectorSignalConnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)
782         {
783             SignalConnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));
784         }
785
786         private void SwigDirectorSignalDisconnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)
787         {
788             SignalDisconnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));
789         }
790
791         /// <since_tizen> 3 </since_tizen>
792         public delegate void SwigDelegateViewImpl_0(int depth);
793         /// <since_tizen> 3 </since_tizen>
794         public delegate void SwigDelegateViewImpl_1();
795         /// <since_tizen> 3 </since_tizen>
796         public delegate void SwigDelegateViewImpl_2(global::System.IntPtr child);
797         /// <since_tizen> 3 </since_tizen>
798         public delegate void SwigDelegateViewImpl_3(global::System.IntPtr child);
799         /// <since_tizen> 3 </since_tizen>
800         public delegate void SwigDelegateViewImpl_4(int index, global::System.IntPtr propertyValue);
801         /// <since_tizen> 3 </since_tizen>
802         public delegate void SwigDelegateViewImpl_5(global::System.IntPtr targetSize);
803         /// <since_tizen> 3 </since_tizen>
804         public delegate void SwigDelegateViewImpl_6(global::System.IntPtr animation, global::System.IntPtr targetSize);
805         /// <since_tizen> 3 </since_tizen>
806         public delegate bool SwigDelegateViewImpl_7(global::System.IntPtr arg0);
807         /// <since_tizen> 3 </since_tizen>
808         public delegate bool SwigDelegateViewImpl_8(global::System.IntPtr arg0);
809         /// <since_tizen> 3 </since_tizen>
810         public delegate bool SwigDelegateViewImpl_9(global::System.IntPtr arg0);
811         /// <since_tizen> 3 </since_tizen>
812         public delegate bool SwigDelegateViewImpl_10(global::System.IntPtr arg0);
813         /// <since_tizen> 3 </since_tizen>
814         public delegate void SwigDelegateViewImpl_11(global::System.IntPtr size, global::System.IntPtr container);
815         /// <since_tizen> 3 </since_tizen>
816         public delegate void SwigDelegateViewImpl_12(int policy, int dimension);
817         /// <since_tizen> 3 </since_tizen>
818         public delegate global::System.IntPtr SwigDelegateViewImpl_13();
819         /// <since_tizen> 3 </since_tizen>
820         public delegate float SwigDelegateViewImpl_14(global::System.IntPtr child, int dimension);
821         /// <since_tizen> 3 </since_tizen>
822         public delegate float SwigDelegateViewImpl_15(float width);
823         /// <since_tizen> 3 </since_tizen>
824         public delegate float SwigDelegateViewImpl_16(float height);
825         /// <since_tizen> 3 </since_tizen>
826         public delegate bool SwigDelegateViewImpl_17(int dimension);
827         /// <since_tizen> 3 </since_tizen>
828         public delegate bool SwigDelegateViewImpl_18();
829         /// <since_tizen> 3 </since_tizen>
830         public delegate void SwigDelegateViewImpl_19(int dimension);
831         /// <since_tizen> 3 </since_tizen>
832         public delegate void SwigDelegateViewImpl_20(float size, int dimension);
833         /// <since_tizen> 3 </since_tizen>
834         public delegate void SwigDelegateViewImpl_21();
835         /// <since_tizen> 3 </since_tizen>
836         public delegate void SwigDelegateViewImpl_22(global::System.IntPtr child);
837         /// <since_tizen> 3 </since_tizen>
838         public delegate void SwigDelegateViewImpl_23(global::System.IntPtr child);
839         /// <since_tizen> 3 </since_tizen>
840         public delegate void SwigDelegateViewImpl_24(global::System.IntPtr styleManager, int change);
841         /// <since_tizen> 3 </since_tizen>
842         public delegate bool SwigDelegateViewImpl_25();
843         /// <since_tizen> 3 </since_tizen>
844         public delegate bool SwigDelegateViewImpl_26(global::System.IntPtr gesture);
845         /// <since_tizen> 3 </since_tizen>
846         public delegate bool SwigDelegateViewImpl_27(global::System.IntPtr touchEvent);
847         /// <since_tizen> 3 </since_tizen>
848         public delegate bool SwigDelegateViewImpl_28(bool isIncrease);
849         /// <since_tizen> 3 </since_tizen>
850         public delegate bool SwigDelegateViewImpl_29();
851         /// <since_tizen> 3 </since_tizen>
852         public delegate void SwigDelegateViewImpl_30();
853         /// <since_tizen> 3 </since_tizen>
854         public delegate void SwigDelegateViewImpl_31();
855         /// <since_tizen> 3 </since_tizen>
856         public delegate global::System.IntPtr SwigDelegateViewImpl_32(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled);
857         /// <since_tizen> 3 </since_tizen>
858         public delegate void SwigDelegateViewImpl_33(global::System.IntPtr commitedFocusableActor);
859         /// <since_tizen> 3 </since_tizen>
860         public delegate bool SwigDelegateViewImpl_34();
861         /// <since_tizen> 3 </since_tizen>
862         public delegate void SwigDelegateViewImpl_35(global::System.IntPtr pinch);
863         /// <since_tizen> 3 </since_tizen>
864         public delegate void SwigDelegateViewImpl_36(global::System.IntPtr pan);
865         /// <since_tizen> 3 </since_tizen>
866         public delegate void SwigDelegateViewImpl_37(global::System.IntPtr tap);
867         /// <since_tizen> 3 </since_tizen>
868         public delegate void SwigDelegateViewImpl_38(global::System.IntPtr longPress);
869         /// <since_tizen> 3 </since_tizen>
870         public delegate void SwigDelegateViewImpl_39(global::System.IntPtr slotObserver, global::System.IntPtr callback);
871         /// <since_tizen> 3 </since_tizen>
872         public delegate void SwigDelegateViewImpl_40(global::System.IntPtr slotObserver, global::System.IntPtr callback);
873
874         private SwigDelegateViewImpl_0 swigDelegate0;
875         private SwigDelegateViewImpl_1 swigDelegate1;
876         private SwigDelegateViewImpl_2 swigDelegate2;
877         private SwigDelegateViewImpl_3 swigDelegate3;
878         private SwigDelegateViewImpl_4 swigDelegate4;
879         private SwigDelegateViewImpl_5 swigDelegate5;
880         private SwigDelegateViewImpl_6 swigDelegate6;
881         private SwigDelegateViewImpl_7 swigDelegate7;
882         private SwigDelegateViewImpl_8 swigDelegate8;
883         private SwigDelegateViewImpl_9 swigDelegate9;
884         private SwigDelegateViewImpl_10 swigDelegate10;
885         private SwigDelegateViewImpl_11 swigDelegate11;
886         private SwigDelegateViewImpl_12 swigDelegate12;
887         private SwigDelegateViewImpl_13 swigDelegate13;
888         private SwigDelegateViewImpl_14 swigDelegate14;
889         private SwigDelegateViewImpl_15 swigDelegate15;
890         private SwigDelegateViewImpl_16 swigDelegate16;
891         private SwigDelegateViewImpl_17 swigDelegate17;
892         private SwigDelegateViewImpl_18 swigDelegate18;
893         private SwigDelegateViewImpl_19 swigDelegate19;
894         private SwigDelegateViewImpl_20 swigDelegate20;
895         private SwigDelegateViewImpl_21 swigDelegate21;
896         private SwigDelegateViewImpl_22 swigDelegate22;
897         private SwigDelegateViewImpl_23 swigDelegate23;
898         private SwigDelegateViewImpl_24 swigDelegate24;
899         private SwigDelegateViewImpl_25 swigDelegate25;
900         private SwigDelegateViewImpl_26 swigDelegate26;
901         private SwigDelegateViewImpl_27 swigDelegate27;
902         private SwigDelegateViewImpl_28 swigDelegate28;
903         private SwigDelegateViewImpl_29 swigDelegate29;
904         private SwigDelegateViewImpl_30 swigDelegate30;
905         private SwigDelegateViewImpl_31 swigDelegate31;
906         private SwigDelegateViewImpl_32 swigDelegate32;
907         private SwigDelegateViewImpl_33 swigDelegate33;
908         private SwigDelegateViewImpl_34 swigDelegate34;
909         private SwigDelegateViewImpl_35 swigDelegate35;
910         private SwigDelegateViewImpl_36 swigDelegate36;
911         private SwigDelegateViewImpl_37 swigDelegate37;
912         private SwigDelegateViewImpl_38 swigDelegate38;
913         private SwigDelegateViewImpl_39 swigDelegate39;
914         private SwigDelegateViewImpl_40 swigDelegate40;
915
916         private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(int) };
917         private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
918         private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(View) };
919         private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { typeof(View) };
920         private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(int), typeof(PropertyValue) };
921         private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(Vector3) };
922         private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Animation), typeof(Vector3) };
923         private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(SWIGTYPE_p_Dali__TouchEvent) };
924         private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(Hover) };
925         private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { typeof(Key) };
926         private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { typeof(Wheel) };
927         private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { typeof(Vector2), typeof(RelayoutContainer) };
928         private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { typeof(ResizePolicyType), typeof(DimensionType) };
929         private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
930         private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { typeof(View), typeof(DimensionType) };
931         private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { typeof(float) };
932         private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { typeof(float) };
933         private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(DimensionType) };
934         private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { };
935         private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { typeof(DimensionType) };
936         private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { typeof(float), typeof(DimensionType) };
937         private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
938         private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { typeof(View) };
939         private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(View) };
940         private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { typeof(StyleManager), typeof(StyleChangeType) };
941         private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };
942         private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { typeof(PanGesture) };
943         private static global::System.Type[] swigMethodTypes27 = new global::System.Type[] { typeof(SWIGTYPE_p_Dali__TouchEvent) };
944         private static global::System.Type[] swigMethodTypes28 = new global::System.Type[] { typeof(bool) };
945         private static global::System.Type[] swigMethodTypes29 = new global::System.Type[] { };
946         private static global::System.Type[] swigMethodTypes30 = new global::System.Type[] { };
947         private static global::System.Type[] swigMethodTypes31 = new global::System.Type[] { };
948         private static global::System.Type[] swigMethodTypes32 = new global::System.Type[] { typeof(View), typeof(View.FocusDirection), typeof(bool) };
949         private static global::System.Type[] swigMethodTypes33 = new global::System.Type[] { typeof(View) };
950         private static global::System.Type[] swigMethodTypes34 = new global::System.Type[] { };
951         private static global::System.Type[] swigMethodTypes35 = new global::System.Type[] { typeof(PinchGesture) };
952         private static global::System.Type[] swigMethodTypes36 = new global::System.Type[] { typeof(PanGesture) };
953         private static global::System.Type[] swigMethodTypes37 = new global::System.Type[] { typeof(TapGesture) };
954         private static global::System.Type[] swigMethodTypes38 = new global::System.Type[] { typeof(LongPressGesture) };
955         private static global::System.Type[] swigMethodTypes39 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
956         private static global::System.Type[] swigMethodTypes40 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
957     }
958 }