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