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.
20 using System.Runtime.InteropServices;
22 public class View : Animatable
24 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
26 internal View(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.View_SWIGUpcast(cPtr), cMemoryOwn)
28 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
30 // Register this instance of view in the view registry.
31 ViewRegistry.RegisterView(this);
33 // By default, we do not want the position to use the anchor point
34 this.PositionUsesAnchorPoint = false;
37 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(View obj)
39 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
44 DisposeQueue.Instance.Add(this);
46 // Unregister this instance of view from the view registry.
47 ViewRegistry.UnregisterView(this);
50 public virtual void Dispose()
52 if (!Window.IsInstalled())
54 DisposeQueue.Instance.Add(this);
60 if (swigCPtr.Handle != global::System.IntPtr.Zero)
65 NDalicPINVOKE.delete_View(swigCPtr);
67 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
69 global::System.GC.SuppressFinalize(this);
74 * @brief Event arguments that passed via KeyInputFocusGained signal
77 public class KeyInputFocusGainedEventArgs : EventArgs
82 * @brief View - is the view that gets Key Input Focus
99 * @brief Event arguments that passed via KeyInputFocusLost signal
102 public class KeyInputFocusLostEventArgs : EventArgs
107 * @brief View - is the view that loses Key Input Focus
124 * @brief Event arguments that passed via Key signal
127 public class KeyEventArgs : EventArgs
133 * @brief View - is the view that recieves the key.
149 * @brief Key - is the key sent to the View.
166 * @brief Event arguments that passed via OnRelayout signal
169 public class OnRelayoutEventArgs : EventArgs
174 * @brief View - is the view that is being resized upon relayout
192 * @brief Event arguments that passed via Touch signal
195 public class TouchEventArgs : EventArgs
198 private Touch _touch;
201 * @brief View - is the view that is being touched
217 * @brief Touch - contains the information of touch points
234 * @brief Event arguments that passed via Hover signal
237 public class HoverEventArgs : EventArgs
240 private Hover _hover;
243 * @brief View - is the view that is being hovered
259 * @brief Hover - contains touch points that represent the points
260 * that are currently being hovered or the points where a hover has stopped
277 * @brief Event arguments that passed via Wheel signal
280 public class WheelEventArgs : EventArgs
283 private Wheel _wheel;
286 * @brief View - is the view that is being wheeled
302 * @brief Wheel - store a wheel rolling type : MOUSE_WHEEL or CUSTOM_WHEEL
319 * @brief Event arguments that passed via OnWindow signal
322 public class OnWindowEventArgs : EventArgs
327 * @brief View - is the view that is being connected to the window
344 * @brief Event arguments that passed via OffWindow signal
347 public class OffWindowEventArgs : EventArgs
352 * @brief View - is the view that is being disconnected from the window
368 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
369 private delegate void KeyInputFocusGainedCallbackDelegate(IntPtr control);
371 private DaliEventHandler<object,KeyInputFocusGainedEventArgs> _KeyInputFocusGainedEventHandler;
372 private KeyInputFocusGainedCallbackDelegate _KeyInputFocusGainedCallbackDelegate;
374 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
375 private delegate void KeyInputFocusLostCallbackDelegate(IntPtr control);
377 private DaliEventHandler<object,KeyInputFocusLostEventArgs> _KeyInputFocusLostEventHandler;
378 private KeyInputFocusLostCallbackDelegate _KeyInputFocusLostCallbackDelegate;
380 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
381 private delegate bool KeyCallbackDelegate(IntPtr control, IntPtr key);
383 private DaliEventHandlerWithReturnType<object,KeyEventArgs,bool> _KeyHandler;
384 private KeyCallbackDelegate _KeyCallbackDelegate;
386 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
387 private delegate void OnRelayoutEventCallbackDelegate(IntPtr control);
389 private DaliEventHandler<object,OnRelayoutEventArgs> _viewOnRelayoutEventHandler;
390 private OnRelayoutEventCallbackDelegate _viewOnRelayoutEventCallbackDelegate;
392 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
393 private delegate bool TouchCallbackDelegate(IntPtr view, IntPtr touch);
395 private DaliEventHandlerWithReturnType<object,TouchEventArgs,bool> _viewTouchHandler;
396 private TouchCallbackDelegate _viewTouchCallbackDelegate;
398 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
399 private delegate bool HoverCallbackDelegate(IntPtr view, IntPtr hover);
401 private DaliEventHandlerWithReturnType<object,HoverEventArgs,bool> _viewHoverHandler;
402 private HoverCallbackDelegate _viewHoverCallbackDelegate;
404 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
405 private delegate bool WheelCallbackDelegate(IntPtr view, IntPtr wheel);
407 private DaliEventHandlerWithReturnType<object,WheelEventArgs,bool> _viewWheelHandler;
408 private WheelCallbackDelegate _viewWheelCallbackDelegate;
410 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
411 private delegate void OnWindowEventCallbackDelegate(IntPtr control);
413 private DaliEventHandler<object,OnWindowEventArgs> _viewOnWindowEventHandler;
414 private OnWindowEventCallbackDelegate _viewOnWindowEventCallbackDelegate;
416 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
417 private delegate void OffWindowEventCallbackDelegate(IntPtr control);
419 private DaliEventHandler<object,OffWindowEventArgs> _viewOffWindowEventHandler;
420 private OffWindowEventCallbackDelegate _viewOffWindowEventCallbackDelegate;
423 * @brief Event for KeyInputFocusGained signal which can be used to subscribe/unsubscribe the event handler
424 * (in the type of KeyInputFocusGainedEventHandler-DaliEventHandler<object,KeyInputFocusGainedEventArgs>)
425 * provided by the user. KeyInputFocusGained signal is emitted when the control gets Key Input Focus.
427 public event DaliEventHandler<object,KeyInputFocusGainedEventArgs> KeyInputFocusGained
433 // Restricted to only one listener
434 if (_KeyInputFocusGainedEventHandler == null)
436 _KeyInputFocusGainedEventHandler += value;
437 Console.WriteLine("View Key EVENT Locked....");
438 _KeyInputFocusGainedCallbackDelegate = new KeyInputFocusGainedCallbackDelegate(OnKeyInputFocusGained);
439 this.KeyInputFocusGainedSignal().Connect(_KeyInputFocusGainedCallbackDelegate);
448 if (_KeyInputFocusGainedEventHandler != null)
450 this.KeyInputFocusGainedSignal().Disconnect(_KeyInputFocusGainedCallbackDelegate);
453 _KeyInputFocusGainedEventHandler -= value;
458 private void OnKeyInputFocusGained(IntPtr view)
460 KeyInputFocusGainedEventArgs e = new KeyInputFocusGainedEventArgs();
461 Console.WriteLine("View Key ....");
462 // Populate all members of "e" (KeyInputFocusGainedEventArgs) with real data
463 e.View = Dali.View.GetViewFromPtr(view);
465 if (_KeyInputFocusGainedEventHandler != null)
467 //here we send all data to user event handlers
468 _KeyInputFocusGainedEventHandler(this, e);
474 * @brief Event for KeyInputFocusLost signal which can be used to subscribe/unsubscribe the event handler
475 * (in the type of KeyInputFocusLostEventHandler-DaliEventHandler<object,KeyInputFocusLostEventArgs>)
476 * provided by the user. KeyInputFocusLost signal is emitted when the control loses Key Input Focus.
478 public event DaliEventHandler<object,KeyInputFocusLostEventArgs> KeyInputFocusLost
484 // Restricted to only one listener
485 if (_KeyInputFocusLostEventHandler == null)
487 _KeyInputFocusLostEventHandler += value;
489 _KeyInputFocusLostCallbackDelegate = new KeyInputFocusLostCallbackDelegate(OnKeyInputFocusLost);
490 this.KeyInputFocusLostSignal().Connect(_KeyInputFocusLostCallbackDelegate);
499 if (_KeyInputFocusLostEventHandler != null)
501 this.KeyInputFocusLostSignal().Disconnect(_KeyInputFocusLostCallbackDelegate);
504 _KeyInputFocusLostEventHandler -= value;
509 private void OnKeyInputFocusLost(IntPtr view)
511 KeyInputFocusLostEventArgs e = new KeyInputFocusLostEventArgs();
513 // Populate all members of "e" (KeyInputFocusLostEventArgs) with real data
514 e.View = Dali.View.GetViewFromPtr(view);
516 if (_KeyInputFocusLostEventHandler != null)
518 //here we send all data to user event handlers
519 _KeyInputFocusLostEventHandler(this, e);
524 * @brief Event for KeyPressed signal which can be used to subscribe/unsubscribe the event handler
525 * (in the type of KeyHandler-DaliEventHandlerWithReturnType<object,KeyEventArgs,bool>)
526 * provided by the user. KeyPressed signal is emitted when key event is received.
528 public event DaliEventHandlerWithReturnType<object,KeyEventArgs,bool> KeyPressed
534 // Restricted to only one listener
535 if (_KeyHandler == null)
537 _KeyHandler += value;
539 _KeyCallbackDelegate = new KeyCallbackDelegate(OnKey);
540 this.KeyEventSignal().Connect(_KeyCallbackDelegate);
549 if (_KeyHandler != null)
551 this.KeyEventSignal().Disconnect(_KeyCallbackDelegate);
554 _KeyHandler -= value;
559 private bool OnKey(IntPtr view, IntPtr key)
561 KeyEventArgs e = new KeyEventArgs();
563 // Populate all members of "e" (KeyEventArgs) with real data
564 e.View = Dali.View.GetViewFromPtr(view);
565 e.Key = Dali.Key.GetKeyFromPtr(key);
567 if (_KeyHandler != null)
569 //here we send all data to user event handlers
570 return _KeyHandler(this, e);
577 * @brief Event for OnRelayout signal which can be used to subscribe/unsubscribe the event handler
578 * (in the type of OnRelayoutEventHandler) provided by the user.
579 * OnRelayout signal is emitted after the size has been set on the view during relayout.
581 public event DaliEventHandler<object,OnRelayoutEventArgs> OnRelayoutEvent
587 // Restricted to only one listener
588 if (_viewOnRelayoutEventHandler == null)
590 _viewOnRelayoutEventHandler += value;
591 Console.WriteLine("View OnRelayoutEventArgs Locked....");
592 _viewOnRelayoutEventCallbackDelegate = new OnRelayoutEventCallbackDelegate(OnRelayout);
593 this.OnRelayoutSignal().Connect(_viewOnRelayoutEventCallbackDelegate);
602 if (_viewOnRelayoutEventHandler != null)
604 this.OnRelayoutSignal().Disconnect(_viewOnRelayoutEventCallbackDelegate);
607 _viewOnRelayoutEventHandler -= value;
612 // Callback for View OnRelayout signal
613 private void OnRelayout(IntPtr data)
615 OnRelayoutEventArgs e = new OnRelayoutEventArgs();
616 Console.WriteLine("View OnRelayoutEventArgs....");
617 // Populate all members of "e" (OnRelayoutEventArgs) with real data
618 e.View = View.GetViewFromPtr(data);
620 if (_viewOnRelayoutEventHandler != null)
622 //here we send all data to user event handlers
623 _viewOnRelayoutEventHandler(this, e);
628 * @brief Event for Touched signal which can be used to subscribe/unsubscribe the event handler
629 * (in the type of TouchHandler-DaliEventHandlerWithReturnType<object,TouchEventArgs,bool>)
630 * provided by the user. Touched signal is emitted when touch input is received.
632 public event DaliEventHandlerWithReturnType<object,TouchEventArgs,bool> Touched
638 // Restricted to only one listener
639 if (_viewTouchHandler == null)
641 _viewTouchHandler += value;
642 Console.WriteLine("View Touch EVENT LOCKED....");
643 _viewTouchCallbackDelegate = new TouchCallbackDelegate(OnTouch);
644 this.TouchSignal().Connect(_viewTouchCallbackDelegate);
653 if (_viewTouchHandler != null)
655 this.TouchSignal().Disconnect(_viewTouchCallbackDelegate);
658 _viewTouchHandler -= value;
663 // Callback for View TouchSignal
664 private bool OnTouch(IntPtr view, IntPtr touch)
666 TouchEventArgs e = new TouchEventArgs();
667 Console.WriteLine("View Touch EVENT....");
668 // Populate all members of "e" (TouchEventArgs) with real data
669 e.View = View.GetViewFromPtr(view);
670 e.Touch = Dali.Touch.GetTouchFromPtr(touch);
672 if (_viewTouchHandler != null)
674 //here we send all data to user event handlers
675 return _viewTouchHandler(this, e);
682 * @brief Event for Hovered signal which can be used to subscribe/unsubscribe the event handler
683 * (in the type of HoverHandler-DaliEventHandlerWithReturnType<object,HoverEventArgs,bool>)
684 * provided by the user. Hovered signal is emitted when hover input is received.
686 public event DaliEventHandlerWithReturnType<object,HoverEventArgs,bool> Hovered
692 // Restricted to only one listener
693 if (_viewHoverHandler == null)
695 _viewHoverHandler += value;
697 _viewHoverCallbackDelegate = new HoverCallbackDelegate(OnHover);
698 this.HoveredSignal().Connect(_viewHoverCallbackDelegate);
707 if (_viewHoverHandler != null)
709 this.HoveredSignal().Disconnect(_viewHoverCallbackDelegate);
712 _viewHoverHandler -= value;
717 // Callback for View Hover signal
718 private bool OnHover(IntPtr view, IntPtr hover)
720 HoverEventArgs e = new HoverEventArgs();
722 // Populate all members of "e" (HoverEventArgs) with real data
723 e.View = View.GetViewFromPtr(view);
724 e.Hover = Dali.Hover.GetHoverFromPtr(hover);
726 if (_viewHoverHandler != null)
728 //here we send all data to user event handlers
729 return _viewHoverHandler(this, e);
736 * @brief Event for WheelMoved signal which can be used to subscribe/unsubscribe the event handler
737 * (in the type of WheelHandler-DaliEventHandlerWithReturnType<object,WheelEventArgs,bool>)
738 * provided by the user. WheelMoved signal is emitted when wheel event is received.
740 public event DaliEventHandlerWithReturnType<object,WheelEventArgs,bool> WheelMoved
746 // Restricted to only one listener
747 if (_viewWheelHandler == null)
749 _viewWheelHandler += value;
750 Console.WriteLine("View Wheel EVENT LOCKED....");
751 _viewWheelCallbackDelegate = new WheelCallbackDelegate(OnWheel);
752 this.WheelEventSignal().Connect(_viewWheelCallbackDelegate);
761 if (_viewWheelHandler != null)
763 this.WheelEventSignal().Disconnect(_viewWheelCallbackDelegate);
766 _viewWheelHandler -= value;
771 // Callback for View Wheel signal
772 private bool OnWheel(IntPtr view, IntPtr wheel)
774 WheelEventArgs e = new WheelEventArgs();
775 Console.WriteLine("View Wheel EVENT ....");
776 // Populate all members of "e" (WheelEventArgs) with real data
777 e.View = View.GetViewFromPtr(view);
778 e.Wheel = Dali.Wheel.GetWheelFromPtr(wheel);
780 if (_viewWheelHandler != null)
782 //here we send all data to user event handlers
783 return _viewWheelHandler(this, e);
790 * @brief Event for OnWindow signal which can be used to subscribe/unsubscribe the event handler
791 * (in the type of OnWindowEventHandler) provided by the user.
792 * OnWindow signal is emitted after the view has been connected to the window.
794 public event DaliEventHandler<object,OnWindowEventArgs> OnWindowEvent
800 // Restricted to only one listener
801 if (_viewOnWindowEventHandler == null)
803 _viewOnWindowEventHandler += value;
805 _viewOnWindowEventCallbackDelegate = new OnWindowEventCallbackDelegate(OnWindow);
806 this.OnWindowSignal().Connect(_viewOnWindowEventCallbackDelegate);
815 if (_viewOnWindowEventHandler != null)
817 this.OnWindowSignal().Disconnect(_viewOnWindowEventCallbackDelegate);
820 _viewOnWindowEventHandler -= value;
825 // Callback for View OnWindow signal
826 private void OnWindow(IntPtr data)
828 OnWindowEventArgs e = new OnWindowEventArgs();
830 // Populate all members of "e" (OnWindowEventArgs) with real data
831 e.View = View.GetViewFromPtr(data);
833 //Console.WriteLine("############# OnWindow()! e.View.Name=" + e.View.Name);
835 if (_viewOnWindowEventHandler != null)
837 //here we send all data to user event handlers
838 _viewOnWindowEventHandler(this, e);
843 * @brief Event for OffWindow signal which can be used to subscribe/unsubscribe the event handler
844 * (in the type of OffWindowEventHandler) provided by the user.
845 * OffWindow signal is emitted after the view has been disconnected from the window.
847 public event DaliEventHandler<object,OffWindowEventArgs> OffWindowEvent
853 // Restricted to only one listener
854 if (_viewOffWindowEventHandler == null)
856 _viewOffWindowEventHandler += value;
858 _viewOffWindowEventCallbackDelegate = new OffWindowEventCallbackDelegate(OffWindow);
859 this.OnWindowSignal().Connect(_viewOffWindowEventCallbackDelegate);
868 if (_viewOffWindowEventHandler != null)
870 this.OnWindowSignal().Disconnect(_viewOffWindowEventCallbackDelegate);
873 _viewOffWindowEventHandler -= value;
878 // Callback for View OffWindow signal
879 private void OffWindow(IntPtr data)
881 OffWindowEventArgs e = new OffWindowEventArgs();
883 // Populate all members of "e" (OffWindowEventArgs) with real data
884 e.View = View.GetViewFromPtr(data);
886 if (_viewOffWindowEventHandler != null)
888 //here we send all data to user event handlers
889 _viewOffWindowEventHandler(this, e);
893 public static View GetViewFromPtr(global::System.IntPtr cPtr)
895 View ret = new View(cPtr, false);
896 if (NDalicPINVOKE.SWIGPendingException.Pending)
897 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
901 public IntPtr GetPtrfromView()
903 return (IntPtr)swigCPtr;
906 public class Property : global::System.IDisposable
908 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
909 protected bool swigCMemOwn;
911 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
913 swigCMemOwn = cMemoryOwn;
914 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
917 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
919 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
927 public virtual void Dispose()
931 if (swigCPtr.Handle != global::System.IntPtr.Zero)
936 NDalicPINVOKE.delete_View_Property(swigCPtr);
938 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
940 global::System.GC.SuppressFinalize(this);
944 public static readonly int TOOLTIP = NDalicManualPINVOKE.View_Property_TOOLTIP_get();
945 public static readonly int STATE = NDalicManualPINVOKE.View_Property_STATE_get();
946 public static readonly int SUB_STATE = NDalicManualPINVOKE.View_Property_SUB_STATE_get();
947 public static readonly int LEFT_FOCUSABLE_VIEW_ID = NDalicManualPINVOKE.View_Property_LEFT_FOCUSABLE_ACTOR_ID_get();
948 public static readonly int RIGHT_FOCUSABLE_VIEW_ID = NDalicManualPINVOKE.View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get();
949 public static readonly int UP_FOCUSABLE_VIEW_ID = NDalicManualPINVOKE.View_Property_UP_FOCUSABLE_ACTOR_ID_get();
950 public static readonly int DOWN_FOCUSABLE_VIEW_ID = NDalicManualPINVOKE.View_Property_DOWN_FOCUSABLE_ACTOR_ID_get();
952 public Property() : this(NDalicPINVOKE.new_View_Property(), true)
954 if (NDalicPINVOKE.SWIGPendingException.Pending)
955 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
958 public static readonly int STYLE_NAME = NDalicPINVOKE.View_Property_STYLE_NAME_get();
959 public static readonly int BACKGROUND_COLOR = NDalicPINVOKE.View_Property_BACKGROUND_COLOR_get();
960 public static readonly int BACKGROUND_IMAGE = NDalicPINVOKE.View_Property_BACKGROUND_IMAGE_get();
961 public static readonly int KEY_INPUT_FOCUS = NDalicPINVOKE.View_Property_KEY_INPUT_FOCUS_get();
962 public static readonly int BACKGROUND = NDalicPINVOKE.View_Property_BACKGROUND_get();
965 public static readonly int SIBLING_ORDER = NDalicManualPINVOKE.Actor_Property_SIBLING_ORDER_get();
966 public static readonly int OPACITY = NDalicManualPINVOKE.Actor_Property_OPACITY_get();
967 public static readonly int SCREEN_POSITION = NDalicManualPINVOKE.Actor_Property_SCREEN_POSITION_get();
968 public static readonly int POSITION_USES_ANCHOR_POINT = NDalicManualPINVOKE.Actor_Property_POSITION_USES_ANCHOR_POINT_get();
969 public static readonly int PARENT_ORIGIN = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_get();
970 public static readonly int PARENT_ORIGIN_X = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_X_get();
971 public static readonly int PARENT_ORIGIN_Y = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Y_get();
972 public static readonly int PARENT_ORIGIN_Z = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Z_get();
973 public static readonly int ANCHOR_POINT = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_get();
974 public static readonly int ANCHOR_POINT_X = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_X_get();
975 public static readonly int ANCHOR_POINT_Y = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Y_get();
976 public static readonly int ANCHOR_POINT_Z = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Z_get();
977 public static readonly int SIZE = NDalicPINVOKE.Actor_Property_SIZE_get();
978 public static readonly int SIZE_WIDTH = NDalicPINVOKE.Actor_Property_SIZE_WIDTH_get();
979 public static readonly int SIZE_HEIGHT = NDalicPINVOKE.Actor_Property_SIZE_HEIGHT_get();
980 public static readonly int SIZE_DEPTH = NDalicPINVOKE.Actor_Property_SIZE_DEPTH_get();
981 public static readonly int POSITION = NDalicPINVOKE.Actor_Property_POSITION_get();
982 public static readonly int POSITION_X = NDalicPINVOKE.Actor_Property_POSITION_X_get();
983 public static readonly int POSITION_Y = NDalicPINVOKE.Actor_Property_POSITION_Y_get();
984 public static readonly int POSITION_Z = NDalicPINVOKE.Actor_Property_POSITION_Z_get();
985 public static readonly int WORLD_POSITION = NDalicPINVOKE.Actor_Property_WORLD_POSITION_get();
986 public static readonly int WORLD_POSITION_X = NDalicPINVOKE.Actor_Property_WORLD_POSITION_X_get();
987 public static readonly int WORLD_POSITION_Y = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Y_get();
988 public static readonly int WORLD_POSITION_Z = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Z_get();
989 public static readonly int ORIENTATION = NDalicPINVOKE.Actor_Property_ORIENTATION_get();
990 public static readonly int WORLD_ORIENTATION = NDalicPINVOKE.Actor_Property_WORLD_ORIENTATION_get();
991 public static readonly int SCALE = NDalicPINVOKE.Actor_Property_SCALE_get();
992 public static readonly int SCALE_X = NDalicPINVOKE.Actor_Property_SCALE_X_get();
993 public static readonly int SCALE_Y = NDalicPINVOKE.Actor_Property_SCALE_Y_get();
994 public static readonly int SCALE_Z = NDalicPINVOKE.Actor_Property_SCALE_Z_get();
995 public static readonly int WORLD_SCALE = NDalicPINVOKE.Actor_Property_WORLD_SCALE_get();
996 public static readonly int VISIBLE = NDalicPINVOKE.Actor_Property_VISIBLE_get();
997 public static readonly int COLOR = NDalicPINVOKE.Actor_Property_COLOR_get();
998 public static readonly int COLOR_RED = NDalicPINVOKE.Actor_Property_COLOR_RED_get();
999 public static readonly int COLOR_GREEN = NDalicPINVOKE.Actor_Property_COLOR_GREEN_get();
1000 public static readonly int COLOR_BLUE = NDalicPINVOKE.Actor_Property_COLOR_BLUE_get();
1001 public static readonly int COLOR_ALPHA = NDalicPINVOKE.Actor_Property_COLOR_ALPHA_get();
1002 public static readonly int WORLD_COLOR = NDalicPINVOKE.Actor_Property_WORLD_COLOR_get();
1003 public static readonly int WORLD_MATRIX = NDalicPINVOKE.Actor_Property_WORLD_MATRIX_get();
1004 public static readonly int NAME = NDalicPINVOKE.Actor_Property_NAME_get();
1005 public static readonly int SENSITIVE = NDalicPINVOKE.Actor_Property_SENSITIVE_get();
1006 public static readonly int LEAVE_REQUIRED = NDalicPINVOKE.Actor_Property_LEAVE_REQUIRED_get();
1007 public static readonly int INHERIT_ORIENTATION = NDalicPINVOKE.Actor_Property_INHERIT_ORIENTATION_get();
1008 public static readonly int INHERIT_SCALE = NDalicPINVOKE.Actor_Property_INHERIT_SCALE_get();
1009 public static readonly int COLOR_MODE = NDalicPINVOKE.Actor_Property_COLOR_MODE_get();
1010 public static readonly int POSITION_INHERITANCE = NDalicPINVOKE.Actor_Property_POSITION_INHERITANCE_get();
1011 public static readonly int DRAW_MODE = NDalicPINVOKE.Actor_Property_DRAW_MODE_get();
1012 public static readonly int SIZE_MODE_FACTOR = NDalicPINVOKE.Actor_Property_SIZE_MODE_FACTOR_get();
1013 public static readonly int WIDTH_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_WIDTH_RESIZE_POLICY_get();
1014 public static readonly int HEIGHT_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_HEIGHT_RESIZE_POLICY_get();
1015 public static readonly int SIZE_SCALE_POLICY = NDalicPINVOKE.Actor_Property_SIZE_SCALE_POLICY_get();
1016 public static readonly int WIDTH_FOR_HEIGHT = NDalicPINVOKE.Actor_Property_WIDTH_FOR_HEIGHT_get();
1017 public static readonly int HEIGHT_FOR_WIDTH = NDalicPINVOKE.Actor_Property_HEIGHT_FOR_WIDTH_get();
1018 public static readonly int PADDING = NDalicPINVOKE.Actor_Property_PADDING_get();
1019 public static readonly int MINIMUM_SIZE = NDalicPINVOKE.Actor_Property_MINIMUM_SIZE_get();
1020 public static readonly int MAXIMUM_SIZE = NDalicPINVOKE.Actor_Property_MAXIMUM_SIZE_get();
1021 public static readonly int INHERIT_POSITION = NDalicPINVOKE.Actor_Property_INHERIT_POSITION_get();
1022 public static readonly int CLIPPING_MODE = NDalicPINVOKE.Actor_Property_CLIPPING_MODE_get();
1026 public class KeyboardFocus : global::System.IDisposable
1028 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
1029 protected bool swigCMemOwn;
1031 internal KeyboardFocus(global::System.IntPtr cPtr, bool cMemoryOwn)
1033 swigCMemOwn = cMemoryOwn;
1034 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
1037 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KeyboardFocus obj)
1039 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
1047 public virtual void Dispose()
1051 if (swigCPtr.Handle != global::System.IntPtr.Zero)
1055 swigCMemOwn = false;
1056 NDalicPINVOKE.delete_View_KeyboardFocus(swigCPtr);
1058 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
1060 global::System.GC.SuppressFinalize(this);
1064 public KeyboardFocus() : this(NDalicPINVOKE.new_View_KeyboardFocus(), true)
1066 if (NDalicPINVOKE.SWIGPendingException.Pending)
1067 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1070 public enum Direction
1081 public View() : this(NDalicPINVOKE.View_New(), true)
1083 if (NDalicPINVOKE.SWIGPendingException.Pending)
1084 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1088 public View(View uiControl) : this(NDalicPINVOKE.new_View__SWIG_1(View.getCPtr(uiControl)), true)
1090 if (NDalicPINVOKE.SWIGPendingException.Pending)
1091 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1094 public View Assign(View handle)
1096 View ret = new View(NDalicPINVOKE.View_Assign(swigCPtr, View.getCPtr(handle)), false);
1097 if (NDalicPINVOKE.SWIGPendingException.Pending)
1098 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1102 private new static View DownCast(BaseHandle handle)
1104 View ret = new View(NDalicPINVOKE.View_DownCast(BaseHandle.getCPtr(handle)), true);
1105 if (NDalicPINVOKE.SWIGPendingException.Pending)
1106 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1110 public static T DownCast<T>(View view) where T : View
1112 return (T)(ViewRegistry.GetViewFromActor(view));
1115 private View ConvertIdToView(uint id)
1121 view = Parent.FindChildById(id);
1126 view = Window.Instance.GetRootLayer().FindChildById(id);
1132 public void SetKeyInputFocus()
1134 NDalicPINVOKE.View_SetKeyInputFocus(swigCPtr);
1135 if (NDalicPINVOKE.SWIGPendingException.Pending)
1136 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1139 public bool HasKeyInputFocus()
1141 bool ret = NDalicPINVOKE.View_HasKeyInputFocus(swigCPtr);
1142 if (NDalicPINVOKE.SWIGPendingException.Pending)
1143 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1147 public void ClearKeyInputFocus()
1149 NDalicPINVOKE.View_ClearKeyInputFocus(swigCPtr);
1150 if (NDalicPINVOKE.SWIGPendingException.Pending)
1151 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1154 public PinchGestureDetector GetPinchGestureDetector()
1156 PinchGestureDetector ret = new PinchGestureDetector(NDalicPINVOKE.View_GetPinchGestureDetector(swigCPtr), true);
1157 if (NDalicPINVOKE.SWIGPendingException.Pending)
1158 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1162 public PanGestureDetector GetPanGestureDetector()
1164 PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.View_GetPanGestureDetector(swigCPtr), true);
1165 if (NDalicPINVOKE.SWIGPendingException.Pending)
1166 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1170 public TapGestureDetector GetTapGestureDetector()
1172 TapGestureDetector ret = new TapGestureDetector(NDalicPINVOKE.View_GetTapGestureDetector(swigCPtr), true);
1173 if (NDalicPINVOKE.SWIGPendingException.Pending)
1174 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1178 public LongPressGestureDetector GetLongPressGestureDetector()
1180 LongPressGestureDetector ret = new LongPressGestureDetector(NDalicPINVOKE.View_GetLongPressGestureDetector(swigCPtr), true);
1181 if (NDalicPINVOKE.SWIGPendingException.Pending)
1182 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1186 public void SetStyleName(string styleName)
1188 NDalicPINVOKE.View_SetStyleName(swigCPtr, styleName);
1189 if (NDalicPINVOKE.SWIGPendingException.Pending)
1190 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1193 public string GetStyleName()
1195 string ret = NDalicPINVOKE.View_GetStyleName(swigCPtr);
1196 if (NDalicPINVOKE.SWIGPendingException.Pending)
1197 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1201 public void SetBackgroundColor(Vector4 color)
1203 NDalicPINVOKE.View_SetBackgroundColor(swigCPtr, Vector4.getCPtr(color));
1204 if (NDalicPINVOKE.SWIGPendingException.Pending)
1205 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1208 public Vector4 GetBackgroundColor()
1210 Vector4 ret = new Vector4(NDalicPINVOKE.View_GetBackgroundColor(swigCPtr), true);
1211 if (NDalicPINVOKE.SWIGPendingException.Pending)
1212 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1216 public void SetBackgroundImage(Image image)
1218 NDalicPINVOKE.View_SetBackgroundImage(swigCPtr, Image.getCPtr(image));
1219 if (NDalicPINVOKE.SWIGPendingException.Pending)
1220 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1223 public void ClearBackground()
1225 NDalicPINVOKE.View_ClearBackground(swigCPtr);
1226 if (NDalicPINVOKE.SWIGPendingException.Pending)
1227 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1230 public ControlKeySignal KeyEventSignal()
1232 ControlKeySignal ret = new ControlKeySignal(NDalicPINVOKE.View_KeyEventSignal(swigCPtr), false);
1233 if (NDalicPINVOKE.SWIGPendingException.Pending)
1234 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1238 public KeyInputFocusSignal KeyInputFocusGainedSignal()
1240 KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.View_KeyInputFocusGainedSignal(swigCPtr), false);
1241 if (NDalicPINVOKE.SWIGPendingException.Pending)
1242 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1246 public KeyInputFocusSignal KeyInputFocusLostSignal()
1248 KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.View_KeyInputFocusLostSignal(swigCPtr), false);
1249 if (NDalicPINVOKE.SWIGPendingException.Pending)
1250 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1254 public View(ViewImpl implementation) : this(NDalicPINVOKE.new_View__SWIG_2(ViewImpl.getCPtr(implementation)), true)
1256 if (NDalicPINVOKE.SWIGPendingException.Pending)
1257 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1260 public enum PropertyRange
1262 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
1263 CONTROL_PROPERTY_START_INDEX = PROPERTY_START_INDEX,
1264 CONTROL_PROPERTY_END_INDEX = CONTROL_PROPERTY_START_INDEX + 1000
1267 public string StyleName
1272 GetProperty(View.Property.STYLE_NAME).Get(out temp);
1277 SetProperty(View.Property.STYLE_NAME, new Dali.Property.Value(value));
1281 public Vector4 BackgroundColor
1285 Vector4 backgroundColor = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1287 Dali.Property.Map background = Background;
1289 background.Find(Dali.Constants.Visual.Property.Type).Get(ref visualType);
1290 if (visualType == (int)Dali.Constants.Visual.Type.Color)
1292 background.Find(Dali.Constants.ColorVisualProperty.MixColor).Get(backgroundColor);
1295 return backgroundColor;
1299 SetProperty(View.Property.BACKGROUND, new Dali.Property.Value(value));
1303 public string BackgroundImage
1307 string backgroundImage = "";
1309 Dali.Property.Map background = Background;
1311 background.Find(Dali.Constants.Visual.Property.Type).Get(ref visualType);
1312 if (visualType == (int)Dali.Constants.Visual.Type.Image)
1314 background.Find(Dali.Constants.ImageVisualProperty.URL).Get(out backgroundImage);
1317 return backgroundImage;
1321 SetProperty(View.Property.BACKGROUND, new Dali.Property.Value(value));
1325 public bool KeyInputFocus
1330 GetProperty(View.Property.KEY_INPUT_FOCUS).Get(ref temp);
1335 SetProperty(View.Property.KEY_INPUT_FOCUS, new Dali.Property.Value(value));
1339 public Dali.Property.Map Background
1343 Dali.Property.Map temp = new Dali.Property.Map();
1344 GetProperty(View.Property.BACKGROUND).Get(temp);
1349 SetProperty(View.Property.BACKGROUND, new Dali.Property.Value(value));
1358 GetProperty(View.Property.STATE).Get(out temp);
1363 SetProperty(View.Property.STATE, new Dali.Property.Value(value));
1367 public string SubState
1372 GetProperty(View.Property.SUB_STATE).Get(out temp);
1377 SetProperty(View.Property.SUB_STATE, new Dali.Property.Value(value));
1381 public Dali.Property.Map Tooltip
1385 Dali.Property.Map temp = new Dali.Property.Map();
1386 GetProperty(View.Property.TOOLTIP).Get(temp);
1391 SetProperty(View.Property.TOOLTIP, new Dali.Property.Value(value));
1395 public string TooltipText
1399 SetProperty(View.Property.TOOLTIP, new Dali.Property.Value(value));
1403 private int LeftFocusableViewId
1408 GetProperty(View.Property.LEFT_FOCUSABLE_VIEW_ID).Get(ref temp);
1413 SetProperty(View.Property.LEFT_FOCUSABLE_VIEW_ID, new Dali.Property.Value(value));
1417 private int RightFocusableViewId
1422 GetProperty(View.Property.RIGHT_FOCUSABLE_VIEW_ID).Get(ref temp);
1427 SetProperty(View.Property.RIGHT_FOCUSABLE_VIEW_ID, new Dali.Property.Value(value));
1431 private int UpFocusableViewId
1436 GetProperty(View.Property.UP_FOCUSABLE_VIEW_ID).Get(ref temp);
1441 SetProperty(View.Property.UP_FOCUSABLE_VIEW_ID, new Dali.Property.Value(value));
1445 private int DownFocusableViewId
1450 GetProperty(View.Property.DOWN_FOCUSABLE_VIEW_ID).Get(ref temp);
1455 SetProperty(View.Property.DOWN_FOCUSABLE_VIEW_ID, new Dali.Property.Value(value));
1464 GetProperty(FlexContainer.ChildProperty.FLEX).Get(ref temp);
1469 SetProperty(FlexContainer.ChildProperty.FLEX, new Dali.Property.Value(value));
1473 public int AlignSelf
1478 GetProperty(FlexContainer.ChildProperty.ALIGN_SELF).Get(ref temp);
1483 SetProperty(FlexContainer.ChildProperty.ALIGN_SELF, new Dali.Property.Value(value));
1487 public Vector4 FlexMargin
1491 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
1492 GetProperty(FlexContainer.ChildProperty.FLEX_MARGIN).Get(temp);
1497 SetProperty(FlexContainer.ChildProperty.FLEX_MARGIN, new Dali.Property.Value(value));
1501 public Vector2 CellIndex
1505 Vector2 temp = new Vector2(0.0f, 0.0f);
1506 GetProperty(TableView.ChildProperty.CELL_INDEX).Get(temp);
1511 SetProperty(TableView.ChildProperty.CELL_INDEX, new Dali.Property.Value(value));
1515 public float RowSpan
1520 GetProperty(TableView.ChildProperty.ROW_SPAN).Get(ref temp);
1525 SetProperty(TableView.ChildProperty.ROW_SPAN, new Dali.Property.Value(value));
1529 public float ColumnSpan
1534 GetProperty(TableView.ChildProperty.COLUMN_SPAN).Get(ref temp);
1539 SetProperty(TableView.ChildProperty.COLUMN_SPAN, new Dali.Property.Value(value));
1543 public string CellHorizontalAlignment
1548 GetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT).Get(out temp);
1553 SetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT, new Dali.Property.Value(value));
1557 public string CellVerticalAlignment
1562 GetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT).Get(out temp);
1567 SetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT, new Dali.Property.Value(value));
1572 * @brief The left focusable view.
1573 * @note This will return NULL if not set.
1574 * This will also return NULL if the specified left focusable view is not on window.
1577 public View LeftFocusableView
1579 // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
1582 if (LeftFocusableViewId >= 0)
1584 return ConvertIdToView((uint)LeftFocusableViewId);
1590 LeftFocusableViewId = (int)value.GetId();
1595 * @brief The right focusable view.
1596 * @note This will return NULL if not set.
1597 * This will also return NULL if the specified right focusable view is not on window.
1600 public View RightFocusableView
1602 // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
1605 if (RightFocusableViewId >= 0)
1607 return ConvertIdToView((uint)RightFocusableViewId);
1613 RightFocusableViewId = (int)value.GetId();
1618 * @brief The up focusable view.
1619 * @note This will return NULL if not set.
1620 * This will also return NULL if the specified up focusable view is not on window.
1623 public View UpFocusableView
1625 // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
1628 if (UpFocusableViewId >= 0)
1630 return ConvertIdToView((uint)UpFocusableViewId);
1636 UpFocusableViewId = (int)value.GetId();
1641 * @brief The down focusable view.
1642 * @note This will return NULL if not set.
1643 * This will also return NULL if the specified down focusable view is not on window.
1646 public View DownFocusableView
1648 // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
1651 if (DownFocusableViewId >= 0)
1653 return ConvertIdToView((uint)DownFocusableViewId);
1659 DownFocusableViewId = (int)value.GetId();
1663 public Position CurrentPosition
1667 return GetCurrentPosition();
1671 public Size2D Size2D
1675 Size temp = new Size(0.0f, 0.0f, 0.0f);
1676 GetProperty(View.Property.SIZE).Get(temp);
1677 return new Size2D(temp);
1681 SetProperty(View.Property.SIZE, new Dali.Property.Value(new Size(value)));
1685 public Size CurrentSize
1689 return GetCurrentSize();
1701 public bool Visibility
1709 public float Opacity
1714 GetProperty(View.Property.OPACITY).Get(ref temp);
1719 SetProperty(View.Property.OPACITY, new Dali.Property.Value(value));
1723 public Position2D Position2D
1727 Position temp = new Position(0.0f, 0.0f, 0.0f);
1728 GetProperty(View.Property.POSITION).Get(temp);
1729 return new Position2D(temp);
1733 SetProperty(View.Property.POSITION, new Dali.Property.Value(new Position(value)));
1737 public Vector2 ScreenPosition
1741 Vector2 temp = new Vector2(0.0f, 0.0f);
1742 GetProperty(View.Property.SCREEN_POSITION).Get(temp);
1747 protected bool PositionUsesAnchorPoint
1752 GetProperty(View.Property.POSITION_USES_ANCHOR_POINT).Get(ref temp);
1757 SetProperty(View.Property.POSITION_USES_ANCHOR_POINT, new Dali.Property.Value(value));
1761 public bool StateFocusEnable
1765 return IsKeyboardFocusable();
1769 SetKeyboardFocusable(value);
1773 public bool IsOnWindow
1781 public int SiblingOrder
1786 GetProperty(View.Property.SIBLING_ORDER).Get(ref temp);
1791 SetProperty(View.Property.SIBLING_ORDER, new Dali.Property.Value(value));
1807 NDalicPINVOKE.Raise(swigCPtr);
1808 if (NDalicPINVOKE.SWIGPendingException.Pending)
1809 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1814 NDalicPINVOKE.Lower(swigCPtr);
1815 if (NDalicPINVOKE.SWIGPendingException.Pending)
1816 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1819 public void RaiseToTop()
1821 NDalicPINVOKE.RaiseToTop(swigCPtr);
1822 if (NDalicPINVOKE.SWIGPendingException.Pending)
1823 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1826 public void LowerToBottom()
1828 NDalicPINVOKE.LowerToBottom(swigCPtr);
1829 if (NDalicPINVOKE.SWIGPendingException.Pending)
1830 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1833 public void RaiseAbove(View target)
1835 NDalicPINVOKE.RaiseAbove(swigCPtr, View.getCPtr(target));
1836 if (NDalicPINVOKE.SWIGPendingException.Pending)
1837 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1840 public void LowerBelow(View target)
1842 NDalicPINVOKE.RaiseAbove(swigCPtr, View.getCPtr(target));
1843 if (NDalicPINVOKE.SWIGPendingException.Pending)
1844 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1847 public string GetName()
1849 string ret = NDalicPINVOKE.Actor_GetName(swigCPtr);
1850 if (NDalicPINVOKE.SWIGPendingException.Pending)
1851 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1855 public void SetName(string name)
1857 NDalicPINVOKE.Actor_SetName(swigCPtr, name);
1858 if (NDalicPINVOKE.SWIGPendingException.Pending)
1859 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1864 uint ret = NDalicPINVOKE.Actor_GetId(swigCPtr);
1865 if (NDalicPINVOKE.SWIGPendingException.Pending)
1866 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1870 public bool OnWindow()
1872 bool ret = NDalicPINVOKE.Actor_OnStage(swigCPtr);
1873 if (NDalicPINVOKE.SWIGPendingException.Pending)
1874 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1878 public Layer GetLayer()
1880 Layer ret = new Layer(NDalicPINVOKE.Actor_GetLayer(swigCPtr), true);
1881 if (NDalicPINVOKE.SWIGPendingException.Pending)
1882 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1886 public void Add(View child)
1888 NDalicPINVOKE.Actor_Add(swigCPtr, View.getCPtr(child));
1889 if (NDalicPINVOKE.SWIGPendingException.Pending)
1890 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1893 public void Remove(View child)
1895 NDalicPINVOKE.Actor_Remove(swigCPtr, View.getCPtr(child));
1896 if (NDalicPINVOKE.SWIGPendingException.Pending)
1897 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1900 public void Unparent()
1902 NDalicPINVOKE.Actor_Unparent(swigCPtr);
1903 if (NDalicPINVOKE.SWIGPendingException.Pending)
1904 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1907 public uint GetChildCount()
1909 uint ret = NDalicPINVOKE.Actor_GetChildCount(swigCPtr);
1910 if (NDalicPINVOKE.SWIGPendingException.Pending)
1911 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1915 public View GetChildAt(uint index)
1917 View ret = new View(NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index), true);
1918 if (NDalicPINVOKE.SWIGPendingException.Pending)
1919 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1923 public View FindChildByName(string actorName)
1925 View ret = new View(NDalicPINVOKE.Actor_FindChildByName(swigCPtr, actorName), true);
1926 if (NDalicPINVOKE.SWIGPendingException.Pending)
1927 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1931 public View FindChildById(uint id)
1933 View ret = new View(NDalicPINVOKE.Actor_FindChildById(swigCPtr, id), true);
1934 if (NDalicPINVOKE.SWIGPendingException.Pending)
1935 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1939 public View GetParent()
1941 View ret = new View(NDalicPINVOKE.Actor_GetParent(swigCPtr), true);
1942 if (NDalicPINVOKE.SWIGPendingException.Pending)
1943 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1947 public void SetParentOrigin(Vector3 origin)
1949 NDalicPINVOKE.Actor_SetParentOrigin(swigCPtr, Vector3.getCPtr(origin));
1950 if (NDalicPINVOKE.SWIGPendingException.Pending)
1951 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1954 public Vector3 GetCurrentParentOrigin()
1956 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentParentOrigin(swigCPtr), true);
1957 if (NDalicPINVOKE.SWIGPendingException.Pending)
1958 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1962 public void SetAnchorPoint(Vector3 anchorPoint)
1964 NDalicPINVOKE.Actor_SetAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint));
1965 if (NDalicPINVOKE.SWIGPendingException.Pending)
1966 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1969 public Vector3 GetCurrentAnchorPoint()
1971 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentAnchorPoint(swigCPtr), true);
1972 if (NDalicPINVOKE.SWIGPendingException.Pending)
1973 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1977 public void SetSize(float width, float height)
1979 NDalicPINVOKE.Actor_SetSize__SWIG_0(swigCPtr, width, height);
1980 if (NDalicPINVOKE.SWIGPendingException.Pending)
1981 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1984 public void SetSize(float width, float height, float depth)
1986 NDalicPINVOKE.Actor_SetSize__SWIG_1(swigCPtr, width, height, depth);
1987 if (NDalicPINVOKE.SWIGPendingException.Pending)
1988 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1991 public void SetSize(Vector2 size)
1993 NDalicPINVOKE.Actor_SetSize__SWIG_2(swigCPtr, Vector2.getCPtr(size));
1994 if (NDalicPINVOKE.SWIGPendingException.Pending)
1995 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1998 public void SetSize(Vector3 size)
2000 NDalicPINVOKE.Actor_SetSize__SWIG_3(swigCPtr, Vector3.getCPtr(size));
2001 if (NDalicPINVOKE.SWIGPendingException.Pending)
2002 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2005 public Vector3 GetTargetSize()
2007 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetTargetSize(swigCPtr), true);
2008 if (NDalicPINVOKE.SWIGPendingException.Pending)
2009 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2013 public Vector3 GetCurrentSize()
2015 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentSize(swigCPtr), true);
2016 if (NDalicPINVOKE.SWIGPendingException.Pending)
2017 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2021 public Vector3 GetNaturalSize()
2023 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetNaturalSize(swigCPtr), true);
2024 if (NDalicPINVOKE.SWIGPendingException.Pending)
2025 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2029 public void SetPosition(float x, float y)
2031 NDalicPINVOKE.Actor_SetPosition__SWIG_0(swigCPtr, x, y);
2032 if (NDalicPINVOKE.SWIGPendingException.Pending)
2033 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2036 public void SetPosition(float x, float y, float z)
2038 NDalicPINVOKE.Actor_SetPosition__SWIG_1(swigCPtr, x, y, z);
2039 if (NDalicPINVOKE.SWIGPendingException.Pending)
2040 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2043 public void SetPosition(Vector3 position)
2045 NDalicPINVOKE.Actor_SetPosition__SWIG_2(swigCPtr, Vector3.getCPtr(position));
2046 if (NDalicPINVOKE.SWIGPendingException.Pending)
2047 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2050 public void SetX(float x)
2052 NDalicPINVOKE.Actor_SetX(swigCPtr, x);
2053 if (NDalicPINVOKE.SWIGPendingException.Pending)
2054 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2057 public void SetY(float y)
2059 NDalicPINVOKE.Actor_SetY(swigCPtr, y);
2060 if (NDalicPINVOKE.SWIGPendingException.Pending)
2061 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2064 public void SetZ(float z)
2066 NDalicPINVOKE.Actor_SetZ(swigCPtr, z);
2067 if (NDalicPINVOKE.SWIGPendingException.Pending)
2068 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2071 public void TranslateBy(Vector3 distance)
2073 NDalicPINVOKE.Actor_TranslateBy(swigCPtr, Vector3.getCPtr(distance));
2074 if (NDalicPINVOKE.SWIGPendingException.Pending)
2075 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2078 public Vector3 GetCurrentPosition()
2080 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentPosition(swigCPtr), true);
2081 if (NDalicPINVOKE.SWIGPendingException.Pending)
2082 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2086 public Vector3 GetCurrentWorldPosition()
2088 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldPosition(swigCPtr), true);
2089 if (NDalicPINVOKE.SWIGPendingException.Pending)
2090 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2094 public void SetInheritPosition(bool inherit)
2096 NDalicPINVOKE.Actor_SetInheritPosition(swigCPtr, inherit);
2097 if (NDalicPINVOKE.SWIGPendingException.Pending)
2098 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2101 public PositionInheritanceMode GetPositionInheritanceMode()
2103 PositionInheritanceMode ret = (PositionInheritanceMode)NDalicPINVOKE.Actor_GetPositionInheritanceMode(swigCPtr);
2104 if (NDalicPINVOKE.SWIGPendingException.Pending)
2105 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2109 public bool IsPositionInherited()
2111 bool ret = NDalicPINVOKE.Actor_IsPositionInherited(swigCPtr);
2112 if (NDalicPINVOKE.SWIGPendingException.Pending)
2113 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2117 public void SetOrientation(Degree angle, Vector3 axis)
2119 NDalicPINVOKE.Actor_SetOrientation__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));
2120 if (NDalicPINVOKE.SWIGPendingException.Pending)
2121 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2124 public void SetOrientation(Radian angle, Vector3 axis)
2126 NDalicPINVOKE.Actor_SetOrientation__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
2127 if (NDalicPINVOKE.SWIGPendingException.Pending)
2128 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2131 public void SetOrientation(Rotation orientation)
2133 NDalicPINVOKE.Actor_SetOrientation__SWIG_2(swigCPtr, Rotation.getCPtr(orientation));
2134 if (NDalicPINVOKE.SWIGPendingException.Pending)
2135 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2138 public void RotateBy(Degree angle, Vector3 axis)
2140 NDalicPINVOKE.Actor_RotateBy__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));
2141 if (NDalicPINVOKE.SWIGPendingException.Pending)
2142 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2145 public void RotateBy(Radian angle, Vector3 axis)
2147 NDalicPINVOKE.Actor_RotateBy__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
2148 if (NDalicPINVOKE.SWIGPendingException.Pending)
2149 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2152 public void RotateBy(Rotation relativeRotation)
2154 NDalicPINVOKE.Actor_RotateBy__SWIG_2(swigCPtr, Rotation.getCPtr(relativeRotation));
2155 if (NDalicPINVOKE.SWIGPendingException.Pending)
2156 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2159 public Rotation GetCurrentOrientation()
2161 Rotation ret = new Rotation(NDalicPINVOKE.Actor_GetCurrentOrientation(swigCPtr), true);
2162 if (NDalicPINVOKE.SWIGPendingException.Pending)
2163 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2167 public void SetInheritOrientation(bool inherit)
2169 NDalicPINVOKE.Actor_SetInheritOrientation(swigCPtr, inherit);
2170 if (NDalicPINVOKE.SWIGPendingException.Pending)
2171 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2174 public bool IsOrientationInherited()
2176 bool ret = NDalicPINVOKE.Actor_IsOrientationInherited(swigCPtr);
2177 if (NDalicPINVOKE.SWIGPendingException.Pending)
2178 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2182 public Rotation GetCurrentWorldOrientation()
2184 Rotation ret = new Rotation(NDalicPINVOKE.Actor_GetCurrentWorldOrientation(swigCPtr), true);
2185 if (NDalicPINVOKE.SWIGPendingException.Pending)
2186 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2190 public void SetScale(float scale)
2192 NDalicPINVOKE.Actor_SetScale__SWIG_0(swigCPtr, scale);
2193 if (NDalicPINVOKE.SWIGPendingException.Pending)
2194 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2197 public void SetScale(float scaleX, float scaleY, float scaleZ)
2199 NDalicPINVOKE.Actor_SetScale__SWIG_1(swigCPtr, scaleX, scaleY, scaleZ);
2200 if (NDalicPINVOKE.SWIGPendingException.Pending)
2201 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2204 public void SetScale(Vector3 scale)
2206 NDalicPINVOKE.Actor_SetScale__SWIG_2(swigCPtr, Vector3.getCPtr(scale));
2207 if (NDalicPINVOKE.SWIGPendingException.Pending)
2208 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2211 public void ScaleBy(Vector3 relativeScale)
2213 NDalicPINVOKE.Actor_ScaleBy(swigCPtr, Vector3.getCPtr(relativeScale));
2214 if (NDalicPINVOKE.SWIGPendingException.Pending)
2215 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2218 public Vector3 GetCurrentScale()
2220 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentScale(swigCPtr), true);
2221 if (NDalicPINVOKE.SWIGPendingException.Pending)
2222 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2226 public Vector3 GetCurrentWorldScale()
2228 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldScale(swigCPtr), true);
2229 if (NDalicPINVOKE.SWIGPendingException.Pending)
2230 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2234 public void SetInheritScale(bool inherit)
2236 NDalicPINVOKE.Actor_SetInheritScale(swigCPtr, inherit);
2237 if (NDalicPINVOKE.SWIGPendingException.Pending)
2238 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2241 public bool IsScaleInherited()
2243 bool ret = NDalicPINVOKE.Actor_IsScaleInherited(swigCPtr);
2244 if (NDalicPINVOKE.SWIGPendingException.Pending)
2245 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2249 public Matrix GetCurrentWorldMatrix()
2251 Matrix ret = new Matrix(NDalicPINVOKE.Actor_GetCurrentWorldMatrix(swigCPtr), true);
2252 if (NDalicPINVOKE.SWIGPendingException.Pending)
2253 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2257 public void SetVisible(bool visible)
2259 NDalicPINVOKE.Actor_SetVisible(swigCPtr, visible);
2260 if (NDalicPINVOKE.SWIGPendingException.Pending)
2261 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2264 public bool IsVisible()
2266 bool ret = NDalicPINVOKE.Actor_IsVisible(swigCPtr);
2267 if (NDalicPINVOKE.SWIGPendingException.Pending)
2268 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2272 public void SetOpacity(float opacity)
2274 NDalicPINVOKE.Actor_SetOpacity(swigCPtr, opacity);
2275 if (NDalicPINVOKE.SWIGPendingException.Pending)
2276 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2279 public float GetCurrentOpacity()
2281 float ret = NDalicPINVOKE.Actor_GetCurrentOpacity(swigCPtr);
2282 if (NDalicPINVOKE.SWIGPendingException.Pending)
2283 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2287 public void SetColor(Vector4 color)
2289 NDalicPINVOKE.Actor_SetColor(swigCPtr, Vector4.getCPtr(color));
2290 if (NDalicPINVOKE.SWIGPendingException.Pending)
2291 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2294 public Vector4 GetCurrentColor()
2296 Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentColor(swigCPtr), true);
2297 if (NDalicPINVOKE.SWIGPendingException.Pending)
2298 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2302 public void SetColorMode(ColorMode colorMode)
2304 NDalicPINVOKE.Actor_SetColorMode(swigCPtr, (int)colorMode);
2305 if (NDalicPINVOKE.SWIGPendingException.Pending)
2306 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2309 public ColorMode GetColorMode()
2311 ColorMode ret = (ColorMode)NDalicPINVOKE.Actor_GetColorMode(swigCPtr);
2312 if (NDalicPINVOKE.SWIGPendingException.Pending)
2313 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2317 public Vector4 GetCurrentWorldColor()
2319 Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentWorldColor(swigCPtr), true);
2320 if (NDalicPINVOKE.SWIGPendingException.Pending)
2321 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2325 public void SetDrawMode(DrawModeType drawMode)
2327 NDalicPINVOKE.Actor_SetDrawMode(swigCPtr, (int)drawMode);
2328 if (NDalicPINVOKE.SWIGPendingException.Pending)
2329 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2332 public DrawModeType GetDrawMode()
2334 DrawModeType ret = (DrawModeType)NDalicPINVOKE.Actor_GetDrawMode(swigCPtr);
2335 if (NDalicPINVOKE.SWIGPendingException.Pending)
2336 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2340 public void SetSensitive(bool sensitive)
2342 NDalicPINVOKE.Actor_SetSensitive(swigCPtr, sensitive);
2343 if (NDalicPINVOKE.SWIGPendingException.Pending)
2344 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2347 public bool IsSensitive()
2349 bool ret = NDalicPINVOKE.Actor_IsSensitive(swigCPtr);
2350 if (NDalicPINVOKE.SWIGPendingException.Pending)
2351 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2355 public bool ScreenToLocal(out float localX, out float localY, float screenX, float screenY)
2357 bool ret = NDalicPINVOKE.Actor_ScreenToLocal(swigCPtr, out localX, out localY, screenX, screenY);
2358 if (NDalicPINVOKE.SWIGPendingException.Pending)
2359 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2363 public void SetLeaveRequired(bool required)
2365 NDalicPINVOKE.Actor_SetLeaveRequired(swigCPtr, required);
2366 if (NDalicPINVOKE.SWIGPendingException.Pending)
2367 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2370 public bool GetLeaveRequired()
2372 bool ret = NDalicPINVOKE.Actor_GetLeaveRequired(swigCPtr);
2373 if (NDalicPINVOKE.SWIGPendingException.Pending)
2374 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2378 public void SetKeyboardFocusable(bool focusable)
2380 NDalicPINVOKE.Actor_SetKeyboardFocusable(swigCPtr, focusable);
2381 if (NDalicPINVOKE.SWIGPendingException.Pending)
2382 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2385 public bool IsKeyboardFocusable()
2387 bool ret = NDalicPINVOKE.Actor_IsKeyboardFocusable(swigCPtr);
2388 if (NDalicPINVOKE.SWIGPendingException.Pending)
2389 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2393 public void SetResizePolicy(ResizePolicyType policy, DimensionType dimension)
2395 NDalicPINVOKE.Actor_SetResizePolicy(swigCPtr, (int)policy, (int)dimension);
2396 if (NDalicPINVOKE.SWIGPendingException.Pending)
2397 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2400 public ResizePolicyType GetResizePolicy(DimensionType dimension)
2402 ResizePolicyType ret = (ResizePolicyType)NDalicPINVOKE.Actor_GetResizePolicy(swigCPtr, (int)dimension);
2403 if (NDalicPINVOKE.SWIGPendingException.Pending)
2404 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2408 public void SetSizeScalePolicy(SizeScalePolicyType policy)
2410 NDalicPINVOKE.Actor_SetSizeScalePolicy(swigCPtr, (int)policy);
2411 if (NDalicPINVOKE.SWIGPendingException.Pending)
2412 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2415 public SizeScalePolicyType GetSizeScalePolicy()
2417 SizeScalePolicyType ret = (SizeScalePolicyType)NDalicPINVOKE.Actor_GetSizeScalePolicy(swigCPtr);
2418 if (NDalicPINVOKE.SWIGPendingException.Pending)
2419 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2423 public void SetSizeModeFactor(Vector3 factor)
2425 NDalicPINVOKE.Actor_SetSizeModeFactor(swigCPtr, Vector3.getCPtr(factor));
2426 if (NDalicPINVOKE.SWIGPendingException.Pending)
2427 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2430 public Vector3 GetSizeModeFactor()
2432 Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetSizeModeFactor(swigCPtr), true);
2433 if (NDalicPINVOKE.SWIGPendingException.Pending)
2434 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2438 public float GetHeightForWidth(float width)
2440 float ret = NDalicPINVOKE.Actor_GetHeightForWidth(swigCPtr, width);
2441 if (NDalicPINVOKE.SWIGPendingException.Pending)
2442 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2446 public float GetWidthForHeight(float height)
2448 float ret = NDalicPINVOKE.Actor_GetWidthForHeight(swigCPtr, height);
2449 if (NDalicPINVOKE.SWIGPendingException.Pending)
2450 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2454 public float GetRelayoutSize(DimensionType dimension)
2456 float ret = NDalicPINVOKE.Actor_GetRelayoutSize(swigCPtr, (int)dimension);
2457 if (NDalicPINVOKE.SWIGPendingException.Pending)
2458 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2462 public void SetPadding(PaddingType padding)
2464 NDalicPINVOKE.Actor_SetPadding(swigCPtr, PaddingType.getCPtr(padding));
2465 if (NDalicPINVOKE.SWIGPendingException.Pending)
2466 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2469 public void GetPadding(PaddingType paddingOut)
2471 NDalicPINVOKE.Actor_GetPadding(swigCPtr, PaddingType.getCPtr(paddingOut));
2472 if (NDalicPINVOKE.SWIGPendingException.Pending)
2473 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2476 public void SetMinimumSize(Vector2 size)
2478 NDalicPINVOKE.Actor_SetMinimumSize(swigCPtr, Vector2.getCPtr(size));
2479 if (NDalicPINVOKE.SWIGPendingException.Pending)
2480 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2483 public Vector2 GetMinimumSize()
2485 Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMinimumSize(swigCPtr), true);
2486 if (NDalicPINVOKE.SWIGPendingException.Pending)
2487 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2491 public void SetMaximumSize(Vector2 size)
2493 NDalicPINVOKE.Actor_SetMaximumSize(swigCPtr, Vector2.getCPtr(size));
2494 if (NDalicPINVOKE.SWIGPendingException.Pending)
2495 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2498 public Vector2 GetMaximumSize()
2500 Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMaximumSize(swigCPtr), true);
2501 if (NDalicPINVOKE.SWIGPendingException.Pending)
2502 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2506 public int GetHierarchyDepth()
2508 int ret = NDalicPINVOKE.Actor_GetHierarchyDepth(swigCPtr);
2509 if (NDalicPINVOKE.SWIGPendingException.Pending)
2510 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2514 public uint AddRenderer(Renderer renderer)
2516 uint ret = NDalicPINVOKE.Actor_AddRenderer(swigCPtr, Renderer.getCPtr(renderer));
2517 if (NDalicPINVOKE.SWIGPendingException.Pending)
2518 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2522 public uint GetRendererCount()
2524 uint ret = NDalicPINVOKE.Actor_GetRendererCount(swigCPtr);
2525 if (NDalicPINVOKE.SWIGPendingException.Pending)
2526 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2530 public Renderer GetRendererAt(uint index)
2532 Renderer ret = new Renderer(NDalicPINVOKE.Actor_GetRendererAt(swigCPtr, index), true);
2533 if (NDalicPINVOKE.SWIGPendingException.Pending)
2534 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2538 public void RemoveRenderer(Renderer renderer)
2540 NDalicPINVOKE.Actor_RemoveRenderer__SWIG_0(swigCPtr, Renderer.getCPtr(renderer));
2541 if (NDalicPINVOKE.SWIGPendingException.Pending)
2542 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2545 public void RemoveRenderer(uint index)
2547 NDalicPINVOKE.Actor_RemoveRenderer__SWIG_1(swigCPtr, index);
2548 if (NDalicPINVOKE.SWIGPendingException.Pending)
2549 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2552 internal TouchDataSignal TouchSignal()
2554 TouchDataSignal ret = new TouchDataSignal(NDalicPINVOKE.Actor_TouchSignal(swigCPtr), false);
2555 if (NDalicPINVOKE.SWIGPendingException.Pending)
2556 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2560 internal HoverSignal HoveredSignal()
2562 HoverSignal ret = new HoverSignal(NDalicPINVOKE.Actor_HoveredSignal(swigCPtr), false);
2563 if (NDalicPINVOKE.SWIGPendingException.Pending)
2564 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2568 internal WheelSignal WheelEventSignal()
2570 WheelSignal ret = new WheelSignal(NDalicPINVOKE.Actor_WheelEventSignal(swigCPtr), false);
2571 if (NDalicPINVOKE.SWIGPendingException.Pending)
2572 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2576 public ViewSignal OnWindowSignal()
2578 ViewSignal ret = new ViewSignal(NDalicPINVOKE.Actor_OnStageSignal(swigCPtr), false);
2579 if (NDalicPINVOKE.SWIGPendingException.Pending)
2580 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2584 public ViewSignal OffStageSignal()
2586 ViewSignal ret = new ViewSignal(NDalicPINVOKE.Actor_OffStageSignal(swigCPtr), false);
2587 if (NDalicPINVOKE.SWIGPendingException.Pending)
2588 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2592 public ViewSignal OnRelayoutSignal()
2594 ViewSignal ret = new ViewSignal(NDalicPINVOKE.Actor_OnRelayoutSignal(swigCPtr), false);
2595 if (NDalicPINVOKE.SWIGPendingException.Pending)
2596 throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2600 public Vector3 ParentOrigin
2604 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
2605 GetProperty(View.Property.PARENT_ORIGIN).Get(temp);
2610 SetProperty(View.Property.PARENT_ORIGIN, new Dali.Property.Value(value));
2614 public float ParentOriginX
2619 GetProperty(View.Property.PARENT_ORIGIN_X).Get(ref temp);
2624 SetProperty(View.Property.PARENT_ORIGIN_X, new Dali.Property.Value(value));
2628 public float ParentOriginY
2633 GetProperty(View.Property.PARENT_ORIGIN_Y).Get(ref temp);
2638 SetProperty(View.Property.PARENT_ORIGIN_Y, new Dali.Property.Value(value));
2642 public float ParentOriginZ
2647 GetProperty(View.Property.PARENT_ORIGIN_Z).Get(ref temp);
2652 SetProperty(View.Property.PARENT_ORIGIN_Z, new Dali.Property.Value(value));
2656 public Vector3 AnchorPoint
2660 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
2661 GetProperty(View.Property.ANCHOR_POINT).Get(temp);
2666 SetProperty(View.Property.ANCHOR_POINT, new Dali.Property.Value(value));
2670 public float AnchorPointX
2675 GetProperty(View.Property.ANCHOR_POINT_X).Get(ref temp);
2680 SetProperty(View.Property.ANCHOR_POINT_X, new Dali.Property.Value(value));
2684 public float AnchorPointY
2689 GetProperty(View.Property.ANCHOR_POINT_Y).Get(ref temp);
2694 SetProperty(View.Property.ANCHOR_POINT_Y, new Dali.Property.Value(value));
2698 public float AnchorPointZ
2703 GetProperty(View.Property.ANCHOR_POINT_Z).Get(ref temp);
2708 SetProperty(View.Property.ANCHOR_POINT_Z, new Dali.Property.Value(value));
2716 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
2717 GetProperty(View.Property.SIZE).Get(temp);
2722 SetProperty(View.Property.SIZE, new Dali.Property.Value(value));
2726 public float SizeWidth
2731 GetProperty(View.Property.SIZE_WIDTH).Get(ref temp);
2736 SetProperty(View.Property.SIZE_WIDTH, new Dali.Property.Value(value));
2740 public float SizeHeight
2745 GetProperty(View.Property.SIZE_HEIGHT).Get(ref temp);
2750 SetProperty(View.Property.SIZE_HEIGHT, new Dali.Property.Value(value));
2754 public float SizeDepth
2759 GetProperty(View.Property.SIZE_DEPTH).Get(ref temp);
2764 SetProperty(View.Property.SIZE_DEPTH, new Dali.Property.Value(value));
2768 public Vector3 Position
2772 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
2773 GetProperty(View.Property.POSITION).Get(temp);
2778 SetProperty(View.Property.POSITION, new Dali.Property.Value(value));
2782 public float PositionX
2787 GetProperty(View.Property.POSITION_X).Get(ref temp);
2792 SetProperty(View.Property.POSITION_X, new Dali.Property.Value(value));
2796 public float PositionY
2801 GetProperty(View.Property.POSITION_Y).Get(ref temp);
2806 SetProperty(View.Property.POSITION_Y, new Dali.Property.Value(value));
2810 public float PositionZ
2815 GetProperty(View.Property.POSITION_Z).Get(ref temp);
2820 SetProperty(View.Property.POSITION_Z, new Dali.Property.Value(value));
2824 public Vector3 WorldPosition
2828 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
2829 GetProperty(View.Property.WORLD_POSITION).Get(temp);
2834 public float WorldPositionX
2839 GetProperty(View.Property.WORLD_POSITION_X).Get(ref temp);
2844 public float WorldPositionY
2849 GetProperty(View.Property.WORLD_POSITION_Y).Get(ref temp);
2854 public float WorldPositionZ
2859 GetProperty(View.Property.WORLD_POSITION_Z).Get(ref temp);
2864 public Rotation Orientation
2868 Rotation temp = new Rotation();
2869 GetProperty(View.Property.ORIENTATION).Get(temp);
2874 SetProperty(View.Property.ORIENTATION, new Dali.Property.Value(value));
2878 public Rotation WorldOrientation
2882 Rotation temp = new Rotation();
2883 GetProperty(View.Property.WORLD_ORIENTATION).Get(temp);
2888 public Vector3 Scale
2892 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
2893 GetProperty(View.Property.SCALE).Get(temp);
2898 SetProperty(View.Property.SCALE, new Dali.Property.Value(value));
2907 GetProperty(View.Property.SCALE_X).Get(ref temp);
2912 SetProperty(View.Property.SCALE_X, new Dali.Property.Value(value));
2921 GetProperty(View.Property.SCALE_Y).Get(ref temp);
2926 SetProperty(View.Property.SCALE_Y, new Dali.Property.Value(value));
2935 GetProperty(View.Property.SCALE_Z).Get(ref temp);
2940 SetProperty(View.Property.SCALE_Z, new Dali.Property.Value(value));
2944 public Vector3 WorldScale
2948 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
2949 GetProperty(View.Property.WORLD_SCALE).Get(temp);
2959 GetProperty(View.Property.VISIBLE).Get(ref temp);
2964 SetProperty(View.Property.VISIBLE, new Dali.Property.Value(value));
2968 public float ColorRed
2973 GetProperty(View.Property.COLOR_RED).Get(ref temp);
2978 SetProperty(View.Property.COLOR_RED, new Dali.Property.Value(value));
2982 public float ColorGreen
2987 GetProperty(View.Property.COLOR_GREEN).Get(ref temp);
2992 SetProperty(View.Property.COLOR_GREEN, new Dali.Property.Value(value));
2996 public float ColorBlue
3001 GetProperty(View.Property.COLOR_BLUE).Get(ref temp);
3006 SetProperty(View.Property.COLOR_BLUE, new Dali.Property.Value(value));
3010 public float ColorAlpha
3015 GetProperty(View.Property.COLOR_ALPHA).Get(ref temp);
3020 SetProperty(View.Property.COLOR_ALPHA, new Dali.Property.Value(value));
3024 public Vector4 WorldColor
3028 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
3029 GetProperty(View.Property.WORLD_COLOR).Get(temp);
3034 public Matrix WorldMatrix
3038 Matrix temp = new Matrix();
3039 GetProperty(View.Property.WORLD_MATRIX).Get(temp);
3049 GetProperty(View.Property.NAME).Get(out temp);
3054 SetProperty(View.Property.NAME, new Dali.Property.Value(value));
3058 public bool Sensitive
3063 GetProperty(View.Property.SENSITIVE).Get(ref temp);
3068 SetProperty(View.Property.SENSITIVE, new Dali.Property.Value(value));
3072 public bool LeaveRequired
3077 GetProperty(View.Property.LEAVE_REQUIRED).Get(ref temp);
3082 SetProperty(View.Property.LEAVE_REQUIRED, new Dali.Property.Value(value));
3086 public bool InheritOrientation
3091 GetProperty(View.Property.INHERIT_ORIENTATION).Get(ref temp);
3096 SetProperty(View.Property.INHERIT_ORIENTATION, new Dali.Property.Value(value));
3100 public bool InheritScale
3105 GetProperty(View.Property.INHERIT_SCALE).Get(ref temp);
3110 SetProperty(View.Property.INHERIT_SCALE, new Dali.Property.Value(value));
3114 public string ColorMode
3119 GetProperty(View.Property.COLOR_MODE).Get(out temp);
3124 SetProperty(View.Property.COLOR_MODE, new Dali.Property.Value(value));
3128 public string PositionInheritance
3133 GetProperty(View.Property.POSITION_INHERITANCE).Get(out temp);
3138 SetProperty(View.Property.POSITION_INHERITANCE, new Dali.Property.Value(value));
3142 public string DrawMode
3147 GetProperty(View.Property.DRAW_MODE).Get(out temp);
3152 SetProperty(View.Property.DRAW_MODE, new Dali.Property.Value(value));
3156 public Vector3 SizeModeFactor
3160 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
3161 GetProperty(View.Property.SIZE_MODE_FACTOR).Get(temp);
3166 SetProperty(View.Property.SIZE_MODE_FACTOR, new Dali.Property.Value(value));
3170 public string WidthResizePolicy
3175 GetProperty(View.Property.WIDTH_RESIZE_POLICY).Get(out temp);
3180 SetProperty(View.Property.WIDTH_RESIZE_POLICY, new Dali.Property.Value(value));
3184 public string HeightResizePolicy
3189 GetProperty(View.Property.HEIGHT_RESIZE_POLICY).Get(out temp);
3194 SetProperty(View.Property.HEIGHT_RESIZE_POLICY, new Dali.Property.Value(value));
3198 public string SizeScalePolicy
3203 GetProperty(View.Property.SIZE_SCALE_POLICY).Get(out temp);
3208 SetProperty(View.Property.SIZE_SCALE_POLICY, new Dali.Property.Value(value));
3212 public bool WidthForHeight
3217 GetProperty(View.Property.WIDTH_FOR_HEIGHT).Get(ref temp);
3222 SetProperty(View.Property.WIDTH_FOR_HEIGHT, new Dali.Property.Value(value));
3226 public bool HeightForWidth
3231 GetProperty(View.Property.HEIGHT_FOR_WIDTH).Get(ref temp);
3236 SetProperty(View.Property.HEIGHT_FOR_WIDTH, new Dali.Property.Value(value));
3240 public Vector4 Padding
3244 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
3245 GetProperty(View.Property.PADDING).Get(temp);
3250 SetProperty(View.Property.PADDING, new Dali.Property.Value(value));
3254 public Vector2 MinimumSize
3258 Vector2 temp = new Vector2(0.0f, 0.0f);
3259 GetProperty(View.Property.MINIMUM_SIZE).Get(temp);
3264 SetProperty(View.Property.MINIMUM_SIZE, new Dali.Property.Value(value));
3268 public Vector2 MaximumSize
3272 Vector2 temp = new Vector2(0.0f, 0.0f);
3273 GetProperty(View.Property.MAXIMUM_SIZE).Get(temp);
3278 SetProperty(View.Property.MAXIMUM_SIZE, new Dali.Property.Value(value));
3282 public bool InheritPosition
3287 GetProperty(View.Property.INHERIT_POSITION).Get(ref temp);
3292 SetProperty(View.Property.INHERIT_POSITION, new Dali.Property.Value(value));
3296 public string ClippingMode
3301 GetProperty(View.Property.CLIPPING_MODE).Get(out temp);
3306 SetProperty(View.Property.CLIPPING_MODE, new Dali.Property.Value(value));