1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
17 using System.Reflection;
18 using Tizen.NUI.BaseComponents;
23 internal class ViewImpl : CustomActorImpl
25 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
27 internal ViewImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ViewImpl_SWIGUpcast(cPtr), cMemoryOwn)
29 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
32 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewImpl obj)
34 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
37 protected override void Dispose(DisposeTypes type)
44 if (type == DisposeTypes.Explicit)
47 //Release your own managed resources here.
48 //You should release all of your own disposable objects here.
52 //Release your own unmanaged resources here.
53 //You should not access any managed member here except static instance.
54 //because the execution order of Finalizes is non-deterministic.
56 if (swigCPtr.Handle != global::System.IntPtr.Zero)
61 throw new global::System.MethodAccessException("C++ destructor does not have public access");
63 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
70 public static View New()
72 View ret = new View(NDalicPINVOKE.ViewImpl_New(), true);
73 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
77 public void SetStyleName(string styleName)
79 NDalicPINVOKE.ViewImpl_SetStyleName(swigCPtr, styleName);
80 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
83 public string GetStyleName()
85 string ret = NDalicPINVOKE.ViewImpl_GetStyleName(swigCPtr);
86 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
90 public void SetBackgroundColor(Vector4 color)
92 NDalicPINVOKE.ViewImpl_SetBackgroundColor(swigCPtr, Vector4.getCPtr(color));
93 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
96 public Vector4 GetBackgroundColor()
98 Vector4 ret = new Vector4(NDalicPINVOKE.ViewImpl_GetBackgroundColor(swigCPtr), true);
99 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
103 internal void SetBackgroundImage(Image image)
105 NDalicPINVOKE.ViewImpl_SetBackgroundImage(swigCPtr, Image.getCPtr(image));
106 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
109 public void SetBackground(PropertyMap map)
111 NDalicPINVOKE.ViewImpl_SetBackground(swigCPtr, PropertyMap.getCPtr(map));
112 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
115 public void ClearBackground()
117 NDalicPINVOKE.ViewImpl_ClearBackground(swigCPtr);
118 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
121 public void EnableGestureDetection(Gesture.GestureType type)
123 NDalicPINVOKE.ViewImpl_EnableGestureDetection(swigCPtr, (int)type);
124 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
127 public void DisableGestureDetection(Gesture.GestureType type)
129 NDalicPINVOKE.ViewImpl_DisableGestureDetection(swigCPtr, (int)type);
130 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
133 public PinchGestureDetector GetPinchGestureDetector()
135 PinchGestureDetector ret = new PinchGestureDetector(NDalicPINVOKE.ViewImpl_GetPinchGestureDetector(swigCPtr), true);
136 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
140 public PanGestureDetector GetPanGestureDetector()
142 PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.ViewImpl_GetPanGestureDetector(swigCPtr), true);
143 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
147 public TapGestureDetector GetTapGestureDetector()
149 TapGestureDetector ret = new TapGestureDetector(NDalicPINVOKE.ViewImpl_GetTapGestureDetector(swigCPtr), true);
150 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
154 public LongPressGestureDetector GetLongPressGestureDetector()
156 LongPressGestureDetector ret = new LongPressGestureDetector(NDalicPINVOKE.ViewImpl_GetLongPressGestureDetector(swigCPtr), true);
157 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
161 public void SetKeyboardNavigationSupport(bool isSupported)
163 NDalicPINVOKE.ViewImpl_SetKeyboardNavigationSupport(swigCPtr, isSupported);
164 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
167 public bool IsKeyboardNavigationSupported()
169 bool ret = NDalicPINVOKE.ViewImpl_IsKeyboardNavigationSupported(swigCPtr);
170 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
174 public void SetKeyInputFocus()
176 NDalicPINVOKE.ViewImpl_SetKeyInputFocus(swigCPtr);
177 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
180 public bool HasKeyInputFocus()
182 bool ret = NDalicPINVOKE.ViewImpl_HasKeyInputFocus(swigCPtr);
183 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
187 public void ClearKeyInputFocus()
189 NDalicPINVOKE.ViewImpl_ClearKeyInputFocus(swigCPtr);
190 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
193 public void SetAsFocusGroup(bool isFocusGroup)
195 NDalicPINVOKE.ViewImpl_SetAsKeyboardFocusGroup(swigCPtr, isFocusGroup);
196 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
199 public bool IsFocusGroup()
201 bool ret = NDalicPINVOKE.ViewImpl_IsKeyboardFocusGroup(swigCPtr);
202 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
206 public void AccessibilityActivate()
208 NDalicPINVOKE.ViewImpl_AccessibilityActivate(swigCPtr);
209 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
212 public void KeyboardEnter()
214 NDalicPINVOKE.ViewImpl_KeyboardEnter(swigCPtr);
215 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
218 internal ControlKeySignal KeyEventSignal()
220 ControlKeySignal ret = new ControlKeySignal(NDalicPINVOKE.ViewImpl_KeyEventSignal(swigCPtr), false);
221 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
225 internal KeyInputFocusSignal KeyInputFocusGainedSignal()
227 KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.ViewImpl_KeyInputFocusGainedSignal(swigCPtr), false);
228 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
232 internal KeyInputFocusSignal KeyInputFocusLostSignal()
234 KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.ViewImpl_KeyInputFocusLostSignal(swigCPtr), false);
235 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
239 public bool EmitKeyEventSignal(Key arg0)
241 bool ret = NDalicPINVOKE.ViewImpl_EmitKeyEventSignal(swigCPtr, Key.getCPtr(arg0));
242 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
246 protected virtual new void OnStageConnection(int depth)
248 if (SwigDerivedClassHasMethod("OnStageConnection", swigMethodTypes0)) NDalicPINVOKE.ViewImpl_OnStageConnectionSwigExplicitViewImpl(swigCPtr, depth); else NDalicPINVOKE.ViewImpl_OnStageConnection(swigCPtr, depth);
249 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
252 protected virtual new void OnStageDisconnection()
254 if (SwigDerivedClassHasMethod("OnStageDisconnection", swigMethodTypes1)) NDalicPINVOKE.ViewImpl_OnStageDisconnectionSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnStageDisconnection(swigCPtr);
255 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
258 protected virtual new void OnChildAdd(View child)
260 if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2)) NDalicPINVOKE.ViewImpl_OnChildAddSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildAdd(swigCPtr, View.getCPtr(child));
261 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
264 protected virtual new void OnChildRemove(View child)
266 if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3)) NDalicPINVOKE.ViewImpl_OnChildRemoveSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildRemove(swigCPtr, View.getCPtr(child));
267 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
270 protected virtual new void OnPropertySet(int index, PropertyValue propertyValue)
272 if (SwigDerivedClassHasMethod("OnPropertySet", swigMethodTypes4)) NDalicPINVOKE.ViewImpl_OnPropertySetSwigExplicitViewImpl(swigCPtr, index, PropertyValue.getCPtr(propertyValue)); else NDalicPINVOKE.ViewImpl_OnPropertySet(swigCPtr, index, PropertyValue.getCPtr(propertyValue));
273 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
276 protected virtual new void OnSizeSet(Vector3 targetSize)
278 if (SwigDerivedClassHasMethod("OnSizeSet", swigMethodTypes5)) NDalicPINVOKE.ViewImpl_OnSizeSetSwigExplicitViewImpl(swigCPtr, Vector3.getCPtr(targetSize)); else NDalicPINVOKE.ViewImpl_OnSizeSet(swigCPtr, Vector3.getCPtr(targetSize));
279 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
282 protected virtual new void OnSizeAnimation(Animation animation, Vector3 targetSize)
284 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));
285 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
288 internal virtual new bool OnTouchEvent(SWIGTYPE_p_Dali__TouchEvent arg0)
290 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)));
291 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
295 protected virtual new bool OnHoverEvent(Hover arg0)
297 bool ret = (SwigDerivedClassHasMethod("OnHoverEvent", swigMethodTypes8) ? NDalicPINVOKE.ViewImpl_OnHoverEventSwigExplicitViewImpl(swigCPtr, Hover.getCPtr(arg0)) : NDalicPINVOKE.ViewImpl_OnHoverEvent(swigCPtr, Hover.getCPtr(arg0)));
298 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
302 protected virtual new bool OnKeyEvent(Key arg0)
304 bool ret = (SwigDerivedClassHasMethod("OnKeyEvent", swigMethodTypes9) ? NDalicPINVOKE.ViewImpl_OnKeyEventSwigExplicitViewImpl(swigCPtr, Key.getCPtr(arg0)) : NDalicPINVOKE.ViewImpl_OnKeyEvent(swigCPtr, Key.getCPtr(arg0)));
305 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
309 protected virtual new bool OnWheelEvent(Wheel arg0)
311 bool ret = (SwigDerivedClassHasMethod("OnWheelEvent", swigMethodTypes10) ? NDalicPINVOKE.ViewImpl_OnWheelEventSwigExplicitViewImpl(swigCPtr, Wheel.getCPtr(arg0)) : NDalicPINVOKE.ViewImpl_OnWheelEvent(swigCPtr, Wheel.getCPtr(arg0)));
312 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
316 protected virtual new void OnRelayout(Vector2 size, RelayoutContainer container)
318 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));
319 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
322 protected virtual new void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension)
324 if (SwigDerivedClassHasMethod("OnSetResizePolicy", swigMethodTypes12)) NDalicPINVOKE.ViewImpl_OnSetResizePolicySwigExplicitViewImpl(swigCPtr, (int)policy, (int)dimension); else NDalicPINVOKE.ViewImpl_OnSetResizePolicy(swigCPtr, (int)policy, (int)dimension);
325 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
328 protected virtual new Vector3 GetNaturalSize()
330 Vector3 ret = new Vector3((SwigDerivedClassHasMethod("GetNaturalSize", swigMethodTypes13) ? NDalicPINVOKE.ViewImpl_GetNaturalSizeSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_GetNaturalSize(swigCPtr)), true);
331 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
335 protected virtual new float CalculateChildSize(View child, DimensionType dimension)
337 float ret = (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14) ? NDalicPINVOKE.ViewImpl_CalculateChildSizeSwigExplicitViewImpl(swigCPtr, View.getCPtr(child), (int)dimension) : NDalicPINVOKE.ViewImpl_CalculateChildSize(swigCPtr, View.getCPtr(child), (int)dimension));
338 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
342 protected virtual new float GetHeightForWidth(float width)
344 float ret = (SwigDerivedClassHasMethod("GetHeightForWidth", swigMethodTypes15) ? NDalicPINVOKE.ViewImpl_GetHeightForWidthSwigExplicitViewImpl(swigCPtr, width) : NDalicPINVOKE.ViewImpl_GetHeightForWidth(swigCPtr, width));
345 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
349 protected virtual new float GetWidthForHeight(float height)
351 float ret = (SwigDerivedClassHasMethod("GetWidthForHeight", swigMethodTypes16) ? NDalicPINVOKE.ViewImpl_GetWidthForHeightSwigExplicitViewImpl(swigCPtr, height) : NDalicPINVOKE.ViewImpl_GetWidthForHeight(swigCPtr, height));
352 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
356 protected virtual new bool RelayoutDependentOnChildren(DimensionType dimension)
358 bool ret = (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes17) ? NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildrenSwigExplicitViewImpl__SWIG_0(swigCPtr, (int)dimension) : NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildren__SWIG_0(swigCPtr, (int)dimension));
359 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
363 protected virtual new bool RelayoutDependentOnChildren()
365 bool ret = (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes18) ? NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildrenSwigExplicitViewImpl__SWIG_1(swigCPtr) : NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildren__SWIG_1(swigCPtr));
366 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
370 protected virtual new void OnCalculateRelayoutSize(DimensionType dimension)
372 if (SwigDerivedClassHasMethod("OnCalculateRelayoutSize", swigMethodTypes19)) NDalicPINVOKE.ViewImpl_OnCalculateRelayoutSizeSwigExplicitViewImpl(swigCPtr, (int)dimension); else NDalicPINVOKE.ViewImpl_OnCalculateRelayoutSize(swigCPtr, (int)dimension);
373 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
376 protected virtual new void OnLayoutNegotiated(float size, DimensionType dimension)
378 if (SwigDerivedClassHasMethod("OnLayoutNegotiated", swigMethodTypes20)) NDalicPINVOKE.ViewImpl_OnLayoutNegotiatedSwigExplicitViewImpl(swigCPtr, size, (int)dimension); else NDalicPINVOKE.ViewImpl_OnLayoutNegotiated(swigCPtr, size, (int)dimension);
379 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
382 public virtual void OnInitialize()
384 if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21)) NDalicPINVOKE.ViewImpl_OnInitializeSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnInitialize(swigCPtr);
385 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
388 public virtual void OnControlChildAdd(View child)
390 if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22)) NDalicPINVOKE.ViewImpl_OnControlChildAddSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildAdd(swigCPtr, View.getCPtr(child));
391 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
394 public virtual void OnControlChildRemove(View child)
396 if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23)) NDalicPINVOKE.ViewImpl_OnControlChildRemoveSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildRemove(swigCPtr, View.getCPtr(child));
397 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
400 public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)
402 if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24)) NDalicPINVOKE.ViewImpl_OnStyleChangeSwigExplicitViewImpl(swigCPtr, StyleManager.getCPtr(styleManager), (int)change); else NDalicPINVOKE.ViewImpl_OnStyleChange(swigCPtr, StyleManager.getCPtr(styleManager), (int)change);
403 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
406 public virtual bool OnAccessibilityActivated()
408 bool ret = (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25) ? NDalicPINVOKE.ViewImpl_OnAccessibilityActivatedSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnAccessibilityActivated(swigCPtr));
409 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
413 public virtual bool OnAccessibilityPan(PanGesture gesture)
415 bool ret = (SwigDerivedClassHasMethod("OnAccessibilityPan", swigMethodTypes26) ? NDalicPINVOKE.ViewImpl_OnAccessibilityPanSwigExplicitViewImpl(swigCPtr, PanGesture.getCPtr(gesture)) : NDalicPINVOKE.ViewImpl_OnAccessibilityPan(swigCPtr, PanGesture.getCPtr(gesture)));
416 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
420 internal virtual bool OnAccessibilityTouch(SWIGTYPE_p_Dali__TouchEvent touchEvent)
422 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)));
423 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
427 public virtual bool OnAccessibilityValueChange(bool isIncrease)
429 bool ret = (SwigDerivedClassHasMethod("OnAccessibilityValueChange", swigMethodTypes28) ? NDalicPINVOKE.ViewImpl_OnAccessibilityValueChangeSwigExplicitViewImpl(swigCPtr, isIncrease) : NDalicPINVOKE.ViewImpl_OnAccessibilityValueChange(swigCPtr, isIncrease));
430 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
434 public virtual bool OnAccessibilityZoom()
436 bool ret = (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29) ? NDalicPINVOKE.ViewImpl_OnAccessibilityZoomSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnAccessibilityZoom(swigCPtr));
437 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
441 public virtual void OnKeyInputFocusGained()
443 if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30)) NDalicPINVOKE.ViewImpl_OnKeyInputFocusGainedSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnKeyInputFocusGained(swigCPtr);
444 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
447 public virtual void OnKeyInputFocusLost()
449 if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31)) NDalicPINVOKE.ViewImpl_OnKeyInputFocusLostSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnKeyInputFocusLost(swigCPtr);
450 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
453 public virtual View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
455 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);
456 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
460 public virtual void OnFocusChangeCommitted(View commitedFocusableView)
462 if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33)) NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommittedSwigExplicitViewImpl(swigCPtr, View.getCPtr(commitedFocusableView)); else NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommitted(swigCPtr, View.getCPtr(commitedFocusableView));
463 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
466 public virtual bool OnKeyboardEnter()
468 bool ret = (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34) ? NDalicPINVOKE.ViewImpl_OnKeyboardEnterSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnKeyboardEnter(swigCPtr));
469 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
473 public virtual void OnPinch(PinchGesture pinch)
475 if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35)) NDalicPINVOKE.ViewImpl_OnPinchSwigExplicitViewImpl(swigCPtr, PinchGesture.getCPtr(pinch)); else NDalicPINVOKE.ViewImpl_OnPinch(swigCPtr, PinchGesture.getCPtr(pinch));
476 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
479 public virtual void OnPan(PanGesture pan)
481 if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36)) NDalicPINVOKE.ViewImpl_OnPanSwigExplicitViewImpl(swigCPtr, PanGesture.getCPtr(pan)); else NDalicPINVOKE.ViewImpl_OnPan(swigCPtr, PanGesture.getCPtr(pan));
482 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
485 public virtual void OnTap(TapGesture tap)
487 if (SwigDerivedClassHasMethod("OnTap", swigMethodTypes37)) NDalicPINVOKE.ViewImpl_OnTapSwigExplicitViewImpl(swigCPtr, TapGesture.getCPtr(tap)); else NDalicPINVOKE.ViewImpl_OnTap(swigCPtr, TapGesture.getCPtr(tap));
488 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
491 public virtual void OnLongPress(LongPressGesture longPress)
493 if (SwigDerivedClassHasMethod("OnLongPress", swigMethodTypes38)) NDalicPINVOKE.ViewImpl_OnLongPressSwigExplicitViewImpl(swigCPtr, LongPressGesture.getCPtr(longPress)); else NDalicPINVOKE.ViewImpl_OnLongPress(swigCPtr, LongPressGesture.getCPtr(longPress));
494 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
497 internal virtual void SignalConnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)
499 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));
500 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
503 internal virtual void SignalDisconnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)
505 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));
506 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
509 private void SwigDirectorConnect()
511 if (SwigDerivedClassHasMethod("OnStageConnection", swigMethodTypes0))
512 swigDelegate0 = new SwigDelegateViewImpl_0(SwigDirectorOnStageConnection);
513 if (SwigDerivedClassHasMethod("OnStageDisconnection", swigMethodTypes1))
514 swigDelegate1 = new SwigDelegateViewImpl_1(SwigDirectorOnStageDisconnection);
515 if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2))
516 swigDelegate2 = new SwigDelegateViewImpl_2(SwigDirectorOnChildAdd);
517 if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3))
518 swigDelegate3 = new SwigDelegateViewImpl_3(SwigDirectorOnChildRemove);
519 if (SwigDerivedClassHasMethod("OnPropertySet", swigMethodTypes4))
520 swigDelegate4 = new SwigDelegateViewImpl_4(SwigDirectorOnPropertySet);
521 if (SwigDerivedClassHasMethod("OnSizeSet", swigMethodTypes5))
522 swigDelegate5 = new SwigDelegateViewImpl_5(SwigDirectorOnSizeSet);
523 if (SwigDerivedClassHasMethod("OnSizeAnimation", swigMethodTypes6))
524 swigDelegate6 = new SwigDelegateViewImpl_6(SwigDirectorOnSizeAnimation);
525 if (SwigDerivedClassHasMethod("OnTouchEvent", swigMethodTypes7))
526 swigDelegate7 = new SwigDelegateViewImpl_7(SwigDirectorOnTouchEvent);
527 if (SwigDerivedClassHasMethod("OnHoverEvent", swigMethodTypes8))
528 swigDelegate8 = new SwigDelegateViewImpl_8(SwigDirectorOnHoverEvent);
529 if (SwigDerivedClassHasMethod("OnKeyEvent", swigMethodTypes9))
530 swigDelegate9 = new SwigDelegateViewImpl_9(SwigDirectorOnKeyEvent);
531 if (SwigDerivedClassHasMethod("OnWheelEvent", swigMethodTypes10))
532 swigDelegate10 = new SwigDelegateViewImpl_10(SwigDirectorOnWheelEvent);
533 if (SwigDerivedClassHasMethod("OnRelayout", swigMethodTypes11))
534 swigDelegate11 = new SwigDelegateViewImpl_11(SwigDirectorOnRelayout);
535 if (SwigDerivedClassHasMethod("OnSetResizePolicy", swigMethodTypes12))
536 swigDelegate12 = new SwigDelegateViewImpl_12(SwigDirectorOnSetResizePolicy);
537 if (SwigDerivedClassHasMethod("GetNaturalSize", swigMethodTypes13))
538 swigDelegate13 = new SwigDelegateViewImpl_13(SwigDirectorGetNaturalSize);
539 if (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14))
540 swigDelegate14 = new SwigDelegateViewImpl_14(SwigDirectorCalculateChildSize);
541 if (SwigDerivedClassHasMethod("GetHeightForWidth", swigMethodTypes15))
542 swigDelegate15 = new SwigDelegateViewImpl_15(SwigDirectorGetHeightForWidth);
543 if (SwigDerivedClassHasMethod("GetWidthForHeight", swigMethodTypes16))
544 swigDelegate16 = new SwigDelegateViewImpl_16(SwigDirectorGetWidthForHeight);
545 if (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes17))
546 swigDelegate17 = new SwigDelegateViewImpl_17(SwigDirectorRelayoutDependentOnChildren__SWIG_0);
547 if (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes18))
548 swigDelegate18 = new SwigDelegateViewImpl_18(SwigDirectorRelayoutDependentOnChildren__SWIG_1);
549 if (SwigDerivedClassHasMethod("OnCalculateRelayoutSize", swigMethodTypes19))
550 swigDelegate19 = new SwigDelegateViewImpl_19(SwigDirectorOnCalculateRelayoutSize);
551 if (SwigDerivedClassHasMethod("OnLayoutNegotiated", swigMethodTypes20))
552 swigDelegate20 = new SwigDelegateViewImpl_20(SwigDirectorOnLayoutNegotiated);
553 if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21))
554 swigDelegate21 = new SwigDelegateViewImpl_21(SwigDirectorOnInitialize);
555 if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22))
556 swigDelegate22 = new SwigDelegateViewImpl_22(SwigDirectorOnControlChildAdd);
557 if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23))
558 swigDelegate23 = new SwigDelegateViewImpl_23(SwigDirectorOnControlChildRemove);
559 if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24))
560 swigDelegate24 = new SwigDelegateViewImpl_24(SwigDirectorOnStyleChange);
561 if (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25))
562 swigDelegate25 = new SwigDelegateViewImpl_25(SwigDirectorOnAccessibilityActivated);
563 if (SwigDerivedClassHasMethod("OnAccessibilityPan", swigMethodTypes26))
564 swigDelegate26 = new SwigDelegateViewImpl_26(SwigDirectorOnAccessibilityPan);
565 if (SwigDerivedClassHasMethod("OnAccessibilityTouch", swigMethodTypes27))
566 swigDelegate27 = new SwigDelegateViewImpl_27(SwigDirectorOnAccessibilityTouch);
567 if (SwigDerivedClassHasMethod("OnAccessibilityValueChange", swigMethodTypes28))
568 swigDelegate28 = new SwigDelegateViewImpl_28(SwigDirectorOnAccessibilityValueChange);
569 if (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29))
570 swigDelegate29 = new SwigDelegateViewImpl_29(SwigDirectorOnAccessibilityZoom);
571 if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30))
572 swigDelegate30 = new SwigDelegateViewImpl_30(SwigDirectorOnKeyInputFocusGained);
573 if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31))
574 swigDelegate31 = new SwigDelegateViewImpl_31(SwigDirectorOnKeyInputFocusLost);
575 if (SwigDerivedClassHasMethod("GetNextFocusableView", swigMethodTypes32))
576 swigDelegate32 = new SwigDelegateViewImpl_32(SwigDirectorGetNextKeyboardFocusableView);
577 if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33))
578 swigDelegate33 = new SwigDelegateViewImpl_33(SwigDirectorOnKeyboardFocusChangeCommitted);
579 if (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34))
580 swigDelegate34 = new SwigDelegateViewImpl_34(SwigDirectorOnKeyboardEnter);
581 if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35))
582 swigDelegate35 = new SwigDelegateViewImpl_35(SwigDirectorOnPinch);
583 if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36))
584 swigDelegate36 = new SwigDelegateViewImpl_36(SwigDirectorOnPan);
585 if (SwigDerivedClassHasMethod("OnTap", swigMethodTypes37))
586 swigDelegate37 = new SwigDelegateViewImpl_37(SwigDirectorOnTap);
587 if (SwigDerivedClassHasMethod("OnLongPress", swigMethodTypes38))
588 swigDelegate38 = new SwigDelegateViewImpl_38(SwigDirectorOnLongPress);
589 if (SwigDerivedClassHasMethod("SignalConnected", swigMethodTypes39))
590 swigDelegate39 = new SwigDelegateViewImpl_39(SwigDirectorSignalConnected);
591 if (SwigDerivedClassHasMethod("SignalDisconnected", swigMethodTypes40))
592 swigDelegate40 = new SwigDelegateViewImpl_40(SwigDirectorSignalDisconnected);
593 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);
597 private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)
599 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes);
600 bool hasDerivedMethod = this.GetType().GetTypeInfo().IsSubclassOf(typeof(ViewImpl));
602 NUILog.Debug("hasDerivedMethod=" + hasDerivedMethod);
604 return hasDerivedMethod && (methodInfo != null);
607 private void SwigDirectorOnStageConnection(int depth)
609 OnStageConnection(depth);
612 private void SwigDirectorOnStageDisconnection()
614 OnStageDisconnection();
617 private void SwigDirectorOnChildAdd(global::System.IntPtr child)
619 View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
627 private void SwigDirectorOnChildRemove(global::System.IntPtr child)
629 View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
637 private void SwigDirectorOnPropertySet(int index, global::System.IntPtr propertyValue)
639 OnPropertySet(index, new PropertyValue(propertyValue, true));
642 private void SwigDirectorOnSizeSet(global::System.IntPtr targetSize)
644 OnSizeSet(new Vector3(targetSize, false));
647 private void SwigDirectorOnSizeAnimation(global::System.IntPtr animation, global::System.IntPtr targetSize)
649 OnSizeAnimation(new Animation(animation, false), new Vector3(targetSize, false));
652 private bool SwigDirectorOnTouchEvent(global::System.IntPtr arg0)
654 return OnTouchEvent(new SWIGTYPE_p_Dali__TouchEvent(arg0, false));
657 private bool SwigDirectorOnHoverEvent(global::System.IntPtr arg0)
659 return OnHoverEvent(new Hover(arg0, false));
662 private bool SwigDirectorOnKeyEvent(global::System.IntPtr arg0)
664 return OnKeyEvent(new Key(arg0, false));
667 private bool SwigDirectorOnWheelEvent(global::System.IntPtr arg0)
669 return OnWheelEvent(new Wheel(arg0, false));
672 private void SwigDirectorOnRelayout(global::System.IntPtr size, global::System.IntPtr container)
674 OnRelayout(new Vector2(size, false), new RelayoutContainer(container, false));
677 private void SwigDirectorOnSetResizePolicy(int policy, int dimension)
679 OnSetResizePolicy((ResizePolicyType)policy, (DimensionType)dimension);
682 private global::System.IntPtr SwigDirectorGetNaturalSize()
684 return Vector3.getCPtr(GetNaturalSize()).Handle;
687 private float SwigDirectorCalculateChildSize(global::System.IntPtr child, int dimension)
689 View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
692 return CalculateChildSize(view, (DimensionType)dimension);
697 private float SwigDirectorGetHeightForWidth(float width)
699 return GetHeightForWidth(width);
702 private float SwigDirectorGetWidthForHeight(float height)
704 return GetWidthForHeight(height);
707 private bool SwigDirectorRelayoutDependentOnChildren__SWIG_0(int dimension)
709 return RelayoutDependentOnChildren((DimensionType)dimension);
712 private bool SwigDirectorRelayoutDependentOnChildren__SWIG_1()
714 return RelayoutDependentOnChildren();
717 private void SwigDirectorOnCalculateRelayoutSize(int dimension)
719 OnCalculateRelayoutSize((DimensionType)dimension);
722 private void SwigDirectorOnLayoutNegotiated(float size, int dimension)
724 OnLayoutNegotiated(size, (DimensionType)dimension);
727 private void SwigDirectorOnInitialize()
732 private void SwigDirectorOnControlChildAdd(global::System.IntPtr child)
734 View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
737 OnControlChildAdd(view);
741 private void SwigDirectorOnControlChildRemove(global::System.IntPtr child)
743 View view = Registry.GetManagedBaseHandleFromNativePtr(child) as View;
746 OnControlChildRemove(view);
750 private void SwigDirectorOnStyleChange(global::System.IntPtr styleManager, int change)
752 StyleManager stManager = Registry.GetManagedBaseHandleFromNativePtr(styleManager) as StyleManager;
755 OnStyleChange(stManager, (StyleChangeType)change);
759 private bool SwigDirectorOnAccessibilityActivated()
761 return OnAccessibilityActivated();
764 private bool SwigDirectorOnAccessibilityPan(global::System.IntPtr gesture)
766 return OnAccessibilityPan(new PanGesture(gesture, true));
769 private bool SwigDirectorOnAccessibilityTouch(global::System.IntPtr touchEvent)
771 return OnAccessibilityTouch(new SWIGTYPE_p_Dali__TouchEvent(touchEvent, false));
774 private bool SwigDirectorOnAccessibilityValueChange(bool isIncrease)
776 return OnAccessibilityValueChange(isIncrease);
779 private bool SwigDirectorOnAccessibilityZoom()
781 return OnAccessibilityZoom();
784 private void SwigDirectorOnKeyInputFocusGained()
786 OnKeyInputFocusGained();
789 private void SwigDirectorOnKeyInputFocusLost()
791 OnKeyInputFocusLost();
794 private global::System.IntPtr SwigDirectorGetNextKeyboardFocusableView(global::System.IntPtr currentFocusedView, int direction, bool loopEnabled)
796 return View.getCPtr(GetNextFocusableView(Registry.GetManagedBaseHandleFromNativePtr(currentFocusedView) as View, (View.FocusDirection)direction, loopEnabled)).Handle;
799 private void SwigDirectorOnKeyboardFocusChangeCommitted(global::System.IntPtr commitedFocusableView)
801 OnFocusChangeCommitted(Registry.GetManagedBaseHandleFromNativePtr(commitedFocusableView) as View);
804 private bool SwigDirectorOnKeyboardEnter()
806 return OnKeyboardEnter();
809 private void SwigDirectorOnPinch(global::System.IntPtr pinch)
811 OnPinch(new PinchGesture(pinch, false));
814 private void SwigDirectorOnPan(global::System.IntPtr pan)
816 OnPan(new PanGesture(pan, false));
819 private void SwigDirectorOnTap(global::System.IntPtr tap)
821 OnTap(new TapGesture(tap, false));
824 private void SwigDirectorOnLongPress(global::System.IntPtr longPress)
826 OnLongPress(new LongPressGesture(longPress, false));
829 private void SwigDirectorSignalConnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)
831 SignalConnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));
834 private void SwigDirectorSignalDisconnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)
836 SignalDisconnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));
839 public delegate void SwigDelegateViewImpl_0(int depth);
840 public delegate void SwigDelegateViewImpl_1();
841 public delegate void SwigDelegateViewImpl_2(global::System.IntPtr child);
842 public delegate void SwigDelegateViewImpl_3(global::System.IntPtr child);
843 public delegate void SwigDelegateViewImpl_4(int index, global::System.IntPtr propertyValue);
844 public delegate void SwigDelegateViewImpl_5(global::System.IntPtr targetSize);
845 public delegate void SwigDelegateViewImpl_6(global::System.IntPtr animation, global::System.IntPtr targetSize);
846 public delegate bool SwigDelegateViewImpl_7(global::System.IntPtr arg0);
847 public delegate bool SwigDelegateViewImpl_8(global::System.IntPtr arg0);
848 public delegate bool SwigDelegateViewImpl_9(global::System.IntPtr arg0);
849 public delegate bool SwigDelegateViewImpl_10(global::System.IntPtr arg0);
850 public delegate void SwigDelegateViewImpl_11(global::System.IntPtr size, global::System.IntPtr container);
851 public delegate void SwigDelegateViewImpl_12(int policy, int dimension);
852 public delegate global::System.IntPtr SwigDelegateViewImpl_13();
853 public delegate float SwigDelegateViewImpl_14(global::System.IntPtr child, int dimension);
854 public delegate float SwigDelegateViewImpl_15(float width);
855 public delegate float SwigDelegateViewImpl_16(float height);
856 public delegate bool SwigDelegateViewImpl_17(int dimension);
857 public delegate bool SwigDelegateViewImpl_18();
858 public delegate void SwigDelegateViewImpl_19(int dimension);
859 public delegate void SwigDelegateViewImpl_20(float size, int dimension);
860 public delegate void SwigDelegateViewImpl_21();
861 public delegate void SwigDelegateViewImpl_22(global::System.IntPtr child);
862 public delegate void SwigDelegateViewImpl_23(global::System.IntPtr child);
863 public delegate void SwigDelegateViewImpl_24(global::System.IntPtr styleManager, int change);
864 public delegate bool SwigDelegateViewImpl_25();
865 public delegate bool SwigDelegateViewImpl_26(global::System.IntPtr gesture);
866 public delegate bool SwigDelegateViewImpl_27(global::System.IntPtr touchEvent);
867 public delegate bool SwigDelegateViewImpl_28(bool isIncrease);
868 public delegate bool SwigDelegateViewImpl_29();
869 public delegate void SwigDelegateViewImpl_30();
870 public delegate void SwigDelegateViewImpl_31();
871 public delegate global::System.IntPtr SwigDelegateViewImpl_32(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled);
872 public delegate void SwigDelegateViewImpl_33(global::System.IntPtr commitedFocusableActor);
873 public delegate bool SwigDelegateViewImpl_34();
874 public delegate void SwigDelegateViewImpl_35(global::System.IntPtr pinch);
875 public delegate void SwigDelegateViewImpl_36(global::System.IntPtr pan);
876 public delegate void SwigDelegateViewImpl_37(global::System.IntPtr tap);
877 public delegate void SwigDelegateViewImpl_38(global::System.IntPtr longPress);
878 public delegate void SwigDelegateViewImpl_39(global::System.IntPtr slotObserver, global::System.IntPtr callback);
879 public delegate void SwigDelegateViewImpl_40(global::System.IntPtr slotObserver, global::System.IntPtr callback);
881 private SwigDelegateViewImpl_0 swigDelegate0;
882 private SwigDelegateViewImpl_1 swigDelegate1;
883 private SwigDelegateViewImpl_2 swigDelegate2;
884 private SwigDelegateViewImpl_3 swigDelegate3;
885 private SwigDelegateViewImpl_4 swigDelegate4;
886 private SwigDelegateViewImpl_5 swigDelegate5;
887 private SwigDelegateViewImpl_6 swigDelegate6;
888 private SwigDelegateViewImpl_7 swigDelegate7;
889 private SwigDelegateViewImpl_8 swigDelegate8;
890 private SwigDelegateViewImpl_9 swigDelegate9;
891 private SwigDelegateViewImpl_10 swigDelegate10;
892 private SwigDelegateViewImpl_11 swigDelegate11;
893 private SwigDelegateViewImpl_12 swigDelegate12;
894 private SwigDelegateViewImpl_13 swigDelegate13;
895 private SwigDelegateViewImpl_14 swigDelegate14;
896 private SwigDelegateViewImpl_15 swigDelegate15;
897 private SwigDelegateViewImpl_16 swigDelegate16;
898 private SwigDelegateViewImpl_17 swigDelegate17;
899 private SwigDelegateViewImpl_18 swigDelegate18;
900 private SwigDelegateViewImpl_19 swigDelegate19;
901 private SwigDelegateViewImpl_20 swigDelegate20;
902 private SwigDelegateViewImpl_21 swigDelegate21;
903 private SwigDelegateViewImpl_22 swigDelegate22;
904 private SwigDelegateViewImpl_23 swigDelegate23;
905 private SwigDelegateViewImpl_24 swigDelegate24;
906 private SwigDelegateViewImpl_25 swigDelegate25;
907 private SwigDelegateViewImpl_26 swigDelegate26;
908 private SwigDelegateViewImpl_27 swigDelegate27;
909 private SwigDelegateViewImpl_28 swigDelegate28;
910 private SwigDelegateViewImpl_29 swigDelegate29;
911 private SwigDelegateViewImpl_30 swigDelegate30;
912 private SwigDelegateViewImpl_31 swigDelegate31;
913 private SwigDelegateViewImpl_32 swigDelegate32;
914 private SwigDelegateViewImpl_33 swigDelegate33;
915 private SwigDelegateViewImpl_34 swigDelegate34;
916 private SwigDelegateViewImpl_35 swigDelegate35;
917 private SwigDelegateViewImpl_36 swigDelegate36;
918 private SwigDelegateViewImpl_37 swigDelegate37;
919 private SwigDelegateViewImpl_38 swigDelegate38;
920 private SwigDelegateViewImpl_39 swigDelegate39;
921 private SwigDelegateViewImpl_40 swigDelegate40;
923 private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(int) };
924 private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
925 private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(View) };
926 private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { typeof(View) };
927 private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(int), typeof(PropertyValue) };
928 private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(Vector3) };
929 private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Animation), typeof(Vector3) };
930 private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(SWIGTYPE_p_Dali__TouchEvent) };
931 private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(Hover) };
932 private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { typeof(Key) };
933 private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { typeof(Wheel) };
934 private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { typeof(Vector2), typeof(RelayoutContainer) };
935 private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { typeof(ResizePolicyType), typeof(DimensionType) };
936 private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
937 private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { typeof(View), typeof(DimensionType) };
938 private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { typeof(float) };
939 private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { typeof(float) };
940 private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(DimensionType) };
941 private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { };
942 private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { typeof(DimensionType) };
943 private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { typeof(float), typeof(DimensionType) };
944 private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
945 private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { typeof(View) };
946 private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(View) };
947 private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { typeof(StyleManager), typeof(StyleChangeType) };
948 private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };
949 private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { typeof(PanGesture) };
950 private static global::System.Type[] swigMethodTypes27 = new global::System.Type[] { typeof(SWIGTYPE_p_Dali__TouchEvent) };
951 private static global::System.Type[] swigMethodTypes28 = new global::System.Type[] { typeof(bool) };
952 private static global::System.Type[] swigMethodTypes29 = new global::System.Type[] { };
953 private static global::System.Type[] swigMethodTypes30 = new global::System.Type[] { };
954 private static global::System.Type[] swigMethodTypes31 = new global::System.Type[] { };
955 private static global::System.Type[] swigMethodTypes32 = new global::System.Type[] { typeof(View), typeof(View.FocusDirection), typeof(bool) };
956 private static global::System.Type[] swigMethodTypes33 = new global::System.Type[] { typeof(View) };
957 private static global::System.Type[] swigMethodTypes34 = new global::System.Type[] { };
958 private static global::System.Type[] swigMethodTypes35 = new global::System.Type[] { typeof(PinchGesture) };
959 private static global::System.Type[] swigMethodTypes36 = new global::System.Type[] { typeof(PanGesture) };
960 private static global::System.Type[] swigMethodTypes37 = new global::System.Type[] { typeof(TapGesture) };
961 private static global::System.Type[] swigMethodTypes38 = new global::System.Type[] { typeof(LongPressGesture) };
962 private static global::System.Type[] swigMethodTypes39 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
963 private static global::System.Type[] swigMethodTypes40 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };