sync with devel/master branch
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / ViewWrapperImpl.cs
1 /*
2  * Copyright (c) 2016 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 using Tizen.NUI.BaseComponents;
18 namespace Tizen.NUI
19 {
20     public sealed class ViewWrapperImpl : ViewImpl
21     {
22         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
23         public delegate void OnStageConnectionDelegate(int depth);
24         public delegate void OnStageDisconnectionDelegate();
25         public delegate void OnChildAddDelegate(View view);
26         public delegate void OnChildRemoveDelegate(View view);
27         public delegate void OnPropertySetDelegate(int index, PropertyValue propertyValue);
28         public delegate void OnSizeSetDelegate(Vector3 targetSize);
29         public delegate void OnSizeAnimationDelegate(Animation animation, Vector3 targetSize);
30         public delegate bool OnTouchDelegate(Touch touch);
31         public delegate bool OnHoverDelegate(Hover hover);
32         public delegate bool OnKeyDelegate(Key key);
33         public delegate bool OnWheelDelegate(Wheel wheel);
34         public delegate void OnRelayoutDelegate(Vector2 size, RelayoutContainer container);
35         public delegate void OnSetResizePolicyDelegate(ResizePolicyType policy, DimensionType dimension);
36         public delegate Size GetNaturalSizeDelegate();
37         public delegate float CalculateChildSizeDelegate(View child, DimensionType dimension);
38         public delegate float GetHeightForWidthDelegate(float width);
39         public delegate float GetWidthForHeightDelegate(float height);
40         public delegate bool RelayoutDependentOnChildrenDimensionDelegate(DimensionType dimension);
41         public delegate bool RelayoutDependentOnChildrenDelegate();
42         public delegate void OnCalculateRelayoutSizeDelegate(DimensionType dimension);
43         public delegate void OnLayoutNegotiatedDelegate(float size, DimensionType dimension);
44         public delegate void OnControlChildAddDelegate(View child);
45         public delegate void OnControlChildRemoveDelegate(View child);
46         public delegate void OnStyleChangeDelegate(StyleManager styleManager, StyleChangeType change);
47         public delegate bool OnAccessibilityActivatedDelegate();
48         public delegate bool OnAccessibilityPanDelegate(PanGesture gestures);
49         public delegate bool OnAccessibilityTouchDelegate(Touch touch);
50         public delegate bool OnAccessibilityValueChangeDelegate(bool isIncrease);
51         public delegate bool OnAccessibilityZoomDelegate();
52         public delegate void OnFocusGainedDelegate();
53         public delegate void OnFocusLostDelegate();
54         public delegate View GetNextFocusableViewDelegate(View currentFocusedView, View.FocusDirection direction, bool loopEnabled);
55         public delegate void OnFocusChangeCommittedDelegate(View commitedFocusableView);
56         public delegate bool OnKeyboardEnterDelegate();
57         public delegate void OnPinchDelegate(PinchGesture pinch);
58         public delegate void OnPanDelegate(PanGesture pan);
59         public delegate void OnTapDelegate(TapGesture tap);
60         public delegate void OnLongPressDelegate(LongPressGesture longPress);
61
62         public OnStageConnectionDelegate OnStageConnection;
63         public OnStageDisconnectionDelegate OnStageDisconnection;
64         public OnChildAddDelegate OnChildAdd;
65         public OnChildRemoveDelegate OnChildRemove;
66         public OnPropertySetDelegate OnPropertySet;
67         public OnSizeSetDelegate OnSizeSet;
68         public OnSizeAnimationDelegate OnSizeAnimation;
69         public OnTouchDelegate OnTouch;
70         public OnHoverDelegate OnHover;
71         public OnKeyDelegate OnKey;
72         public OnWheelDelegate OnWheel;
73         public OnRelayoutDelegate OnRelayout;
74         public OnSetResizePolicyDelegate OnSetResizePolicy;
75         public GetNaturalSizeDelegate GetNaturalSize;
76         public CalculateChildSizeDelegate CalculateChildSize;
77         public GetHeightForWidthDelegate GetHeightForWidth;
78         public GetWidthForHeightDelegate GetWidthForHeight;
79         public RelayoutDependentOnChildrenDimensionDelegate RelayoutDependentOnChildrenDimension;
80         public RelayoutDependentOnChildrenDelegate RelayoutDependentOnChildren;
81         public OnCalculateRelayoutSizeDelegate OnCalculateRelayoutSize;
82         public OnLayoutNegotiatedDelegate OnLayoutNegotiated;
83         public OnControlChildAddDelegate OnControlChildAdd;
84         public OnControlChildRemoveDelegate OnControlChildRemove;
85         public OnStyleChangeDelegate OnStyleChange;
86         public OnAccessibilityActivatedDelegate OnAccessibilityActivated;
87         public OnAccessibilityPanDelegate OnAccessibilityPan;
88         public OnAccessibilityTouchDelegate OnAccessibilityTouch;
89         public OnAccessibilityValueChangeDelegate OnAccessibilityValueChange;
90         public OnAccessibilityZoomDelegate OnAccessibilityZoom;
91         public OnFocusGainedDelegate OnFocusGained;
92         public OnFocusLostDelegate OnFocusLost;
93         public GetNextFocusableViewDelegate GetNextFocusableView;
94         public OnFocusChangeCommittedDelegate OnFocusChangeCommitted;
95         public OnKeyboardEnterDelegate OnKeyboardEnter;
96         public OnPinchDelegate OnPinch;
97         public OnPanDelegate OnPan;
98         public OnTapDelegate OnTap;
99         public OnLongPressDelegate OnLongPress;
100
101         internal ViewWrapperImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.ViewWrapperImpl_SWIGUpcast(cPtr), cMemoryOwn)
102         {
103             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
104         }
105
106         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewWrapperImpl obj)
107         {
108             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
109         }
110
111         protected override void Dispose(DisposeTypes type)
112         {
113             if (disposed)
114             {
115                 return;
116             }
117
118             if (type == DisposeTypes.Explicit)
119             {
120                 //Called by User
121                 //Release your own managed resources here.
122                 //You should release all of your own disposable objects here.
123
124             }
125
126             //Release your own unmanaged resources here.
127             //You should not access any managed member here except static instance.
128             //because the execution order of Finalizes is non-deterministic.
129
130             if (swigCPtr.Handle != global::System.IntPtr.Zero)
131             {
132                 if (swigCMemOwn)
133                 {
134                     swigCMemOwn = false;
135                     NDalicManualPINVOKE.delete_ViewWrapperImpl(swigCPtr);
136                 }
137                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
138             }
139
140             base.Dispose(type);
141         }
142
143         public ViewWrapperImpl(CustomViewBehaviour behaviourFlags) : this(NDalicManualPINVOKE.new_ViewWrapperImpl((int)behaviourFlags), true)
144         {
145             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
146             DirectorConnect();
147         }
148
149         public static ViewWrapper New(string typeName, ViewWrapperImpl viewWrapper)
150         {
151             ViewWrapper ret = new ViewWrapper(NDalicManualPINVOKE.ViewWrapperImpl_New(typeName, ViewWrapperImpl.getCPtr(viewWrapper)), true);
152             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
153             return ret;
154         }
155
156         public void RelayoutRequest()
157         {
158             NDalicManualPINVOKE.ViewWrapperImpl_RelayoutRequest(swigCPtr);
159             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
160         }
161
162         public float GetHeightForWidthBase(float width)
163         {
164             float ret = NDalicManualPINVOKE.ViewWrapperImpl_GetHeightForWidthBase(swigCPtr, width);
165             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
166             return ret;
167         }
168
169         public float GetWidthForHeightBase(float height)
170         {
171             float ret = NDalicManualPINVOKE.ViewWrapperImpl_GetWidthForHeightBase(swigCPtr, height);
172             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
173             return ret;
174         }
175
176         public float CalculateChildSizeBase(View child, DimensionType dimension)
177         {
178             float ret = NDalicManualPINVOKE.ViewWrapperImpl_CalculateChildSizeBase(swigCPtr, View.getCPtr(child), (int)dimension);
179             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
180             return ret;
181         }
182
183         public bool RelayoutDependentOnChildrenBase(DimensionType dimension)
184         {
185             bool ret = NDalicManualPINVOKE.ViewWrapperImpl_RelayoutDependentOnChildrenBase__SWIG_0(swigCPtr, (int)dimension);
186             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
187             return ret;
188         }
189
190         public bool RelayoutDependentOnChildrenBase()
191         {
192             bool ret = NDalicManualPINVOKE.ViewWrapperImpl_RelayoutDependentOnChildrenBase__SWIG_1(swigCPtr);
193             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
194             return ret;
195         }
196
197         public void RegisterVisual(int index, VisualBase visual)
198         {
199             NDalicManualPINVOKE.ViewWrapperImpl_RegisterVisual__SWIG_0(swigCPtr, index, VisualBase.getCPtr(visual));
200             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
201         }
202
203         public void RegisterVisual(int index, VisualBase visual, bool enabled)
204         {
205             NDalicManualPINVOKE.ViewWrapperImpl_RegisterVisual__SWIG_1(swigCPtr, index, VisualBase.getCPtr(visual), enabled);
206             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
207         }
208
209         public void UnregisterVisual(int index)
210         {
211             NDalicManualPINVOKE.ViewWrapperImpl_UnregisterVisual(swigCPtr, index);
212             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
213         }
214
215         public VisualBase GetVisual(int index)
216         {
217             VisualBase ret = new VisualBase(NDalicManualPINVOKE.ViewWrapperImpl_GetVisual(swigCPtr, index), true);
218             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
219             return ret;
220         }
221
222         public void EnableVisual(int index, bool enable)
223         {
224             NDalicManualPINVOKE.ViewWrapperImpl_EnableVisual(swigCPtr, index, enable);
225             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
226         }
227
228         public bool IsVisualEnabled(int index)
229         {
230             bool ret = NDalicManualPINVOKE.ViewWrapperImpl_IsVisualEnabled(swigCPtr, index);
231             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
232             return ret;
233         }
234
235         public Animation CreateTransition(TransitionData transitionData)
236         {
237             Animation ret = new Animation(NDalicManualPINVOKE.ViewWrapperImpl_CreateTransition(swigCPtr, TransitionData.getCPtr(transitionData)), true);
238             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
239             return ret;
240         }
241
242         public void EmitFocusSignal(bool focusGained)
243         {
244             NDalicManualPINVOKE.ViewWrapperImpl_EmitKeyInputFocusSignal(swigCPtr, focusGained);
245             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
246         }
247
248         public void ApplyThemeStyle()
249         {
250             NDalicManualPINVOKE.ViewWrapperImpl_ApplyThemeStyle(swigCPtr);
251             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
252         }
253
254         private void DirectorConnect()
255         {
256             Delegate0 = new DelegateViewWrapperImpl_0(DirectorOnStageConnection);
257             Delegate1 = new DelegateViewWrapperImpl_1(DirectorOnStageDisconnection);
258             Delegate2 = new DelegateViewWrapperImpl_2(DirectorOnChildAdd);
259             Delegate3 = new DelegateViewWrapperImpl_3(DirectorOnChildRemove);
260             Delegate4 = new DelegateViewWrapperImpl_4(DirectorOnPropertySet);
261             Delegate5 = new DelegateViewWrapperImpl_5(DirectorOnSizeSet);
262             Delegate6 = new DelegateViewWrapperImpl_6(DirectorOnSizeAnimation);
263             Delegate7 = new DelegateViewWrapperImpl_7(DirectorOnTouch);
264             Delegate8 = new DelegateViewWrapperImpl_8(DirectorOnHover);
265             Delegate9 = new DelegateViewWrapperImpl_9(DirectorOnKey);
266             Delegate10 = new DelegateViewWrapperImpl_10(DirectorOnWheel);
267             Delegate11 = new DelegateViewWrapperImpl_11(DirectorOnRelayout);
268             Delegate12 = new DelegateViewWrapperImpl_12(DirectorOnSetResizePolicy);
269             Delegate13 = new DelegateViewWrapperImpl_13(DirectorGetNaturalSize);
270             Delegate14 = new DelegateViewWrapperImpl_14(DirectorCalculateChildSize);
271             Delegate15 = new DelegateViewWrapperImpl_15(DirectorGetHeightForWidth);
272             Delegate16 = new DelegateViewWrapperImpl_16(DirectorGetWidthForHeight);
273             Delegate17 = new DelegateViewWrapperImpl_17(DirectorRelayoutDependentOnChildren__SWIG_0);
274             Delegate18 = new DelegateViewWrapperImpl_18(DirectorRelayoutDependentOnChildren__SWIG_1);
275             Delegate19 = new DelegateViewWrapperImpl_19(DirectorOnCalculateRelayoutSize);
276             Delegate20 = new DelegateViewWrapperImpl_20(DirectorOnLayoutNegotiated);
277             Delegate21 = new DelegateViewWrapperImpl_21(DirectorOnInitialize);
278             Delegate22 = new DelegateViewWrapperImpl_22(DirectorOnControlChildAdd);
279             Delegate23 = new DelegateViewWrapperImpl_23(DirectorOnControlChildRemove);
280             Delegate24 = new DelegateViewWrapperImpl_24(DirectorOnStyleChange);
281             Delegate25 = new DelegateViewWrapperImpl_25(DirectorOnAccessibilityActivated);
282             Delegate26 = new DelegateViewWrapperImpl_26(DirectorOnAccessibilityPan);
283             Delegate27 = new DelegateViewWrapperImpl_27(DirectorOnAccessibilityTouch);
284             Delegate28 = new DelegateViewWrapperImpl_28(DirectorOnAccessibilityValueChange);
285             Delegate29 = new DelegateViewWrapperImpl_29(DirectorOnAccessibilityZoom);
286             Delegate30 = new DelegateViewWrapperImpl_30(DirectorOnFocusGained);
287             Delegate31 = new DelegateViewWrapperImpl_31(DirectorOnFocusLost);
288             Delegate32 = new DelegateViewWrapperImpl_32(DirectorGetNextFocusableActor);
289             Delegate33 = new DelegateViewWrapperImpl_33(DirectorOnFocusChangeCommitted);
290             Delegate34 = new DelegateViewWrapperImpl_34(DirectorOnKeyboardEnter);
291             Delegate35 = new DelegateViewWrapperImpl_35(DirectorOnPinch);
292             Delegate36 = new DelegateViewWrapperImpl_36(DirectorOnPan);
293             Delegate37 = new DelegateViewWrapperImpl_37(DirectorOnTap);
294             Delegate38 = new DelegateViewWrapperImpl_38(DirectorOnLongPress);
295             NDalicManualPINVOKE.ViewWrapperImpl_director_connect(swigCPtr, Delegate0, Delegate1, Delegate2, Delegate3, Delegate4, Delegate5, Delegate6, Delegate7, Delegate8, Delegate9, Delegate10, Delegate11, Delegate12, Delegate13, Delegate14, Delegate15, Delegate16, Delegate17, Delegate18, Delegate19, Delegate20, Delegate21, Delegate22, Delegate23, Delegate24, Delegate25, Delegate26, Delegate27, Delegate28, Delegate29, Delegate30, Delegate31, Delegate32, Delegate33, Delegate34, Delegate35, Delegate36, Delegate37, Delegate38, null, null);
296         }
297
298         private void DirectorOnStageConnection(int depth)
299         {
300             OnStageConnection(depth);
301         }
302
303         private void DirectorOnStageDisconnection()
304         {
305             OnStageDisconnection();
306         }
307
308         private void DirectorOnChildAdd(global::System.IntPtr child)
309         {
310             OnChildAdd(new View(child, false));
311         }
312
313         private void DirectorOnChildRemove(global::System.IntPtr child)
314         {
315             OnChildRemove(new View(child, false));
316         }
317
318         private void DirectorOnPropertySet(int index, global::System.IntPtr propertyValue)
319         {
320             if (OnPropertySet != null)
321             {
322                 OnPropertySet(index, new PropertyValue(propertyValue, true));
323             }
324         }
325
326         private void DirectorOnSizeSet(global::System.IntPtr targetSize)
327         {
328             OnSizeSet(new Vector3(targetSize, false));
329         }
330
331         private void DirectorOnSizeAnimation(global::System.IntPtr animation, global::System.IntPtr targetSize)
332         {
333             OnSizeAnimation(new Animation(animation, false), new Vector3(targetSize, false));
334         }
335
336         private bool DirectorOnTouch(global::System.IntPtr arg0)
337         {
338             return OnTouch(new Touch(arg0, false));
339         }
340
341         private bool DirectorOnHover(global::System.IntPtr arg0)
342         {
343             return OnHover(new Hover(arg0, false));
344         }
345
346         private bool DirectorOnKey(global::System.IntPtr arg0)
347         {
348             return OnKey(new Key(arg0, false));
349         }
350
351         private bool DirectorOnWheel(global::System.IntPtr arg0)
352         {
353             return OnWheel(new Wheel(arg0, false));
354         }
355
356         private void DirectorOnRelayout(global::System.IntPtr size, global::System.IntPtr container)
357         {
358             OnRelayout(new Vector2(size, false), new RelayoutContainer(container, false));
359         }
360
361         private void DirectorOnSetResizePolicy(int policy, int dimension)
362         {
363             OnSetResizePolicy((ResizePolicyType)policy, (DimensionType)dimension);
364         }
365
366         private global::System.IntPtr DirectorGetNaturalSize()
367         {
368             return Size.getCPtr(GetNaturalSize()).Handle;
369         }
370
371         private float DirectorCalculateChildSize(global::System.IntPtr child, int dimension)
372         {
373             return CalculateChildSize(new View(child, false), (DimensionType)dimension);
374         }
375
376         private float DirectorGetHeightForWidth(float width)
377         {
378             return GetHeightForWidth(width);
379         }
380
381         private float DirectorGetWidthForHeight(float height)
382         {
383             return GetWidthForHeight(height);
384         }
385
386         private bool DirectorRelayoutDependentOnChildren__SWIG_0(int dimension)
387         {
388             return RelayoutDependentOnChildrenDimension((DimensionType)dimension);
389         }
390
391         private bool DirectorRelayoutDependentOnChildren__SWIG_1()
392         {
393             return RelayoutDependentOnChildren();
394         }
395
396         private void DirectorOnCalculateRelayoutSize(int dimension)
397         {
398             OnCalculateRelayoutSize((DimensionType)dimension);
399         }
400
401         private void DirectorOnLayoutNegotiated(float size, int dimension)
402         {
403             OnLayoutNegotiated(size, (DimensionType)dimension);
404         }
405
406         private void DirectorOnInitialize()
407         {
408         }
409
410         private void DirectorOnControlChildAdd(global::System.IntPtr child)
411         {
412             OnControlChildAdd(new View(child, false));
413         }
414
415         private void DirectorOnControlChildRemove(global::System.IntPtr child)
416         {
417             OnControlChildRemove(new View(child, false));
418         }
419
420         private void DirectorOnStyleChange(global::System.IntPtr styleManager, int change)
421         {
422             if (OnStyleChange != null)
423             {
424                 OnStyleChange(new StyleManager(styleManager, false), (StyleChangeType)change);
425             }
426         }
427
428         private bool DirectorOnAccessibilityActivated()
429         {
430             return OnAccessibilityActivated();
431         }
432
433         private bool DirectorOnAccessibilityPan(global::System.IntPtr gesture)
434         {
435             return OnAccessibilityPan(new PanGesture(gesture, false));
436         }
437
438         private bool DirectorOnAccessibilityTouch(global::System.IntPtr touch)
439         {
440             return OnAccessibilityTouch(new Touch(touch, false));
441         }
442
443         private bool DirectorOnAccessibilityValueChange(bool isIncrease)
444         {
445             return OnAccessibilityValueChange(isIncrease);
446         }
447
448         private bool DirectorOnAccessibilityZoom()
449         {
450             return OnAccessibilityZoom();
451         }
452
453         private void DirectorOnFocusGained()
454         {
455             OnFocusGained();
456         }
457
458         private void DirectorOnFocusLost()
459         {
460             OnFocusLost();
461         }
462
463         private global::System.IntPtr DirectorGetNextFocusableActor(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled)
464         {
465             return View.getCPtr(GetNextFocusableView(new View(currentFocusedActor, false), (View.FocusDirection)direction, loopEnabled)).Handle;
466         }
467
468         private void DirectorOnFocusChangeCommitted(global::System.IntPtr commitedFocusableView)
469         {
470             OnFocusChangeCommitted(new View(commitedFocusableView, false));
471         }
472
473         private bool DirectorOnKeyboardEnter()
474         {
475             return OnKeyboardEnter();
476         }
477
478         private void DirectorOnPinch(global::System.IntPtr pinch)
479         {
480             OnPinch(new PinchGesture(pinch, false));
481         }
482
483         private void DirectorOnPan(global::System.IntPtr pan)
484         {
485             OnPan(new PanGesture(pan, false));
486         }
487
488         private void DirectorOnTap(global::System.IntPtr tap)
489         {
490             OnTap(new TapGesture(tap, false));
491         }
492
493         private void DirectorOnLongPress(global::System.IntPtr longPress)
494         {
495             OnLongPress(new LongPressGesture(longPress, false));
496         }
497
498         public delegate void DelegateViewWrapperImpl_0(int depth);
499         public delegate void DelegateViewWrapperImpl_1();
500         public delegate void DelegateViewWrapperImpl_2(global::System.IntPtr child);
501         public delegate void DelegateViewWrapperImpl_3(global::System.IntPtr child);
502         public delegate void DelegateViewWrapperImpl_4(int index, global::System.IntPtr propertyValue);
503         public delegate void DelegateViewWrapperImpl_5(global::System.IntPtr targetSize);
504         public delegate void DelegateViewWrapperImpl_6(global::System.IntPtr animation, global::System.IntPtr targetSize);
505         public delegate bool DelegateViewWrapperImpl_7(global::System.IntPtr arg0);
506         public delegate bool DelegateViewWrapperImpl_8(global::System.IntPtr arg0);
507         public delegate bool DelegateViewWrapperImpl_9(global::System.IntPtr arg0);
508         public delegate bool DelegateViewWrapperImpl_10(global::System.IntPtr arg0);
509         public delegate void DelegateViewWrapperImpl_11(global::System.IntPtr size, global::System.IntPtr container);
510         public delegate void DelegateViewWrapperImpl_12(int policy, int dimension);
511         public delegate global::System.IntPtr DelegateViewWrapperImpl_13();
512         public delegate float DelegateViewWrapperImpl_14(global::System.IntPtr child, int dimension);
513         public delegate float DelegateViewWrapperImpl_15(float width);
514         public delegate float DelegateViewWrapperImpl_16(float height);
515         public delegate bool DelegateViewWrapperImpl_17(int dimension);
516         public delegate bool DelegateViewWrapperImpl_18();
517         public delegate void DelegateViewWrapperImpl_19(int dimension);
518         public delegate void DelegateViewWrapperImpl_20(float size, int dimension);
519         public delegate void DelegateViewWrapperImpl_21();
520         public delegate void DelegateViewWrapperImpl_22(global::System.IntPtr child);
521         public delegate void DelegateViewWrapperImpl_23(global::System.IntPtr child);
522         public delegate void DelegateViewWrapperImpl_24(global::System.IntPtr styleManager, int change);
523         public delegate bool DelegateViewWrapperImpl_25();
524         public delegate bool DelegateViewWrapperImpl_26(global::System.IntPtr gesture);
525         public delegate bool DelegateViewWrapperImpl_27(global::System.IntPtr touch);
526         public delegate bool DelegateViewWrapperImpl_28(bool isIncrease);
527         public delegate bool DelegateViewWrapperImpl_29();
528         public delegate void DelegateViewWrapperImpl_30();
529         public delegate void DelegateViewWrapperImpl_31();
530         public delegate global::System.IntPtr DelegateViewWrapperImpl_32(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled);
531         public delegate void DelegateViewWrapperImpl_33(global::System.IntPtr commitedFocusableActor);
532         public delegate bool DelegateViewWrapperImpl_34();
533         public delegate void DelegateViewWrapperImpl_35(global::System.IntPtr pinch);
534         public delegate void DelegateViewWrapperImpl_36(global::System.IntPtr pan);
535         public delegate void DelegateViewWrapperImpl_37(global::System.IntPtr tap);
536         public delegate void DelegateViewWrapperImpl_38(global::System.IntPtr longPress);
537         public delegate void DelegateViewWrapperImpl_39(global::System.IntPtr slotObserver, global::System.IntPtr callback);
538         public delegate void DelegateViewWrapperImpl_40(global::System.IntPtr slotObserver, global::System.IntPtr callback);
539
540         private DelegateViewWrapperImpl_0 Delegate0;
541         private DelegateViewWrapperImpl_1 Delegate1;
542         private DelegateViewWrapperImpl_2 Delegate2;
543         private DelegateViewWrapperImpl_3 Delegate3;
544         private DelegateViewWrapperImpl_4 Delegate4;
545         private DelegateViewWrapperImpl_5 Delegate5;
546         private DelegateViewWrapperImpl_6 Delegate6;
547         private DelegateViewWrapperImpl_7 Delegate7;
548         private DelegateViewWrapperImpl_8 Delegate8;
549         private DelegateViewWrapperImpl_9 Delegate9;
550         private DelegateViewWrapperImpl_10 Delegate10;
551         private DelegateViewWrapperImpl_11 Delegate11;
552         private DelegateViewWrapperImpl_12 Delegate12;
553         private DelegateViewWrapperImpl_13 Delegate13;
554         private DelegateViewWrapperImpl_14 Delegate14;
555         private DelegateViewWrapperImpl_15 Delegate15;
556         private DelegateViewWrapperImpl_16 Delegate16;
557         private DelegateViewWrapperImpl_17 Delegate17;
558         private DelegateViewWrapperImpl_18 Delegate18;
559         private DelegateViewWrapperImpl_19 Delegate19;
560         private DelegateViewWrapperImpl_20 Delegate20;
561         private DelegateViewWrapperImpl_21 Delegate21;
562         private DelegateViewWrapperImpl_22 Delegate22;
563         private DelegateViewWrapperImpl_23 Delegate23;
564         private DelegateViewWrapperImpl_24 Delegate24;
565         private DelegateViewWrapperImpl_25 Delegate25;
566         private DelegateViewWrapperImpl_26 Delegate26;
567         private DelegateViewWrapperImpl_27 Delegate27;
568         private DelegateViewWrapperImpl_28 Delegate28;
569         private DelegateViewWrapperImpl_29 Delegate29;
570         private DelegateViewWrapperImpl_30 Delegate30;
571         private DelegateViewWrapperImpl_31 Delegate31;
572         private DelegateViewWrapperImpl_32 Delegate32;
573         private DelegateViewWrapperImpl_33 Delegate33;
574         private DelegateViewWrapperImpl_34 Delegate34;
575         private DelegateViewWrapperImpl_35 Delegate35;
576         private DelegateViewWrapperImpl_36 Delegate36;
577         private DelegateViewWrapperImpl_37 Delegate37;
578         private DelegateViewWrapperImpl_38 Delegate38;
579         private DelegateViewWrapperImpl_39 Delegate39;
580         private DelegateViewWrapperImpl_40 Delegate40;
581
582         public static readonly int VIEW_BEHAVIOUR_FLAG_COUNT = NDalicManualPINVOKE.ViewWrapperImpl_CONTROL_BEHAVIOUR_FLAG_COUNT_get();
583     }
584 }