nui 0.2.30 release
authordongsug.song <dongsug.song@samsung.com>
Wed, 15 Mar 2017 10:27:31 +0000 (19:27 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Wed, 15 Mar 2017 10:46:54 +0000 (19:46 +0900)
Change-Id: I5e61312b1fca984e2113497d7bb6f0dfb7f84fcd
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
80 files changed:
Tizen.NUI.sln
packaging/csapi-nui.spec
src/Tizen.NUI/Tizen.NUI.csproj
src/Tizen.NUI/src/internal/Application.cs
src/Tizen.NUI/src/internal/ApplicationControlSignal.cs
src/Tizen.NUI/src/internal/ApplicationSignal.cs
src/Tizen.NUI/src/internal/DaliEnumConstants.cs
src/Tizen.NUI/src/internal/DaliEventHandler.cs
src/Tizen.NUI/src/internal/FittingModeType.cs
src/Tizen.NUI/src/internal/GradientVisualSpreadMethodType.cs
src/Tizen.NUI/src/internal/GradientVisualUnitsType.cs
src/Tizen.NUI/src/internal/ItemFactory.cs
src/Tizen.NUI/src/internal/KeyboardPreFocusChangeSignal.cs
src/Tizen.NUI/src/internal/ManualPINVOKE.cs
src/Tizen.NUI/src/internal/MeshVisualShadingModeValue.cs
src/Tizen.NUI/src/internal/Position2D.cs [deleted file]
src/Tizen.NUI/src/internal/PrimitiveVisualShapeType.cs
src/Tizen.NUI/src/internal/PropertyRangeManager.cs
src/Tizen.NUI/src/internal/SamplingModeType.cs
src/Tizen.NUI/src/internal/ViewImpl.cs
src/Tizen.NUI/src/internal/ViewRegistry.cs
src/Tizen.NUI/src/internal/ViewRegistryHelper.cs
src/Tizen.NUI/src/internal/WrapModeType.cs
src/Tizen.NUI/src/public/Actor.cs
src/Tizen.NUI/src/public/AlphaFunction.cs
src/Tizen.NUI/src/public/Animation.cs
src/Tizen.NUI/src/public/Button.cs
src/Tizen.NUI/src/public/CameraActor.cs
src/Tizen.NUI/src/public/CheckBoxButton.cs
src/Tizen.NUI/src/public/Color.cs
src/Tizen.NUI/src/public/CustomView.cs
src/Tizen.NUI/src/public/CustomView/Spin.cs
src/Tizen.NUI/src/public/CustomView/VisualView.cs [new file with mode: 0755]
src/Tizen.NUI/src/public/Degree.cs
src/Tizen.NUI/src/public/FlexContainer.cs
src/Tizen.NUI/src/public/FocusManager.cs
src/Tizen.NUI/src/public/Gesture.cs
src/Tizen.NUI/src/public/Hover.cs
src/Tizen.NUI/src/public/ImageView.cs
src/Tizen.NUI/src/public/Key.cs
src/Tizen.NUI/src/public/KeyFrames.cs
src/Tizen.NUI/src/public/Layer.cs
src/Tizen.NUI/src/public/LongPressGesture.cs
src/Tizen.NUI/src/public/NUIApplication.cs
src/Tizen.NUI/src/public/PanGesture.cs
src/Tizen.NUI/src/public/Path.cs
src/Tizen.NUI/src/public/PinchGesture.cs
src/Tizen.NUI/src/public/Popup.cs
src/Tizen.NUI/src/public/Position2D.cs [new file with mode: 0755]
src/Tizen.NUI/src/public/ProgressBar.cs
src/Tizen.NUI/src/public/Property.cs
src/Tizen.NUI/src/public/PushButton.cs
src/Tizen.NUI/src/public/Radian.cs
src/Tizen.NUI/src/public/RadioButton.cs
src/Tizen.NUI/src/public/Rectangle.cs
src/Tizen.NUI/src/public/RelayoutContainer.cs
src/Tizen.NUI/src/public/Rotation.cs
src/Tizen.NUI/src/public/ScrollBar.cs
src/Tizen.NUI/src/public/Size.cs
src/Tizen.NUI/src/public/Size2D.cs
src/Tizen.NUI/src/public/Slider.cs
src/Tizen.NUI/src/public/Stage.cs
src/Tizen.NUI/src/public/StyleManager.cs
src/Tizen.NUI/src/public/TableView.cs
src/Tizen.NUI/src/public/TapGesture.cs
src/Tizen.NUI/src/public/TextEditor.cs
src/Tizen.NUI/src/public/TextField.cs
src/Tizen.NUI/src/public/TextLabel.cs
src/Tizen.NUI/src/public/Timer.cs
src/Tizen.NUI/src/public/Touch.cs
src/Tizen.NUI/src/public/Vector2.cs
src/Tizen.NUI/src/public/Vector3.cs
src/Tizen.NUI/src/public/Vector4.cs
src/Tizen.NUI/src/public/VideoView.cs
src/Tizen.NUI/src/public/View.cs
src/Tizen.NUI/src/public/VisualBase.cs
src/Tizen.NUI/src/public/VisualFactory.cs
src/Tizen.NUI/src/public/VisualMaps.cs [new file with mode: 0755]
src/Tizen.NUI/src/public/Wheel.cs
src/Tizen.NUI/src/public/Window.cs

index 1aedc3446e0d53e6d710e5e757be36395500262e..162d74063c168980064b4195049349e733aab8bf 100755 (executable)
@@ -1,34 +1,34 @@
-\r
-Microsoft Visual Studio Solution File, Format Version 12.00\r
-# Visual Studio 14\r
-VisualStudioVersion = 14.0.25420.1\r
-MinimumVisualStudioVersion = 10.0.40219.1\r
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.NUI", "Tizen.NUI\Tizen.NUI.csproj", "{F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}"\r
-EndProject\r
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUISamples.TizenTV", "NUISamples\NUISamples.TizenTV\NUISamples.TizenTV.csproj", "{B47E2552-F995-49F6-AC29-58B9CCFB7056}"\r
-EndProject\r
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DoNotUse!", "NUISamples\NUISamples\DoNotUse!.csproj", "{3B1120FD-0E02-45A6-A3A4-AC3EBCB61083}"\r
-EndProject\r
-Global\r
-       GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
-               Debug|Any CPU = Debug|Any CPU\r
-               Release|Any CPU = Release|Any CPU\r
-       EndGlobalSection\r
-       GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
-               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
-               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
-               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
-               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.Build.0 = Release|Any CPU\r
-               {B47E2552-F995-49F6-AC29-58B9CCFB7056}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
-               {B47E2552-F995-49F6-AC29-58B9CCFB7056}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
-               {B47E2552-F995-49F6-AC29-58B9CCFB7056}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
-               {B47E2552-F995-49F6-AC29-58B9CCFB7056}.Release|Any CPU.Build.0 = Release|Any CPU\r
-               {3B1120FD-0E02-45A6-A3A4-AC3EBCB61083}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
-               {3B1120FD-0E02-45A6-A3A4-AC3EBCB61083}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
-               {3B1120FD-0E02-45A6-A3A4-AC3EBCB61083}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
-               {3B1120FD-0E02-45A6-A3A4-AC3EBCB61083}.Release|Any CPU.Build.0 = Release|Any CPU\r
-       EndGlobalSection\r
-       GlobalSection(SolutionProperties) = preSolution\r
-               HideSolutionNode = FALSE\r
-       EndGlobalSection\r
-EndGlobal\r
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+VisualStudioVersion = 14.0.25420.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.NUI", "Tizen.NUI\Tizen.NUI.csproj", "{F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUISamples.TizenTV", "NUISamples\NUISamples.TizenTV\NUISamples.TizenTV.csproj", "{B47E2552-F995-49F6-AC29-58B9CCFB7056}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DoNotUse!", "NUISamples\NUISamples\DoNotUse!.csproj", "{3B1120FD-0E02-45A6-A3A4-AC3EBCB61083}"
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Any CPU = Debug|Any CPU
+               Release|Any CPU = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.Build.0 = Release|Any CPU
+               {B47E2552-F995-49F6-AC29-58B9CCFB7056}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {B47E2552-F995-49F6-AC29-58B9CCFB7056}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {B47E2552-F995-49F6-AC29-58B9CCFB7056}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {B47E2552-F995-49F6-AC29-58B9CCFB7056}.Release|Any CPU.Build.0 = Release|Any CPU
+               {3B1120FD-0E02-45A6-A3A4-AC3EBCB61083}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {3B1120FD-0E02-45A6-A3A4-AC3EBCB61083}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {3B1120FD-0E02-45A6-A3A4-AC3EBCB61083}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {3B1120FD-0E02-45A6-A3A4-AC3EBCB61083}.Release|Any CPU.Build.0 = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal
index 2ac619031524d454e1bad1d770b61da84a962ea6..10ba4b5dc69bcc8a9c59ee20817b8bca7cb7f3aa 100755 (executable)
@@ -1,7 +1,7 @@
 Name:       csapi-nui
 Summary:    dali-NUI
-Version:    1.0.2
-Release:    0
+Version:    0.2.30
+Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
 URL:        https://www.tizen.org
index c3ba16fd15c1b9dc8723638874c49a998e03548b..6e87c013c4b542afaf120ad54133d7e2f30bff83 100755 (executable)
     <Compile Include="src\internal\PinchGestureDetector.cs" />\r
     <Compile Include="src\internal\PixelData.cs" />\r
     <Compile Include="src\internal\PixelFormat.cs" />\r
-    <Compile Include="src\internal\Position2D.cs" />\r
+    <Compile Include="src\public\CustomView\VisualView.cs" />\r
+    <Compile Include="src\public\VisualMaps.cs" />\r
+    <Compile Include="src\public\Position2D.cs" />\r
     <Compile Include="src\internal\PositionInheritanceMode.cs" />\r
     <Compile Include="src\internal\PrimitiveVisualShapeType.cs" />\r
     <Compile Include="src\internal\ProgressBarValueChangedSignal.cs" />\r
index 32a4136f35c42ef09b36c898b2d89e2310110056..6b6f102a8b2fef50fdade1f5b771b2fcf8565de6 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationInit signal\r
-      *\r
-      */\r
-    internal class NUIApplicationInitEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-\r
-        /**\r
-          * @brief Application - is the application that is being initialized\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationTerminate signal\r
-      *\r
-      */\r
-    internal class NUIApplicationTerminateEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-        /**\r
-          * @brief Application - is the application that is being Terminated\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationPause signal\r
-      *\r
-      */\r
-    internal class NUIApplicationPauseEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-        /**\r
-          * @brief Application - is the application that is being Paused\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationResume signal\r
-      *\r
-      */\r
-    internal class NUIApplicationResumeEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-        /**\r
-          * @brief Application - is the application that is being Resumed\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationReset signal\r
-      *\r
-      */\r
-    internal class NUIApplicationResetEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-        /**\r
-          * @brief Application - is the application that is being Reset\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationResize signal\r
-      *\r
-      */\r
-    internal class NUIApplicationResizeEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-        /**\r
-          * @brief Application - is the application that is being Resized\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationLanguageChanged signal\r
-      *\r
-      */\r
-    internal class NUIApplicationLanguageChangedEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-        /**\r
-          * @brief Application - is the application that is being affected with Device's language change\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationRegionChanged signal\r
-      *\r
-      */\r
-    internal class NUIApplicationRegionChangedEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-        /**\r
-          * @brief Application - is the application that is being affected with Device's region change\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationBatteryLow signal\r
-      *\r
-      */\r
-    internal class NUIApplicationBatteryLowEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-        /**\r
-          * @brief Application - is the application that is being affected when the battery level of the device is low\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationMemoryLow signal\r
-      *\r
-      */\r
-    internal class NUIApplicationMemoryLowEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-        /**\r
-          * @brief Application - is the application that is being affected when the memory level of the device is low\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    /**\r
-      * @brief Event arguments that passed via NUIApplicationAppControl         signal\r
-      *\r
-      */\r
-    internal class NUIApplicationAppControlEventArgs : EventArgs\r
-    {\r
-        private Application _application;\r
-        private IntPtr _voidp;\r
-        /**\r
-          * @brief Application - is the application that is receiving the launch request from another application\r
-          *\r
-          */\r
-        public Application Application\r
-        {\r
-            get\r
-            {\r
-                return _application;\r
-            }\r
-            set\r
-            {\r
-                _application = value;\r
-            }\r
-        }\r
-        /**\r
-          * @brief VoidP - contains the information about why the application is launched\r
-          *\r
-          */\r
-        public IntPtr VoidP\r
-        {\r
-            get\r
-            {\r
-                return _voidp;\r
-            }\r
-            set\r
-            {\r
-                _voidp = value;\r
-            }\r
-        }\r
-    }\r
-\r
-    internal class Application : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Application(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Application_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Application obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Application()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Application(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-        private static void LOG(string str)\r
-        {\r
-            //Tizen.Log.Debug("NUI", str);\r
-        }\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationInitEventCallbackDelegate(IntPtr application);\r
-        private DaliEventHandler<object, NUIApplicationInitEventArgs> _applicationInitEventHandler;\r
-        private NUIApplicationInitEventCallbackDelegate _applicationInitEventCallbackDelegate;\r
-\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationTerminateEventCallbackDelegate(IntPtr application);\r
-        private DaliEventHandler<object, NUIApplicationTerminateEventArgs> _applicationTerminateEventHandler;\r
-        private NUIApplicationTerminateEventCallbackDelegate _applicationTerminateEventCallbackDelegate;\r
-\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationPauseEventCallbackDelegate(IntPtr application);\r
-        private DaliEventHandler<object, NUIApplicationPauseEventArgs> _applicationPauseEventHandler;\r
-        private NUIApplicationPauseEventCallbackDelegate _applicationPauseEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationResumeEventCallbackDelegate(IntPtr application);\r
-        private DaliEventHandler<object, NUIApplicationResumeEventArgs> _applicationResumeEventHandler;\r
-        private NUIApplicationResumeEventCallbackDelegate _applicationResumeEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationResetEventCallbackDelegate(IntPtr application);\r
-        private DaliEventHandler<object, NUIApplicationResetEventArgs> _applicationResetEventHandler;\r
-        private NUIApplicationResetEventCallbackDelegate _applicationResetEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationResizeEventCallbackDelegate(IntPtr application);\r
-        private DaliEventHandler<object, NUIApplicationResizeEventArgs> _applicationResizeEventHandler;\r
-        private NUIApplicationResizeEventCallbackDelegate _applicationResizeEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationLanguageChangedEventCallbackDelegate(IntPtr application);\r
-        private DaliEventHandler<object, NUIApplicationLanguageChangedEventArgs> _applicationLanguageChangedEventHandler;\r
-        private NUIApplicationLanguageChangedEventCallbackDelegate _applicationLanguageChangedEventCallbackDelegate;\r
-\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationRegionChangedEventCallbackDelegate(IntPtr application);\r
-        private DaliEventHandler<object, NUIApplicationRegionChangedEventArgs> _applicationRegionChangedEventHandler;\r
-        private NUIApplicationRegionChangedEventCallbackDelegate _applicationRegionChangedEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationBatteryLowEventCallbackDelegate(IntPtr application);\r
-        private DaliEventHandler<object, NUIApplicationBatteryLowEventArgs> _applicationBatteryLowEventHandler;\r
-        private NUIApplicationBatteryLowEventCallbackDelegate _applicationBatteryLowEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationMemoryLowEventCallbackDelegate(IntPtr application);\r
-        private DaliEventHandler<object, NUIApplicationMemoryLowEventArgs> _applicationMemoryLowEventHandler;\r
-        private NUIApplicationMemoryLowEventCallbackDelegate _applicationMemoryLowEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void NUIApplicationAppControlEventCallbackDelegate(IntPtr application, IntPtr voidp);\r
-        private DaliEventHandler<object, NUIApplicationAppControlEventArgs> _applicationAppControlEventHandler;\r
-        private NUIApplicationAppControlEventCallbackDelegate _applicationAppControlEventCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for Initialized signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationInitEventHandler - DaliEventHandler<object,NUIApplicationInitEventArgs>)\r
-          *  provided by the user. Initialized signal is emitted when application is initialised\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationInitEventArgs> Initialized\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationInitEventHandler == null)\r
-                    {\r
-                        _applicationInitEventHandler += value;\r
-\r
-                        _applicationInitEventCallbackDelegate = new NUIApplicationInitEventCallbackDelegate(OnApplicationInit);\r
-                        this.InitSignal().Connect(_applicationInitEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationInitEventHandler != null)\r
-                    {\r
-                        this.InitSignal().Disconnect(_applicationInitEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationInitEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application InitSignal\r
-        private void OnApplicationInit(IntPtr data)\r
-        {\r
-            NUIApplicationInitEventArgs e = new NUIApplicationInitEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationInitEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(data);\r
-\r
-            if (_applicationInitEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationInitEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for Terminated signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationTerminateEventHandler-DaliEventHandler<object,NUIApplicationTerminateEventArgs>)\r
-          *  provided by the user. Terminated signal is emitted when application is terminated\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationTerminateEventArgs> Terminated\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationTerminateEventHandler == null)\r
-                    {\r
-                        _applicationTerminateEventHandler += value;\r
-\r
-                        _applicationTerminateEventCallbackDelegate = new NUIApplicationTerminateEventCallbackDelegate(OnNUIApplicationTerminate);\r
-                        this.TerminateSignal().Connect(_applicationTerminateEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationTerminateEventHandler != null)\r
-                    {\r
-                        this.TerminateSignal().Disconnect(_applicationTerminateEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationTerminateEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application TerminateSignal\r
-        private void OnNUIApplicationTerminate(IntPtr data)\r
-        {\r
-            NUIApplicationTerminateEventArgs e = new NUIApplicationTerminateEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationTerminateEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(data);\r
-\r
-            if (_applicationTerminateEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationTerminateEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for Paused signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationPauseEventHandler-DaliEventHandler<object,NUIApplicationPauseEventArgs>)\r
-          * provided by the user. Paused signal is emitted when application is paused\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationPauseEventArgs> Paused\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationPauseEventHandler == null)\r
-                    {\r
-                        _applicationPauseEventHandler += value;\r
-\r
-                        _applicationPauseEventCallbackDelegate = new NUIApplicationPauseEventCallbackDelegate(OnNUIApplicationPause);\r
-                        this.PauseSignal().Connect(_applicationPauseEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationPauseEventHandler != null)\r
-                    {\r
-                        this.PauseSignal().Disconnect(_applicationPauseEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationPauseEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application PauseSignal\r
-        private void OnNUIApplicationPause(IntPtr data)\r
-        {\r
-            NUIApplicationPauseEventArgs e = new NUIApplicationPauseEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationPauseEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(data);\r
-\r
-            if (_applicationPauseEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationPauseEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for Resumed signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationResumeEventHandler-DaliEventHandler<object,NUIApplicationResumeEventArgs>)\r
-          *  provided by the user. Resumed signal is emitted when application is resumed\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationResumeEventArgs> Resumed\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationResumeEventHandler == null)\r
-                    {\r
-                        _applicationResumeEventHandler += value;\r
-\r
-                        _applicationResumeEventCallbackDelegate = new NUIApplicationResumeEventCallbackDelegate(OnNUIApplicationResume);\r
-                        this.ResumeSignal().Connect(_applicationResumeEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationResumeEventHandler != null)\r
-                    {\r
-                        this.ResumeSignal().Disconnect(_applicationResumeEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationResumeEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application ResumeSignal\r
-        private void OnNUIApplicationResume(IntPtr data)\r
-        {\r
-            NUIApplicationResumeEventArgs e = new NUIApplicationResumeEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationResumeEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(data);\r
-\r
-            if (_applicationResumeEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationResumeEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for Reset signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationResetEventHandler-DaliEventHandler<object,NUIApplicationResetEventArgs>)\r
-          *  provided by the user. Reset signal is emitted when application is reset\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationResetEventArgs> Reset\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationResetEventHandler == null)\r
-                    {\r
-                        _applicationResetEventHandler += value;\r
-\r
-                        _applicationResetEventCallbackDelegate = new NUIApplicationResetEventCallbackDelegate(OnNUIApplicationReset);\r
-                        this.ResetSignal().Connect(_applicationResetEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationResetEventHandler != null)\r
-                    {\r
-                        this.ResetSignal().Disconnect(_applicationResetEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationResetEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application ResetSignal\r
-        private void OnNUIApplicationReset(IntPtr data)\r
-        {\r
-            NUIApplicationResetEventArgs e = new NUIApplicationResetEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationResetEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(data);\r
-\r
-            if (_applicationResetEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationResetEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for Resized signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationResizeEventHandler-DaliEventHandler<object,NUIApplicationResizeEventArgs>)\r
-          *  provided by the user. Resized signal is emitted when application is resized\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationResizeEventArgs> Resized\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationResizeEventHandler == null)\r
-                    {\r
-                        _applicationResizeEventHandler += value;\r
-\r
-                        _applicationResizeEventCallbackDelegate = new NUIApplicationResizeEventCallbackDelegate(OnNUIApplicationResize);\r
-                        this.ResizeSignal().Connect(_applicationResizeEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationResizeEventHandler != null)\r
-                    {\r
-                        this.ResizeSignal().Disconnect(_applicationResizeEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationResizeEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application ResizeSignal\r
-        private void OnNUIApplicationResize(IntPtr data)\r
-        {\r
-            NUIApplicationResizeEventArgs e = new NUIApplicationResizeEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationResizeEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(data);\r
-\r
-            if (_applicationResizeEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationResizeEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for LanguageChanged signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationLanguageChangedEventHandler-DaliEventHandler<object,NUIApplicationLanguageChangedEventArgs>)\r
-          *  provided by the user. LanguageChanged signal is emitted when the region of the device is changed.\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationLanguageChangedEventArgs> LanguageChanged\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationLanguageChangedEventHandler == null)\r
-                    {\r
-                        _applicationLanguageChangedEventHandler += value;\r
-\r
-                        _applicationLanguageChangedEventCallbackDelegate = new NUIApplicationLanguageChangedEventCallbackDelegate(OnNUIApplicationLanguageChanged);\r
-                        this.LanguageChangedSignal().Connect(_applicationLanguageChangedEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationLanguageChangedEventHandler != null)\r
-                    {\r
-                        this.LanguageChangedSignal().Disconnect(_applicationLanguageChangedEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationLanguageChangedEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application LanguageChangedSignal\r
-        private void OnNUIApplicationLanguageChanged(IntPtr data)\r
-        {\r
-            NUIApplicationLanguageChangedEventArgs e = new NUIApplicationLanguageChangedEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationLanguageChangedEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(data);\r
-\r
-            if (_applicationLanguageChangedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationLanguageChangedEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for RegionChanged signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationRegionChangedEventHandler-DaliEventHandler<object,NUIApplicationRegionChangedEventArgs>)\r
-          *  provided by the user. RegionChanged signal is emitted when the region of the device is changed.\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationRegionChangedEventArgs> RegionChanged\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationRegionChangedEventHandler == null)\r
-                    {\r
-                        _applicationRegionChangedEventHandler += value;\r
-\r
-                        _applicationRegionChangedEventCallbackDelegate = new NUIApplicationRegionChangedEventCallbackDelegate(OnNUIApplicationRegionChanged);\r
-                        this.RegionChangedSignal().Connect(_applicationRegionChangedEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationRegionChangedEventHandler != null)\r
-                    {\r
-                        this.RegionChangedSignal().Disconnect(_applicationRegionChangedEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationRegionChangedEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application RegionChangedSignal\r
-        private void OnNUIApplicationRegionChanged(IntPtr data)\r
-        {\r
-            NUIApplicationRegionChangedEventArgs e = new NUIApplicationRegionChangedEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationRegionChangedEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(data);\r
-\r
-            if (_applicationRegionChangedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationRegionChangedEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for BatteryLow signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationBatteryLowEventHandler-DaliEventHandler<object,NUIApplicationBatteryLowEventArgs>) \r
-          * provided by the user. BatteryLow signal is emitted when the battery level of the device is low.\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationBatteryLowEventArgs> BatteryLow\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationBatteryLowEventHandler == null)\r
-                    {\r
-                        _applicationBatteryLowEventHandler += value;\r
-\r
-                        _applicationBatteryLowEventCallbackDelegate = new NUIApplicationBatteryLowEventCallbackDelegate(OnNUIApplicationBatteryLow);\r
-                        this.BatteryLowSignal().Connect(_applicationBatteryLowEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationBatteryLowEventHandler != null)\r
-                    {\r
-                        this.BatteryLowSignal().Disconnect(_applicationBatteryLowEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationBatteryLowEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application BatteryLowSignal\r
-        private void OnNUIApplicationBatteryLow(IntPtr data)\r
-        {\r
-            NUIApplicationBatteryLowEventArgs e = new NUIApplicationBatteryLowEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationBatteryLowEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(data);\r
-\r
-            if (_applicationBatteryLowEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationBatteryLowEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for MemoryLow signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationMemoryLowEventHandler-DaliEventHandler<object,NUIApplicationMemoryLowEventArgs>)\r
-          *  provided by the user. MemoryLow signal is emitted when the memory level of the device is low.\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationMemoryLowEventArgs> MemoryLow\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationMemoryLowEventHandler == null)\r
-                    {\r
-                        _applicationMemoryLowEventHandler += value;\r
-\r
-                        _applicationMemoryLowEventCallbackDelegate = new NUIApplicationMemoryLowEventCallbackDelegate(OnNUIApplicationMemoryLow);\r
-                        this.MemoryLowSignal().Connect(_applicationMemoryLowEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationMemoryLowEventHandler != null)\r
-                    {\r
-                        this.MemoryLowSignal().Disconnect(_applicationMemoryLowEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationMemoryLowEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application MemoryLowSignal\r
-        private void OnNUIApplicationMemoryLow(IntPtr data)\r
-        {\r
-            NUIApplicationMemoryLowEventArgs e = new NUIApplicationMemoryLowEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationMemoryLowEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(data);\r
-\r
-            if (_applicationMemoryLowEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationMemoryLowEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for AppControl signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of NUIApplicationAppControlEventHandler-DaliEventHandler<object,NUIApplicationAppControlEventArgs>)\r
-          *  provided by the user. AppControl signal is emitted when another application sends a launch request to the application.\r
-          */\r
-        public event DaliEventHandler<object, NUIApplicationAppControlEventArgs> AppControl\r
-        {\r
-            add\r
-            {\r
-                lock (this)\r
-                {\r
-                    // Restricted to only one listener\r
-                    if (_applicationAppControlEventHandler == null)\r
-                    {\r
-                        _applicationAppControlEventHandler += value;\r
-\r
-                        _applicationAppControlEventCallbackDelegate = new NUIApplicationAppControlEventCallbackDelegate(OnNUIApplicationAppControl);\r
-                        this.AppControlSignal().Connect(_applicationAppControlEventCallbackDelegate);\r
-                    }\r
-                }\r
-            }\r
-\r
-            remove\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (_applicationAppControlEventHandler != null)\r
-                    {\r
-                        this.AppControlSignal().Disconnect(_applicationAppControlEventCallbackDelegate);\r
-                    }\r
-\r
-                    _applicationAppControlEventHandler -= value;\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Application AppControlSignal\r
-        private void OnNUIApplicationAppControl(IntPtr application, IntPtr voidp)\r
-        {\r
-            NUIApplicationAppControlEventArgs e = new NUIApplicationAppControlEventArgs();\r
-\r
-            // Populate all members of "e" (NUIApplicationAppControlEventArgs) with real data\r
-            e.Application = Application.GetApplicationFromPtr(application);\r
-            e.VoidP = voidp;\r
-\r
-            if (_applicationAppControlEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _applicationAppControlEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        private static Application _instance; // singleton\r
-\r
-        public delegate void InitDelegate();\r
-\r
-        public delegate void TerminateDelegate();\r
-\r
-        public delegate void PauseDelegate();\r
-\r
-        public delegate void ResumeDelegate();\r
-\r
-        public delegate void ResizeDelegate();\r
-\r
-        public delegate void AppControlDelegate();\r
-\r
-        public delegate void LanguageChangedDelegate();\r
-\r
-        public delegate void RegionChangedDelegate();\r
-\r
-        public delegate void BatteryLowDelegate();\r
-\r
-        public delegate void MemoryLowDelegate();\r
-\r
-        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]\r
-        internal delegate void InitDelegateInternal();\r
-\r
-        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]\r
-        internal delegate void TerminateDelegateInternal();\r
-\r
-        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]\r
-        internal delegate void PauseDelegateInternal();\r
-\r
-        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]\r
-        internal delegate void ResumeDelegateInternal();\r
-\r
-        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]\r
-        internal delegate void ResizeDelegateInternal();\r
-\r
-        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]\r
-        internal delegate void AppControlDelegateInternal();\r
-\r
-        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]\r
-        internal delegate void LanguageChangedDelegateInternal();\r
-\r
-        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]\r
-        internal delegate void RegionChangedDelegateInternal();\r
-\r
-        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]\r
-        internal delegate void BatteryLowDelegateInternal();\r
-\r
-        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]\r
-        internal delegate void MemoryLowDelegateInternal();\r
-\r
-        static void Initialize()\r
-        {\r
-            // instance.InitDelegate();\r
-        }\r
-\r
-        public static Application Instance\r
-        {\r
-            get\r
-            {\r
-                return _instance;\r
-            }\r
-        }\r
-\r
-        public static Application GetApplicationFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Application ret = new Application(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetupDelegates()\r
-        {\r
-            InitDelegateInternal initializeCallback = new InitDelegateInternal(Initialize);\r
-            System.Console.WriteLine("InitSignal connection count");\r
-\r
-            this.InitSignal().Connect(initializeCallback);\r
-            //Console.WriteLine( "InitSignal connection count = " + app.InitSignal().GetConnectionCount() );\r
-        }\r
-\r
-        public static Application NewApplication()\r
-        {\r
-            _instance = NewApplication("", Application.WindowMode.Opaque);\r
-            return _instance;\r
-        }\r
-\r
-        public static Application NewApplication(string stylesheet)\r
-        {\r
-            _instance = NewApplication(stylesheet, Application.WindowMode.Opaque);\r
-            return _instance;\r
-        }\r
-\r
-        public static Application NewApplication(string stylesheet, Application.WindowMode windowMode)\r
-        {\r
-            LOG(" NewApplication(string stylesheet, Application.WindowMode windowMode) is called! ");\r
-\r
-            // register all Views with the type registry, so that can be created / styled via JSON\r
-            ViewRegistryHelper.Initialize();\r
-\r
-            Application ret = New(1, stylesheet, windowMode);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-            // we've got an application now connect the signals\r
-            ret.SetupDelegates();\r
-            // set the singleton\r
-            _instance = ret;\r
-            return ret;\r
-        }\r
-\r
-        public bool AddIdle(System.Delegate func)\r
-        {\r
-            System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
-            System.IntPtr ip2 = NDalicManualPINVOKE.MakeCallback(new System.Runtime.InteropServices.HandleRef(this, ip));\r
-\r
-            bool ret = NDalicPINVOKE.Application_AddIdle(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip2));\r
-\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-\r
-        /**\r
-        * Outer::outer_method(int)\r
-        */\r
-        public static Application New()\r
-        {\r
-            LOG("New() is called!");\r
-\r
-            Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_0(), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static Application New(int argc)\r
-        {\r
-            LOG("New(int argc) is called!");\r
-\r
-            Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_1(argc), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static Application New(int argc, string stylesheet)\r
-        {\r
-            LOG("New(int argc, string stylesheet) is called!");\r
-\r
-            Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_2(argc, stylesheet), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static Application New(int argc, string stylesheet, Application.WindowMode windowMode)\r
-        {\r
-            LOG("New(int argc, string stylesheet, Application.WindowMode windowMode) is called!");\r
-\r
-            Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_3(argc, stylesheet, (int)windowMode), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Application() : this(NDalicPINVOKE.new_Application__SWIG_0(), true)\r
-        {\r
-            LOG("Application() is called!");\r
-\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Application(Application application) : this(NDalicPINVOKE.new_Application__SWIG_1(Application.getCPtr(application)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Application Assign(Application application)\r
-        {\r
-            Application ret = new Application(NDalicPINVOKE.Application_Assign(swigCPtr, Application.getCPtr(application)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void MainLoop()\r
-        {\r
-            NDalicPINVOKE.Application_MainLoop__SWIG_0(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void MainLoop(SWIGTYPE_p_Configuration__ContextLoss configuration)\r
-        {\r
-            NDalicPINVOKE.Application_MainLoop__SWIG_1(swigCPtr, SWIGTYPE_p_Configuration__ContextLoss.getCPtr(configuration));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Lower()\r
-        {\r
-            NDalicPINVOKE.Application_Lower(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Quit()\r
-        {\r
-            NDalicPINVOKE.Application_Quit(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool AddIdle(SWIGTYPE_p_Dali__CallbackBase callback)\r
-        {\r
-            bool ret = NDalicPINVOKE.Application_AddIdle(swigCPtr, SWIGTYPE_p_Dali__CallbackBase.getCPtr(callback));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Window GetWindow()\r
-        {\r
-            Window ret = new Window(NDalicPINVOKE.Application_GetWindow(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void ReplaceWindow(Rectangle windowPosition, string name)\r
-        {\r
-            NDalicPINVOKE.Application_ReplaceWindow(swigCPtr, Rectangle.getCPtr(windowPosition), name);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public static string GetResourcePath()\r
-        {\r
-            string ret = NDalicPINVOKE.Application_GetResourcePath();\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetViewMode(ViewMode viewMode)\r
-        {\r
-            NDalicPINVOKE.Application_SetViewMode(swigCPtr, (int)viewMode);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal ViewMode GetViewMode()\r
-        {\r
-            ViewMode ret = (ViewMode)NDalicPINVOKE.Application_GetViewMode(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetStereoBase(float stereoBase)\r
-        {\r
-            NDalicPINVOKE.Application_SetStereoBase(swigCPtr, stereoBase);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public float GetStereoBase()\r
-        {\r
-            float ret = NDalicPINVOKE.Application_GetStereoBase(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationSignal InitSignal()\r
-        {\r
-            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_InitSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationSignal TerminateSignal()\r
-        {\r
-            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_TerminateSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationSignal PauseSignal()\r
-        {\r
-            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_PauseSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationSignal ResumeSignal()\r
-        {\r
-            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_ResumeSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationSignal ResetSignal()\r
-        {\r
-            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_ResetSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationSignal ResizeSignal()\r
-        {\r
-            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_ResizeSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationControlSignal AppControlSignal()\r
-        {\r
-            ApplicationControlSignal ret = new ApplicationControlSignal(NDalicPINVOKE.Application_AppControlSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationSignal LanguageChangedSignal()\r
-        {\r
-            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_LanguageChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationSignal RegionChangedSignal()\r
-        {\r
-            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_RegionChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationSignal BatteryLowSignal()\r
-        {\r
-            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_BatteryLowSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ApplicationSignal MemoryLowSignal()\r
-        {\r
-            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_MemoryLowSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public enum WindowMode\r
-        {\r
-            Opaque = 0,\r
-            Transparent = 1\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationInit signal
+      *
+      */
+    internal class NUIApplicationInitEventArgs : EventArgs
+    {
+        private Application _application;
+
+        /**
+          * @brief Application - is the application that is being initialized
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+    }
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationTerminate signal
+      *
+      */
+    internal class NUIApplicationTerminateEventArgs : EventArgs
+    {
+        private Application _application;
+        /**
+          * @brief Application - is the application that is being Terminated
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+    }
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationPause signal
+      *
+      */
+    internal class NUIApplicationPauseEventArgs : EventArgs
+    {
+        private Application _application;
+        /**
+          * @brief Application - is the application that is being Paused
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+    }
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationResume signal
+      *
+      */
+    internal class NUIApplicationResumeEventArgs : EventArgs
+    {
+        private Application _application;
+        /**
+          * @brief Application - is the application that is being Resumed
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+    }
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationReset signal
+      *
+      */
+    internal class NUIApplicationResetEventArgs : EventArgs
+    {
+        private Application _application;
+        /**
+          * @brief Application - is the application that is being Reset
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+    }
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationResize signal
+      *
+      */
+    internal class NUIApplicationResizeEventArgs : EventArgs
+    {
+        private Application _application;
+        /**
+          * @brief Application - is the application that is being Resized
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+    }
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationLanguageChanged signal
+      *
+      */
+    internal class NUIApplicationLanguageChangedEventArgs : EventArgs
+    {
+        private Application _application;
+        /**
+          * @brief Application - is the application that is being affected with Device's language change
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+    }
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationRegionChanged signal
+      *
+      */
+    internal class NUIApplicationRegionChangedEventArgs : EventArgs
+    {
+        private Application _application;
+        /**
+          * @brief Application - is the application that is being affected with Device's region change
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+    }
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationBatteryLow signal
+      *
+      */
+    internal class NUIApplicationBatteryLowEventArgs : EventArgs
+    {
+        private Application _application;
+        /**
+          * @brief Application - is the application that is being affected when the battery level of the device is low
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+    }
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationMemoryLow signal
+      *
+      */
+    internal class NUIApplicationMemoryLowEventArgs : EventArgs
+    {
+        private Application _application;
+        /**
+          * @brief Application - is the application that is being affected when the memory level of the device is low
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+    }
+
+    /**
+      * @brief Event arguments that passed via NUIApplicationAppControl         signal
+      *
+      */
+    internal class NUIApplicationAppControlEventArgs : EventArgs
+    {
+        private Application _application;
+        private IntPtr _voidp;
+        /**
+          * @brief Application - is the application that is receiving the launch request from another application
+          *
+          */
+        public Application Application
+        {
+            get
+            {
+                return _application;
+            }
+            set
+            {
+                _application = value;
+            }
+        }
+        /**
+          * @brief VoidP - contains the information about why the application is launched
+          *
+          */
+        public IntPtr VoidP
+        {
+            get
+            {
+                return _voidp;
+            }
+            set
+            {
+                _voidp = value;
+            }
+        }
+    }
+
+    internal class Application : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Application(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Application_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Application obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Application()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Application(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+        private static void LOG(string str)
+        {
+            //Tizen.Log.Debug("NUI", str);
+        }
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationInitEventCallbackDelegate(IntPtr application);
+        private DaliEventHandler<object, NUIApplicationInitEventArgs> _applicationInitEventHandler;
+        private NUIApplicationInitEventCallbackDelegate _applicationInitEventCallbackDelegate;
+
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationTerminateEventCallbackDelegate(IntPtr application);
+        private DaliEventHandler<object, NUIApplicationTerminateEventArgs> _applicationTerminateEventHandler;
+        private NUIApplicationTerminateEventCallbackDelegate _applicationTerminateEventCallbackDelegate;
+
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationPauseEventCallbackDelegate(IntPtr application);
+        private DaliEventHandler<object, NUIApplicationPauseEventArgs> _applicationPauseEventHandler;
+        private NUIApplicationPauseEventCallbackDelegate _applicationPauseEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationResumeEventCallbackDelegate(IntPtr application);
+        private DaliEventHandler<object, NUIApplicationResumeEventArgs> _applicationResumeEventHandler;
+        private NUIApplicationResumeEventCallbackDelegate _applicationResumeEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationResetEventCallbackDelegate(IntPtr application);
+        private DaliEventHandler<object, NUIApplicationResetEventArgs> _applicationResetEventHandler;
+        private NUIApplicationResetEventCallbackDelegate _applicationResetEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationResizeEventCallbackDelegate(IntPtr application);
+        private DaliEventHandler<object, NUIApplicationResizeEventArgs> _applicationResizeEventHandler;
+        private NUIApplicationResizeEventCallbackDelegate _applicationResizeEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationLanguageChangedEventCallbackDelegate(IntPtr application);
+        private DaliEventHandler<object, NUIApplicationLanguageChangedEventArgs> _applicationLanguageChangedEventHandler;
+        private NUIApplicationLanguageChangedEventCallbackDelegate _applicationLanguageChangedEventCallbackDelegate;
+
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationRegionChangedEventCallbackDelegate(IntPtr application);
+        private DaliEventHandler<object, NUIApplicationRegionChangedEventArgs> _applicationRegionChangedEventHandler;
+        private NUIApplicationRegionChangedEventCallbackDelegate _applicationRegionChangedEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationBatteryLowEventCallbackDelegate(IntPtr application);
+        private DaliEventHandler<object, NUIApplicationBatteryLowEventArgs> _applicationBatteryLowEventHandler;
+        private NUIApplicationBatteryLowEventCallbackDelegate _applicationBatteryLowEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationMemoryLowEventCallbackDelegate(IntPtr application);
+        private DaliEventHandler<object, NUIApplicationMemoryLowEventArgs> _applicationMemoryLowEventHandler;
+        private NUIApplicationMemoryLowEventCallbackDelegate _applicationMemoryLowEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void NUIApplicationAppControlEventCallbackDelegate(IntPtr application, IntPtr voidp);
+        private DaliEventHandler<object, NUIApplicationAppControlEventArgs> _applicationAppControlEventHandler;
+        private NUIApplicationAppControlEventCallbackDelegate _applicationAppControlEventCallbackDelegate;
+
+        /**
+          * @brief Event for Initialized signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationInitEventHandler - DaliEventHandler<object,NUIApplicationInitEventArgs>)
+          *  provided by the user. Initialized signal is emitted when application is initialised
+          */
+        public event DaliEventHandler<object, NUIApplicationInitEventArgs> Initialized
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationInitEventHandler == null)
+                    {
+                        _applicationInitEventHandler += value;
+
+                        _applicationInitEventCallbackDelegate = new NUIApplicationInitEventCallbackDelegate(OnApplicationInit);
+                        this.InitSignal().Connect(_applicationInitEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationInitEventHandler != null)
+                    {
+                        this.InitSignal().Disconnect(_applicationInitEventCallbackDelegate);
+                    }
+
+                    _applicationInitEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application InitSignal
+        private void OnApplicationInit(IntPtr data)
+        {
+            NUIApplicationInitEventArgs e = new NUIApplicationInitEventArgs();
+
+            // Populate all members of "e" (NUIApplicationInitEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(data);
+
+            if (_applicationInitEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationInitEventHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event for Terminated signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationTerminateEventHandler-DaliEventHandler<object,NUIApplicationTerminateEventArgs>)
+          *  provided by the user. Terminated signal is emitted when application is terminated
+          */
+        public event DaliEventHandler<object, NUIApplicationTerminateEventArgs> Terminated
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationTerminateEventHandler == null)
+                    {
+                        _applicationTerminateEventHandler += value;
+
+                        _applicationTerminateEventCallbackDelegate = new NUIApplicationTerminateEventCallbackDelegate(OnNUIApplicationTerminate);
+                        this.TerminateSignal().Connect(_applicationTerminateEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationTerminateEventHandler != null)
+                    {
+                        this.TerminateSignal().Disconnect(_applicationTerminateEventCallbackDelegate);
+                    }
+
+                    _applicationTerminateEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application TerminateSignal
+        private void OnNUIApplicationTerminate(IntPtr data)
+        {
+            NUIApplicationTerminateEventArgs e = new NUIApplicationTerminateEventArgs();
+
+            // Populate all members of "e" (NUIApplicationTerminateEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(data);
+
+            if (_applicationTerminateEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationTerminateEventHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event for Paused signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationPauseEventHandler-DaliEventHandler<object,NUIApplicationPauseEventArgs>)
+          * provided by the user. Paused signal is emitted when application is paused
+          */
+        public event DaliEventHandler<object, NUIApplicationPauseEventArgs> Paused
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationPauseEventHandler == null)
+                    {
+                        _applicationPauseEventHandler += value;
+
+                        _applicationPauseEventCallbackDelegate = new NUIApplicationPauseEventCallbackDelegate(OnNUIApplicationPause);
+                        this.PauseSignal().Connect(_applicationPauseEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationPauseEventHandler != null)
+                    {
+                        this.PauseSignal().Disconnect(_applicationPauseEventCallbackDelegate);
+                    }
+
+                    _applicationPauseEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application PauseSignal
+        private void OnNUIApplicationPause(IntPtr data)
+        {
+            NUIApplicationPauseEventArgs e = new NUIApplicationPauseEventArgs();
+
+            // Populate all members of "e" (NUIApplicationPauseEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(data);
+
+            if (_applicationPauseEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationPauseEventHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event for Resumed signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationResumeEventHandler-DaliEventHandler<object,NUIApplicationResumeEventArgs>)
+          *  provided by the user. Resumed signal is emitted when application is resumed
+          */
+        public event DaliEventHandler<object, NUIApplicationResumeEventArgs> Resumed
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationResumeEventHandler == null)
+                    {
+                        _applicationResumeEventHandler += value;
+
+                        _applicationResumeEventCallbackDelegate = new NUIApplicationResumeEventCallbackDelegate(OnNUIApplicationResume);
+                        this.ResumeSignal().Connect(_applicationResumeEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationResumeEventHandler != null)
+                    {
+                        this.ResumeSignal().Disconnect(_applicationResumeEventCallbackDelegate);
+                    }
+
+                    _applicationResumeEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application ResumeSignal
+        private void OnNUIApplicationResume(IntPtr data)
+        {
+            NUIApplicationResumeEventArgs e = new NUIApplicationResumeEventArgs();
+
+            // Populate all members of "e" (NUIApplicationResumeEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(data);
+
+            if (_applicationResumeEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationResumeEventHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event for Reset signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationResetEventHandler-DaliEventHandler<object,NUIApplicationResetEventArgs>)
+          *  provided by the user. Reset signal is emitted when application is reset
+          */
+        public event DaliEventHandler<object, NUIApplicationResetEventArgs> Reset
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationResetEventHandler == null)
+                    {
+                        _applicationResetEventHandler += value;
+
+                        _applicationResetEventCallbackDelegate = new NUIApplicationResetEventCallbackDelegate(OnNUIApplicationReset);
+                        this.ResetSignal().Connect(_applicationResetEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationResetEventHandler != null)
+                    {
+                        this.ResetSignal().Disconnect(_applicationResetEventCallbackDelegate);
+                    }
+
+                    _applicationResetEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application ResetSignal
+        private void OnNUIApplicationReset(IntPtr data)
+        {
+            NUIApplicationResetEventArgs e = new NUIApplicationResetEventArgs();
+
+            // Populate all members of "e" (NUIApplicationResetEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(data);
+
+            if (_applicationResetEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationResetEventHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event for Resized signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationResizeEventHandler-DaliEventHandler<object,NUIApplicationResizeEventArgs>)
+          *  provided by the user. Resized signal is emitted when application is resized
+          */
+        public event DaliEventHandler<object, NUIApplicationResizeEventArgs> Resized
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationResizeEventHandler == null)
+                    {
+                        _applicationResizeEventHandler += value;
+
+                        _applicationResizeEventCallbackDelegate = new NUIApplicationResizeEventCallbackDelegate(OnNUIApplicationResize);
+                        this.ResizeSignal().Connect(_applicationResizeEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationResizeEventHandler != null)
+                    {
+                        this.ResizeSignal().Disconnect(_applicationResizeEventCallbackDelegate);
+                    }
+
+                    _applicationResizeEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application ResizeSignal
+        private void OnNUIApplicationResize(IntPtr data)
+        {
+            NUIApplicationResizeEventArgs e = new NUIApplicationResizeEventArgs();
+
+            // Populate all members of "e" (NUIApplicationResizeEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(data);
+
+            if (_applicationResizeEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationResizeEventHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event for LanguageChanged signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationLanguageChangedEventHandler-DaliEventHandler<object,NUIApplicationLanguageChangedEventArgs>)
+          *  provided by the user. LanguageChanged signal is emitted when the region of the device is changed.
+          */
+        public event DaliEventHandler<object, NUIApplicationLanguageChangedEventArgs> LanguageChanged
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationLanguageChangedEventHandler == null)
+                    {
+                        _applicationLanguageChangedEventHandler += value;
+
+                        _applicationLanguageChangedEventCallbackDelegate = new NUIApplicationLanguageChangedEventCallbackDelegate(OnNUIApplicationLanguageChanged);
+                        this.LanguageChangedSignal().Connect(_applicationLanguageChangedEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationLanguageChangedEventHandler != null)
+                    {
+                        this.LanguageChangedSignal().Disconnect(_applicationLanguageChangedEventCallbackDelegate);
+                    }
+
+                    _applicationLanguageChangedEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application LanguageChangedSignal
+        private void OnNUIApplicationLanguageChanged(IntPtr data)
+        {
+            NUIApplicationLanguageChangedEventArgs e = new NUIApplicationLanguageChangedEventArgs();
+
+            // Populate all members of "e" (NUIApplicationLanguageChangedEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(data);
+
+            if (_applicationLanguageChangedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationLanguageChangedEventHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event for RegionChanged signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationRegionChangedEventHandler-DaliEventHandler<object,NUIApplicationRegionChangedEventArgs>)
+          *  provided by the user. RegionChanged signal is emitted when the region of the device is changed.
+          */
+        public event DaliEventHandler<object, NUIApplicationRegionChangedEventArgs> RegionChanged
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationRegionChangedEventHandler == null)
+                    {
+                        _applicationRegionChangedEventHandler += value;
+
+                        _applicationRegionChangedEventCallbackDelegate = new NUIApplicationRegionChangedEventCallbackDelegate(OnNUIApplicationRegionChanged);
+                        this.RegionChangedSignal().Connect(_applicationRegionChangedEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationRegionChangedEventHandler != null)
+                    {
+                        this.RegionChangedSignal().Disconnect(_applicationRegionChangedEventCallbackDelegate);
+                    }
+
+                    _applicationRegionChangedEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application RegionChangedSignal
+        private void OnNUIApplicationRegionChanged(IntPtr data)
+        {
+            NUIApplicationRegionChangedEventArgs e = new NUIApplicationRegionChangedEventArgs();
+
+            // Populate all members of "e" (NUIApplicationRegionChangedEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(data);
+
+            if (_applicationRegionChangedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationRegionChangedEventHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event for BatteryLow signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationBatteryLowEventHandler-DaliEventHandler<object,NUIApplicationBatteryLowEventArgs>) 
+          * provided by the user. BatteryLow signal is emitted when the battery level of the device is low.
+          */
+        public event DaliEventHandler<object, NUIApplicationBatteryLowEventArgs> BatteryLow
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationBatteryLowEventHandler == null)
+                    {
+                        _applicationBatteryLowEventHandler += value;
+
+                        _applicationBatteryLowEventCallbackDelegate = new NUIApplicationBatteryLowEventCallbackDelegate(OnNUIApplicationBatteryLow);
+                        this.BatteryLowSignal().Connect(_applicationBatteryLowEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationBatteryLowEventHandler != null)
+                    {
+                        this.BatteryLowSignal().Disconnect(_applicationBatteryLowEventCallbackDelegate);
+                    }
+
+                    _applicationBatteryLowEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application BatteryLowSignal
+        private void OnNUIApplicationBatteryLow(IntPtr data)
+        {
+            NUIApplicationBatteryLowEventArgs e = new NUIApplicationBatteryLowEventArgs();
+
+            // Populate all members of "e" (NUIApplicationBatteryLowEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(data);
+
+            if (_applicationBatteryLowEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationBatteryLowEventHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event for MemoryLow signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationMemoryLowEventHandler-DaliEventHandler<object,NUIApplicationMemoryLowEventArgs>)
+          *  provided by the user. MemoryLow signal is emitted when the memory level of the device is low.
+          */
+        public event DaliEventHandler<object, NUIApplicationMemoryLowEventArgs> MemoryLow
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationMemoryLowEventHandler == null)
+                    {
+                        _applicationMemoryLowEventHandler += value;
+
+                        _applicationMemoryLowEventCallbackDelegate = new NUIApplicationMemoryLowEventCallbackDelegate(OnNUIApplicationMemoryLow);
+                        this.MemoryLowSignal().Connect(_applicationMemoryLowEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationMemoryLowEventHandler != null)
+                    {
+                        this.MemoryLowSignal().Disconnect(_applicationMemoryLowEventCallbackDelegate);
+                    }
+
+                    _applicationMemoryLowEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application MemoryLowSignal
+        private void OnNUIApplicationMemoryLow(IntPtr data)
+        {
+            NUIApplicationMemoryLowEventArgs e = new NUIApplicationMemoryLowEventArgs();
+
+            // Populate all members of "e" (NUIApplicationMemoryLowEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(data);
+
+            if (_applicationMemoryLowEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationMemoryLowEventHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event for AppControl signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of NUIApplicationAppControlEventHandler-DaliEventHandler<object,NUIApplicationAppControlEventArgs>)
+          *  provided by the user. AppControl signal is emitted when another application sends a launch request to the application.
+          */
+        public event DaliEventHandler<object, NUIApplicationAppControlEventArgs> AppControl
+        {
+            add
+            {
+                lock (this)
+                {
+                    // Restricted to only one listener
+                    if (_applicationAppControlEventHandler == null)
+                    {
+                        _applicationAppControlEventHandler += value;
+
+                        _applicationAppControlEventCallbackDelegate = new NUIApplicationAppControlEventCallbackDelegate(OnNUIApplicationAppControl);
+                        this.AppControlSignal().Connect(_applicationAppControlEventCallbackDelegate);
+                    }
+                }
+            }
+
+            remove
+            {
+                lock (this)
+                {
+                    if (_applicationAppControlEventHandler != null)
+                    {
+                        this.AppControlSignal().Disconnect(_applicationAppControlEventCallbackDelegate);
+                    }
+
+                    _applicationAppControlEventHandler -= value;
+                }
+            }
+        }
+
+        // Callback for Application AppControlSignal
+        private void OnNUIApplicationAppControl(IntPtr application, IntPtr voidp)
+        {
+            NUIApplicationAppControlEventArgs e = new NUIApplicationAppControlEventArgs();
+
+            // Populate all members of "e" (NUIApplicationAppControlEventArgs) with real data
+            e.Application = Application.GetApplicationFromPtr(application);
+            e.VoidP = voidp;
+
+            if (_applicationAppControlEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _applicationAppControlEventHandler(this, e);
+            }
+        }
+
+        private static Application _instance; // singleton
+
+        public delegate void InitDelegate();
+
+        public delegate void TerminateDelegate();
+
+        public delegate void PauseDelegate();
+
+        public delegate void ResumeDelegate();
+
+        public delegate void ResizeDelegate();
+
+        public delegate void AppControlDelegate();
+
+        public delegate void LanguageChangedDelegate();
+
+        public delegate void RegionChangedDelegate();
+
+        public delegate void BatteryLowDelegate();
+
+        public delegate void MemoryLowDelegate();
+
+        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+        internal delegate void InitDelegateInternal();
+
+        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+        internal delegate void TerminateDelegateInternal();
+
+        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+        internal delegate void PauseDelegateInternal();
+
+        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+        internal delegate void ResumeDelegateInternal();
+
+        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+        internal delegate void ResizeDelegateInternal();
+
+        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+        internal delegate void AppControlDelegateInternal();
+
+        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+        internal delegate void LanguageChangedDelegateInternal();
+
+        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+        internal delegate void RegionChangedDelegateInternal();
+
+        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+        internal delegate void BatteryLowDelegateInternal();
+
+        [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)]
+        internal delegate void MemoryLowDelegateInternal();
+
+        static void Initialize()
+        {
+            // instance.InitDelegate();
+        }
+
+        public static Application Instance
+        {
+            get
+            {
+                return _instance;
+            }
+        }
+
+        public static Application GetApplicationFromPtr(global::System.IntPtr cPtr)
+        {
+            Application ret = new Application(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetupDelegates()
+        {
+            InitDelegateInternal initializeCallback = new InitDelegateInternal(Initialize);
+            System.Console.WriteLine("InitSignal connection count");
+
+            this.InitSignal().Connect(initializeCallback);
+            //Console.WriteLine( "InitSignal connection count = " + app.InitSignal().GetConnectionCount() );
+        }
+
+        public static Application NewApplication()
+        {
+            _instance = NewApplication("", Application.WindowMode.Opaque);
+            return _instance;
+        }
+
+        public static Application NewApplication(string stylesheet)
+        {
+            _instance = NewApplication(stylesheet, Application.WindowMode.Opaque);
+            return _instance;
+        }
+
+        public static Application NewApplication(string stylesheet, Application.WindowMode windowMode)
+        {
+            LOG(" NewApplication(string stylesheet, Application.WindowMode windowMode) is called! ");
+
+            // register all Views with the type registry, so that can be created / styled via JSON
+            ViewRegistryHelper.Initialize();
+
+            Application ret = New(1, stylesheet, windowMode);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+            // we've got an application now connect the signals
+            ret.SetupDelegates();
+            // set the singleton
+            _instance = ret;
+            return ret;
+        }
+
+        public bool AddIdle(System.Delegate func)
+        {
+            System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+            System.IntPtr ip2 = NDalicManualPINVOKE.MakeCallback(new System.Runtime.InteropServices.HandleRef(this, ip));
+
+            bool ret = NDalicPINVOKE.Application_AddIdle(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip2));
+
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+
+        /**
+        * Outer::outer_method(int)
+        */
+        public static Application New()
+        {
+            LOG("New() is called!");
+
+            Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_0(), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static Application New(int argc)
+        {
+            LOG("New(int argc) is called!");
+
+            Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_1(argc), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static Application New(int argc, string stylesheet)
+        {
+            LOG("New(int argc, string stylesheet) is called!");
+
+            Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_2(argc, stylesheet), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static Application New(int argc, string stylesheet, Application.WindowMode windowMode)
+        {
+            LOG("New(int argc, string stylesheet, Application.WindowMode windowMode) is called!");
+
+            Application ret = new Application(NDalicPINVOKE.Application_New__SWIG_3(argc, stylesheet, (int)windowMode), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Application() : this(NDalicPINVOKE.new_Application__SWIG_0(), true)
+        {
+            LOG("Application() is called!");
+
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Application(Application application) : this(NDalicPINVOKE.new_Application__SWIG_1(Application.getCPtr(application)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Application Assign(Application application)
+        {
+            Application ret = new Application(NDalicPINVOKE.Application_Assign(swigCPtr, Application.getCPtr(application)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void MainLoop()
+        {
+            NDalicPINVOKE.Application_MainLoop__SWIG_0(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void MainLoop(SWIGTYPE_p_Configuration__ContextLoss configuration)
+        {
+            NDalicPINVOKE.Application_MainLoop__SWIG_1(swigCPtr, SWIGTYPE_p_Configuration__ContextLoss.getCPtr(configuration));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Lower()
+        {
+            NDalicPINVOKE.Application_Lower(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Quit()
+        {
+            NDalicPINVOKE.Application_Quit(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool AddIdle(SWIGTYPE_p_Dali__CallbackBase callback)
+        {
+            bool ret = NDalicPINVOKE.Application_AddIdle(swigCPtr, SWIGTYPE_p_Dali__CallbackBase.getCPtr(callback));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Window GetWindow()
+        {
+            Window ret = new Window(NDalicPINVOKE.Application_GetWindow(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void ReplaceWindow(Rectangle windowPosition, string name)
+        {
+            NDalicPINVOKE.Application_ReplaceWindow(swigCPtr, Rectangle.getCPtr(windowPosition), name);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public static string GetResourcePath()
+        {
+            string ret = NDalicPINVOKE.Application_GetResourcePath();
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetViewMode(ViewMode viewMode)
+        {
+            NDalicPINVOKE.Application_SetViewMode(swigCPtr, (int)viewMode);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal ViewMode GetViewMode()
+        {
+            ViewMode ret = (ViewMode)NDalicPINVOKE.Application_GetViewMode(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetStereoBase(float stereoBase)
+        {
+            NDalicPINVOKE.Application_SetStereoBase(swigCPtr, stereoBase);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public float GetStereoBase()
+        {
+            float ret = NDalicPINVOKE.Application_GetStereoBase(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationSignal InitSignal()
+        {
+            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_InitSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationSignal TerminateSignal()
+        {
+            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_TerminateSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationSignal PauseSignal()
+        {
+            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_PauseSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationSignal ResumeSignal()
+        {
+            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_ResumeSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationSignal ResetSignal()
+        {
+            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_ResetSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationSignal ResizeSignal()
+        {
+            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_ResizeSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationControlSignal AppControlSignal()
+        {
+            ApplicationControlSignal ret = new ApplicationControlSignal(NDalicPINVOKE.Application_AppControlSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationSignal LanguageChangedSignal()
+        {
+            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_LanguageChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationSignal RegionChangedSignal()
+        {
+            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_RegionChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationSignal BatteryLowSignal()
+        {
+            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_BatteryLowSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ApplicationSignal MemoryLowSignal()
+        {
+            ApplicationSignal ret = new ApplicationSignal(NDalicPINVOKE.Application_MemoryLowSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public enum WindowMode
+        {
+            Opaque = 0,
+            Transparent = 1
+        }
+
+    }
+
+}
index 813f5326e153dd31871481447b7d3dc0c136ee27..6d6ac1a310dcdef8c2792938538dbe53f9113405 100755 (executable)
@@ -8,97 +8,97 @@
 // the SWIG interface file instead.
 //------------------------------------------------------------------------------
 
-namespace Tizen.NUI\r
-{\r
-\r
-    internal class ApplicationControlSignal : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal ApplicationControlSignal(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ApplicationControlSignal obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~ApplicationControlSignal()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_ApplicationControlSignal(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public bool Empty()\r
-        {\r
-            bool ret = NDalicPINVOKE.ApplicationControlSignal_Empty(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint GetConnectionCount()\r
-        {\r
-            uint ret = NDalicPINVOKE.ApplicationControlSignal_GetConnectionCount(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Connect(System.Delegate func)\r
-        {\r
-            System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
-            {\r
-                NDalicPINVOKE.ApplicationControlSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-        }\r
-\r
-        public void Disconnect(System.Delegate func)\r
-        {\r
-            System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
-            {\r
-                NDalicPINVOKE.ApplicationControlSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-        }\r
-\r
-        public void Emit(Application arg1, System.IntPtr arg2)\r
-        {\r
-            NDalicPINVOKE.ApplicationControlSignal_Emit(swigCPtr, Application.getCPtr(arg1), arg2);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public ApplicationControlSignal() : this(NDalicPINVOKE.new_ApplicationControlSignal(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
+namespace Tizen.NUI
+{
+
+    internal class ApplicationControlSignal : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal ApplicationControlSignal(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ApplicationControlSignal obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~ApplicationControlSignal()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_ApplicationControlSignal(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public bool Empty()
+        {
+            bool ret = NDalicPINVOKE.ApplicationControlSignal_Empty(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint GetConnectionCount()
+        {
+            uint ret = NDalicPINVOKE.ApplicationControlSignal_GetConnectionCount(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Connect(System.Delegate func)
+        {
+            System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+            {
+                NDalicPINVOKE.ApplicationControlSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+        }
+
+        public void Disconnect(System.Delegate func)
+        {
+            System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+            {
+                NDalicPINVOKE.ApplicationControlSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+        }
+
+        public void Emit(Application arg1, System.IntPtr arg2)
+        {
+            NDalicPINVOKE.ApplicationControlSignal_Emit(swigCPtr, Application.getCPtr(arg1), arg2);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public ApplicationControlSignal() : this(NDalicPINVOKE.new_ApplicationControlSignal(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
     }
 
 }
index 823b78e078340fd64f596dedaf2505647c2d9093..85afaeab2db7a9bc0cbac75d4a1af169e55d578d 100755 (executable)
@@ -8,97 +8,97 @@
 // the SWIG interface file instead.
 //------------------------------------------------------------------------------
 
-namespace Tizen.NUI\r
-{\r
-\r
-    internal class ApplicationSignal : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal ApplicationSignal(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ApplicationSignal obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~ApplicationSignal()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_ApplicationSignal(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public bool Empty()\r
-        {\r
-            bool ret = NDalicPINVOKE.ApplicationSignal_Empty(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint GetConnectionCount()\r
-        {\r
-            uint ret = NDalicPINVOKE.ApplicationSignal_GetConnectionCount(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Connect(System.Delegate func)\r
-        {\r
-            System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
-            {\r
-                NDalicPINVOKE.ApplicationSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-        }\r
-\r
-        public void Disconnect(System.Delegate func)\r
-        {\r
-            System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);\r
-            {\r
-                NDalicPINVOKE.ApplicationSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-        }\r
-\r
-        public void Emit(Application arg)\r
-        {\r
-            NDalicPINVOKE.ApplicationSignal_Emit(swigCPtr, Application.getCPtr(arg));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public ApplicationSignal() : this(NDalicPINVOKE.new_ApplicationSignal(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
+namespace Tizen.NUI
+{
+
+    internal class ApplicationSignal : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal ApplicationSignal(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ApplicationSignal obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~ApplicationSignal()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_ApplicationSignal(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public bool Empty()
+        {
+            bool ret = NDalicPINVOKE.ApplicationSignal_Empty(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint GetConnectionCount()
+        {
+            uint ret = NDalicPINVOKE.ApplicationSignal_GetConnectionCount(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Connect(System.Delegate func)
+        {
+            System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+            {
+                NDalicPINVOKE.ApplicationSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+        }
+
+        public void Disconnect(System.Delegate func)
+        {
+            System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
+            {
+                NDalicPINVOKE.ApplicationSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+        }
+
+        public void Emit(Application arg)
+        {
+            NDalicPINVOKE.ApplicationSignal_Emit(swigCPtr, Application.getCPtr(arg));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public ApplicationSignal() : this(NDalicPINVOKE.new_ApplicationSignal(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
     }
 
 }
index d6c5a9a252fda6f397b739b907d2c1a7a73d3053..d808031d17157ba441b7e2429d1f7f6f0d4d41a0 100755 (executable)
@@ -33,13 +33,6 @@ namespace Tizen.NUI
       StereoInterlaced  = Tizen.NUI.ViewMode.STEREO_INTERLACED  ///< @DEPRECATED_1_1.19 @brief Stereoscopic. Left/Right camera views are rendered into the framebuffer on alternate frames. @SINCE_1_0.0
     }
 
-    public enum MeshVisualShadingModeValue
-    {
-      TexturelessWithDiffuseLighting = Tizen.NUI.MeshVisualShadingModeValue.TEXTURELESS_WITH_DIFFUSE_LIGHTING,       ///< *Simplest*. One color that is lit by ambient and diffuse lighting. @SINCE_1_1.45
-      TexturedWithSpecularLigting = Tizen.NUI.MeshVisualShadingModeValue.TEXTURED_WITH_SPECULAR_LIGHTING,         ///< Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting. @SINCE_1_1.45
-      TexturedWithDetailedSpecularLighting = Tizen.NUI.MeshVisualShadingModeValue.TEXTURED_WITH_DETAILED_SPECULAR_LIGHTING ///< Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting. @SINCE_1_1.45
-    }
-
     public struct Direction
     {
       public enum Type
index ff6aa3ea7ab6c0866bd9e3db98db68fe275a7e64..d384ed4512f74d831ed04452209bf664480a095f 100755 (executable)
@@ -28,13 +28,13 @@ namespace Tizen.NUI {
     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
     internal delegate void EventCallbackDelegateType1(IntPtr arg1);
 
-\r
-    //this should be removed with EventHandler from .NET\r
-    [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-    public delegate void DaliEventHandler<T, U>(T source, U e);\r
-\r
-    [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-    public delegate R EventHandlerWithReturnType<T, U, R>(T source, U e);\r
+
+    //this should be removed with EventHandler from .NET
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate void DaliEventHandler<T, U>(T source, U e);
+
+    [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+    public delegate R EventHandlerWithReturnType<T, U, R>(T source, U e);
 
 
 }
index 6b818d5440731c1aa9b458daf975b73fa7ecd448..3f9cc7534f24cc668ab9b1361290312037a33091 100755 (executable)
@@ -9,12 +9,12 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+/* moved to VisualMaps.cs
 public enum FittingModeType {
   SHRINK_TO_FIT,
   SCALE_TO_FILL,
   FIT_WIDTH,
   FIT_HEIGHT
 }
-
+*/
 }
index b59eed1290a3102f88b31cfc004fc847eef42aaf..e359f8356c3efc8538908297aa51fc3152679094 100755 (executable)
@@ -9,11 +9,11 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+/* moved to VisualMaps.cs
     internal enum GradientVisualSpreadMethodType {
   PAD,
   REFLECT,
   REPEAT
 }
-
+*/
 }
index f7cd136091058dd748133fb09e0eb0c592f48230..46ae1a85458cffd77d8492167d7beb11e3d12b32 100755 (executable)
@@ -9,10 +9,10 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+/* moved to VisualMap.cs
     internal enum GradientVisualUnitsType {
   OBJECT_BOUNDING_BOX,
   USER_SPACE
 }
-
+*/
 }
index 47a5ac63386c31606779cdcdf16586f0558b776b..eac55d00d3417b89717824a69096c7d016c1b3bd 100755 (executable)
 // the SWIG interface file instead.
 //------------------------------------------------------------------------------
 
-#define DOT_NET_CORE\r
+#define DOT_NET_CORE
 #if (DOT_NET_CORE)
 using System.Reflection;
 #endif
 
-namespace Tizen.NUI\r
-{\r
-\r
-    internal class ItemFactory : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal ItemFactory(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ItemFactory obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~ItemFactory()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_ItemFactory(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public virtual uint GetNumberOfItems()\r
-        {\r
-            uint ret = NDalicPINVOKE.ItemFactory_GetNumberOfItems(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public virtual Actor NewItem(uint itemId)\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.ItemFactory_NewItem(swigCPtr, itemId), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public virtual void ItemReleased(uint itemId, Actor actor)\r
-        {\r
-            if (SwigDerivedClassHasMethod("ItemReleased", swigMethodTypes2)) NDalicPINVOKE.ItemFactory_ItemReleasedSwigExplicitItemFactory(swigCPtr, itemId, Actor.getCPtr(actor)); else NDalicPINVOKE.ItemFactory_ItemReleased(swigCPtr, itemId, Actor.getCPtr(actor));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public ItemFactory() : this(NDalicPINVOKE.new_ItemFactory(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            SwigDirectorConnect();\r
-        }\r
-\r
-        private void SwigDirectorConnect()\r
-        {\r
-            if (SwigDerivedClassHasMethod("GetNumberOfItems", swigMethodTypes0))\r
-                swigDelegate0 = new SwigDelegateItemFactory_0(SwigDirectorGetNumberOfItems);\r
-            if (SwigDerivedClassHasMethod("NewItem", swigMethodTypes1))\r
-                swigDelegate1 = new SwigDelegateItemFactory_1(SwigDirectorNewItem);\r
-            if (SwigDerivedClassHasMethod("ItemReleased", swigMethodTypes2))\r
-                swigDelegate2 = new SwigDelegateItemFactory_2(SwigDirectorItemReleased);\r
-            NDalicPINVOKE.ItemFactory_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2);\r
-        }\r
-\r
-#if (DOT_NET_CORE)\r
-        private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)\r
-        {\r
-            global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes);\r
-            bool hasDerivedMethod = methodInfo.GetType().GetTypeInfo().IsSubclassOf(typeof(ItemFactory));\r
-            Tizen.Log.Debug("NUI-APP", "hasDerivedMethod=" + hasDerivedMethod);\r
-            return hasDerivedMethod;\r
-        }\r
-#else\r
-        private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)\r
-        {\r
-            global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, methodTypes, null);\r
-            bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ItemFactory));\r
-            return hasDerivedMethod;\r
-        }\r
-#endif\r
-\r
-        private uint SwigDirectorGetNumberOfItems()\r
-        {\r
-            return GetNumberOfItems();\r
-        }\r
-\r
-        private global::System.IntPtr SwigDirectorNewItem(uint itemId)\r
-        {\r
-            return Actor.getCPtr(NewItem(itemId)).Handle;\r
-        }\r
-\r
-        private void SwigDirectorItemReleased(uint itemId, global::System.IntPtr actor)\r
-        {\r
-            ItemReleased(itemId, new Actor(actor, true));\r
-        }\r
-\r
-        public delegate uint SwigDelegateItemFactory_0();\r
-        public delegate global::System.IntPtr SwigDelegateItemFactory_1(uint itemId);\r
-        public delegate void SwigDelegateItemFactory_2(uint itemId, global::System.IntPtr actor);\r
-\r
-        private SwigDelegateItemFactory_0 swigDelegate0;\r
-        private SwigDelegateItemFactory_1 swigDelegate1;\r
-        private SwigDelegateItemFactory_2 swigDelegate2;\r
-\r
-        private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { };\r
-        private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { typeof(uint) };\r
-        private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(uint), typeof(Actor) };\r
+namespace Tizen.NUI
+{
+
+    internal class ItemFactory : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal ItemFactory(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ItemFactory obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~ItemFactory()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_ItemFactory(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public virtual uint GetNumberOfItems()
+        {
+            uint ret = NDalicPINVOKE.ItemFactory_GetNumberOfItems(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public virtual Actor NewItem(uint itemId)
+        {
+            Actor ret = new Actor(NDalicPINVOKE.ItemFactory_NewItem(swigCPtr, itemId), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public virtual void ItemReleased(uint itemId, Actor actor)
+        {
+            if (SwigDerivedClassHasMethod("ItemReleased", swigMethodTypes2)) NDalicPINVOKE.ItemFactory_ItemReleasedSwigExplicitItemFactory(swigCPtr, itemId, Actor.getCPtr(actor)); else NDalicPINVOKE.ItemFactory_ItemReleased(swigCPtr, itemId, Actor.getCPtr(actor));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public ItemFactory() : this(NDalicPINVOKE.new_ItemFactory(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            SwigDirectorConnect();
+        }
+
+        private void SwigDirectorConnect()
+        {
+            if (SwigDerivedClassHasMethod("GetNumberOfItems", swigMethodTypes0))
+                swigDelegate0 = new SwigDelegateItemFactory_0(SwigDirectorGetNumberOfItems);
+            if (SwigDerivedClassHasMethod("NewItem", swigMethodTypes1))
+                swigDelegate1 = new SwigDelegateItemFactory_1(SwigDirectorNewItem);
+            if (SwigDerivedClassHasMethod("ItemReleased", swigMethodTypes2))
+                swigDelegate2 = new SwigDelegateItemFactory_2(SwigDirectorItemReleased);
+            NDalicPINVOKE.ItemFactory_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2);
+        }
+
+#if (DOT_NET_CORE)
+        private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)
+        {
+            global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes);
+            bool hasDerivedMethod = methodInfo.GetType().GetTypeInfo().IsSubclassOf(typeof(ItemFactory));
+            Tizen.Log.Debug("NUI-APP", "hasDerivedMethod=" + hasDerivedMethod);
+            return hasDerivedMethod;
+        }
+#else
+        private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)
+        {
+            global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, methodTypes, null);
+            bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ItemFactory));
+            return hasDerivedMethod;
+        }
+#endif
+
+        private uint SwigDirectorGetNumberOfItems()
+        {
+            return GetNumberOfItems();
+        }
+
+        private global::System.IntPtr SwigDirectorNewItem(uint itemId)
+        {
+            return Actor.getCPtr(NewItem(itemId)).Handle;
+        }
+
+        private void SwigDirectorItemReleased(uint itemId, global::System.IntPtr actor)
+        {
+            ItemReleased(itemId, new Actor(actor, true));
+        }
+
+        public delegate uint SwigDelegateItemFactory_0();
+        public delegate global::System.IntPtr SwigDelegateItemFactory_1(uint itemId);
+        public delegate void SwigDelegateItemFactory_2(uint itemId, global::System.IntPtr actor);
+
+        private SwigDelegateItemFactory_0 swigDelegate0;
+        private SwigDelegateItemFactory_1 swigDelegate1;
+        private SwigDelegateItemFactory_2 swigDelegate2;
+
+        private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { };
+        private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { typeof(uint) };
+        private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(uint), typeof(Actor) };
     }
 
 }
index e0f90dca640ab646aa27def291b1968bedbb44f6..0e2ea77e3455d35bd2e47646fcb4fc9e87c2c54d 100755 (executable)
@@ -68,7 +68,7 @@ internal class PreFocusChangeSignal : global::System.IDisposable {
     return ret;
   }
 
-  public void Connect(FocusManager.PreFocusChangeEventCallbackDelegate func) {
+  public void Connect(FocusManager.PreFocusChangeEventCallback func) {
      NDalicManualPINVOKE.PreFocusChangeSignal_Connect(swigCPtr, func);
      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
  }
index 4537dd15b75d85272d563d39d2b2cd34640c955e..8a4a2d9f12fd879fd2fbe85c7886928f7db6a7ca 100755 (executable)
@@ -80,7 +80,7 @@ namespace Tizen.NUI
         public static extern uint PreFocusChangeSignal_GetConnectionCount(global::System.Runtime.InteropServices.HandleRef jarg1);
 
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_KeyboardPreFocusChangeSignal_Connect")]
-        public static extern void PreFocusChangeSignal_Connect(global::System.Runtime.InteropServices.HandleRef jarg1, FocusManager.PreFocusChangeEventCallbackDelegate delegate1);
+        public static extern void PreFocusChangeSignal_Connect(global::System.Runtime.InteropServices.HandleRef jarg1, FocusManager.PreFocusChangeEventCallback delegate1);
 
         [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_KeyboardPreFocusChangeSignal_Disconnect")]
         public static extern void PreFocusChangeSignal_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
index 1eef57253211e657d4978b901df11caf2f71023d..137d81ae38462d4424fa14201fd15f0dfa16349f 100755 (executable)
@@ -9,11 +9,11 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+/* moved to VisualMaps.cs
     internal enum MeshVisualShadingModeValue {
   TEXTURELESS_WITH_DIFFUSE_LIGHTING,
   TEXTURED_WITH_SPECULAR_LIGHTING,
   TEXTURED_WITH_DETAILED_SPECULAR_LIGHTING
 }
-
+*/
 }
diff --git a/src/Tizen.NUI/src/internal/Position2D.cs b/src/Tizen.NUI/src/internal/Position2D.cs
deleted file mode 100755 (executable)
index 9fe88f4..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-namespace Tizen.NUI {
-
-public class Position2D : global::System.IDisposable {
-  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-  protected bool swigCMemOwn;
-
-  internal Position2D(global::System.IntPtr cPtr, bool cMemoryOwn) {
-    swigCMemOwn = cMemoryOwn;
-    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-  }
-
-  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Position2D obj) {
-    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
-  }
-
-  ~Position2D() {
-    DisposeQueue.Instance.Add(this);
-  }
-
-  public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
-      DisposeQueue.Instance.Add(this);
-      return;
-    }
-
-    lock(this) {
-      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
-        if (swigCMemOwn) {
-          swigCMemOwn = false;
-          NDalicPINVOKE.delete_Vector2(swigCPtr);
-        }
-        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-      }
-      global::System.GC.SuppressFinalize(this);
-    }
-  }
-
-
-  public static Position2D operator+(Position2D arg1, Position2D arg2) {
-    return arg1.Add(arg2);
-  }
-
-  public static Position2D operator-(Position2D arg1, Position2D arg2) {
-    return arg1.Subtract(arg2);
-  }
-
-  public static Position2D operator-(Position2D arg1) {
-    return arg1.Subtract();
-  }
-
-  public static Position2D operator*(Position2D arg1, Position2D arg2) {
-    return arg1.Multiply(arg2);
-  }
-
-  public static Position2D operator*(Position2D arg1, int arg2) {
-    return arg1.Multiply(arg2);
-  }
-
-  public static Position2D operator/(Position2D arg1, Position2D arg2) {
-    return arg1.Divide(arg2);
-  }
-
-  public static Position2D operator/(Position2D arg1, int arg2) {
-    return arg1.Divide(arg2);
-  }
-
-  public float this[uint index]
-  {
-    get
-    {
-      return ValueOfIndex(index);
-    }
-  }
-
-  public static Position2D GetPosition2DFromPtr(global::System.IntPtr cPtr) {
-    Position2D ret = new Position2D(cPtr, false);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-       return ret;
-  }
-
-
-  public Position2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public Position2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public Position2D(Position position) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Position.getCPtr(position)), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  private Position2D Add(Position2D rhs) {
-    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Add(swigCPtr, Position2D.getCPtr(rhs)), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  private Position2D Subtract(Position2D rhs) {
-    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Subtract__SWIG_0(swigCPtr, Position2D.getCPtr(rhs)), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-
-  private Position2D Multiply(Position2D rhs) {
-    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Multiply__SWIG_0(swigCPtr, Position2D.getCPtr(rhs)), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  private Position2D Multiply(int rhs) {
-    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Multiply__SWIG_1(swigCPtr, (float)rhs), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-
-  private Position2D Divide(Position2D rhs) {
-    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Divide__SWIG_0(swigCPtr, Position2D.getCPtr(rhs)), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  private Position2D Divide(int rhs) {
-    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Divide__SWIG_1(swigCPtr, (float)rhs), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  private Position2D Subtract() {
-    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Subtract__SWIG_1(swigCPtr), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public bool EqualTo(Position2D rhs) {
-    bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Position2D.getCPtr(rhs));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public bool NotEqualTo(Position2D rhs) {
-    bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Position2D.getCPtr(rhs));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  private int ValueOfIndex(uint index) {
-    int ret = (int)NDalicPINVOKE.Vector2_ValueOfIndex__SWIG_0(swigCPtr, index);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-
-  public int X {
-    set {
-      NDalicPINVOKE.Vector2_X_set(swigCPtr, (float)value);
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-    get {
-      float ret = NDalicPINVOKE.Vector2_X_get(swigCPtr);
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-      return (int)ret;
-    }
-  }
-
-  public int Y {
-    set {
-      NDalicPINVOKE.Vector2_Y_set(swigCPtr, (float)value);
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-    get {
-      float ret = NDalicPINVOKE.Vector2_Y_get(swigCPtr);
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-      return (int)ret;
-    }
-  }
-
-  public static implicit operator Vector2(Position2D position2d)
-  {
-    return new Vector2((float)position2d.X, (float)position2d.Y);
-  }
-
-  public static implicit operator Position2D(Vector2 vec)
-  {
-    return new Position2D((int)vec.X, (int)vec.Y);
-  }
-
-}
-
-}
-
-
index 5c42d24bd3167cabc35487614d5ea1d179bbb0f8..ff238ac2a01b1471a21b00b8339524f3df5c643c 100755 (executable)
@@ -9,7 +9,7 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+/* moved to VisualMaps.cs
     internal enum PrimitiveVisualShapeType {
   SPHERE,
   CONICAL_FRUSTRUM,
@@ -19,5 +19,5 @@ namespace Tizen.NUI {
   OCTAHEDRON,
   BEVELLED_CUBE
 }
-
+*/
 }
index bba5785652faa5d440cf47b57a90068d730708bc..7560286822a77a829ea5ab6519895649d2555369 100755 (executable)
@@ -1,4 +1,4 @@
-#define DOT_NET_CORE\r
+#define DOT_NET_CORE
 
 using System;
 using System.Runtime.InteropServices;
@@ -8,47 +8,47 @@ using System.Reflection;
 #endif
 
 namespace Tizen.NUI
-{\r
+{
     /// <summary>
     /// Helper class for calculating what property indexes should be assigned to C# View (view) classes.
     /// </summary>
-    internal class PropertyRangeManager\r
-  {\r
-    private Dictionary<String, PropertyRange > _propertyRange;\r
-\r
+    internal class PropertyRangeManager
+  {
+    private Dictionary<String, PropertyRange > _propertyRange;
+
         /// <summary>
         /// Initializes a new instance of the <see cref="Tizen.NUI.PropertyRangeManager"/> class.
         /// </summary>
-        public PropertyRangeManager()\r
-        {\r
-            _propertyRange = new Dictionary<String, PropertyRange>();\r
-        }\r
-\r
+        public PropertyRangeManager()
+        {
+            _propertyRange = new Dictionary<String, PropertyRange>();
+        }
+
         /// <summary>
         /// Only called if a View has scriptable properties
         /// </summary>
-        private PropertyRange RegisterView(string viewName, System.Type viewType)\r
-        {\r
-            PropertyRange range;\r
-\r
-            if (_propertyRange.TryGetValue(viewName, out range))\r
-            {\r
-                // already registered\r
-                return range;\r
-            }\r
-\r
-            // Find out the event and animatable start indexes for the type\r
-            range = new PropertyRange();\r
-\r
-            GetPropertyStartRange(viewType, ref range);\r
-\r
-            // add it to our dictionary\r
-            _propertyRange.Add(viewName, range);\r
-\r
-            return range;\r
-\r
-        }\r
-\r
+        private PropertyRange RegisterView(string viewName, System.Type viewType)
+        {
+            PropertyRange range;
+
+            if (_propertyRange.TryGetValue(viewName, out range))
+            {
+                // already registered
+                return range;
+            }
+
+            // Find out the event and animatable start indexes for the type
+            range = new PropertyRange();
+
+            GetPropertyStartRange(viewType, ref range);
+
+            // add it to our dictionary
+            _propertyRange.Add(viewName, range);
+
+            return range;
+
+        }
+
         /// <summary>
         /// Gets the index of the property.
         /// Each property has to have unique index for this view type
@@ -57,95 +57,95 @@ namespace Tizen.NUI
         /// <param name="viewName">View name</param>
         /// <param name="viewType">View type</param>
         /// <param name="type">Type.</param>
-        public int GetPropertyIndex(string viewName, System.Type viewType, ScriptableProperty.ScriptableType type)\r
-        {\r
-\r
-            PropertyRange range;\r
-\r
-            if (!_propertyRange.TryGetValue(viewName, out range))\r
-            {\r
-                // view not found, register it now\r
-                range = RegisterView(viewName, viewType);\r
-            }\r
-\r
-            int index = range.GetNextFreePropertyIndex(type);\r
-\r
-            // update the dictionary\r
-            _propertyRange[viewName] = range;\r
-\r
-            return index;\r
-\r
-        }\r
-\r
+        public int GetPropertyIndex(string viewName, System.Type viewType, ScriptableProperty.ScriptableType type)
+        {
+
+            PropertyRange range;
+
+            if (!_propertyRange.TryGetValue(viewName, out range))
+            {
+                // view not found, register it now
+                range = RegisterView(viewName, viewType);
+            }
+
+            int index = range.GetNextFreePropertyIndex(type);
+
+            // update the dictionary
+            _propertyRange[viewName] = range;
+
+            return index;
+
+        }
+
         ///<summary>
         /// We calculate the start property indices, based on the type and it's class  heirachy, e.g. DateView (70,000)- > Spin (60,000) -> View (50,000)
         /// </summary>
-        private void GetPropertyStartRange(System.Type viewType, ref PropertyRange range)\r
-        {\r
-            const int maxCountPerDerivation = 1000; // For child and animtable properties we use a gap of 1000 between each\r
-                                                    // views property range in the heirachy\r
-\r
-            // custom views start there property index, at view_PROPERTY_END_INDEX\r
-            // we add 1000, just incase View class (our C# custom view base) starts using scriptable properties\r
-            int startEventPropertyIndex = (int)View.PropertyRange.CONTROL_PROPERTY_END_INDEX + maxCountPerDerivation;\r
-\r
-            // for animatable properties current range starts at ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX,\r
-            // we add 1000, just incase View class starts using animatable properties\r
-            int startAnimatablePropertyIndex = (int)Tizen.NUI.PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + maxCountPerDerivation;\r
-\r
+        private void GetPropertyStartRange(System.Type viewType, ref PropertyRange range)
+        {
+            const int maxCountPerDerivation = 1000; // For child and animtable properties we use a gap of 1000 between each
+                                                    // views property range in the heirachy
+
+            // custom views start there property index, at view_PROPERTY_END_INDEX
+            // we add 1000, just incase View class (our C# custom view base) starts using scriptable properties
+            int startEventPropertyIndex = (int)View.PropertyRange.CONTROL_PROPERTY_END_INDEX + maxCountPerDerivation;
+
+            // for animatable properties current range starts at ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX,
+            // we add 1000, just incase View class starts using animatable properties
+            int startAnimatablePropertyIndex = (int)Tizen.NUI.PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + maxCountPerDerivation;
+
 #if (DOT_NET_CORE)
             while ( viewType.GetTypeInfo().BaseType.Name != "CustomView" )   // custom view is our C# view base class. we don't go any deeper.
 #else
-            while (viewType.BaseType.Name != "CustomView")   // custom view is our C# view base class. we don't go any deeper.\r
+            while (viewType.BaseType.Name != "CustomView")   // custom view is our C# view base class. we don't go any deeper.
 #endif
-            {\r
-                // for every base class increase property start index\r
-                startEventPropertyIndex += (int)Tizen.NUI.PropertyRanges.DEFAULT_PROPERTY_MAX_COUNT_PER_DERIVATION; // DALi uses 10,000\r
-                startAnimatablePropertyIndex += maxCountPerDerivation;\r
-\r
-                //Console.WriteLine ("getStartPropertyIndex =  " + viewType.Name +"current index " + startEventPropertyIndex);\r
+            {
+                // for every base class increase property start index
+                startEventPropertyIndex += (int)Tizen.NUI.PropertyRanges.DEFAULT_PROPERTY_MAX_COUNT_PER_DERIVATION; // DALi uses 10,000
+                startAnimatablePropertyIndex += maxCountPerDerivation;
+
+                //Console.WriteLine ("getStartPropertyIndex =  " + viewType.Name +"current index " + startEventPropertyIndex);
 #if (DOT_NET_CORE)
-                viewType = viewType.GetTypeInfo().BaseType;\r
-#else\r
-                viewType = viewType.BaseType;\r
-#endif\r
-            }\r
-\r
-            range.startEventIndex = startEventPropertyIndex;\r
-            range.lastUsedEventIndex = startEventPropertyIndex;\r
-\r
-            range.startAnimationIndex = startAnimatablePropertyIndex;\r
-            range.lastUsedAnimationIndex = startAnimatablePropertyIndex;\r
-\r
-        }\r
-\r
-\r
-        public struct PropertyRange\r
-        {\r
-\r
-            public int GetNextFreePropertyIndex(ScriptableProperty.ScriptableType type)\r
-            {\r
-                if (type == ScriptableProperty.ScriptableType.Default)\r
-                {\r
-                    lastUsedEventIndex++;\r
-                    return lastUsedEventIndex;\r
-                }\r
-                else\r
-                {\r
-                    lastUsedAnimationIndex++;\r
-                    return lastUsedAnimationIndex;\r
-                }\r
-            }\r
-\r
-\r
+                viewType = viewType.GetTypeInfo().BaseType;
+#else
+                viewType = viewType.BaseType;
+#endif
+            }
+
+            range.startEventIndex = startEventPropertyIndex;
+            range.lastUsedEventIndex = startEventPropertyIndex;
+
+            range.startAnimationIndex = startAnimatablePropertyIndex;
+            range.lastUsedAnimationIndex = startAnimatablePropertyIndex;
+
+        }
+
+
+        public struct PropertyRange
+        {
+
+            public int GetNextFreePropertyIndex(ScriptableProperty.ScriptableType type)
+            {
+                if (type == ScriptableProperty.ScriptableType.Default)
+                {
+                    lastUsedEventIndex++;
+                    return lastUsedEventIndex;
+                }
+                else
+                {
+                    lastUsedAnimationIndex++;
+                    return lastUsedAnimationIndex;
+                }
+            }
+
+
             public int startEventIndex;    /// start of the property range
             public int lastUsedEventIndex;    /// last used of the property index
-\r
+
             public int startAnimationIndex;  /// start of the property range
             public int lastUsedAnimationIndex; /// last used of the property index
-        };\r
-\r
-\r
-\r
+        };
+
+
+
     }
 }
index 5fe99e9679d24cec27e57fa4ce4a40935e72e723..df9400b34bcd6f3bdb3796c96add391219c0bdc9 100755 (executable)
@@ -9,7 +9,7 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+/* moved to VisualMaps.cs
 public enum SamplingModeType {
   BOX,
   NEAREST,
@@ -19,5 +19,5 @@ public enum SamplingModeType {
   NO_FILTER,
   DONT_CARE
 }
-
+*/
 }
index 9d450e96bc93be7042b5e5f148546dc038b356e2..09d13e17211fd1505846b5fb0636722471e6fbdf 100755 (executable)
 // Do not make changes to this file unless you know what you are doing--modify
 // the SWIG interface file instead.
 //------------------------------------------------------------------------------
-#define DOT_NET_CORE\r
+#define DOT_NET_CORE
 
 #if (DOT_NET_CORE)
 using System.Reflection;
 #endif
 
-namespace Tizen.NUI\r
-{\r
-\r
-    public class ViewImpl : CustomActorImpl\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal ViewImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ViewImpl_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewImpl obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        throw new global::System.MethodAccessException("C++ destructor does not have public access");\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-        public static View New()\r
-        {\r
-            View ret = new View(NDalicPINVOKE.ViewImpl_New(), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetStyleName(string styleName)\r
-        {\r
-            NDalicPINVOKE.ViewImpl_SetStyleName(swigCPtr, styleName);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public string GetStyleName()\r
-        {\r
-            string ret = NDalicPINVOKE.ViewImpl_GetStyleName(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetBackgroundColor(Vector4 color)\r
-        {\r
-            NDalicPINVOKE.ViewImpl_SetBackgroundColor(swigCPtr, Vector4.getCPtr(color));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector4 GetBackgroundColor()\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.ViewImpl_GetBackgroundColor(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetBackgroundImage(Image image)\r
-        {\r
-            NDalicPINVOKE.ViewImpl_SetBackgroundImage(swigCPtr, Image.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void SetBackground(PropertyMap map)\r
-        {\r
-            NDalicPINVOKE.ViewImpl_SetBackground(swigCPtr, PropertyMap.getCPtr(map));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void ClearBackground()\r
-        {\r
-            NDalicPINVOKE.ViewImpl_ClearBackground(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void EnableGestureDetection(Gesture.GestureType type)\r
-        {\r
-            NDalicPINVOKE.ViewImpl_EnableGestureDetection(swigCPtr, (int)type);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void DisableGestureDetection(Gesture.GestureType type)\r
-        {\r
-            NDalicPINVOKE.ViewImpl_DisableGestureDetection(swigCPtr, (int)type);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PinchGestureDetector GetPinchGestureDetector()\r
-        {\r
-            PinchGestureDetector ret = new PinchGestureDetector(NDalicPINVOKE.ViewImpl_GetPinchGestureDetector(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PanGestureDetector GetPanGestureDetector()\r
-        {\r
-            PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.ViewImpl_GetPanGestureDetector(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public TapGestureDetector GetTapGestureDetector()\r
-        {\r
-            TapGestureDetector ret = new TapGestureDetector(NDalicPINVOKE.ViewImpl_GetTapGestureDetector(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public LongPressGestureDetector GetLongPressGestureDetector()\r
-        {\r
-            LongPressGestureDetector ret = new LongPressGestureDetector(NDalicPINVOKE.ViewImpl_GetLongPressGestureDetector(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetKeyboardNavigationSupport(bool isSupported)\r
-        {\r
-            NDalicPINVOKE.ViewImpl_SetKeyboardNavigationSupport(swigCPtr, isSupported);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool IsKeyboardNavigationSupported()\r
-        {\r
-            bool ret = NDalicPINVOKE.ViewImpl_IsKeyboardNavigationSupported(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetKeyInputFocus()\r
-        {\r
-            NDalicPINVOKE.ViewImpl_SetKeyInputFocus(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool HasKeyInputFocus()\r
-        {\r
-            bool ret = NDalicPINVOKE.ViewImpl_HasKeyInputFocus(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void ClearKeyInputFocus()\r
-        {\r
-            NDalicPINVOKE.ViewImpl_ClearKeyInputFocus(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void SetAsKeyboardFocusGroup(bool isFocusGroup)\r
-        {\r
-            NDalicPINVOKE.ViewImpl_SetAsKeyboardFocusGroup(swigCPtr, isFocusGroup);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool IsKeyboardFocusGroup()\r
-        {\r
-            bool ret = NDalicPINVOKE.ViewImpl_IsKeyboardFocusGroup(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void AccessibilityActivate()\r
-        {\r
-            NDalicPINVOKE.ViewImpl_AccessibilityActivate(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void KeyboardEnter()\r
-        {\r
-            NDalicPINVOKE.ViewImpl_KeyboardEnter(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal ControlKeySignal KeyEventSignal()\r
-        {\r
-            ControlKeySignal ret = new ControlKeySignal(NDalicPINVOKE.ViewImpl_KeyEventSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal KeyInputFocusSignal KeyInputFocusGainedSignal()\r
-        {\r
-            KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.ViewImpl_KeyInputFocusGainedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal KeyInputFocusSignal KeyInputFocusLostSignal()\r
-        {\r
-            KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.ViewImpl_KeyInputFocusLostSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool EmitKeyEventSignal(Key arg0)\r
-        {\r
-            bool ret = NDalicPINVOKE.ViewImpl_EmitKeyEventSignal(swigCPtr, Key.getCPtr(arg0));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new void OnStageConnection(int depth)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnStageConnection", swigMethodTypes0)) NDalicPINVOKE.ViewImpl_OnStageConnectionSwigExplicitViewImpl(swigCPtr, depth); else NDalicPINVOKE.ViewImpl_OnStageConnection(swigCPtr, depth);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        protected virtual new void OnStageDisconnection()\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnStageDisconnection", swigMethodTypes1)) NDalicPINVOKE.ViewImpl_OnStageDisconnectionSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnStageDisconnection(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        protected virtual new void OnChildAdd(Actor child)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2)) NDalicPINVOKE.ViewImpl_OnChildAddSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildAdd(swigCPtr, Actor.getCPtr(child));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        protected virtual new void OnChildRemove(Actor child)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3)) NDalicPINVOKE.ViewImpl_OnChildRemoveSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildRemove(swigCPtr, Actor.getCPtr(child));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        protected virtual new void OnPropertySet(int index, PropertyValue propertyValue)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnPropertySet", swigMethodTypes4)) NDalicPINVOKE.ViewImpl_OnPropertySetSwigExplicitViewImpl(swigCPtr, index, PropertyValue.getCPtr(propertyValue)); else NDalicPINVOKE.ViewImpl_OnPropertySet(swigCPtr, index, PropertyValue.getCPtr(propertyValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        protected virtual new void OnSizeSet(Vector3 targetSize)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnSizeSet", swigMethodTypes5)) NDalicPINVOKE.ViewImpl_OnSizeSetSwigExplicitViewImpl(swigCPtr, Vector3.getCPtr(targetSize)); else NDalicPINVOKE.ViewImpl_OnSizeSet(swigCPtr, Vector3.getCPtr(targetSize));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        protected virtual new void OnSizeAnimation(Animation animation, Vector3 targetSize)\r
-        {\r
-            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));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal virtual new bool OnTouchEvent(SWIGTYPE_p_Dali__TouchEvent arg0)\r
-        {\r
-            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)));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new bool OnHoverEvent(Hover arg0)\r
-        {\r
-            bool ret = (SwigDerivedClassHasMethod("OnHoverEvent", swigMethodTypes8) ? NDalicPINVOKE.ViewImpl_OnHoverEventSwigExplicitViewImpl(swigCPtr, Hover.getCPtr(arg0)) : NDalicPINVOKE.ViewImpl_OnHoverEvent(swigCPtr, Hover.getCPtr(arg0)));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new bool OnKeyEvent(Key arg0)\r
-        {\r
-            bool ret = (SwigDerivedClassHasMethod("OnKeyEvent", swigMethodTypes9) ? NDalicPINVOKE.ViewImpl_OnKeyEventSwigExplicitViewImpl(swigCPtr, Key.getCPtr(arg0)) : NDalicPINVOKE.ViewImpl_OnKeyEvent(swigCPtr, Key.getCPtr(arg0)));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new bool OnWheelEvent(Wheel arg0)\r
-        {\r
-            bool ret = (SwigDerivedClassHasMethod("OnWheelEvent", swigMethodTypes10) ? NDalicPINVOKE.ViewImpl_OnWheelEventSwigExplicitViewImpl(swigCPtr, Wheel.getCPtr(arg0)) : NDalicPINVOKE.ViewImpl_OnWheelEvent(swigCPtr, Wheel.getCPtr(arg0)));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new void OnRelayout(Vector2 size, RelayoutContainer container)\r
-        {\r
-            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));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        protected virtual new void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnSetResizePolicy", swigMethodTypes12)) NDalicPINVOKE.ViewImpl_OnSetResizePolicySwigExplicitViewImpl(swigCPtr, (int)policy, (int)dimension); else NDalicPINVOKE.ViewImpl_OnSetResizePolicy(swigCPtr, (int)policy, (int)dimension);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        protected virtual new Vector3 GetNaturalSize()\r
-        {\r
-            Vector3 ret = new Vector3((SwigDerivedClassHasMethod("GetNaturalSize", swigMethodTypes13) ? NDalicPINVOKE.ViewImpl_GetNaturalSizeSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_GetNaturalSize(swigCPtr)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new float CalculateChildSize(Actor child, DimensionType dimension)\r
-        {\r
-            float ret = (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14) ? NDalicPINVOKE.ViewImpl_CalculateChildSizeSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child), (int)dimension) : NDalicPINVOKE.ViewImpl_CalculateChildSize(swigCPtr, Actor.getCPtr(child), (int)dimension));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new float GetHeightForWidth(float width)\r
-        {\r
-            float ret = (SwigDerivedClassHasMethod("GetHeightForWidth", swigMethodTypes15) ? NDalicPINVOKE.ViewImpl_GetHeightForWidthSwigExplicitViewImpl(swigCPtr, width) : NDalicPINVOKE.ViewImpl_GetHeightForWidth(swigCPtr, width));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new float GetWidthForHeight(float height)\r
-        {\r
-            float ret = (SwigDerivedClassHasMethod("GetWidthForHeight", swigMethodTypes16) ? NDalicPINVOKE.ViewImpl_GetWidthForHeightSwigExplicitViewImpl(swigCPtr, height) : NDalicPINVOKE.ViewImpl_GetWidthForHeight(swigCPtr, height));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new bool RelayoutDependentOnChildren(DimensionType dimension)\r
-        {\r
-            bool ret = (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes17) ? NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildrenSwigExplicitViewImpl__SWIG_0(swigCPtr, (int)dimension) : NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildren__SWIG_0(swigCPtr, (int)dimension));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new bool RelayoutDependentOnChildren()\r
-        {\r
-            bool ret = (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes18) ? NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildrenSwigExplicitViewImpl__SWIG_1(swigCPtr) : NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildren__SWIG_1(swigCPtr));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        protected virtual new void OnCalculateRelayoutSize(DimensionType dimension)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnCalculateRelayoutSize", swigMethodTypes19)) NDalicPINVOKE.ViewImpl_OnCalculateRelayoutSizeSwigExplicitViewImpl(swigCPtr, (int)dimension); else NDalicPINVOKE.ViewImpl_OnCalculateRelayoutSize(swigCPtr, (int)dimension);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        protected virtual new void OnLayoutNegotiated(float size, DimensionType dimension)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnLayoutNegotiated", swigMethodTypes20)) NDalicPINVOKE.ViewImpl_OnLayoutNegotiatedSwigExplicitViewImpl(swigCPtr, size, (int)dimension); else NDalicPINVOKE.ViewImpl_OnLayoutNegotiated(swigCPtr, size, (int)dimension);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual void OnInitialize()\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21)) NDalicPINVOKE.ViewImpl_OnInitializeSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnInitialize(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual void OnControlChildAdd(Actor child)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22)) NDalicPINVOKE.ViewImpl_OnControlChildAddSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildAdd(swigCPtr, Actor.getCPtr(child));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual void OnControlChildRemove(Actor child)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23)) NDalicPINVOKE.ViewImpl_OnControlChildRemoveSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildRemove(swigCPtr, Actor.getCPtr(child));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24)) NDalicPINVOKE.ViewImpl_OnStyleChangeSwigExplicitViewImpl(swigCPtr, StyleManager.getCPtr(styleManager), (int)change); else NDalicPINVOKE.ViewImpl_OnStyleChange(swigCPtr, StyleManager.getCPtr(styleManager), (int)change);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual bool OnAccessibilityActivated()\r
-        {\r
-            bool ret = (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25) ? NDalicPINVOKE.ViewImpl_OnAccessibilityActivatedSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnAccessibilityActivated(swigCPtr));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public virtual bool OnAccessibilityPan(PanGesture gesture)\r
-        {\r
-            bool ret = (SwigDerivedClassHasMethod("OnAccessibilityPan", swigMethodTypes26) ? NDalicPINVOKE.ViewImpl_OnAccessibilityPanSwigExplicitViewImpl(swigCPtr, PanGesture.getCPtr(gesture)) : NDalicPINVOKE.ViewImpl_OnAccessibilityPan(swigCPtr, PanGesture.getCPtr(gesture)));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal virtual bool OnAccessibilityTouch(SWIGTYPE_p_Dali__TouchEvent touchEvent)\r
-        {\r
-            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)));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public virtual bool OnAccessibilityValueChange(bool isIncrease)\r
-        {\r
-            bool ret = (SwigDerivedClassHasMethod("OnAccessibilityValueChange", swigMethodTypes28) ? NDalicPINVOKE.ViewImpl_OnAccessibilityValueChangeSwigExplicitViewImpl(swigCPtr, isIncrease) : NDalicPINVOKE.ViewImpl_OnAccessibilityValueChange(swigCPtr, isIncrease));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public virtual bool OnAccessibilityZoom()\r
-        {\r
-            bool ret = (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29) ? NDalicPINVOKE.ViewImpl_OnAccessibilityZoomSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnAccessibilityZoom(swigCPtr));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public virtual void OnKeyInputFocusGained()\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30)) NDalicPINVOKE.ViewImpl_OnKeyInputFocusGainedSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnKeyInputFocusGained(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual void OnKeyInputFocusLost()\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31)) NDalicPINVOKE.ViewImpl_OnKeyInputFocusLostSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnKeyInputFocusLost(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual Actor GetNextKeyboardFocusableActor(Actor currentFocusedActor, View.FocusDirection direction, bool loopEnabled)\r
-        {\r
-            Actor ret = new Actor((SwigDerivedClassHasMethod("GetNextKeyboardFocusableActor", swigMethodTypes32) ? NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActorSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(currentFocusedActor), (int)direction, loopEnabled) : NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActor(swigCPtr, Actor.getCPtr(currentFocusedActor), (int)direction, loopEnabled)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public virtual void OnKeyboardFocusChangeCommitted(Actor commitedFocusableActor)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnKeyboardFocusChangeCommitted", swigMethodTypes33)) NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommittedSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(commitedFocusableActor)); else NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommitted(swigCPtr, Actor.getCPtr(commitedFocusableActor));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual bool OnKeyboardEnter()\r
-        {\r
-            bool ret = (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34) ? NDalicPINVOKE.ViewImpl_OnKeyboardEnterSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnKeyboardEnter(swigCPtr));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public virtual void OnPinch(PinchGesture pinch)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35)) NDalicPINVOKE.ViewImpl_OnPinchSwigExplicitViewImpl(swigCPtr, PinchGesture.getCPtr(pinch)); else NDalicPINVOKE.ViewImpl_OnPinch(swigCPtr, PinchGesture.getCPtr(pinch));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual void OnPan(PanGesture pan)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36)) NDalicPINVOKE.ViewImpl_OnPanSwigExplicitViewImpl(swigCPtr, PanGesture.getCPtr(pan)); else NDalicPINVOKE.ViewImpl_OnPan(swigCPtr, PanGesture.getCPtr(pan));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual void OnTap(TapGesture tap)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnTap", swigMethodTypes37)) NDalicPINVOKE.ViewImpl_OnTapSwigExplicitViewImpl(swigCPtr, TapGesture.getCPtr(tap)); else NDalicPINVOKE.ViewImpl_OnTap(swigCPtr, TapGesture.getCPtr(tap));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public virtual void OnLongPress(LongPressGesture longPress)\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnLongPress", swigMethodTypes38)) NDalicPINVOKE.ViewImpl_OnLongPressSwigExplicitViewImpl(swigCPtr, LongPressGesture.getCPtr(longPress)); else NDalicPINVOKE.ViewImpl_OnLongPress(swigCPtr, LongPressGesture.getCPtr(longPress));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal virtual void SignalConnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)\r
-        {\r
-            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));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal virtual void SignalDisconnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)\r
-        {\r
-            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));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        private void SwigDirectorConnect()\r
-        {\r
-            if (SwigDerivedClassHasMethod("OnStageConnection", swigMethodTypes0))\r
-                swigDelegate0 = new SwigDelegateViewImpl_0(SwigDirectorOnStageConnection);\r
-            if (SwigDerivedClassHasMethod("OnStageDisconnection", swigMethodTypes1))\r
-                swigDelegate1 = new SwigDelegateViewImpl_1(SwigDirectorOnStageDisconnection);\r
-            if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2))\r
-                swigDelegate2 = new SwigDelegateViewImpl_2(SwigDirectorOnChildAdd);\r
-            if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3))\r
-                swigDelegate3 = new SwigDelegateViewImpl_3(SwigDirectorOnChildRemove);\r
-            if (SwigDerivedClassHasMethod("OnPropertySet", swigMethodTypes4))\r
-                swigDelegate4 = new SwigDelegateViewImpl_4(SwigDirectorOnPropertySet);\r
-            if (SwigDerivedClassHasMethod("OnSizeSet", swigMethodTypes5))\r
-                swigDelegate5 = new SwigDelegateViewImpl_5(SwigDirectorOnSizeSet);\r
-            if (SwigDerivedClassHasMethod("OnSizeAnimation", swigMethodTypes6))\r
-                swigDelegate6 = new SwigDelegateViewImpl_6(SwigDirectorOnSizeAnimation);\r
-            if (SwigDerivedClassHasMethod("OnTouchEvent", swigMethodTypes7))\r
-                swigDelegate7 = new SwigDelegateViewImpl_7(SwigDirectorOnTouchEvent);\r
-            if (SwigDerivedClassHasMethod("OnHoverEvent", swigMethodTypes8))\r
-                swigDelegate8 = new SwigDelegateViewImpl_8(SwigDirectorOnHoverEvent);\r
-            if (SwigDerivedClassHasMethod("OnKeyEvent", swigMethodTypes9))\r
-                swigDelegate9 = new SwigDelegateViewImpl_9(SwigDirectorOnKeyEvent);\r
-            if (SwigDerivedClassHasMethod("OnWheelEvent", swigMethodTypes10))\r
-                swigDelegate10 = new SwigDelegateViewImpl_10(SwigDirectorOnWheelEvent);\r
-            if (SwigDerivedClassHasMethod("OnRelayout", swigMethodTypes11))\r
-                swigDelegate11 = new SwigDelegateViewImpl_11(SwigDirectorOnRelayout);\r
-            if (SwigDerivedClassHasMethod("OnSetResizePolicy", swigMethodTypes12))\r
-                swigDelegate12 = new SwigDelegateViewImpl_12(SwigDirectorOnSetResizePolicy);\r
-            if (SwigDerivedClassHasMethod("GetNaturalSize", swigMethodTypes13))\r
-                swigDelegate13 = new SwigDelegateViewImpl_13(SwigDirectorGetNaturalSize);\r
-            if (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14))\r
-                swigDelegate14 = new SwigDelegateViewImpl_14(SwigDirectorCalculateChildSize);\r
-            if (SwigDerivedClassHasMethod("GetHeightForWidth", swigMethodTypes15))\r
-                swigDelegate15 = new SwigDelegateViewImpl_15(SwigDirectorGetHeightForWidth);\r
-            if (SwigDerivedClassHasMethod("GetWidthForHeight", swigMethodTypes16))\r
-                swigDelegate16 = new SwigDelegateViewImpl_16(SwigDirectorGetWidthForHeight);\r
-            if (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes17))\r
-                swigDelegate17 = new SwigDelegateViewImpl_17(SwigDirectorRelayoutDependentOnChildren__SWIG_0);\r
-            if (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes18))\r
-                swigDelegate18 = new SwigDelegateViewImpl_18(SwigDirectorRelayoutDependentOnChildren__SWIG_1);\r
-            if (SwigDerivedClassHasMethod("OnCalculateRelayoutSize", swigMethodTypes19))\r
-                swigDelegate19 = new SwigDelegateViewImpl_19(SwigDirectorOnCalculateRelayoutSize);\r
-            if (SwigDerivedClassHasMethod("OnLayoutNegotiated", swigMethodTypes20))\r
-                swigDelegate20 = new SwigDelegateViewImpl_20(SwigDirectorOnLayoutNegotiated);\r
-            if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21))\r
-                swigDelegate21 = new SwigDelegateViewImpl_21(SwigDirectorOnInitialize);\r
-            if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22))\r
-                swigDelegate22 = new SwigDelegateViewImpl_22(SwigDirectorOnControlChildAdd);\r
-            if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23))\r
-                swigDelegate23 = new SwigDelegateViewImpl_23(SwigDirectorOnControlChildRemove);\r
-            if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24))\r
-                swigDelegate24 = new SwigDelegateViewImpl_24(SwigDirectorOnStyleChange);\r
-            if (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25))\r
-                swigDelegate25 = new SwigDelegateViewImpl_25(SwigDirectorOnAccessibilityActivated);\r
-            if (SwigDerivedClassHasMethod("OnAccessibilityPan", swigMethodTypes26))\r
-                swigDelegate26 = new SwigDelegateViewImpl_26(SwigDirectorOnAccessibilityPan);\r
-            if (SwigDerivedClassHasMethod("OnAccessibilityTouch", swigMethodTypes27))\r
-                swigDelegate27 = new SwigDelegateViewImpl_27(SwigDirectorOnAccessibilityTouch);\r
-            if (SwigDerivedClassHasMethod("OnAccessibilityValueChange", swigMethodTypes28))\r
-                swigDelegate28 = new SwigDelegateViewImpl_28(SwigDirectorOnAccessibilityValueChange);\r
-            if (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29))\r
-                swigDelegate29 = new SwigDelegateViewImpl_29(SwigDirectorOnAccessibilityZoom);\r
-            if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30))\r
-                swigDelegate30 = new SwigDelegateViewImpl_30(SwigDirectorOnKeyInputFocusGained);\r
-            if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31))\r
-                swigDelegate31 = new SwigDelegateViewImpl_31(SwigDirectorOnKeyInputFocusLost);\r
-            if (SwigDerivedClassHasMethod("GetNextKeyboardFocusableActor", swigMethodTypes32))\r
-                swigDelegate32 = new SwigDelegateViewImpl_32(SwigDirectorGetNextKeyboardFocusableActor);\r
-            if (SwigDerivedClassHasMethod("OnKeyboardFocusChangeCommitted", swigMethodTypes33))\r
-                swigDelegate33 = new SwigDelegateViewImpl_33(SwigDirectorOnKeyboardFocusChangeCommitted);\r
-            if (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34))\r
-                swigDelegate34 = new SwigDelegateViewImpl_34(SwigDirectorOnKeyboardEnter);\r
-            if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35))\r
-                swigDelegate35 = new SwigDelegateViewImpl_35(SwigDirectorOnPinch);\r
-            if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36))\r
-                swigDelegate36 = new SwigDelegateViewImpl_36(SwigDirectorOnPan);\r
-            if (SwigDerivedClassHasMethod("OnTap", swigMethodTypes37))\r
-                swigDelegate37 = new SwigDelegateViewImpl_37(SwigDirectorOnTap);\r
-            if (SwigDerivedClassHasMethod("OnLongPress", swigMethodTypes38))\r
-                swigDelegate38 = new SwigDelegateViewImpl_38(SwigDirectorOnLongPress);\r
-            if (SwigDerivedClassHasMethod("SignalConnected", swigMethodTypes39))\r
-                swigDelegate39 = new SwigDelegateViewImpl_39(SwigDirectorSignalConnected);\r
-            if (SwigDerivedClassHasMethod("SignalDisconnected", swigMethodTypes40))\r
-                swigDelegate40 = new SwigDelegateViewImpl_40(SwigDirectorSignalDisconnected);\r
-            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);\r
-        }\r
-\r
-\r
-#if (DOT_NET_CORE)\r
-        private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)\r
-        {\r
-            global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes);\r
-            bool hasDerivedMethod = methodInfo.GetType().GetTypeInfo().IsSubclassOf(typeof(ViewImpl));\r
-\r
-            Tizen.Log.Debug("NUI-APP", "hasDerivedMethod=" + hasDerivedMethod);\r
-            return hasDerivedMethod;\r
-        }\r
-#else\r
-        private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)\r
-        {\r
-            global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, methodTypes, null);\r
-            bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ViewImpl));\r
-            return hasDerivedMethod;\r
-        }\r
-#endif\r
-\r
-        private void SwigDirectorOnStageConnection(int depth)\r
-        {\r
-            OnStageConnection(depth);\r
-        }\r
-\r
-        private void SwigDirectorOnStageDisconnection()\r
-        {\r
-            OnStageDisconnection();\r
-        }\r
-\r
-        private void SwigDirectorOnChildAdd(global::System.IntPtr child)\r
-        {\r
-            OnChildAdd(new Actor(child, false));\r
-        }\r
-\r
-        private void SwigDirectorOnChildRemove(global::System.IntPtr child)\r
-        {\r
-            OnChildRemove(new Actor(child, false));\r
-        }\r
-\r
-        private void SwigDirectorOnPropertySet(int index, global::System.IntPtr propertyValue)\r
-        {\r
-            OnPropertySet(index, new PropertyValue(propertyValue, true));\r
-        }\r
-\r
-        private void SwigDirectorOnSizeSet(global::System.IntPtr targetSize)\r
-        {\r
-            OnSizeSet(new Vector3(targetSize, false));\r
-        }\r
-\r
-        private void SwigDirectorOnSizeAnimation(global::System.IntPtr animation, global::System.IntPtr targetSize)\r
-        {\r
-            OnSizeAnimation(new Animation(animation, false), new Vector3(targetSize, false));\r
-        }\r
-\r
-        private bool SwigDirectorOnTouchEvent(global::System.IntPtr arg0)\r
-        {\r
-            return OnTouchEvent(new SWIGTYPE_p_Dali__TouchEvent(arg0, false));\r
-        }\r
-\r
-        private bool SwigDirectorOnHoverEvent(global::System.IntPtr arg0)\r
-        {\r
-            return OnHoverEvent(new Hover(arg0, false));\r
-        }\r
-\r
-        private bool SwigDirectorOnKeyEvent(global::System.IntPtr arg0)\r
-        {\r
-            return OnKeyEvent(new Key(arg0, false));\r
-        }\r
-\r
-        private bool SwigDirectorOnWheelEvent(global::System.IntPtr arg0)\r
-        {\r
-            return OnWheelEvent(new Wheel(arg0, false));\r
-        }\r
-\r
-        private void SwigDirectorOnRelayout(global::System.IntPtr size, global::System.IntPtr container)\r
-        {\r
-            OnRelayout(new Vector2(size, false), new RelayoutContainer(container, false));\r
-        }\r
-\r
-        private void SwigDirectorOnSetResizePolicy(int policy, int dimension)\r
-        {\r
-            OnSetResizePolicy((ResizePolicyType)policy, (DimensionType)dimension);\r
-        }\r
-\r
-        private global::System.IntPtr SwigDirectorGetNaturalSize()\r
-        {\r
-            return Vector3.getCPtr(GetNaturalSize()).Handle;\r
-        }\r
-\r
-        private float SwigDirectorCalculateChildSize(global::System.IntPtr child, int dimension)\r
-        {\r
-            return CalculateChildSize(new Actor(child, false), (DimensionType)dimension);\r
-        }\r
-\r
-        private float SwigDirectorGetHeightForWidth(float width)\r
-        {\r
-            return GetHeightForWidth(width);\r
-        }\r
-\r
-        private float SwigDirectorGetWidthForHeight(float height)\r
-        {\r
-            return GetWidthForHeight(height);\r
-        }\r
-\r
-        private bool SwigDirectorRelayoutDependentOnChildren__SWIG_0(int dimension)\r
-        {\r
-            return RelayoutDependentOnChildren((DimensionType)dimension);\r
-        }\r
-\r
-        private bool SwigDirectorRelayoutDependentOnChildren__SWIG_1()\r
-        {\r
-            return RelayoutDependentOnChildren();\r
-        }\r
-\r
-        private void SwigDirectorOnCalculateRelayoutSize(int dimension)\r
-        {\r
-            OnCalculateRelayoutSize((DimensionType)dimension);\r
-        }\r
-\r
-        private void SwigDirectorOnLayoutNegotiated(float size, int dimension)\r
-        {\r
-            OnLayoutNegotiated(size, (DimensionType)dimension);\r
-        }\r
-\r
-        private void SwigDirectorOnInitialize()\r
-        {\r
-            OnInitialize();\r
-        }\r
-\r
-        private void SwigDirectorOnControlChildAdd(global::System.IntPtr child)\r
-        {\r
-            OnControlChildAdd(new Actor(child, false));\r
-        }\r
-\r
-        private void SwigDirectorOnControlChildRemove(global::System.IntPtr child)\r
-        {\r
-            OnControlChildRemove(new Actor(child, false));\r
-        }\r
-\r
-        private void SwigDirectorOnStyleChange(global::System.IntPtr styleManager, int change)\r
-        {\r
-            OnStyleChange(new StyleManager(styleManager, true), (StyleChangeType)change);\r
-        }\r
-\r
-        private bool SwigDirectorOnAccessibilityActivated()\r
-        {\r
-            return OnAccessibilityActivated();\r
-        }\r
-\r
-        private bool SwigDirectorOnAccessibilityPan(global::System.IntPtr gesture)\r
-        {\r
-            return OnAccessibilityPan(new PanGesture(gesture, true));\r
-        }\r
-\r
-        private bool SwigDirectorOnAccessibilityTouch(global::System.IntPtr touchEvent)\r
-        {\r
-            return OnAccessibilityTouch(new SWIGTYPE_p_Dali__TouchEvent(touchEvent, false));\r
-        }\r
-\r
-        private bool SwigDirectorOnAccessibilityValueChange(bool isIncrease)\r
-        {\r
-            return OnAccessibilityValueChange(isIncrease);\r
-        }\r
-\r
-        private bool SwigDirectorOnAccessibilityZoom()\r
-        {\r
-            return OnAccessibilityZoom();\r
-        }\r
-\r
-        private void SwigDirectorOnKeyInputFocusGained()\r
-        {\r
-            OnKeyInputFocusGained();\r
-        }\r
-\r
-        private void SwigDirectorOnKeyInputFocusLost()\r
-        {\r
-            OnKeyInputFocusLost();\r
-        }\r
-\r
-        private global::System.IntPtr SwigDirectorGetNextKeyboardFocusableActor(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled)\r
-        {\r
-            return Actor.getCPtr(GetNextKeyboardFocusableActor(new Actor(currentFocusedActor, true), (View.FocusDirection)direction, loopEnabled)).Handle;\r
-        }\r
-\r
-        private void SwigDirectorOnKeyboardFocusChangeCommitted(global::System.IntPtr commitedFocusableActor)\r
-        {\r
-            OnKeyboardFocusChangeCommitted(new Actor(commitedFocusableActor, true));\r
-        }\r
-\r
-        private bool SwigDirectorOnKeyboardEnter()\r
-        {\r
-            return OnKeyboardEnter();\r
-        }\r
-\r
-        private void SwigDirectorOnPinch(global::System.IntPtr pinch)\r
-        {\r
-            OnPinch(new PinchGesture(pinch, false));\r
-        }\r
-\r
-        private void SwigDirectorOnPan(global::System.IntPtr pan)\r
-        {\r
-            OnPan(new PanGesture(pan, false));\r
-        }\r
-\r
-        private void SwigDirectorOnTap(global::System.IntPtr tap)\r
-        {\r
-            OnTap(new TapGesture(tap, false));\r
-        }\r
-\r
-        private void SwigDirectorOnLongPress(global::System.IntPtr longPress)\r
-        {\r
-            OnLongPress(new LongPressGesture(longPress, false));\r
-        }\r
-\r
-        private void SwigDirectorSignalConnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)\r
-        {\r
-            SignalConnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));\r
-        }\r
-\r
-        private void SwigDirectorSignalDisconnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)\r
-        {\r
-            SignalDisconnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));\r
-        }\r
-\r
-        public delegate void SwigDelegateViewImpl_0(int depth);\r
-        public delegate void SwigDelegateViewImpl_1();\r
-        public delegate void SwigDelegateViewImpl_2(global::System.IntPtr child);\r
-        public delegate void SwigDelegateViewImpl_3(global::System.IntPtr child);\r
-        public delegate void SwigDelegateViewImpl_4(int index, global::System.IntPtr propertyValue);\r
-        public delegate void SwigDelegateViewImpl_5(global::System.IntPtr targetSize);\r
-        public delegate void SwigDelegateViewImpl_6(global::System.IntPtr animation, global::System.IntPtr targetSize);\r
-        public delegate bool SwigDelegateViewImpl_7(global::System.IntPtr arg0);\r
-        public delegate bool SwigDelegateViewImpl_8(global::System.IntPtr arg0);\r
-        public delegate bool SwigDelegateViewImpl_9(global::System.IntPtr arg0);\r
-        public delegate bool SwigDelegateViewImpl_10(global::System.IntPtr arg0);\r
-        public delegate void SwigDelegateViewImpl_11(global::System.IntPtr size, global::System.IntPtr container);\r
-        public delegate void SwigDelegateViewImpl_12(int policy, int dimension);\r
-        public delegate global::System.IntPtr SwigDelegateViewImpl_13();\r
-        public delegate float SwigDelegateViewImpl_14(global::System.IntPtr child, int dimension);\r
-        public delegate float SwigDelegateViewImpl_15(float width);\r
-        public delegate float SwigDelegateViewImpl_16(float height);\r
-        public delegate bool SwigDelegateViewImpl_17(int dimension);\r
-        public delegate bool SwigDelegateViewImpl_18();\r
-        public delegate void SwigDelegateViewImpl_19(int dimension);\r
-        public delegate void SwigDelegateViewImpl_20(float size, int dimension);\r
-        public delegate void SwigDelegateViewImpl_21();\r
-        public delegate void SwigDelegateViewImpl_22(global::System.IntPtr child);\r
-        public delegate void SwigDelegateViewImpl_23(global::System.IntPtr child);\r
-        public delegate void SwigDelegateViewImpl_24(global::System.IntPtr styleManager, int change);\r
-        public delegate bool SwigDelegateViewImpl_25();\r
-        public delegate bool SwigDelegateViewImpl_26(global::System.IntPtr gesture);\r
-        public delegate bool SwigDelegateViewImpl_27(global::System.IntPtr touchEvent);\r
-        public delegate bool SwigDelegateViewImpl_28(bool isIncrease);\r
-        public delegate bool SwigDelegateViewImpl_29();\r
-        public delegate void SwigDelegateViewImpl_30();\r
-        public delegate void SwigDelegateViewImpl_31();\r
-        public delegate global::System.IntPtr SwigDelegateViewImpl_32(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled);\r
-        public delegate void SwigDelegateViewImpl_33(global::System.IntPtr commitedFocusableActor);\r
-        public delegate bool SwigDelegateViewImpl_34();\r
-        public delegate void SwigDelegateViewImpl_35(global::System.IntPtr pinch);\r
-        public delegate void SwigDelegateViewImpl_36(global::System.IntPtr pan);\r
-        public delegate void SwigDelegateViewImpl_37(global::System.IntPtr tap);\r
-        public delegate void SwigDelegateViewImpl_38(global::System.IntPtr longPress);\r
-        public delegate void SwigDelegateViewImpl_39(global::System.IntPtr slotObserver, global::System.IntPtr callback);\r
-        public delegate void SwigDelegateViewImpl_40(global::System.IntPtr slotObserver, global::System.IntPtr callback);\r
-\r
-        private SwigDelegateViewImpl_0 swigDelegate0;\r
-        private SwigDelegateViewImpl_1 swigDelegate1;\r
-        private SwigDelegateViewImpl_2 swigDelegate2;\r
-        private SwigDelegateViewImpl_3 swigDelegate3;\r
-        private SwigDelegateViewImpl_4 swigDelegate4;\r
-        private SwigDelegateViewImpl_5 swigDelegate5;\r
-        private SwigDelegateViewImpl_6 swigDelegate6;\r
-        private SwigDelegateViewImpl_7 swigDelegate7;\r
-        private SwigDelegateViewImpl_8 swigDelegate8;\r
-        private SwigDelegateViewImpl_9 swigDelegate9;\r
-        private SwigDelegateViewImpl_10 swigDelegate10;\r
-        private SwigDelegateViewImpl_11 swigDelegate11;\r
-        private SwigDelegateViewImpl_12 swigDelegate12;\r
-        private SwigDelegateViewImpl_13 swigDelegate13;\r
-        private SwigDelegateViewImpl_14 swigDelegate14;\r
-        private SwigDelegateViewImpl_15 swigDelegate15;\r
-        private SwigDelegateViewImpl_16 swigDelegate16;\r
-        private SwigDelegateViewImpl_17 swigDelegate17;\r
-        private SwigDelegateViewImpl_18 swigDelegate18;\r
-        private SwigDelegateViewImpl_19 swigDelegate19;\r
-        private SwigDelegateViewImpl_20 swigDelegate20;\r
-        private SwigDelegateViewImpl_21 swigDelegate21;\r
-        private SwigDelegateViewImpl_22 swigDelegate22;\r
-        private SwigDelegateViewImpl_23 swigDelegate23;\r
-        private SwigDelegateViewImpl_24 swigDelegate24;\r
-        private SwigDelegateViewImpl_25 swigDelegate25;\r
-        private SwigDelegateViewImpl_26 swigDelegate26;\r
-        private SwigDelegateViewImpl_27 swigDelegate27;\r
-        private SwigDelegateViewImpl_28 swigDelegate28;\r
-        private SwigDelegateViewImpl_29 swigDelegate29;\r
-        private SwigDelegateViewImpl_30 swigDelegate30;\r
-        private SwigDelegateViewImpl_31 swigDelegate31;\r
-        private SwigDelegateViewImpl_32 swigDelegate32;\r
-        private SwigDelegateViewImpl_33 swigDelegate33;\r
-        private SwigDelegateViewImpl_34 swigDelegate34;\r
-        private SwigDelegateViewImpl_35 swigDelegate35;\r
-        private SwigDelegateViewImpl_36 swigDelegate36;\r
-        private SwigDelegateViewImpl_37 swigDelegate37;\r
-        private SwigDelegateViewImpl_38 swigDelegate38;\r
-        private SwigDelegateViewImpl_39 swigDelegate39;\r
-        private SwigDelegateViewImpl_40 swigDelegate40;\r
-\r
-        private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(int) };\r
-        private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };\r
-        private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(Actor) };\r
-        private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { typeof(Actor) };\r
-        private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(int), typeof(PropertyValue) };\r
-        private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(Vector3) };\r
-        private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Animation), typeof(Vector3) };\r
-        private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(SWIGTYPE_p_Dali__TouchEvent) };\r
-        private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(Hover) };\r
-        private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { typeof(Key) };\r
-        private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { typeof(Wheel) };\r
-        private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { typeof(Vector2), typeof(RelayoutContainer) };\r
-        private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { typeof(ResizePolicyType), typeof(DimensionType) };\r
-        private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };\r
-        private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { typeof(Actor), typeof(DimensionType) };\r
-        private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { typeof(float) };\r
-        private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { typeof(float) };\r
-        private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(DimensionType) };\r
-        private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { };\r
-        private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { typeof(DimensionType) };\r
-        private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { typeof(float), typeof(DimensionType) };\r
-        private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };\r
-        private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { typeof(Actor) };\r
-        private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(Actor) };\r
-        private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { typeof(StyleManager), typeof(StyleChangeType) };\r
-        private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };\r
-        private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { typeof(PanGesture) };\r
-        private static global::System.Type[] swigMethodTypes27 = new global::System.Type[] { typeof(SWIGTYPE_p_Dali__TouchEvent) };\r
-        private static global::System.Type[] swigMethodTypes28 = new global::System.Type[] { typeof(bool) };\r
-        private static global::System.Type[] swigMethodTypes29 = new global::System.Type[] { };\r
-        private static global::System.Type[] swigMethodTypes30 = new global::System.Type[] { };\r
-        private static global::System.Type[] swigMethodTypes31 = new global::System.Type[] { };\r
-        private static global::System.Type[] swigMethodTypes32 = new global::System.Type[] { typeof(Actor), typeof(View.FocusDirection), typeof(bool) };\r
-        private static global::System.Type[] swigMethodTypes33 = new global::System.Type[] { typeof(Actor) };\r
-        private static global::System.Type[] swigMethodTypes34 = new global::System.Type[] { };\r
-        private static global::System.Type[] swigMethodTypes35 = new global::System.Type[] { typeof(PinchGesture) };\r
-        private static global::System.Type[] swigMethodTypes36 = new global::System.Type[] { typeof(PanGesture) };\r
-        private static global::System.Type[] swigMethodTypes37 = new global::System.Type[] { typeof(TapGesture) };\r
-        private static global::System.Type[] swigMethodTypes38 = new global::System.Type[] { typeof(LongPressGesture) };\r
-        private static global::System.Type[] swigMethodTypes39 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };\r
-        private static global::System.Type[] swigMethodTypes40 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };\r
+namespace Tizen.NUI
+{
+
+    public class ViewImpl : CustomActorImpl
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal ViewImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ViewImpl_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewImpl obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        public override void Dispose()
+        {
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        throw new global::System.MethodAccessException("C++ destructor does not have public access");
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+        public static View New()
+        {
+            View ret = new View(NDalicPINVOKE.ViewImpl_New(), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetStyleName(string styleName)
+        {
+            NDalicPINVOKE.ViewImpl_SetStyleName(swigCPtr, styleName);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public string GetStyleName()
+        {
+            string ret = NDalicPINVOKE.ViewImpl_GetStyleName(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetBackgroundColor(Vector4 color)
+        {
+            NDalicPINVOKE.ViewImpl_SetBackgroundColor(swigCPtr, Vector4.getCPtr(color));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector4 GetBackgroundColor()
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.ViewImpl_GetBackgroundColor(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetBackgroundImage(Image image)
+        {
+            NDalicPINVOKE.ViewImpl_SetBackgroundImage(swigCPtr, Image.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void SetBackground(PropertyMap map)
+        {
+            NDalicPINVOKE.ViewImpl_SetBackground(swigCPtr, PropertyMap.getCPtr(map));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void ClearBackground()
+        {
+            NDalicPINVOKE.ViewImpl_ClearBackground(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void EnableGestureDetection(Gesture.GestureType type)
+        {
+            NDalicPINVOKE.ViewImpl_EnableGestureDetection(swigCPtr, (int)type);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void DisableGestureDetection(Gesture.GestureType type)
+        {
+            NDalicPINVOKE.ViewImpl_DisableGestureDetection(swigCPtr, (int)type);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PinchGestureDetector GetPinchGestureDetector()
+        {
+            PinchGestureDetector ret = new PinchGestureDetector(NDalicPINVOKE.ViewImpl_GetPinchGestureDetector(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PanGestureDetector GetPanGestureDetector()
+        {
+            PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.ViewImpl_GetPanGestureDetector(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public TapGestureDetector GetTapGestureDetector()
+        {
+            TapGestureDetector ret = new TapGestureDetector(NDalicPINVOKE.ViewImpl_GetTapGestureDetector(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public LongPressGestureDetector GetLongPressGestureDetector()
+        {
+            LongPressGestureDetector ret = new LongPressGestureDetector(NDalicPINVOKE.ViewImpl_GetLongPressGestureDetector(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetKeyboardNavigationSupport(bool isSupported)
+        {
+            NDalicPINVOKE.ViewImpl_SetKeyboardNavigationSupport(swigCPtr, isSupported);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool IsKeyboardNavigationSupported()
+        {
+            bool ret = NDalicPINVOKE.ViewImpl_IsKeyboardNavigationSupported(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetKeyInputFocus()
+        {
+            NDalicPINVOKE.ViewImpl_SetKeyInputFocus(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool HasKeyInputFocus()
+        {
+            bool ret = NDalicPINVOKE.ViewImpl_HasKeyInputFocus(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void ClearKeyInputFocus()
+        {
+            NDalicPINVOKE.ViewImpl_ClearKeyInputFocus(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void SetAsKeyboardFocusGroup(bool isFocusGroup)
+        {
+            NDalicPINVOKE.ViewImpl_SetAsKeyboardFocusGroup(swigCPtr, isFocusGroup);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool IsKeyboardFocusGroup()
+        {
+            bool ret = NDalicPINVOKE.ViewImpl_IsKeyboardFocusGroup(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void AccessibilityActivate()
+        {
+            NDalicPINVOKE.ViewImpl_AccessibilityActivate(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void KeyboardEnter()
+        {
+            NDalicPINVOKE.ViewImpl_KeyboardEnter(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal ControlKeySignal KeyEventSignal()
+        {
+            ControlKeySignal ret = new ControlKeySignal(NDalicPINVOKE.ViewImpl_KeyEventSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal KeyInputFocusSignal KeyInputFocusGainedSignal()
+        {
+            KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.ViewImpl_KeyInputFocusGainedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal KeyInputFocusSignal KeyInputFocusLostSignal()
+        {
+            KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.ViewImpl_KeyInputFocusLostSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool EmitKeyEventSignal(Key arg0)
+        {
+            bool ret = NDalicPINVOKE.ViewImpl_EmitKeyEventSignal(swigCPtr, Key.getCPtr(arg0));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new void OnStageConnection(int depth)
+        {
+            if (SwigDerivedClassHasMethod("OnStageConnection", swigMethodTypes0)) NDalicPINVOKE.ViewImpl_OnStageConnectionSwigExplicitViewImpl(swigCPtr, depth); else NDalicPINVOKE.ViewImpl_OnStageConnection(swigCPtr, depth);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        protected virtual new void OnStageDisconnection()
+        {
+            if (SwigDerivedClassHasMethod("OnStageDisconnection", swigMethodTypes1)) NDalicPINVOKE.ViewImpl_OnStageDisconnectionSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnStageDisconnection(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        protected virtual new void OnChildAdd(Actor child)
+        {
+            if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2)) NDalicPINVOKE.ViewImpl_OnChildAddSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildAdd(swigCPtr, Actor.getCPtr(child));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        protected virtual new void OnChildRemove(Actor child)
+        {
+            if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3)) NDalicPINVOKE.ViewImpl_OnChildRemoveSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildRemove(swigCPtr, Actor.getCPtr(child));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        protected virtual new void OnPropertySet(int index, PropertyValue propertyValue)
+        {
+            if (SwigDerivedClassHasMethod("OnPropertySet", swigMethodTypes4)) NDalicPINVOKE.ViewImpl_OnPropertySetSwigExplicitViewImpl(swigCPtr, index, PropertyValue.getCPtr(propertyValue)); else NDalicPINVOKE.ViewImpl_OnPropertySet(swigCPtr, index, PropertyValue.getCPtr(propertyValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        protected virtual new void OnSizeSet(Vector3 targetSize)
+        {
+            if (SwigDerivedClassHasMethod("OnSizeSet", swigMethodTypes5)) NDalicPINVOKE.ViewImpl_OnSizeSetSwigExplicitViewImpl(swigCPtr, Vector3.getCPtr(targetSize)); else NDalicPINVOKE.ViewImpl_OnSizeSet(swigCPtr, Vector3.getCPtr(targetSize));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        protected virtual new void OnSizeAnimation(Animation animation, Vector3 targetSize)
+        {
+            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));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal virtual new bool OnTouchEvent(SWIGTYPE_p_Dali__TouchEvent arg0)
+        {
+            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)));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new bool OnHoverEvent(Hover arg0)
+        {
+            bool ret = (SwigDerivedClassHasMethod("OnHoverEvent", swigMethodTypes8) ? NDalicPINVOKE.ViewImpl_OnHoverEventSwigExplicitViewImpl(swigCPtr, Hover.getCPtr(arg0)) : NDalicPINVOKE.ViewImpl_OnHoverEvent(swigCPtr, Hover.getCPtr(arg0)));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new bool OnKeyEvent(Key arg0)
+        {
+            bool ret = (SwigDerivedClassHasMethod("OnKeyEvent", swigMethodTypes9) ? NDalicPINVOKE.ViewImpl_OnKeyEventSwigExplicitViewImpl(swigCPtr, Key.getCPtr(arg0)) : NDalicPINVOKE.ViewImpl_OnKeyEvent(swigCPtr, Key.getCPtr(arg0)));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new bool OnWheelEvent(Wheel arg0)
+        {
+            bool ret = (SwigDerivedClassHasMethod("OnWheelEvent", swigMethodTypes10) ? NDalicPINVOKE.ViewImpl_OnWheelEventSwigExplicitViewImpl(swigCPtr, Wheel.getCPtr(arg0)) : NDalicPINVOKE.ViewImpl_OnWheelEvent(swigCPtr, Wheel.getCPtr(arg0)));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new void OnRelayout(Vector2 size, RelayoutContainer container)
+        {
+            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));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        protected virtual new void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension)
+        {
+            if (SwigDerivedClassHasMethod("OnSetResizePolicy", swigMethodTypes12)) NDalicPINVOKE.ViewImpl_OnSetResizePolicySwigExplicitViewImpl(swigCPtr, (int)policy, (int)dimension); else NDalicPINVOKE.ViewImpl_OnSetResizePolicy(swigCPtr, (int)policy, (int)dimension);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        protected virtual new Vector3 GetNaturalSize()
+        {
+            Vector3 ret = new Vector3((SwigDerivedClassHasMethod("GetNaturalSize", swigMethodTypes13) ? NDalicPINVOKE.ViewImpl_GetNaturalSizeSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_GetNaturalSize(swigCPtr)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new float CalculateChildSize(Actor child, DimensionType dimension)
+        {
+            float ret = (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14) ? NDalicPINVOKE.ViewImpl_CalculateChildSizeSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child), (int)dimension) : NDalicPINVOKE.ViewImpl_CalculateChildSize(swigCPtr, Actor.getCPtr(child), (int)dimension));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new float GetHeightForWidth(float width)
+        {
+            float ret = (SwigDerivedClassHasMethod("GetHeightForWidth", swigMethodTypes15) ? NDalicPINVOKE.ViewImpl_GetHeightForWidthSwigExplicitViewImpl(swigCPtr, width) : NDalicPINVOKE.ViewImpl_GetHeightForWidth(swigCPtr, width));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new float GetWidthForHeight(float height)
+        {
+            float ret = (SwigDerivedClassHasMethod("GetWidthForHeight", swigMethodTypes16) ? NDalicPINVOKE.ViewImpl_GetWidthForHeightSwigExplicitViewImpl(swigCPtr, height) : NDalicPINVOKE.ViewImpl_GetWidthForHeight(swigCPtr, height));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new bool RelayoutDependentOnChildren(DimensionType dimension)
+        {
+            bool ret = (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes17) ? NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildrenSwigExplicitViewImpl__SWIG_0(swigCPtr, (int)dimension) : NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildren__SWIG_0(swigCPtr, (int)dimension));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new bool RelayoutDependentOnChildren()
+        {
+            bool ret = (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes18) ? NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildrenSwigExplicitViewImpl__SWIG_1(swigCPtr) : NDalicPINVOKE.ViewImpl_RelayoutDependentOnChildren__SWIG_1(swigCPtr));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        protected virtual new void OnCalculateRelayoutSize(DimensionType dimension)
+        {
+            if (SwigDerivedClassHasMethod("OnCalculateRelayoutSize", swigMethodTypes19)) NDalicPINVOKE.ViewImpl_OnCalculateRelayoutSizeSwigExplicitViewImpl(swigCPtr, (int)dimension); else NDalicPINVOKE.ViewImpl_OnCalculateRelayoutSize(swigCPtr, (int)dimension);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        protected virtual new void OnLayoutNegotiated(float size, DimensionType dimension)
+        {
+            if (SwigDerivedClassHasMethod("OnLayoutNegotiated", swigMethodTypes20)) NDalicPINVOKE.ViewImpl_OnLayoutNegotiatedSwigExplicitViewImpl(swigCPtr, size, (int)dimension); else NDalicPINVOKE.ViewImpl_OnLayoutNegotiated(swigCPtr, size, (int)dimension);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual void OnInitialize()
+        {
+            if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21)) NDalicPINVOKE.ViewImpl_OnInitializeSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnInitialize(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual void OnControlChildAdd(Actor child)
+        {
+            if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22)) NDalicPINVOKE.ViewImpl_OnControlChildAddSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildAdd(swigCPtr, Actor.getCPtr(child));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual void OnControlChildRemove(Actor child)
+        {
+            if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23)) NDalicPINVOKE.ViewImpl_OnControlChildRemoveSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildRemove(swigCPtr, Actor.getCPtr(child));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)
+        {
+            if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24)) NDalicPINVOKE.ViewImpl_OnStyleChangeSwigExplicitViewImpl(swigCPtr, StyleManager.getCPtr(styleManager), (int)change); else NDalicPINVOKE.ViewImpl_OnStyleChange(swigCPtr, StyleManager.getCPtr(styleManager), (int)change);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual bool OnAccessibilityActivated()
+        {
+            bool ret = (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25) ? NDalicPINVOKE.ViewImpl_OnAccessibilityActivatedSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnAccessibilityActivated(swigCPtr));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public virtual bool OnAccessibilityPan(PanGesture gesture)
+        {
+            bool ret = (SwigDerivedClassHasMethod("OnAccessibilityPan", swigMethodTypes26) ? NDalicPINVOKE.ViewImpl_OnAccessibilityPanSwigExplicitViewImpl(swigCPtr, PanGesture.getCPtr(gesture)) : NDalicPINVOKE.ViewImpl_OnAccessibilityPan(swigCPtr, PanGesture.getCPtr(gesture)));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal virtual bool OnAccessibilityTouch(SWIGTYPE_p_Dali__TouchEvent touchEvent)
+        {
+            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)));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public virtual bool OnAccessibilityValueChange(bool isIncrease)
+        {
+            bool ret = (SwigDerivedClassHasMethod("OnAccessibilityValueChange", swigMethodTypes28) ? NDalicPINVOKE.ViewImpl_OnAccessibilityValueChangeSwigExplicitViewImpl(swigCPtr, isIncrease) : NDalicPINVOKE.ViewImpl_OnAccessibilityValueChange(swigCPtr, isIncrease));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public virtual bool OnAccessibilityZoom()
+        {
+            bool ret = (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29) ? NDalicPINVOKE.ViewImpl_OnAccessibilityZoomSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnAccessibilityZoom(swigCPtr));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public virtual void OnKeyInputFocusGained()
+        {
+            if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30)) NDalicPINVOKE.ViewImpl_OnKeyInputFocusGainedSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnKeyInputFocusGained(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual void OnKeyInputFocusLost()
+        {
+            if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31)) NDalicPINVOKE.ViewImpl_OnKeyInputFocusLostSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnKeyInputFocusLost(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual Actor GetNextKeyboardFocusableActor(Actor currentFocusedActor, View.FocusDirection direction, bool loopEnabled)
+        {
+            Actor ret = new Actor((SwigDerivedClassHasMethod("GetNextKeyboardFocusableActor", swigMethodTypes32) ? NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActorSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(currentFocusedActor), (int)direction, loopEnabled) : NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActor(swigCPtr, Actor.getCPtr(currentFocusedActor), (int)direction, loopEnabled)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public virtual void OnKeyboardFocusChangeCommitted(Actor commitedFocusableActor)
+        {
+            if (SwigDerivedClassHasMethod("OnKeyboardFocusChangeCommitted", swigMethodTypes33)) NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommittedSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(commitedFocusableActor)); else NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommitted(swigCPtr, Actor.getCPtr(commitedFocusableActor));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual bool OnKeyboardEnter()
+        {
+            bool ret = (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34) ? NDalicPINVOKE.ViewImpl_OnKeyboardEnterSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnKeyboardEnter(swigCPtr));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public virtual void OnPinch(PinchGesture pinch)
+        {
+            if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35)) NDalicPINVOKE.ViewImpl_OnPinchSwigExplicitViewImpl(swigCPtr, PinchGesture.getCPtr(pinch)); else NDalicPINVOKE.ViewImpl_OnPinch(swigCPtr, PinchGesture.getCPtr(pinch));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual void OnPan(PanGesture pan)
+        {
+            if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36)) NDalicPINVOKE.ViewImpl_OnPanSwigExplicitViewImpl(swigCPtr, PanGesture.getCPtr(pan)); else NDalicPINVOKE.ViewImpl_OnPan(swigCPtr, PanGesture.getCPtr(pan));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual void OnTap(TapGesture tap)
+        {
+            if (SwigDerivedClassHasMethod("OnTap", swigMethodTypes37)) NDalicPINVOKE.ViewImpl_OnTapSwigExplicitViewImpl(swigCPtr, TapGesture.getCPtr(tap)); else NDalicPINVOKE.ViewImpl_OnTap(swigCPtr, TapGesture.getCPtr(tap));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public virtual void OnLongPress(LongPressGesture longPress)
+        {
+            if (SwigDerivedClassHasMethod("OnLongPress", swigMethodTypes38)) NDalicPINVOKE.ViewImpl_OnLongPressSwigExplicitViewImpl(swigCPtr, LongPressGesture.getCPtr(longPress)); else NDalicPINVOKE.ViewImpl_OnLongPress(swigCPtr, LongPressGesture.getCPtr(longPress));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal virtual void SignalConnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)
+        {
+            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));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal virtual void SignalDisconnected(SlotObserver slotObserver, SWIGTYPE_p_Dali__CallbackBase callback)
+        {
+            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));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        private void SwigDirectorConnect()
+        {
+            if (SwigDerivedClassHasMethod("OnStageConnection", swigMethodTypes0))
+                swigDelegate0 = new SwigDelegateViewImpl_0(SwigDirectorOnStageConnection);
+            if (SwigDerivedClassHasMethod("OnStageDisconnection", swigMethodTypes1))
+                swigDelegate1 = new SwigDelegateViewImpl_1(SwigDirectorOnStageDisconnection);
+            if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2))
+                swigDelegate2 = new SwigDelegateViewImpl_2(SwigDirectorOnChildAdd);
+            if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3))
+                swigDelegate3 = new SwigDelegateViewImpl_3(SwigDirectorOnChildRemove);
+            if (SwigDerivedClassHasMethod("OnPropertySet", swigMethodTypes4))
+                swigDelegate4 = new SwigDelegateViewImpl_4(SwigDirectorOnPropertySet);
+            if (SwigDerivedClassHasMethod("OnSizeSet", swigMethodTypes5))
+                swigDelegate5 = new SwigDelegateViewImpl_5(SwigDirectorOnSizeSet);
+            if (SwigDerivedClassHasMethod("OnSizeAnimation", swigMethodTypes6))
+                swigDelegate6 = new SwigDelegateViewImpl_6(SwigDirectorOnSizeAnimation);
+            if (SwigDerivedClassHasMethod("OnTouchEvent", swigMethodTypes7))
+                swigDelegate7 = new SwigDelegateViewImpl_7(SwigDirectorOnTouchEvent);
+            if (SwigDerivedClassHasMethod("OnHoverEvent", swigMethodTypes8))
+                swigDelegate8 = new SwigDelegateViewImpl_8(SwigDirectorOnHoverEvent);
+            if (SwigDerivedClassHasMethod("OnKeyEvent", swigMethodTypes9))
+                swigDelegate9 = new SwigDelegateViewImpl_9(SwigDirectorOnKeyEvent);
+            if (SwigDerivedClassHasMethod("OnWheelEvent", swigMethodTypes10))
+                swigDelegate10 = new SwigDelegateViewImpl_10(SwigDirectorOnWheelEvent);
+            if (SwigDerivedClassHasMethod("OnRelayout", swigMethodTypes11))
+                swigDelegate11 = new SwigDelegateViewImpl_11(SwigDirectorOnRelayout);
+            if (SwigDerivedClassHasMethod("OnSetResizePolicy", swigMethodTypes12))
+                swigDelegate12 = new SwigDelegateViewImpl_12(SwigDirectorOnSetResizePolicy);
+            if (SwigDerivedClassHasMethod("GetNaturalSize", swigMethodTypes13))
+                swigDelegate13 = new SwigDelegateViewImpl_13(SwigDirectorGetNaturalSize);
+            if (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14))
+                swigDelegate14 = new SwigDelegateViewImpl_14(SwigDirectorCalculateChildSize);
+            if (SwigDerivedClassHasMethod("GetHeightForWidth", swigMethodTypes15))
+                swigDelegate15 = new SwigDelegateViewImpl_15(SwigDirectorGetHeightForWidth);
+            if (SwigDerivedClassHasMethod("GetWidthForHeight", swigMethodTypes16))
+                swigDelegate16 = new SwigDelegateViewImpl_16(SwigDirectorGetWidthForHeight);
+            if (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes17))
+                swigDelegate17 = new SwigDelegateViewImpl_17(SwigDirectorRelayoutDependentOnChildren__SWIG_0);
+            if (SwigDerivedClassHasMethod("RelayoutDependentOnChildren", swigMethodTypes18))
+                swigDelegate18 = new SwigDelegateViewImpl_18(SwigDirectorRelayoutDependentOnChildren__SWIG_1);
+            if (SwigDerivedClassHasMethod("OnCalculateRelayoutSize", swigMethodTypes19))
+                swigDelegate19 = new SwigDelegateViewImpl_19(SwigDirectorOnCalculateRelayoutSize);
+            if (SwigDerivedClassHasMethod("OnLayoutNegotiated", swigMethodTypes20))
+                swigDelegate20 = new SwigDelegateViewImpl_20(SwigDirectorOnLayoutNegotiated);
+            if (SwigDerivedClassHasMethod("OnInitialize", swigMethodTypes21))
+                swigDelegate21 = new SwigDelegateViewImpl_21(SwigDirectorOnInitialize);
+            if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22))
+                swigDelegate22 = new SwigDelegateViewImpl_22(SwigDirectorOnControlChildAdd);
+            if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23))
+                swigDelegate23 = new SwigDelegateViewImpl_23(SwigDirectorOnControlChildRemove);
+            if (SwigDerivedClassHasMethod("OnStyleChange", swigMethodTypes24))
+                swigDelegate24 = new SwigDelegateViewImpl_24(SwigDirectorOnStyleChange);
+            if (SwigDerivedClassHasMethod("OnAccessibilityActivated", swigMethodTypes25))
+                swigDelegate25 = new SwigDelegateViewImpl_25(SwigDirectorOnAccessibilityActivated);
+            if (SwigDerivedClassHasMethod("OnAccessibilityPan", swigMethodTypes26))
+                swigDelegate26 = new SwigDelegateViewImpl_26(SwigDirectorOnAccessibilityPan);
+            if (SwigDerivedClassHasMethod("OnAccessibilityTouch", swigMethodTypes27))
+                swigDelegate27 = new SwigDelegateViewImpl_27(SwigDirectorOnAccessibilityTouch);
+            if (SwigDerivedClassHasMethod("OnAccessibilityValueChange", swigMethodTypes28))
+                swigDelegate28 = new SwigDelegateViewImpl_28(SwigDirectorOnAccessibilityValueChange);
+            if (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29))
+                swigDelegate29 = new SwigDelegateViewImpl_29(SwigDirectorOnAccessibilityZoom);
+            if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30))
+                swigDelegate30 = new SwigDelegateViewImpl_30(SwigDirectorOnKeyInputFocusGained);
+            if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31))
+                swigDelegate31 = new SwigDelegateViewImpl_31(SwigDirectorOnKeyInputFocusLost);
+            if (SwigDerivedClassHasMethod("GetNextKeyboardFocusableActor", swigMethodTypes32))
+                swigDelegate32 = new SwigDelegateViewImpl_32(SwigDirectorGetNextKeyboardFocusableActor);
+            if (SwigDerivedClassHasMethod("OnKeyboardFocusChangeCommitted", swigMethodTypes33))
+                swigDelegate33 = new SwigDelegateViewImpl_33(SwigDirectorOnKeyboardFocusChangeCommitted);
+            if (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34))
+                swigDelegate34 = new SwigDelegateViewImpl_34(SwigDirectorOnKeyboardEnter);
+            if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35))
+                swigDelegate35 = new SwigDelegateViewImpl_35(SwigDirectorOnPinch);
+            if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36))
+                swigDelegate36 = new SwigDelegateViewImpl_36(SwigDirectorOnPan);
+            if (SwigDerivedClassHasMethod("OnTap", swigMethodTypes37))
+                swigDelegate37 = new SwigDelegateViewImpl_37(SwigDirectorOnTap);
+            if (SwigDerivedClassHasMethod("OnLongPress", swigMethodTypes38))
+                swigDelegate38 = new SwigDelegateViewImpl_38(SwigDirectorOnLongPress);
+            if (SwigDerivedClassHasMethod("SignalConnected", swigMethodTypes39))
+                swigDelegate39 = new SwigDelegateViewImpl_39(SwigDirectorSignalConnected);
+            if (SwigDerivedClassHasMethod("SignalDisconnected", swigMethodTypes40))
+                swigDelegate40 = new SwigDelegateViewImpl_40(SwigDirectorSignalDisconnected);
+            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);
+        }
+
+
+#if (DOT_NET_CORE)
+        private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)
+        {
+            global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes);
+            bool hasDerivedMethod = methodInfo.GetType().GetTypeInfo().IsSubclassOf(typeof(ViewImpl));
+
+            Tizen.Log.Debug("NUI-APP", "hasDerivedMethod=" + hasDerivedMethod);
+            return hasDerivedMethod;
+        }
+#else
+        private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes)
+        {
+            global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, methodTypes, null);
+            bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(ViewImpl));
+            return hasDerivedMethod;
+        }
+#endif
+
+        private void SwigDirectorOnStageConnection(int depth)
+        {
+            OnStageConnection(depth);
+        }
+
+        private void SwigDirectorOnStageDisconnection()
+        {
+            OnStageDisconnection();
+        }
+
+        private void SwigDirectorOnChildAdd(global::System.IntPtr child)
+        {
+            OnChildAdd(new Actor(child, false));
+        }
+
+        private void SwigDirectorOnChildRemove(global::System.IntPtr child)
+        {
+            OnChildRemove(new Actor(child, false));
+        }
+
+        private void SwigDirectorOnPropertySet(int index, global::System.IntPtr propertyValue)
+        {
+            OnPropertySet(index, new PropertyValue(propertyValue, true));
+        }
+
+        private void SwigDirectorOnSizeSet(global::System.IntPtr targetSize)
+        {
+            OnSizeSet(new Vector3(targetSize, false));
+        }
+
+        private void SwigDirectorOnSizeAnimation(global::System.IntPtr animation, global::System.IntPtr targetSize)
+        {
+            OnSizeAnimation(new Animation(animation, false), new Vector3(targetSize, false));
+        }
+
+        private bool SwigDirectorOnTouchEvent(global::System.IntPtr arg0)
+        {
+            return OnTouchEvent(new SWIGTYPE_p_Dali__TouchEvent(arg0, false));
+        }
+
+        private bool SwigDirectorOnHoverEvent(global::System.IntPtr arg0)
+        {
+            return OnHoverEvent(new Hover(arg0, false));
+        }
+
+        private bool SwigDirectorOnKeyEvent(global::System.IntPtr arg0)
+        {
+            return OnKeyEvent(new Key(arg0, false));
+        }
+
+        private bool SwigDirectorOnWheelEvent(global::System.IntPtr arg0)
+        {
+            return OnWheelEvent(new Wheel(arg0, false));
+        }
+
+        private void SwigDirectorOnRelayout(global::System.IntPtr size, global::System.IntPtr container)
+        {
+            OnRelayout(new Vector2(size, false), new RelayoutContainer(container, false));
+        }
+
+        private void SwigDirectorOnSetResizePolicy(int policy, int dimension)
+        {
+            OnSetResizePolicy((ResizePolicyType)policy, (DimensionType)dimension);
+        }
+
+        private global::System.IntPtr SwigDirectorGetNaturalSize()
+        {
+            return Vector3.getCPtr(GetNaturalSize()).Handle;
+        }
+
+        private float SwigDirectorCalculateChildSize(global::System.IntPtr child, int dimension)
+        {
+            return CalculateChildSize(new Actor(child, false), (DimensionType)dimension);
+        }
+
+        private float SwigDirectorGetHeightForWidth(float width)
+        {
+            return GetHeightForWidth(width);
+        }
+
+        private float SwigDirectorGetWidthForHeight(float height)
+        {
+            return GetWidthForHeight(height);
+        }
+
+        private bool SwigDirectorRelayoutDependentOnChildren__SWIG_0(int dimension)
+        {
+            return RelayoutDependentOnChildren((DimensionType)dimension);
+        }
+
+        private bool SwigDirectorRelayoutDependentOnChildren__SWIG_1()
+        {
+            return RelayoutDependentOnChildren();
+        }
+
+        private void SwigDirectorOnCalculateRelayoutSize(int dimension)
+        {
+            OnCalculateRelayoutSize((DimensionType)dimension);
+        }
+
+        private void SwigDirectorOnLayoutNegotiated(float size, int dimension)
+        {
+            OnLayoutNegotiated(size, (DimensionType)dimension);
+        }
+
+        private void SwigDirectorOnInitialize()
+        {
+            OnInitialize();
+        }
+
+        private void SwigDirectorOnControlChildAdd(global::System.IntPtr child)
+        {
+            OnControlChildAdd(new Actor(child, false));
+        }
+
+        private void SwigDirectorOnControlChildRemove(global::System.IntPtr child)
+        {
+            OnControlChildRemove(new Actor(child, false));
+        }
+
+        private void SwigDirectorOnStyleChange(global::System.IntPtr styleManager, int change)
+        {
+            OnStyleChange(new StyleManager(styleManager, true), (StyleChangeType)change);
+        }
+
+        private bool SwigDirectorOnAccessibilityActivated()
+        {
+            return OnAccessibilityActivated();
+        }
+
+        private bool SwigDirectorOnAccessibilityPan(global::System.IntPtr gesture)
+        {
+            return OnAccessibilityPan(new PanGesture(gesture, true));
+        }
+
+        private bool SwigDirectorOnAccessibilityTouch(global::System.IntPtr touchEvent)
+        {
+            return OnAccessibilityTouch(new SWIGTYPE_p_Dali__TouchEvent(touchEvent, false));
+        }
+
+        private bool SwigDirectorOnAccessibilityValueChange(bool isIncrease)
+        {
+            return OnAccessibilityValueChange(isIncrease);
+        }
+
+        private bool SwigDirectorOnAccessibilityZoom()
+        {
+            return OnAccessibilityZoom();
+        }
+
+        private void SwigDirectorOnKeyInputFocusGained()
+        {
+            OnKeyInputFocusGained();
+        }
+
+        private void SwigDirectorOnKeyInputFocusLost()
+        {
+            OnKeyInputFocusLost();
+        }
+
+        private global::System.IntPtr SwigDirectorGetNextKeyboardFocusableActor(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled)
+        {
+            return Actor.getCPtr(GetNextKeyboardFocusableActor(new Actor(currentFocusedActor, true), (View.FocusDirection)direction, loopEnabled)).Handle;
+        }
+
+        private void SwigDirectorOnKeyboardFocusChangeCommitted(global::System.IntPtr commitedFocusableActor)
+        {
+            OnKeyboardFocusChangeCommitted(new Actor(commitedFocusableActor, true));
+        }
+
+        private bool SwigDirectorOnKeyboardEnter()
+        {
+            return OnKeyboardEnter();
+        }
+
+        private void SwigDirectorOnPinch(global::System.IntPtr pinch)
+        {
+            OnPinch(new PinchGesture(pinch, false));
+        }
+
+        private void SwigDirectorOnPan(global::System.IntPtr pan)
+        {
+            OnPan(new PanGesture(pan, false));
+        }
+
+        private void SwigDirectorOnTap(global::System.IntPtr tap)
+        {
+            OnTap(new TapGesture(tap, false));
+        }
+
+        private void SwigDirectorOnLongPress(global::System.IntPtr longPress)
+        {
+            OnLongPress(new LongPressGesture(longPress, false));
+        }
+
+        private void SwigDirectorSignalConnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)
+        {
+            SignalConnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));
+        }
+
+        private void SwigDirectorSignalDisconnected(global::System.IntPtr slotObserver, global::System.IntPtr callback)
+        {
+            SignalDisconnected((slotObserver == global::System.IntPtr.Zero) ? null : new SlotObserver(slotObserver, false), (callback == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Dali__CallbackBase(callback, false));
+        }
+
+        public delegate void SwigDelegateViewImpl_0(int depth);
+        public delegate void SwigDelegateViewImpl_1();
+        public delegate void SwigDelegateViewImpl_2(global::System.IntPtr child);
+        public delegate void SwigDelegateViewImpl_3(global::System.IntPtr child);
+        public delegate void SwigDelegateViewImpl_4(int index, global::System.IntPtr propertyValue);
+        public delegate void SwigDelegateViewImpl_5(global::System.IntPtr targetSize);
+        public delegate void SwigDelegateViewImpl_6(global::System.IntPtr animation, global::System.IntPtr targetSize);
+        public delegate bool SwigDelegateViewImpl_7(global::System.IntPtr arg0);
+        public delegate bool SwigDelegateViewImpl_8(global::System.IntPtr arg0);
+        public delegate bool SwigDelegateViewImpl_9(global::System.IntPtr arg0);
+        public delegate bool SwigDelegateViewImpl_10(global::System.IntPtr arg0);
+        public delegate void SwigDelegateViewImpl_11(global::System.IntPtr size, global::System.IntPtr container);
+        public delegate void SwigDelegateViewImpl_12(int policy, int dimension);
+        public delegate global::System.IntPtr SwigDelegateViewImpl_13();
+        public delegate float SwigDelegateViewImpl_14(global::System.IntPtr child, int dimension);
+        public delegate float SwigDelegateViewImpl_15(float width);
+        public delegate float SwigDelegateViewImpl_16(float height);
+        public delegate bool SwigDelegateViewImpl_17(int dimension);
+        public delegate bool SwigDelegateViewImpl_18();
+        public delegate void SwigDelegateViewImpl_19(int dimension);
+        public delegate void SwigDelegateViewImpl_20(float size, int dimension);
+        public delegate void SwigDelegateViewImpl_21();
+        public delegate void SwigDelegateViewImpl_22(global::System.IntPtr child);
+        public delegate void SwigDelegateViewImpl_23(global::System.IntPtr child);
+        public delegate void SwigDelegateViewImpl_24(global::System.IntPtr styleManager, int change);
+        public delegate bool SwigDelegateViewImpl_25();
+        public delegate bool SwigDelegateViewImpl_26(global::System.IntPtr gesture);
+        public delegate bool SwigDelegateViewImpl_27(global::System.IntPtr touchEvent);
+        public delegate bool SwigDelegateViewImpl_28(bool isIncrease);
+        public delegate bool SwigDelegateViewImpl_29();
+        public delegate void SwigDelegateViewImpl_30();
+        public delegate void SwigDelegateViewImpl_31();
+        public delegate global::System.IntPtr SwigDelegateViewImpl_32(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled);
+        public delegate void SwigDelegateViewImpl_33(global::System.IntPtr commitedFocusableActor);
+        public delegate bool SwigDelegateViewImpl_34();
+        public delegate void SwigDelegateViewImpl_35(global::System.IntPtr pinch);
+        public delegate void SwigDelegateViewImpl_36(global::System.IntPtr pan);
+        public delegate void SwigDelegateViewImpl_37(global::System.IntPtr tap);
+        public delegate void SwigDelegateViewImpl_38(global::System.IntPtr longPress);
+        public delegate void SwigDelegateViewImpl_39(global::System.IntPtr slotObserver, global::System.IntPtr callback);
+        public delegate void SwigDelegateViewImpl_40(global::System.IntPtr slotObserver, global::System.IntPtr callback);
+
+        private SwigDelegateViewImpl_0 swigDelegate0;
+        private SwigDelegateViewImpl_1 swigDelegate1;
+        private SwigDelegateViewImpl_2 swigDelegate2;
+        private SwigDelegateViewImpl_3 swigDelegate3;
+        private SwigDelegateViewImpl_4 swigDelegate4;
+        private SwigDelegateViewImpl_5 swigDelegate5;
+        private SwigDelegateViewImpl_6 swigDelegate6;
+        private SwigDelegateViewImpl_7 swigDelegate7;
+        private SwigDelegateViewImpl_8 swigDelegate8;
+        private SwigDelegateViewImpl_9 swigDelegate9;
+        private SwigDelegateViewImpl_10 swigDelegate10;
+        private SwigDelegateViewImpl_11 swigDelegate11;
+        private SwigDelegateViewImpl_12 swigDelegate12;
+        private SwigDelegateViewImpl_13 swigDelegate13;
+        private SwigDelegateViewImpl_14 swigDelegate14;
+        private SwigDelegateViewImpl_15 swigDelegate15;
+        private SwigDelegateViewImpl_16 swigDelegate16;
+        private SwigDelegateViewImpl_17 swigDelegate17;
+        private SwigDelegateViewImpl_18 swigDelegate18;
+        private SwigDelegateViewImpl_19 swigDelegate19;
+        private SwigDelegateViewImpl_20 swigDelegate20;
+        private SwigDelegateViewImpl_21 swigDelegate21;
+        private SwigDelegateViewImpl_22 swigDelegate22;
+        private SwigDelegateViewImpl_23 swigDelegate23;
+        private SwigDelegateViewImpl_24 swigDelegate24;
+        private SwigDelegateViewImpl_25 swigDelegate25;
+        private SwigDelegateViewImpl_26 swigDelegate26;
+        private SwigDelegateViewImpl_27 swigDelegate27;
+        private SwigDelegateViewImpl_28 swigDelegate28;
+        private SwigDelegateViewImpl_29 swigDelegate29;
+        private SwigDelegateViewImpl_30 swigDelegate30;
+        private SwigDelegateViewImpl_31 swigDelegate31;
+        private SwigDelegateViewImpl_32 swigDelegate32;
+        private SwigDelegateViewImpl_33 swigDelegate33;
+        private SwigDelegateViewImpl_34 swigDelegate34;
+        private SwigDelegateViewImpl_35 swigDelegate35;
+        private SwigDelegateViewImpl_36 swigDelegate36;
+        private SwigDelegateViewImpl_37 swigDelegate37;
+        private SwigDelegateViewImpl_38 swigDelegate38;
+        private SwigDelegateViewImpl_39 swigDelegate39;
+        private SwigDelegateViewImpl_40 swigDelegate40;
+
+        private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(int) };
+        private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
+        private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(Actor) };
+        private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { typeof(Actor) };
+        private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(int), typeof(PropertyValue) };
+        private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(Vector3) };
+        private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Animation), typeof(Vector3) };
+        private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(SWIGTYPE_p_Dali__TouchEvent) };
+        private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(Hover) };
+        private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { typeof(Key) };
+        private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { typeof(Wheel) };
+        private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { typeof(Vector2), typeof(RelayoutContainer) };
+        private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { typeof(ResizePolicyType), typeof(DimensionType) };
+        private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
+        private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { typeof(Actor), typeof(DimensionType) };
+        private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { typeof(float) };
+        private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { typeof(float) };
+        private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(DimensionType) };
+        private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { };
+        private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { typeof(DimensionType) };
+        private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { typeof(float), typeof(DimensionType) };
+        private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
+        private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { typeof(Actor) };
+        private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(Actor) };
+        private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { typeof(StyleManager), typeof(StyleChangeType) };
+        private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };
+        private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { typeof(PanGesture) };
+        private static global::System.Type[] swigMethodTypes27 = new global::System.Type[] { typeof(SWIGTYPE_p_Dali__TouchEvent) };
+        private static global::System.Type[] swigMethodTypes28 = new global::System.Type[] { typeof(bool) };
+        private static global::System.Type[] swigMethodTypes29 = new global::System.Type[] { };
+        private static global::System.Type[] swigMethodTypes30 = new global::System.Type[] { };
+        private static global::System.Type[] swigMethodTypes31 = new global::System.Type[] { };
+        private static global::System.Type[] swigMethodTypes32 = new global::System.Type[] { typeof(Actor), typeof(View.FocusDirection), typeof(bool) };
+        private static global::System.Type[] swigMethodTypes33 = new global::System.Type[] { typeof(Actor) };
+        private static global::System.Type[] swigMethodTypes34 = new global::System.Type[] { };
+        private static global::System.Type[] swigMethodTypes35 = new global::System.Type[] { typeof(PinchGesture) };
+        private static global::System.Type[] swigMethodTypes36 = new global::System.Type[] { typeof(PanGesture) };
+        private static global::System.Type[] swigMethodTypes37 = new global::System.Type[] { typeof(TapGesture) };
+        private static global::System.Type[] swigMethodTypes38 = new global::System.Type[] { typeof(LongPressGesture) };
+        private static global::System.Type[] swigMethodTypes39 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
+        private static global::System.Type[] swigMethodTypes40 = new global::System.Type[] { typeof(SlotObserver), typeof(SWIGTYPE_p_Dali__CallbackBase) };
     }
 
 }
index 37cecd03dbdcd9ca830c9124042510f99f048457..e808f3465a76133327cc614af6a5fa4c0809d5d0 100755 (executable)
@@ -1,4 +1,4 @@
-#define DOT_NET_CORE
+#define DOT_NET_CORE
 
 using System;
 using System.Runtime.InteropServices;
@@ -8,7 +8,7 @@ using System.Reflection;
 #endif
 
 namespace Tizen.NUI
-{\r
+{
     /// <summary>
     /// Add this attribute to any property belonging to a View (control) you want to be scriptable from JSON
     /// </summary>
@@ -73,21 +73,21 @@ namespace Tizen.NUI
     /// </remarks>
     ///
     ///
-    public class ScriptableProperty : System.Attribute\r
-    {\r
-        public enum ScriptableType\r
-        {\r
-            Default,    // Read Writable, non-animatable property, event thread only\r
-                        //  Animatable // Animatable property, Currently disabled, UK\r
-        }\r
-        public readonly ScriptableType type;\r
-\r
-        public ScriptableProperty(ScriptableType type = ScriptableType.Default)\r
-        {\r
-            this.type = type;\r
-        }\r
-    }\r
-\r
+    public class ScriptableProperty : System.Attribute
+    {
+        public enum ScriptableType
+        {
+            Default,    // Read Writable, non-animatable property, event thread only
+                        //  Animatable // Animatable property, Currently disabled, UK
+        }
+        public readonly ScriptableType type;
+
+        public ScriptableProperty(ScriptableType type = ScriptableType.Default)
+        {
+            this.type = type;
+        }
+    }
+
     /// <summary>
     /// View Registry singleton.
     /// Used for registering controls and any scriptable properties they have ( see ScriptableProperty )
@@ -122,44 +122,44 @@ namespace Tizen.NUI
     ///
     ///
     /// </summary>
-    public sealed class ViewRegistry\r
-    {\r
+    public sealed class ViewRegistry
+    {
         /// <summary>
         /// ViewRegistry is a singleton
         /// </summary>
-        private static ViewRegistry instance = null;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        delegate IntPtr CreateControlDelegate(IntPtr cPtrControlName);\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        delegate IntPtr GetPropertyDelegate(IntPtr controlPtr, IntPtr propertyName);\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        delegate void SetPropertyDelegate(IntPtr controlPtr, IntPtr propertyName, IntPtr propertyValue);\r
-\r
-        private CreateControlDelegate _createCallback;\r
-        private SetPropertyDelegate _setPropertyCallback;\r
-        private GetPropertyDelegate _getPropertyCallback;\r
-        private PropertyRangeManager _propertyRangeManager;\r
-\r
+        private static ViewRegistry instance = null;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        delegate IntPtr CreateControlDelegate(IntPtr cPtrControlName);
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        delegate IntPtr GetPropertyDelegate(IntPtr controlPtr, IntPtr propertyName);
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        delegate void SetPropertyDelegate(IntPtr controlPtr, IntPtr propertyName, IntPtr propertyValue);
+
+        private CreateControlDelegate _createCallback;
+        private SetPropertyDelegate _setPropertyCallback;
+        private GetPropertyDelegate _getPropertyCallback;
+        private PropertyRangeManager _propertyRangeManager;
+
         /// <summary>
         /// Given a C++ control the dictionary allows us to find which C# control (View) it belongs to.
         /// By keeping the weak reference only, it will allow the object to be garbage collected.
         /// </summary>
-        private Dictionary<IntPtr, WeakReference> _controlMap;\r
-\r
+        private Dictionary<IntPtr, WeakReference> _controlMap;
+
         ///<summary>
-        // Maps the name of a custom view to a create instance function\r
+        // Maps the name of a custom view to a create instance function
         /// E.g. given a string "Spin", we can get a function used to create the Spin View.
         ///</summary>
-        private Dictionary<String, Func<CustomView>> _constructorMap;\r
-\r
+        private Dictionary<String, Func<CustomView>> _constructorMap;
+
         /// <summary>
         /// Lookup table to match C# types to DALi types, used for the automatic property registration
         /// </summary>
-        private static readonly Dictionary<string, Tizen.NUI.PropertyType> _daliPropertyTypeLookup\r
-        = new Dictionary<string, Tizen.NUI.PropertyType>\r
+        private static readonly Dictionary<string, Tizen.NUI.PropertyType> _daliPropertyTypeLookup
+        = new Dictionary<string, Tizen.NUI.PropertyType>
         {
       { "float",   PropertyType.Float },
       { "int",     PropertyType.Integer },
@@ -171,147 +171,147 @@ namespace Tizen.NUI
       { "Vector4", PropertyType.Vector4 },
       { "Size",    PropertyType.Vector2 },
       { "Position",PropertyType.Vector3 },
-      { "Color",   PropertyType.Vector4 },\r
-            //  { "Matrix3", PropertyType.MATRIX3 }, commented out until we need to use Matrices from JSON\r
-            //  { "Matrix",  PropertyType.MATRIX },\r
-        };\r
-\r
-\r
-        public ViewRegistry()\r
-        {\r
-            _createCallback = new CreateControlDelegate(CreateControl);\r
-            _getPropertyCallback = new GetPropertyDelegate(GetProperty);\r
-            _setPropertyCallback = new SetPropertyDelegate(SetProperty);\r
-\r
-            _controlMap = new Dictionary<IntPtr, WeakReference>();\r
-            _constructorMap = new Dictionary<string, Func<CustomView>>();\r
-            _propertyRangeManager = new PropertyRangeManager();\r
-\r
-        }\r
-\r
-        private Tizen.NUI.PropertyType GetDaliPropertyType(string cSharpTypeName)\r
-        {\r
-            Tizen.NUI.PropertyType daliType;\r
-            if (_daliPropertyTypeLookup.TryGetValue(cSharpTypeName, out daliType))\r
-            {\r
-                //Console.WriteLine("mapped "+ cSharpTypeName + " to dAli type " +daliType );\r
-                return daliType;\r
-            }\r
-            else\r
-            {\r
-                // Console.WriteLine("Failed to find a mapping between C# property" + cSharpTypeName +" and DALi type");\r
-                return PropertyType.None;\r
-            }\r
-        }\r
-\r
+      { "Color",   PropertyType.Vector4 },
+            //  { "Matrix3", PropertyType.MATRIX3 }, commented out until we need to use Matrices from JSON
+            //  { "Matrix",  PropertyType.MATRIX },
+        };
+
+
+        public ViewRegistry()
+        {
+            _createCallback = new CreateControlDelegate(CreateControl);
+            _getPropertyCallback = new GetPropertyDelegate(GetProperty);
+            _setPropertyCallback = new SetPropertyDelegate(SetProperty);
+
+            _controlMap = new Dictionary<IntPtr, WeakReference>();
+            _constructorMap = new Dictionary<string, Func<CustomView>>();
+            _propertyRangeManager = new PropertyRangeManager();
+
+        }
+
+        private Tizen.NUI.PropertyType GetDaliPropertyType(string cSharpTypeName)
+        {
+            Tizen.NUI.PropertyType daliType;
+            if (_daliPropertyTypeLookup.TryGetValue(cSharpTypeName, out daliType))
+            {
+                //Console.WriteLine("mapped "+ cSharpTypeName + " to dAli type " +daliType );
+                return daliType;
+            }
+            else
+            {
+                // Console.WriteLine("Failed to find a mapping between C# property" + cSharpTypeName +" and DALi type");
+                return PropertyType.None;
+            }
+        }
+
         /// <summary>
         /// Called directly from DALi C++ type registry to create a control (View) using no marshalling.
         /// </summary>
         /// <returns>Pointer to the Control (Views) handle </returns>
         /// <param name="cPtrControlName"> C pointer to the Control (View) name</param>
-        private static IntPtr CreateControl(IntPtr cPtrControlName)\r
-        {\r
-            string controlName = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(cPtrControlName);\r
-            // Console.WriteLine ("Create controlled called from C++ create a " + controlName);\r
-\r
-            Func<CustomView> controlConstructor;\r
-\r
-            // find the control constructor\r
-            if (Instance._constructorMap.TryGetValue(controlName, out controlConstructor))\r
-            {\r
-                // Create the control\r
-                CustomView newControl = controlConstructor();\r
-                return newControl.GetPtrfromActor();  // return pointer to handle\r
-            }\r
-            else\r
-            {\r
-                throw new global::System.InvalidOperationException("C# View not registererd with ViewRegistry" + controlName);\r
-                return IntPtr.Zero;\r
-            }\r
-        }\r
-\r
+        private static IntPtr CreateControl(IntPtr cPtrControlName)
+        {
+            string controlName = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(cPtrControlName);
+            // Console.WriteLine ("Create controlled called from C++ create a " + controlName);
+
+            Func<CustomView> controlConstructor;
+
+            // find the control constructor
+            if (Instance._constructorMap.TryGetValue(controlName, out controlConstructor))
+            {
+                // Create the control
+                CustomView newControl = controlConstructor();
+                return newControl.GetPtrfromActor();  // return pointer to handle
+            }
+            else
+            {
+                throw new global::System.InvalidOperationException("C# View not registererd with ViewRegistry" + controlName);
+                return IntPtr.Zero;
+            }
+        }
+
         /// <summary>
         /// Store the mapping between this instance of control (View) and native part.
         /// </summary>
         /// <param name="view"> The instance of control (View)</param>
-        public static void RegisterView(View view)\r
-        {\r
-            // We store a pointer to the RefObject for the control\r
-            RefObject refObj = view.GetObjectPtr();\r
-            IntPtr refCptr = (IntPtr)RefObject.getCPtr(refObj);\r
-\r
-            //Console.WriteLine ("________Storing ref object cptr in control map Hex: {0:X}", refCptr);\r
-            if (!Instance._controlMap.ContainsKey(refCptr))\r
-            {\r
-                Instance._controlMap.Add(refCptr, new WeakReference(view, false));\r
-            }\r
-\r
-            return;\r
-        }\r
-\r
+        public static void RegisterView(View view)
+        {
+            // We store a pointer to the RefObject for the control
+            RefObject refObj = view.GetObjectPtr();
+            IntPtr refCptr = (IntPtr)RefObject.getCPtr(refObj);
+
+            //Console.WriteLine ("________Storing ref object cptr in control map Hex: {0:X}", refCptr);
+            if (!Instance._controlMap.ContainsKey(refCptr))
+            {
+                Instance._controlMap.Add(refCptr, new WeakReference(view, false));
+            }
+
+            return;
+        }
+
         /// <summary>
         /// Remove the this instance of control (View) and native part from the mapping table.
         /// </summary>
         /// <param name="view"> The instance of control (View)</param>
-        public static void UnregisterView(View view)\r
-        {\r
-            RefObject refObj = view.GetObjectPtr();\r
-            IntPtr refCptr = (IntPtr)RefObject.getCPtr(refObj);\r
-\r
-            if (Instance._controlMap.ContainsKey(refCptr))\r
-            {\r
-                Instance._controlMap.Remove(refCptr);\r
-            }\r
-\r
-            return;\r
-        }\r
-\r
-        private static IntPtr GetProperty(IntPtr controlPtr, IntPtr propertyName)\r
-        {\r
-            string name = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(propertyName);\r
-            return Instance.GetPropertyValue(controlPtr, name);\r
-        }\r
-\r
-        private static void SetProperty(IntPtr controlPtr, IntPtr propertyName, IntPtr propertyValue)\r
-        {\r
-            string name = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(propertyName);\r
-            //Console.WriteLine ( SetControlProperty  called for:" + name );\r
-            Instance.SetPropertyValue(controlPtr, name, propertyValue);\r
-\r
-        }\r
-\r
-        public static ViewRegistry Instance\r
-        {\r
-            get\r
-            {\r
-                if (instance == null)\r
-                {\r
-                    instance = new ViewRegistry();\r
-                }\r
-                return instance;\r
-            }\r
-        }\r
-\r
-        public static View GetViewFromActor(Actor actor)\r
-        {\r
-            // we store a dictionary of ref-obects (C++ land) to custom views (C# land)\r
-\r
-            RefObject refObj = actor.GetObjectPtr();\r
-            IntPtr refObjectPtr = (IntPtr)RefObject.getCPtr(refObj);\r
-\r
-            WeakReference viewReference;\r
-            if (Instance._controlMap.TryGetValue(refObjectPtr, out viewReference))\r
-            {\r
-                View view = viewReference.Target as View;\r
-                return view;\r
-            }\r
-            else\r
-            {\r
-                return null;\r
-            }\r
-        }\r
-\r
-\r
+        public static void UnregisterView(View view)
+        {
+            RefObject refObj = view.GetObjectPtr();
+            IntPtr refCptr = (IntPtr)RefObject.getCPtr(refObj);
+
+            if (Instance._controlMap.ContainsKey(refCptr))
+            {
+                Instance._controlMap.Remove(refCptr);
+            }
+
+            return;
+        }
+
+        private static IntPtr GetProperty(IntPtr controlPtr, IntPtr propertyName)
+        {
+            string name = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(propertyName);
+            return Instance.GetPropertyValue(controlPtr, name);
+        }
+
+        private static void SetProperty(IntPtr controlPtr, IntPtr propertyName, IntPtr propertyValue)
+        {
+            string name = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(propertyName);
+            //Console.WriteLine ( SetControlProperty  called for:" + name );
+            Instance.SetPropertyValue(controlPtr, name, propertyValue);
+
+        }
+
+        public static ViewRegistry Instance
+        {
+            get
+            {
+                if (instance == null)
+                {
+                    instance = new ViewRegistry();
+                }
+                return instance;
+            }
+        }
+
+        public static View GetViewFromActor(Actor actor)
+        {
+            // we store a dictionary of ref-obects (C++ land) to custom views (C# land)
+
+            RefObject refObj = actor.GetObjectPtr();
+            IntPtr refObjectPtr = (IntPtr)RefObject.getCPtr(refObj);
+
+            WeakReference viewReference;
+            if (Instance._controlMap.TryGetValue(refObjectPtr, out viewReference))
+            {
+                View view = viewReference.Target as View;
+                return view;
+            }
+            else
+            {
+                return null;
+            }
+        }
+
+
         /// <summary>
         /// Function which registers a view and all it's scriptable properties with DALi's type registry.
         /// Means the View can be created / configured from a JSON script.
@@ -327,216 +327,216 @@ namespace Tizen.NUI
         /// }
         ///
         /// </summary>
-        public void Register(Func<CustomView> createFunction, System.Type viewType)\r
-        {\r
-            // add the mapping between the view name and it's create function\r
-            _constructorMap.Add(viewType.Name, createFunction);\r
-\r
-            // Call into DALi C++ to register the control with the type registry\r
-            TypeRegistration.RegisterControl(viewType.Name, _createCallback);\r
-\r
-            // Cycle through each property in the class\r
-            foreach (System.Reflection.PropertyInfo propertyInfo in viewType.GetProperties())\r
-            {\r
-\r
-                if (propertyInfo.CanRead)\r
-                {\r
+        public void Register(Func<CustomView> createFunction, System.Type viewType)
+        {
+            // add the mapping between the view name and it's create function
+            _constructorMap.Add(viewType.Name, createFunction);
+
+            // Call into DALi C++ to register the control with the type registry
+            TypeRegistration.RegisterControl(viewType.Name, _createCallback);
+
+            // Cycle through each property in the class
+            foreach (System.Reflection.PropertyInfo propertyInfo in viewType.GetProperties())
+            {
+
+                if (propertyInfo.CanRead)
+                {
 
 #if (DOT_NET_CORE)
-                    IEnumerable<Attribute> ie_attrs = propertyInfo.GetCustomAttributes<Attribute>();\r
-                    List<Attribute> li_attrs = new List<Attribute>(ie_attrs);\r
-                    System.Attribute[] attrs = li_attrs.ToArray();\r
-#else\r
-                    System.Attribute[] attrs = System.Attribute.GetCustomAttributes(propertyInfo);\r
-#endif\r
-\r
-                    foreach (System.Attribute attr in attrs)\r
-                    {\r
-                        // If the Scriptable attribute exists, then register it with the type registry.\r
-                        if (attr is ScriptableProperty)\r
-                        {\r
-                            //Console.WriteLine ("Got a DALi JSON scriptable property = " + propertyInfo.Name +", of type " + propertyInfo.PropertyType.Name);\r
-\r
-                            // first get the attribute type, ( default, or animatable)\r
-                            ScriptableProperty scriptableProp = attr as ScriptableProperty;\r
-\r
-                            // we get the start property index, based on the type and it's heirachy, e.g. DateView (70,000)-> Spin (60,000) -> View (50,000)\r
-                            int propertyIndex = _propertyRangeManager.GetPropertyIndex(viewType.Name, viewType, scriptableProp.type);\r
-\r
-                            // get the enum for the property type... E.g. registering a string property returns Tizen.NUI.PropertyType.String\r
-                            Tizen.NUI.PropertyType propertyType = GetDaliPropertyType(propertyInfo.PropertyType.Name);\r
-\r
-                            // Example   RegisterProperty("spin","maxValue", 50001, FLOAT, set, get );\r
-                            // Native call to register the property\r
-                            TypeRegistration.RegisterProperty(viewType.Name, propertyInfo.Name, propertyIndex, propertyType, _setPropertyCallback, _getPropertyCallback);\r
-                        }\r
-                    }\r
-                    // Console.WriteLine ("property name = " + propertyInfo.Name);\r
-                }\r
-            }\r
-        }\r
-\r
+                    IEnumerable<Attribute> ie_attrs = propertyInfo.GetCustomAttributes<Attribute>();
+                    List<Attribute> li_attrs = new List<Attribute>(ie_attrs);
+                    System.Attribute[] attrs = li_attrs.ToArray();
+#else
+                    System.Attribute[] attrs = System.Attribute.GetCustomAttributes(propertyInfo);
+#endif
+
+                    foreach (System.Attribute attr in attrs)
+                    {
+                        // If the Scriptable attribute exists, then register it with the type registry.
+                        if (attr is ScriptableProperty)
+                        {
+                            //Console.WriteLine ("Got a DALi JSON scriptable property = " + propertyInfo.Name +", of type " + propertyInfo.PropertyType.Name);
+
+                            // first get the attribute type, ( default, or animatable)
+                            ScriptableProperty scriptableProp = attr as ScriptableProperty;
+
+                            // we get the start property index, based on the type and it's heirachy, e.g. DateView (70,000)-> Spin (60,000) -> View (50,000)
+                            int propertyIndex = _propertyRangeManager.GetPropertyIndex(viewType.Name, viewType, scriptableProp.type);
+
+                            // get the enum for the property type... E.g. registering a string property returns Tizen.NUI.PropertyType.String
+                            Tizen.NUI.PropertyType propertyType = GetDaliPropertyType(propertyInfo.PropertyType.Name);
+
+                            // Example   RegisterProperty("spin","maxValue", 50001, FLOAT, set, get );
+                            // Native call to register the property
+                            TypeRegistration.RegisterProperty(viewType.Name, propertyInfo.Name, propertyIndex, propertyType, _setPropertyCallback, _getPropertyCallback);
+                        }
+                    }
+                    // Console.WriteLine ("property name = " + propertyInfo.Name);
+                }
+            }
+        }
+
         /// <summary>
         /// Get a property value from a View
         ///
         /// </summary>
-        private IntPtr GetPropertyValue(IntPtr controlPtr, string propertyName)\r
-        {\r
-            // Get the C# control that maps to the C++ control\r
-            BaseHandle baseHandle = new BaseHandle(controlPtr, false);\r
-\r
-            RefObject refObj = baseHandle.GetObjectPtr();\r
-\r
-            IntPtr refObjectPtr = (IntPtr)RefObject.getCPtr(refObj);\r
-\r
-            WeakReference viewReference;\r
-            if (_controlMap.TryGetValue(refObjectPtr, out viewReference))\r
-            {\r
-                View view = viewReference.Target as View;\r
-\r
-                // call the get property function\r
-                System.Object val = view.GetType().GetProperty(propertyName).GetAccessors()[0].Invoke(view, null);\r
-\r
-                PropertyValue value = PropertyValue.CreateFromObject(val);\r
-\r
-                return (IntPtr)PropertyValue.getCPtr(value);\r
-            }\r
-            else\r
-            {\r
-                return IntPtr.Zero;\r
-            }\r
-        }\r
-\r
+        private IntPtr GetPropertyValue(IntPtr controlPtr, string propertyName)
+        {
+            // Get the C# control that maps to the C++ control
+            BaseHandle baseHandle = new BaseHandle(controlPtr, false);
+
+            RefObject refObj = baseHandle.GetObjectPtr();
+
+            IntPtr refObjectPtr = (IntPtr)RefObject.getCPtr(refObj);
+
+            WeakReference viewReference;
+            if (_controlMap.TryGetValue(refObjectPtr, out viewReference))
+            {
+                View view = viewReference.Target as View;
+
+                // call the get property function
+                System.Object val = view.GetType().GetProperty(propertyName).GetAccessors()[0].Invoke(view, null);
+
+                PropertyValue value = PropertyValue.CreateFromObject(val);
+
+                return (IntPtr)PropertyValue.getCPtr(value);
+            }
+            else
+            {
+                return IntPtr.Zero;
+            }
+        }
+
         /// <summary>
         /// Set a property value on a View
         ///
         /// </summary>
-        private void SetPropertyValue(IntPtr controlPtr, string propertyName, IntPtr propertyValuePtr)\r
-        {\r
-            // Get the C# control that maps to the C++ control\r
-\r
-            //Console.WriteLine ("SetPropertyValue   refObjectPtr = {0:X}", controlPtr);\r
-\r
-            PropertyValue propValue = new PropertyValue(propertyValuePtr, false);\r
-\r
-            WeakReference viewReference;\r
-            if (_controlMap.TryGetValue(controlPtr, out viewReference))\r
-            {\r
-                View view = viewReference.Target as View;\r
-                System.Reflection.PropertyInfo propertyInfo = view.GetType().GetProperty(propertyName);\r
-\r
-                // We know the property name, we know it's type, we just need to convert from a DALi property value to native C# type\r
-                System.Type type = propertyInfo.PropertyType;\r
-                bool ok = false;\r
-\r
-                if (type.Equals(typeof(Int32)))\r
-                {\r
-                    int value = 0;\r
-                    ok = propValue.Get(ref value);\r
-                    if (ok)\r
-                    {\r
-                        propertyInfo.SetValue(view, value);\r
-                    }\r
-                }\r
-                else if (type.Equals(typeof(bool)))\r
-                {\r
-                    bool value = false;\r
-                    ok = propValue.Get(ref value);\r
-                    if (ok)\r
-                    {\r
-                        propertyInfo.SetValue(view, value);\r
-                    }\r
-                }\r
-                else if (type.Equals(typeof(float)))\r
-                {\r
-                    float value = 0;\r
-                    ok = propValue.Get(ref value);\r
-                    if (ok)\r
-                    {\r
-                        propertyInfo.SetValue(view, value);\r
-                    }\r
-                }\r
-                else if (type.Equals(typeof(string)))\r
-                {\r
-                    string value = "";\r
-                    ok = propValue.Get(out value);\r
-                    if (ok)\r
-                    {\r
-                        propertyInfo.SetValue(view, value);\r
-                    }\r
-                }\r
-                else if (type.Equals(typeof(Vector2)))\r
-                {\r
-                    Vector2 value = new Vector2();\r
-                    ok = propValue.Get(value);\r
-                    if (ok)\r
-                    {\r
-                        propertyInfo.SetValue(view, value);\r
-                    }\r
-                }\r
-                else if (type.Equals(typeof(Vector3)))\r
-                {\r
-                    Vector3 value = new Vector3();\r
-                    ok = propValue.Get(value);\r
-                    if (ok)\r
-                    {\r
-                        propertyInfo.SetValue(view, value);\r
-                    }\r
-                }\r
-                else if (type.Equals(typeof(Vector4)))\r
-                {\r
-                    Vector4 value = new Vector4();\r
-                    ok = propValue.Get(value);\r
-\r
-                    if (ok)\r
-                    {\r
-                        propertyInfo.SetValue(view, value);\r
-                    }\r
-                }\r
-                else if (type.Equals(typeof(Position)))\r
-                {\r
-                    Position value = new Position();\r
-                    ok = propValue.Get(value);\r
-                    if (ok)\r
-                    {\r
-                        propertyInfo.SetValue(view, value);\r
-                    }\r
-                }\r
-                else if (type.Equals(typeof(Size)))\r
-                {\r
-                    Size value = new Size();\r
-                    ok = propValue.Get(value);\r
-                    if (ok)\r
-                    {\r
-                        propertyInfo.SetValue(view, new Size(value.Width, value.Height, value.Depth));\r
-                    };\r
-                }\r
-                else if (type.Equals(typeof(Color)))\r
-                {\r
-                    // Colors are stored as Vector4's in DALi\r
-                    Color value = new Color();\r
-                    ok = propValue.Get(value);\r
-                    if (ok)\r
-                    {\r
-                        propertyInfo.SetValue(view, (Color)value);\r
-                    };\r
-                }\r
-                else\r
-                {\r
-                    throw new global::System.InvalidOperationException("SetPropertyValue Unimplemented type for Property Value");\r
-                }\r
-                if (!ok)\r
-                {\r
-                    throw new global::System.InvalidOperationException("SetPropertyValue propValue.Get failed");\r
-                }\r
-            }\r
-            else\r
-            {\r
-                throw new global::System.InvalidOperationException("failed to find the control to write a property to: cptr = " + controlPtr);\r
-            }\r
-\r
-        }\r
-\r
+        private void SetPropertyValue(IntPtr controlPtr, string propertyName, IntPtr propertyValuePtr)
+        {
+            // Get the C# control that maps to the C++ control
+
+            //Console.WriteLine ("SetPropertyValue   refObjectPtr = {0:X}", controlPtr);
+
+            PropertyValue propValue = new PropertyValue(propertyValuePtr, false);
+
+            WeakReference viewReference;
+            if (_controlMap.TryGetValue(controlPtr, out viewReference))
+            {
+                View view = viewReference.Target as View;
+                System.Reflection.PropertyInfo propertyInfo = view.GetType().GetProperty(propertyName);
+
+                // We know the property name, we know it's type, we just need to convert from a DALi property value to native C# type
+                System.Type type = propertyInfo.PropertyType;
+                bool ok = false;
+
+                if (type.Equals(typeof(Int32)))
+                {
+                    int value = 0;
+                    ok = propValue.Get(ref value);
+                    if (ok)
+                    {
+                        propertyInfo.SetValue(view, value);
+                    }
+                }
+                else if (type.Equals(typeof(bool)))
+                {
+                    bool value = false;
+                    ok = propValue.Get(ref value);
+                    if (ok)
+                    {
+                        propertyInfo.SetValue(view, value);
+                    }
+                }
+                else if (type.Equals(typeof(float)))
+                {
+                    float value = 0;
+                    ok = propValue.Get(ref value);
+                    if (ok)
+                    {
+                        propertyInfo.SetValue(view, value);
+                    }
+                }
+                else if (type.Equals(typeof(string)))
+                {
+                    string value = "";
+                    ok = propValue.Get(out value);
+                    if (ok)
+                    {
+                        propertyInfo.SetValue(view, value);
+                    }
+                }
+                else if (type.Equals(typeof(Vector2)))
+                {
+                    Vector2 value = new Vector2();
+                    ok = propValue.Get(value);
+                    if (ok)
+                    {
+                        propertyInfo.SetValue(view, value);
+                    }
+                }
+                else if (type.Equals(typeof(Vector3)))
+                {
+                    Vector3 value = new Vector3();
+                    ok = propValue.Get(value);
+                    if (ok)
+                    {
+                        propertyInfo.SetValue(view, value);
+                    }
+                }
+                else if (type.Equals(typeof(Vector4)))
+                {
+                    Vector4 value = new Vector4();
+                    ok = propValue.Get(value);
+
+                    if (ok)
+                    {
+                        propertyInfo.SetValue(view, value);
+                    }
+                }
+                else if (type.Equals(typeof(Position)))
+                {
+                    Position value = new Position();
+                    ok = propValue.Get(value);
+                    if (ok)
+                    {
+                        propertyInfo.SetValue(view, value);
+                    }
+                }
+                else if (type.Equals(typeof(Size)))
+                {
+                    Size value = new Size();
+                    ok = propValue.Get(value);
+                    if (ok)
+                    {
+                        propertyInfo.SetValue(view, new Size(value.Width, value.Height, value.Depth));
+                    };
+                }
+                else if (type.Equals(typeof(Color)))
+                {
+                    // Colors are stored as Vector4's in DALi
+                    Color value = new Color();
+                    ok = propValue.Get(value);
+                    if (ok)
+                    {
+                        propertyInfo.SetValue(view, (Color)value);
+                    };
+                }
+                else
+                {
+                    throw new global::System.InvalidOperationException("SetPropertyValue Unimplemented type for Property Value");
+                }
+                if (!ok)
+                {
+                    throw new global::System.InvalidOperationException("SetPropertyValue propValue.Get failed");
+                }
+            }
+            else
+            {
+                throw new global::System.InvalidOperationException("failed to find the control to write a property to: cptr = " + controlPtr);
+            }
+
+        }
+
     }
 
 
index 95054f6d9d7c10d87ec80ae91286c2e65813456d..6df88e5fb839711e270fd31422005d0aab6a6d2b 100755 (executable)
@@ -1,4 +1,4 @@
-using System;
+using System;
 
 // include all custom views here which will be
 namespace Tizen.NUI
index de2cae54d438c15d76e5225469052c4b25259f14..e22022f104a7747a3384d81cf348eea33508fd47 100755 (executable)
@@ -9,12 +9,12 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+/* move to VisualMap.cs
     internal enum WrapModeType {
   DEFAULT = 0,
   CLAMP_TO_EDGE,
   REPEAT,
   MIRRORED_REPEAT
 }
-
+*/
 }
index 65f12d668dc382a902e2a2637cca9ff121f202d7..d688e656eec26c50deee7712cb56661f3f232a75 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-    public class Actor : Handle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Actor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Actor_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Actor obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Actor()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Actor(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-        internal static Actor GetActorFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Actor ret = new Actor(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal IntPtr GetPtrfromActor()\r
-        {\r
-            return (IntPtr)swigCPtr;\r
-        }\r
-\r
-        public Position CurrentPosition\r
-        {\r
-            get\r
-            {\r
-                return GetCurrentPosition();\r
-            }\r
-        }\r
-        public Size CurrentSize\r
-        {\r
-            get\r
-            {\r
-                return GetCurrentSize();\r
-            }\r
-        }\r
-\r
-        public Actor Parent\r
-        {\r
-            get\r
-            {\r
-                return GetParent();\r
-            }\r
-        }\r
-\r
-        public float Opacity\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.COLOR_ALPHA).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.COLOR_ALPHA, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Vector2 ScreenPosition\r
-        {\r
-            get\r
-            {\r
-                Vector2 temp = new Vector2(0.0f, 0.0f);\r
-                GetProperty(Actor.Property.SCREEN_POSITION).Get(temp);\r
-                return temp;\r
-            }\r
-        }\r
-\r
-        protected bool PositionUsesAnchorPoint\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public bool IsOnStage\r
-        {\r
-            get\r
-            {\r
-                return OnStage();\r
-            }\r
-        }\r
-\r
-        public int HierarchyDepth\r
-        {\r
-            get\r
-            {\r
-                return GetHierarchyDepth();\r
-            }\r
-        }\r
-\r
-        public int SiblingOrder\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(Actor.Property.SIBLING_ORDER).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SIBLING_ORDER, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Size2D Size2D\r
-        {\r
-            get\r
-            {\r
-                Size temp = new Size(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.SIZE).Get(temp);\r
-                return new Size2D(temp);\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SIZE, new PropertyValue(new Size(value)));\r
-            }\r
-        }\r
-\r
-        public Position2D Position2D\r
-        {\r
-            get\r
-            {\r
-                Position temp = new Position(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.POSITION).Get(temp);\r
-                return new Position2D(temp);\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.POSITION, new PropertyValue(new Position(value)));\r
-            }\r
-        }\r
-\r
-\r
-        public void Show()\r
-        {\r
-            SetVisible(true);\r
-        }\r
-\r
-        public void Hide()\r
-        {\r
-            SetVisible(false);\r
-        }\r
-\r
-        public void Raise()\r
-        {\r
-            NDalicPINVOKE.Raise(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Lower()\r
-        {\r
-            NDalicPINVOKE.Lower(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void RaiseToTop()\r
-        {\r
-            NDalicPINVOKE.RaiseToTop(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void LowerToBottom()\r
-        {\r
-            NDalicPINVOKE.LowerToBottom(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void RaiseAbove(Actor target)\r
-        {\r
-            NDalicPINVOKE.RaiseAbove(swigCPtr, Actor.getCPtr(target));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void LowerBelow(Actor target)\r
-        {\r
-            NDalicPINVOKE.RaiseAbove(swigCPtr, Actor.getCPtr(target));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_Actor_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal static readonly int SIBLING_ORDER = NDalicManualPINVOKE.Actor_Property_SIBLING_ORDER_get();\r
-            internal static readonly int OPACITY = NDalicManualPINVOKE.Actor_Property_OPACITY_get();\r
-            internal static readonly int SCREEN_POSITION = NDalicManualPINVOKE.Actor_Property_SCREEN_POSITION_get();\r
-            internal static readonly int POSITION_USES_ANCHOR_POINT = NDalicManualPINVOKE.Actor_Property_POSITION_USES_ANCHOR_POINT_get();\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_Actor_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int PARENT_ORIGIN = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_get();\r
-            internal static readonly int PARENT_ORIGIN_X = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_X_get();\r
-            internal static readonly int PARENT_ORIGIN_Y = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Y_get();\r
-            internal static readonly int PARENT_ORIGIN_Z = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Z_get();\r
-            internal static readonly int ANCHOR_POINT = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_get();\r
-            internal static readonly int ANCHOR_POINT_X = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_X_get();\r
-            internal static readonly int ANCHOR_POINT_Y = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Y_get();\r
-            internal static readonly int ANCHOR_POINT_Z = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Z_get();\r
-            internal static readonly int SIZE = NDalicPINVOKE.Actor_Property_SIZE_get();\r
-            internal static readonly int SIZE_WIDTH = NDalicPINVOKE.Actor_Property_SIZE_WIDTH_get();\r
-            internal static readonly int SIZE_HEIGHT = NDalicPINVOKE.Actor_Property_SIZE_HEIGHT_get();\r
-            internal static readonly int SIZE_DEPTH = NDalicPINVOKE.Actor_Property_SIZE_DEPTH_get();\r
-            internal static readonly int POSITION = NDalicPINVOKE.Actor_Property_POSITION_get();\r
-            internal static readonly int POSITION_X = NDalicPINVOKE.Actor_Property_POSITION_X_get();\r
-            internal static readonly int POSITION_Y = NDalicPINVOKE.Actor_Property_POSITION_Y_get();\r
-            internal static readonly int POSITION_Z = NDalicPINVOKE.Actor_Property_POSITION_Z_get();\r
-            internal static readonly int WORLD_POSITION = NDalicPINVOKE.Actor_Property_WORLD_POSITION_get();\r
-            internal static readonly int WORLD_POSITION_X = NDalicPINVOKE.Actor_Property_WORLD_POSITION_X_get();\r
-            internal static readonly int WORLD_POSITION_Y = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Y_get();\r
-            internal static readonly int WORLD_POSITION_Z = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Z_get();\r
-            internal static readonly int ORIENTATION = NDalicPINVOKE.Actor_Property_ORIENTATION_get();\r
-            internal static readonly int WORLD_ORIENTATION = NDalicPINVOKE.Actor_Property_WORLD_ORIENTATION_get();\r
-            internal static readonly int SCALE = NDalicPINVOKE.Actor_Property_SCALE_get();\r
-            internal static readonly int SCALE_X = NDalicPINVOKE.Actor_Property_SCALE_X_get();\r
-            internal static readonly int SCALE_Y = NDalicPINVOKE.Actor_Property_SCALE_Y_get();\r
-            internal static readonly int SCALE_Z = NDalicPINVOKE.Actor_Property_SCALE_Z_get();\r
-            internal static readonly int WORLD_SCALE = NDalicPINVOKE.Actor_Property_WORLD_SCALE_get();\r
-            internal static readonly int VISIBLE = NDalicPINVOKE.Actor_Property_VISIBLE_get();\r
-            internal static readonly int COLOR = NDalicPINVOKE.Actor_Property_COLOR_get();\r
-            internal static readonly int COLOR_RED = NDalicPINVOKE.Actor_Property_COLOR_RED_get();\r
-            internal static readonly int COLOR_GREEN = NDalicPINVOKE.Actor_Property_COLOR_GREEN_get();\r
-            internal static readonly int COLOR_BLUE = NDalicPINVOKE.Actor_Property_COLOR_BLUE_get();\r
-            internal static readonly int COLOR_ALPHA = NDalicPINVOKE.Actor_Property_COLOR_ALPHA_get();\r
-            internal static readonly int WORLD_COLOR = NDalicPINVOKE.Actor_Property_WORLD_COLOR_get();\r
-            internal static readonly int WORLD_MATRIX = NDalicPINVOKE.Actor_Property_WORLD_MATRIX_get();\r
-            internal static readonly int NAME = NDalicPINVOKE.Actor_Property_NAME_get();\r
-            internal static readonly int SENSITIVE = NDalicPINVOKE.Actor_Property_SENSITIVE_get();\r
-            internal static readonly int LEAVE_REQUIRED = NDalicPINVOKE.Actor_Property_LEAVE_REQUIRED_get();\r
-            internal static readonly int INHERIT_ORIENTATION = NDalicPINVOKE.Actor_Property_INHERIT_ORIENTATION_get();\r
-            internal static readonly int INHERIT_SCALE = NDalicPINVOKE.Actor_Property_INHERIT_SCALE_get();\r
-            internal static readonly int COLOR_MODE = NDalicPINVOKE.Actor_Property_COLOR_MODE_get();\r
-            internal static readonly int POSITION_INHERITANCE = NDalicPINVOKE.Actor_Property_POSITION_INHERITANCE_get();\r
-            internal static readonly int DRAW_MODE = NDalicPINVOKE.Actor_Property_DRAW_MODE_get();\r
-            internal static readonly int SIZE_MODE_FACTOR = NDalicPINVOKE.Actor_Property_SIZE_MODE_FACTOR_get();\r
-            internal static readonly int WIDTH_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_WIDTH_RESIZE_POLICY_get();\r
-            internal static readonly int HEIGHT_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_HEIGHT_RESIZE_POLICY_get();\r
-            internal static readonly int SIZE_SCALE_POLICY = NDalicPINVOKE.Actor_Property_SIZE_SCALE_POLICY_get();\r
-            internal static readonly int WIDTH_FOR_HEIGHT = NDalicPINVOKE.Actor_Property_WIDTH_FOR_HEIGHT_get();\r
-            internal static readonly int HEIGHT_FOR_WIDTH = NDalicPINVOKE.Actor_Property_HEIGHT_FOR_WIDTH_get();\r
-            internal static readonly int PADDING = NDalicPINVOKE.Actor_Property_PADDING_get();\r
-            internal static readonly int MINIMUM_SIZE = NDalicPINVOKE.Actor_Property_MINIMUM_SIZE_get();\r
-            internal static readonly int MAXIMUM_SIZE = NDalicPINVOKE.Actor_Property_MAXIMUM_SIZE_get();\r
-            internal static readonly int INHERIT_POSITION = NDalicPINVOKE.Actor_Property_INHERIT_POSITION_get();\r
-            internal static readonly int CLIPPING_MODE = NDalicPINVOKE.Actor_Property_CLIPPING_MODE_get();\r
-\r
-        }\r
-\r
-        public Actor() : this(NDalicPINVOKE.Actor_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public new static Actor DownCast(BaseHandle handle)\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Actor_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Actor(Actor copy) : this(NDalicPINVOKE.new_Actor__SWIG_1(Actor.getCPtr(copy)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Actor Assign(Actor rhs)\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Actor_Assign(swigCPtr, Actor.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal string GetName()\r
-        {\r
-            string ret = NDalicPINVOKE.Actor_GetName(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetName(string name)\r
-        {\r
-            NDalicPINVOKE.Actor_SetName(swigCPtr, name);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal uint GetId()\r
-        {\r
-            uint ret = NDalicPINVOKE.Actor_GetId(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool IsRoot()\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_IsRoot(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool OnStage()\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_OnStage(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool IsLayer()\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_IsLayer(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Layer GetLayer()\r
-        {\r
-            Layer ret = new Layer(NDalicPINVOKE.Actor_GetLayer(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Add(Actor child)\r
-        {\r
-            NDalicPINVOKE.Actor_Add(swigCPtr, Actor.getCPtr(child));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Remove(Actor child)\r
-        {\r
-            NDalicPINVOKE.Actor_Remove(swigCPtr, Actor.getCPtr(child));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void Unparent()\r
-        {\r
-            NDalicPINVOKE.Actor_Unparent(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public uint GetChildCount()\r
-        {\r
-            uint ret = NDalicPINVOKE.Actor_GetChildCount(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Actor GetChildAt(uint index)\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Actor FindChildByName(string actorName)\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Actor_FindChildByName(swigCPtr, actorName), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Actor FindChildById(uint id)\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Actor_FindChildById(swigCPtr, id), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Actor GetParent()\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Actor_GetParent(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetParentOrigin(Vector3 origin)\r
-        {\r
-            NDalicPINVOKE.Actor_SetParentOrigin(swigCPtr, Vector3.getCPtr(origin));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector3 GetCurrentParentOrigin()\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentParentOrigin(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetAnchorPoint(Vector3 anchorPoint)\r
-        {\r
-            NDalicPINVOKE.Actor_SetAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector3 GetCurrentAnchorPoint()\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentAnchorPoint(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetSize(float width, float height)\r
-        {\r
-            NDalicPINVOKE.Actor_SetSize__SWIG_0(swigCPtr, width, height);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetSize(float width, float height, float depth)\r
-        {\r
-            NDalicPINVOKE.Actor_SetSize__SWIG_1(swigCPtr, width, height, depth);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetSize(Vector2 size)\r
-        {\r
-            NDalicPINVOKE.Actor_SetSize__SWIG_2(swigCPtr, Vector2.getCPtr(size));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetSize(Vector3 size)\r
-        {\r
-            NDalicPINVOKE.Actor_SetSize__SWIG_3(swigCPtr, Vector3.getCPtr(size));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector3 GetTargetSize()\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetTargetSize(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Size GetCurrentSize()\r
-        {\r
-            Size ret = new Size(NDalicPINVOKE.Actor_GetCurrentSize(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Vector3 GetNaturalSize()\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetNaturalSize(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetPosition(float x, float y)\r
-        {\r
-            NDalicPINVOKE.Actor_SetPosition__SWIG_0(swigCPtr, x, y);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetPosition(float x, float y, float z)\r
-        {\r
-            NDalicPINVOKE.Actor_SetPosition__SWIG_1(swigCPtr, x, y, z);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetPosition(Vector3 position)\r
-        {\r
-            NDalicPINVOKE.Actor_SetPosition__SWIG_2(swigCPtr, Vector3.getCPtr(position));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetX(float x)\r
-        {\r
-            NDalicPINVOKE.Actor_SetX(swigCPtr, x);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetY(float y)\r
-        {\r
-            NDalicPINVOKE.Actor_SetY(swigCPtr, y);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetZ(float z)\r
-        {\r
-            NDalicPINVOKE.Actor_SetZ(swigCPtr, z);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void TranslateBy(Vector3 distance)\r
-        {\r
-            NDalicPINVOKE.Actor_TranslateBy(swigCPtr, Vector3.getCPtr(distance));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Position GetCurrentPosition()\r
-        {\r
-            Position ret = new Position(NDalicPINVOKE.Actor_GetCurrentPosition(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 GetCurrentWorldPosition()\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldPosition(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetInheritPosition(bool inherit)\r
-        {\r
-            NDalicPINVOKE.Actor_SetInheritPosition(swigCPtr, inherit);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal PositionInheritanceMode GetPositionInheritanceMode()\r
-        {\r
-            PositionInheritanceMode ret = (PositionInheritanceMode)NDalicPINVOKE.Actor_GetPositionInheritanceMode(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool IsPositionInherited()\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_IsPositionInherited(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetOrientation(Degree angle, Vector3 axis)\r
-        {\r
-            NDalicPINVOKE.Actor_SetOrientation__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetOrientation(Radian angle, Vector3 axis)\r
-        {\r
-            NDalicPINVOKE.Actor_SetOrientation__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetOrientation(Rotation orientation)\r
-        {\r
-            NDalicPINVOKE.Actor_SetOrientation__SWIG_2(swigCPtr, Rotation.getCPtr(orientation));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void RotateBy(Degree angle, Vector3 axis)\r
-        {\r
-            NDalicPINVOKE.Actor_RotateBy__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void RotateBy(Radian angle, Vector3 axis)\r
-        {\r
-            NDalicPINVOKE.Actor_RotateBy__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void RotateBy(Rotation relativeRotation)\r
-        {\r
-            NDalicPINVOKE.Actor_RotateBy__SWIG_2(swigCPtr, Rotation.getCPtr(relativeRotation));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Rotation GetCurrentOrientation()\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Actor_GetCurrentOrientation(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetInheritOrientation(bool inherit)\r
-        {\r
-            NDalicPINVOKE.Actor_SetInheritOrientation(swigCPtr, inherit);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool IsOrientationInherited()\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_IsOrientationInherited(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Rotation GetCurrentWorldOrientation()\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Actor_GetCurrentWorldOrientation(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetScale(float scale)\r
-        {\r
-            NDalicPINVOKE.Actor_SetScale__SWIG_0(swigCPtr, scale);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetScale(float scaleX, float scaleY, float scaleZ)\r
-        {\r
-            NDalicPINVOKE.Actor_SetScale__SWIG_1(swigCPtr, scaleX, scaleY, scaleZ);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetScale(Vector3 scale)\r
-        {\r
-            NDalicPINVOKE.Actor_SetScale__SWIG_2(swigCPtr, Vector3.getCPtr(scale));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void ScaleBy(Vector3 relativeScale)\r
-        {\r
-            NDalicPINVOKE.Actor_ScaleBy(swigCPtr, Vector3.getCPtr(relativeScale));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector3 GetCurrentScale()\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentScale(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 GetCurrentWorldScale()\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldScale(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetInheritScale(bool inherit)\r
-        {\r
-            NDalicPINVOKE.Actor_SetInheritScale(swigCPtr, inherit);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool IsScaleInherited()\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_IsScaleInherited(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Matrix GetCurrentWorldMatrix()\r
-        {\r
-            Matrix ret = new Matrix(NDalicPINVOKE.Actor_GetCurrentWorldMatrix(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetVisible(bool visible)\r
-        {\r
-            NDalicPINVOKE.Actor_SetVisible(swigCPtr, visible);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool IsVisible()\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_IsVisible(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetOpacity(float opacity)\r
-        {\r
-            NDalicPINVOKE.Actor_SetOpacity(swigCPtr, opacity);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetCurrentOpacity()\r
-        {\r
-            float ret = NDalicPINVOKE.Actor_GetCurrentOpacity(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetColor(Vector4 color)\r
-        {\r
-            NDalicPINVOKE.Actor_SetColor(swigCPtr, Vector4.getCPtr(color));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector4 GetCurrentColor()\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentColor(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetColorMode(ColorMode colorMode)\r
-        {\r
-            NDalicPINVOKE.Actor_SetColorMode(swigCPtr, (int)colorMode);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal ColorMode GetColorMode()\r
-        {\r
-            ColorMode ret = (ColorMode)NDalicPINVOKE.Actor_GetColorMode(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 GetCurrentWorldColor()\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentWorldColor(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetDrawMode(DrawModeType drawMode)\r
-        {\r
-            NDalicPINVOKE.Actor_SetDrawMode(swigCPtr, (int)drawMode);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal DrawModeType GetDrawMode()\r
-        {\r
-            DrawModeType ret = (DrawModeType)NDalicPINVOKE.Actor_GetDrawMode(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetSensitive(bool sensitive)\r
-        {\r
-            NDalicPINVOKE.Actor_SetSensitive(swigCPtr, sensitive);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool IsSensitive()\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_IsSensitive(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool ScreenToLocal(out float localX, out float localY, float screenX, float screenY)\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_ScreenToLocal(swigCPtr, out localX, out localY, screenX, screenY);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetLeaveRequired(bool required)\r
-        {\r
-            NDalicPINVOKE.Actor_SetLeaveRequired(swigCPtr, required);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool GetLeaveRequired()\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_GetLeaveRequired(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetKeyboardFocusable(bool focusable)\r
-        {\r
-            NDalicPINVOKE.Actor_SetKeyboardFocusable(swigCPtr, focusable);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool IsKeyboardFocusable()\r
-        {\r
-            bool ret = NDalicPINVOKE.Actor_IsKeyboardFocusable(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetResizePolicy(ResizePolicyType policy, DimensionType dimension)\r
-        {\r
-            NDalicPINVOKE.Actor_SetResizePolicy(swigCPtr, (int)policy, (int)dimension);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal ResizePolicyType GetResizePolicy(DimensionType dimension)\r
-        {\r
-            ResizePolicyType ret = (ResizePolicyType)NDalicPINVOKE.Actor_GetResizePolicy(swigCPtr, (int)dimension);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetSizeScalePolicy(SizeScalePolicyType policy)\r
-        {\r
-            NDalicPINVOKE.Actor_SetSizeScalePolicy(swigCPtr, (int)policy);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal SizeScalePolicyType GetSizeScalePolicy()\r
-        {\r
-            SizeScalePolicyType ret = (SizeScalePolicyType)NDalicPINVOKE.Actor_GetSizeScalePolicy(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetSizeModeFactor(Vector3 factor)\r
-        {\r
-            NDalicPINVOKE.Actor_SetSizeModeFactor(swigCPtr, Vector3.getCPtr(factor));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector3 GetSizeModeFactor()\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetSizeModeFactor(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float GetHeightForWidth(float width)\r
-        {\r
-            float ret = NDalicPINVOKE.Actor_GetHeightForWidth(swigCPtr, width);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float GetWidthForHeight(float height)\r
-        {\r
-            float ret = NDalicPINVOKE.Actor_GetWidthForHeight(swigCPtr, height);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal float GetRelayoutSize(DimensionType dimension)\r
-        {\r
-            float ret = NDalicPINVOKE.Actor_GetRelayoutSize(swigCPtr, (int)dimension);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetPadding(PaddingType padding)\r
-        {\r
-            NDalicPINVOKE.Actor_SetPadding(swigCPtr, PaddingType.getCPtr(padding));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void GetPadding(PaddingType paddingOut)\r
-        {\r
-            NDalicPINVOKE.Actor_GetPadding(swigCPtr, PaddingType.getCPtr(paddingOut));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetMinimumSize(Vector2 size)\r
-        {\r
-            NDalicPINVOKE.Actor_SetMinimumSize(swigCPtr, Vector2.getCPtr(size));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector2 GetMinimumSize()\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMinimumSize(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetMaximumSize(Vector2 size)\r
-        {\r
-            NDalicPINVOKE.Actor_SetMaximumSize(swigCPtr, Vector2.getCPtr(size));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector2 GetMaximumSize()\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMaximumSize(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal int GetHierarchyDepth()\r
-        {\r
-            int ret = NDalicPINVOKE.Actor_GetHierarchyDepth(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal uint AddRenderer(Renderer renderer)\r
-        {\r
-            uint ret = NDalicPINVOKE.Actor_AddRenderer(swigCPtr, Renderer.getCPtr(renderer));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal uint GetRendererCount()\r
-        {\r
-            uint ret = NDalicPINVOKE.Actor_GetRendererCount(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Renderer GetRendererAt(uint index)\r
-        {\r
-            Renderer ret = new Renderer(NDalicPINVOKE.Actor_GetRendererAt(swigCPtr, index), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void RemoveRenderer(Renderer renderer)\r
-        {\r
-            NDalicPINVOKE.Actor_RemoveRenderer__SWIG_0(swigCPtr, Renderer.getCPtr(renderer));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void RemoveRenderer(uint index)\r
-        {\r
-            NDalicPINVOKE.Actor_RemoveRenderer__SWIG_1(swigCPtr, index);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t TouchedSignal()\r
-        {\r
-            SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t ret = new SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t(NDalicPINVOKE.Actor_TouchedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ActorTouchDataSignal TouchSignal()\r
-        {\r
-            ActorTouchDataSignal ret = new ActorTouchDataSignal(NDalicPINVOKE.Actor_TouchSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ActorHoverSignal HoveredSignal()\r
-        {\r
-            ActorHoverSignal ret = new ActorHoverSignal(NDalicPINVOKE.Actor_HoveredSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ActorWheelSignal WheelEventSignal()\r
-        {\r
-            ActorWheelSignal ret = new ActorWheelSignal(NDalicPINVOKE.Actor_WheelEventSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ActorSignal OnStageSignal()\r
-        {\r
-            ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OnStageSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ActorSignal OffStageSignal()\r
-        {\r
-            ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OffStageSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ActorSignal OnRelayoutSignal()\r
-        {\r
-            ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OnRelayoutSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Position ParentOrigin\r
-        {\r
-            get\r
-            {\r
-                Position temp = new Position(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.PARENT_ORIGIN).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.PARENT_ORIGIN, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Position AnchorPoint\r
-        {\r
-            get\r
-            {\r
-                Position temp = new Position(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.ANCHOR_POINT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Size Size\r
-        {\r
-            get\r
-            {\r
-                Size temp = new Size(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.SIZE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SIZE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float SizeWidth\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.SIZE_WIDTH).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SIZE_WIDTH, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float SizeHeight\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.SIZE_HEIGHT).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SIZE_HEIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float SizeDepth\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.SIZE_DEPTH).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SIZE_DEPTH, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Position Position\r
-        {\r
-            get\r
-            {\r
-                Position temp = new Position(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.POSITION).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.POSITION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float PositionX\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.POSITION_X).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.POSITION_X, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float PositionY\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.POSITION_Y).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.POSITION_Y, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float PositionZ\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.POSITION_Z).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.POSITION_Z, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector3 WorldPosition\r
-        {\r
-            get\r
-            {\r
-                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.WORLD_POSITION).Get(temp);\r
-                return temp;\r
-            }\r
-        }\r
-\r
-        public Rotation Orientation\r
-        {\r
-            get\r
-            {\r
-                Rotation temp = new Rotation();\r
-                GetProperty(Actor.Property.ORIENTATION).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.ORIENTATION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Rotation WorldOrientation\r
-        {\r
-            get\r
-            {\r
-                Rotation temp = new Rotation();\r
-                GetProperty(Actor.Property.WORLD_ORIENTATION).Get(temp);\r
-                return temp;\r
-            }\r
-        }\r
-        public Vector3 Scale\r
-        {\r
-            get\r
-            {\r
-                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.SCALE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SCALE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ScaleX\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.SCALE_X).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SCALE_X, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ScaleY\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.SCALE_Y).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SCALE_Y, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ScaleZ\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.SCALE_Z).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SCALE_Z, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector3 WorldScale\r
-        {\r
-            get\r
-            {\r
-                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.WORLD_SCALE).Get(temp);\r
-                return temp;\r
-            }\r
-        }\r
-        public bool Visible\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Actor.Property.VISIBLE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.VISIBLE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Color MixColor\r
-        {\r
-            get\r
-            {\r
-                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ColorRed\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.COLOR_RED).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.COLOR_RED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ColorGreen\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.COLOR_GREEN).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.COLOR_GREEN, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ColorBlue\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.COLOR_BLUE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.COLOR_BLUE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ColorAlpha\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Actor.Property.COLOR_ALPHA).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.COLOR_ALPHA, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Color WorldColor\r
-        {\r
-            get\r
-            {\r
-                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.WORLD_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-        }\r
-\r
-        public string Name\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Actor.Property.NAME).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.NAME, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool Sensitive\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Actor.Property.SENSITIVE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SENSITIVE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool LeaveRequired\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Actor.Property.LEAVE_REQUIRED).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.LEAVE_REQUIRED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool InheritOrientation\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Actor.Property.INHERIT_ORIENTATION).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.INHERIT_ORIENTATION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool InheritScale\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Actor.Property.INHERIT_SCALE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.INHERIT_SCALE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public ColorMode ColorMode\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                if (GetProperty(Actor.Property.COLOR_MODE).Get(out temp) == false)\r
-                {\r
-                    //Tizen.Log.Error("NUI", "ColorMode get error!");\r
-                }\r
-                switch (temp)\r
-                {\r
-                    case "USE_OWN_COLOR":\r
-                        return ColorMode.UseOwnColor;\r
-                    case "USE_PARENT_COLOR":\r
-                        return ColorMode.UseParentColor;\r
-                    case "USE_OWN_MULTIPLY_PARENT_COLOR":\r
-                        return ColorMode.UseOwnMultiplyParentColor;\r
-                    case "USE_OWN_MULTIPLY_PARENT_ALPHA":\r
-                        return ColorMode.UseOwnMultiplyParentAlpha;\r
-                    default:\r
-                        return ColorMode.UseOwnColor;\r
-                }\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.COLOR_MODE, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-        public DrawModeType DrawMode\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                if (GetProperty(Actor.Property.DRAW_MODE).Get(out temp) == false)\r
-                {\r
-                    //Tizen.Log.Error("NUI", "DrawMode get error!");\r
-                }\r
-                switch (temp)\r
-                {\r
-                    case "NORMAL":\r
-                        return DrawModeType.Normal;\r
-                    case "OVERLAY_2D":\r
-                        return DrawModeType.Overlay2D;\r
-                    case "STENCIL":\r
-                        return DrawModeType.Stencil;\r
-                    default:\r
-                        return DrawModeType.Normal;\r
-                }\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.DRAW_MODE, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-        public Vector3 SizeModeFactor\r
-        {\r
-            get\r
-            {\r
-                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.SIZE_MODE_FACTOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SIZE_MODE_FACTOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public ResizePolicyType WidthResizePolicy\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                if (GetProperty(Actor.Property.WIDTH_RESIZE_POLICY).Get(out temp) == false)\r
-                {\r
-                    //Tizen.Log.Error("NUI", "WidthResizePolicy get error!");\r
-                }\r
-                switch (temp)\r
-                {\r
-                    case "FIXED":\r
-                        return ResizePolicyType.Fixed;\r
-                    case "USE_NATURAL_SIZE":\r
-                        return ResizePolicyType.UseNaturalSize;\r
-                    case "FILL_TO_PARENT":\r
-                        return ResizePolicyType.FillToParent;\r
-                    case "SIZE_RELATIVE_TO_PARENT":\r
-                        return ResizePolicyType.SizeRelativeToParent;\r
-                    case "SIZE_FIXED_OFFSET_FROM_PARENT":\r
-                        return ResizePolicyType.SizeFixedOffsetFromParent;\r
-                    case "FIT_TO_CHILDREN":\r
-                        return ResizePolicyType.FitToChildren;\r
-                    case "DIMENSION_DEPENDENCY":\r
-                        return ResizePolicyType.DimensionDependency;\r
-                    case "USE_ASSIGNED_SIZE":\r
-                        return ResizePolicyType.UseAssignedSize;\r
-                    default:\r
-                        return ResizePolicyType.Fixed;\r
-                }\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.WIDTH_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-        public ResizePolicyType HeightResizePolicy\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                if (GetProperty(Actor.Property.HEIGHT_RESIZE_POLICY).Get(out temp) == false)\r
-                {\r
-                    //Tizen.Log.Error("NUI", "HeightResizePolicy get error!");\r
-                }\r
-                switch (temp)\r
-                {\r
-                    case "FIXED":\r
-                        return ResizePolicyType.Fixed;\r
-                    case "USE_NATURAL_SIZE":\r
-                        return ResizePolicyType.UseNaturalSize;\r
-                    case "FILL_TO_PARENT":\r
-                        return ResizePolicyType.FillToParent;\r
-                    case "SIZE_RELATIVE_TO_PARENT":\r
-                        return ResizePolicyType.SizeRelativeToParent;\r
-                    case "SIZE_FIXED_OFFSET_FROM_PARENT":\r
-                        return ResizePolicyType.SizeFixedOffsetFromParent;\r
-                    case "FIT_TO_CHILDREN":\r
-                        return ResizePolicyType.FitToChildren;\r
-                    case "DIMENSION_DEPENDENCY":\r
-                        return ResizePolicyType.DimensionDependency;\r
-                    case "USE_ASSIGNED_SIZE":\r
-                        return ResizePolicyType.UseAssignedSize;\r
-                    default:\r
-                        return ResizePolicyType.Fixed;\r
-                }\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.HEIGHT_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-        public SizeScalePolicyType SizeScalePolicy\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                if (GetProperty(Actor.Property.SIZE_SCALE_POLICY).Get(out temp) == false)\r
-                {\r
-                    //Tizen.Log.Error("NUI", "SizeScalePolicy get error!");\r
-                }\r
-                switch (temp)\r
-                {\r
-                    case "USE_SIZE_SET":\r
-                        return SizeScalePolicyType.UseSizeSet;\r
-                    case "FIT_WITH_ASPECT_RATIO":\r
-                        return SizeScalePolicyType.FitWithAspectRatio;\r
-                    case "FILL_WITH_ASPECT_RATIO":\r
-                        return SizeScalePolicyType.FillWithAspectRatio;\r
-                    default:\r
-                        return SizeScalePolicyType.UseSizeSet;\r
-                }\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.SIZE_SCALE_POLICY, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-        public bool WidthDependentOnHeight\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Actor.Property.WIDTH_FOR_HEIGHT).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.WIDTH_FOR_HEIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool HeightDependentOnWidth\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Actor.Property.HEIGHT_FOR_WIDTH).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.HEIGHT_FOR_WIDTH, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 Padding\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(Actor.Property.PADDING).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.PADDING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Size2D MinimumSize\r
-        {\r
-            get\r
-            {\r
-                Size2D temp = new Size2D(0, 0);\r
-                GetProperty(Actor.Property.MINIMUM_SIZE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.MINIMUM_SIZE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Size2D MaximumSize\r
-        {\r
-            get\r
-            {\r
-                Size2D temp = new Size2D(0, 0);\r
-                GetProperty(Actor.Property.MAXIMUM_SIZE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.MAXIMUM_SIZE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool InheritPosition\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Actor.Property.INHERIT_POSITION).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.INHERIT_POSITION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public ClippingModeType ClippingMode\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                if (GetProperty(Actor.Property.CLIPPING_MODE).Get(out temp) == false)\r
-                {\r
-                    //Tizen.Log.Error("NUI", "ClippingMode get error!");\r
-                }\r
-                switch (temp)\r
-                {\r
-                    case "DISABLED":\r
-                        return ClippingModeType.Disabled;\r
-                    case "CLIP_CHILDREN":\r
-                        return ClippingModeType.ClipChildren;\r
-                    default:\r
-                        return ClippingModeType.Disabled;\r
-                }\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Actor.Property.CLIPPING_MODE, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-    public enum ColorMode\r
-    {\r
-        UseOwnColor,\r
-        UseParentColor,\r
-        UseOwnMultiplyParentColor,\r
-        UseOwnMultiplyParentAlpha\r
-    }\r
-\r
-    public enum DimensionType\r
-    {\r
-        Width = 0x1,\r
-        Height = 0x2,\r
-        AllDimensions = 0x3\r
-    }\r
-    public enum DrawModeType\r
-    {\r
-        Normal = 0,\r
-        Overlay2D = 1,\r
-        Stencil = 3\r
-    }\r
-    public enum ResizePolicyType\r
-    {\r
-        Fixed,\r
-        UseNaturalSize,\r
-        FillToParent,\r
-        SizeRelativeToParent,\r
-        SizeFixedOffsetFromParent,\r
-        FitToChildren,\r
-        DimensionDependency,\r
-        UseAssignedSize\r
-    }\r
-    public enum SizeScalePolicyType\r
-    {\r
-        UseSizeSet,\r
-        FitWithAspectRatio,\r
-        FillWithAspectRatio\r
-    }\r
-    public enum ClippingModeType\r
-    {\r
-        Disabled,\r
-        ClipChildren\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+    public class Actor : Handle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Actor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Actor_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Actor obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Actor()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Actor(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+        internal static Actor GetActorFromPtr(global::System.IntPtr cPtr)
+        {
+            Actor ret = new Actor(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal IntPtr GetPtrfromActor()
+        {
+            return (IntPtr)swigCPtr;
+        }
+
+        public Position CurrentPosition
+        {
+            get
+            {
+                return GetCurrentPosition();
+            }
+        }
+        public Size CurrentSize
+        {
+            get
+            {
+                return GetCurrentSize();
+            }
+        }
+
+        public Actor Parent
+        {
+            get
+            {
+                return GetParent();
+            }
+        }
+
+        public float Opacity
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.COLOR_ALPHA).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.COLOR_ALPHA, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Vector2 ScreenPosition
+        {
+            get
+            {
+                Vector2 temp = new Vector2(0.0f, 0.0f);
+                GetProperty(Actor.Property.SCREEN_POSITION).Get(temp);
+                return temp;
+            }
+        }
+
+        public bool PositionUsesAnchorPoint
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public bool IsOnStage
+        {
+            get
+            {
+                return OnStage();
+            }
+        }
+
+        public int HierarchyDepth
+        {
+            get
+            {
+                return GetHierarchyDepth();
+            }
+        }
+
+        public int SiblingOrder
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(Actor.Property.SIBLING_ORDER).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SIBLING_ORDER, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Size2D Size2D
+        {
+            get
+            {
+                Size temp = new Size(0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.SIZE).Get(temp);
+                return new Size2D(temp);
+            }
+            set
+            {
+                SetProperty(Actor.Property.SIZE, new PropertyValue(new Size(value)));
+            }
+        }
+
+        public Position2D Position2D
+        {
+            get
+            {
+                Position temp = new Position(0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.POSITION).Get(temp);
+                return new Position2D(temp);
+            }
+            set
+            {
+                SetProperty(Actor.Property.POSITION, new PropertyValue(new Position(value)));
+            }
+        }
+
+
+        public void Show()
+        {
+            SetVisible(true);
+        }
+
+        public void Hide()
+        {
+            SetVisible(false);
+        }
+
+        public void Raise()
+        {
+            NDalicPINVOKE.Raise(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Lower()
+        {
+            NDalicPINVOKE.Lower(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void RaiseToTop()
+        {
+            NDalicPINVOKE.RaiseToTop(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void LowerToBottom()
+        {
+            NDalicPINVOKE.LowerToBottom(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void RaiseAbove(Actor target)
+        {
+            NDalicPINVOKE.RaiseAbove(swigCPtr, Actor.getCPtr(target));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void LowerBelow(Actor target)
+        {
+            NDalicPINVOKE.RaiseAbove(swigCPtr, Actor.getCPtr(target));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_Actor_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal static readonly int SIBLING_ORDER = NDalicManualPINVOKE.Actor_Property_SIBLING_ORDER_get();
+            internal static readonly int OPACITY = NDalicManualPINVOKE.Actor_Property_OPACITY_get();
+            internal static readonly int SCREEN_POSITION = NDalicManualPINVOKE.Actor_Property_SCREEN_POSITION_get();
+            internal static readonly int POSITION_USES_ANCHOR_POINT = NDalicManualPINVOKE.Actor_Property_POSITION_USES_ANCHOR_POINT_get();
+
+            internal Property() : this(NDalicPINVOKE.new_Actor_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int PARENT_ORIGIN = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_get();
+            internal static readonly int PARENT_ORIGIN_X = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_X_get();
+            internal static readonly int PARENT_ORIGIN_Y = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Y_get();
+            internal static readonly int PARENT_ORIGIN_Z = NDalicPINVOKE.Actor_Property_PARENT_ORIGIN_Z_get();
+            internal static readonly int ANCHOR_POINT = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_get();
+            internal static readonly int ANCHOR_POINT_X = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_X_get();
+            internal static readonly int ANCHOR_POINT_Y = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Y_get();
+            internal static readonly int ANCHOR_POINT_Z = NDalicPINVOKE.Actor_Property_ANCHOR_POINT_Z_get();
+            internal static readonly int SIZE = NDalicPINVOKE.Actor_Property_SIZE_get();
+            internal static readonly int SIZE_WIDTH = NDalicPINVOKE.Actor_Property_SIZE_WIDTH_get();
+            internal static readonly int SIZE_HEIGHT = NDalicPINVOKE.Actor_Property_SIZE_HEIGHT_get();
+            internal static readonly int SIZE_DEPTH = NDalicPINVOKE.Actor_Property_SIZE_DEPTH_get();
+            internal static readonly int POSITION = NDalicPINVOKE.Actor_Property_POSITION_get();
+            internal static readonly int POSITION_X = NDalicPINVOKE.Actor_Property_POSITION_X_get();
+            internal static readonly int POSITION_Y = NDalicPINVOKE.Actor_Property_POSITION_Y_get();
+            internal static readonly int POSITION_Z = NDalicPINVOKE.Actor_Property_POSITION_Z_get();
+            internal static readonly int WORLD_POSITION = NDalicPINVOKE.Actor_Property_WORLD_POSITION_get();
+            internal static readonly int WORLD_POSITION_X = NDalicPINVOKE.Actor_Property_WORLD_POSITION_X_get();
+            internal static readonly int WORLD_POSITION_Y = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Y_get();
+            internal static readonly int WORLD_POSITION_Z = NDalicPINVOKE.Actor_Property_WORLD_POSITION_Z_get();
+            internal static readonly int ORIENTATION = NDalicPINVOKE.Actor_Property_ORIENTATION_get();
+            internal static readonly int WORLD_ORIENTATION = NDalicPINVOKE.Actor_Property_WORLD_ORIENTATION_get();
+            internal static readonly int SCALE = NDalicPINVOKE.Actor_Property_SCALE_get();
+            internal static readonly int SCALE_X = NDalicPINVOKE.Actor_Property_SCALE_X_get();
+            internal static readonly int SCALE_Y = NDalicPINVOKE.Actor_Property_SCALE_Y_get();
+            internal static readonly int SCALE_Z = NDalicPINVOKE.Actor_Property_SCALE_Z_get();
+            internal static readonly int WORLD_SCALE = NDalicPINVOKE.Actor_Property_WORLD_SCALE_get();
+            internal static readonly int VISIBLE = NDalicPINVOKE.Actor_Property_VISIBLE_get();
+            internal static readonly int COLOR = NDalicPINVOKE.Actor_Property_COLOR_get();
+            internal static readonly int COLOR_RED = NDalicPINVOKE.Actor_Property_COLOR_RED_get();
+            internal static readonly int COLOR_GREEN = NDalicPINVOKE.Actor_Property_COLOR_GREEN_get();
+            internal static readonly int COLOR_BLUE = NDalicPINVOKE.Actor_Property_COLOR_BLUE_get();
+            internal static readonly int COLOR_ALPHA = NDalicPINVOKE.Actor_Property_COLOR_ALPHA_get();
+            internal static readonly int WORLD_COLOR = NDalicPINVOKE.Actor_Property_WORLD_COLOR_get();
+            internal static readonly int WORLD_MATRIX = NDalicPINVOKE.Actor_Property_WORLD_MATRIX_get();
+            internal static readonly int NAME = NDalicPINVOKE.Actor_Property_NAME_get();
+            internal static readonly int SENSITIVE = NDalicPINVOKE.Actor_Property_SENSITIVE_get();
+            internal static readonly int LEAVE_REQUIRED = NDalicPINVOKE.Actor_Property_LEAVE_REQUIRED_get();
+            internal static readonly int INHERIT_ORIENTATION = NDalicPINVOKE.Actor_Property_INHERIT_ORIENTATION_get();
+            internal static readonly int INHERIT_SCALE = NDalicPINVOKE.Actor_Property_INHERIT_SCALE_get();
+            internal static readonly int COLOR_MODE = NDalicPINVOKE.Actor_Property_COLOR_MODE_get();
+            internal static readonly int POSITION_INHERITANCE = NDalicPINVOKE.Actor_Property_POSITION_INHERITANCE_get();
+            internal static readonly int DRAW_MODE = NDalicPINVOKE.Actor_Property_DRAW_MODE_get();
+            internal static readonly int SIZE_MODE_FACTOR = NDalicPINVOKE.Actor_Property_SIZE_MODE_FACTOR_get();
+            internal static readonly int WIDTH_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_WIDTH_RESIZE_POLICY_get();
+            internal static readonly int HEIGHT_RESIZE_POLICY = NDalicPINVOKE.Actor_Property_HEIGHT_RESIZE_POLICY_get();
+            internal static readonly int SIZE_SCALE_POLICY = NDalicPINVOKE.Actor_Property_SIZE_SCALE_POLICY_get();
+            internal static readonly int WIDTH_FOR_HEIGHT = NDalicPINVOKE.Actor_Property_WIDTH_FOR_HEIGHT_get();
+            internal static readonly int HEIGHT_FOR_WIDTH = NDalicPINVOKE.Actor_Property_HEIGHT_FOR_WIDTH_get();
+            internal static readonly int PADDING = NDalicPINVOKE.Actor_Property_PADDING_get();
+            internal static readonly int MINIMUM_SIZE = NDalicPINVOKE.Actor_Property_MINIMUM_SIZE_get();
+            internal static readonly int MAXIMUM_SIZE = NDalicPINVOKE.Actor_Property_MAXIMUM_SIZE_get();
+            internal static readonly int INHERIT_POSITION = NDalicPINVOKE.Actor_Property_INHERIT_POSITION_get();
+            internal static readonly int CLIPPING_MODE = NDalicPINVOKE.Actor_Property_CLIPPING_MODE_get();
+
+        }
+
+        public Actor() : this(NDalicPINVOKE.Actor_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public new static Actor DownCast(BaseHandle handle)
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Actor_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Actor(Actor copy) : this(NDalicPINVOKE.new_Actor__SWIG_1(Actor.getCPtr(copy)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Actor Assign(Actor rhs)
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Actor_Assign(swigCPtr, Actor.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal string GetName()
+        {
+            string ret = NDalicPINVOKE.Actor_GetName(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetName(string name)
+        {
+            NDalicPINVOKE.Actor_SetName(swigCPtr, name);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal uint GetId()
+        {
+            uint ret = NDalicPINVOKE.Actor_GetId(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool IsRoot()
+        {
+            bool ret = NDalicPINVOKE.Actor_IsRoot(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool OnStage()
+        {
+            bool ret = NDalicPINVOKE.Actor_OnStage(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool IsLayer()
+        {
+            bool ret = NDalicPINVOKE.Actor_IsLayer(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Layer GetLayer()
+        {
+            Layer ret = new Layer(NDalicPINVOKE.Actor_GetLayer(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Add(Actor child)
+        {
+            NDalicPINVOKE.Actor_Add(swigCPtr, Actor.getCPtr(child));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Remove(Actor child)
+        {
+            NDalicPINVOKE.Actor_Remove(swigCPtr, Actor.getCPtr(child));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Unparent()
+        {
+            NDalicPINVOKE.Actor_Unparent(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public uint GetChildCount()
+        {
+            uint ret = NDalicPINVOKE.Actor_GetChildCount(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Actor GetChildAt(uint index)
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Actor FindChildByName(string actorName)
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Actor_FindChildByName(swigCPtr, actorName), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Actor FindChildById(uint id)
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Actor_FindChildById(swigCPtr, id), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Actor GetParent()
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Actor_GetParent(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetParentOrigin(Vector3 origin)
+        {
+            NDalicPINVOKE.Actor_SetParentOrigin(swigCPtr, Vector3.getCPtr(origin));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector3 GetCurrentParentOrigin()
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentParentOrigin(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetAnchorPoint(Vector3 anchorPoint)
+        {
+            NDalicPINVOKE.Actor_SetAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector3 GetCurrentAnchorPoint()
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentAnchorPoint(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetSize(float width, float height)
+        {
+            NDalicPINVOKE.Actor_SetSize__SWIG_0(swigCPtr, width, height);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetSize(float width, float height, float depth)
+        {
+            NDalicPINVOKE.Actor_SetSize__SWIG_1(swigCPtr, width, height, depth);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetSize(Vector2 size)
+        {
+            NDalicPINVOKE.Actor_SetSize__SWIG_2(swigCPtr, Vector2.getCPtr(size));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetSize(Vector3 size)
+        {
+            NDalicPINVOKE.Actor_SetSize__SWIG_3(swigCPtr, Vector3.getCPtr(size));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector3 GetTargetSize()
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetTargetSize(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Size GetCurrentSize()
+        {
+            Size ret = new Size(NDalicPINVOKE.Actor_GetCurrentSize(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Vector3 GetNaturalSize()
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetNaturalSize(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetPosition(float x, float y)
+        {
+            NDalicPINVOKE.Actor_SetPosition__SWIG_0(swigCPtr, x, y);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetPosition(float x, float y, float z)
+        {
+            NDalicPINVOKE.Actor_SetPosition__SWIG_1(swigCPtr, x, y, z);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetPosition(Vector3 position)
+        {
+            NDalicPINVOKE.Actor_SetPosition__SWIG_2(swigCPtr, Vector3.getCPtr(position));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetX(float x)
+        {
+            NDalicPINVOKE.Actor_SetX(swigCPtr, x);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetY(float y)
+        {
+            NDalicPINVOKE.Actor_SetY(swigCPtr, y);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetZ(float z)
+        {
+            NDalicPINVOKE.Actor_SetZ(swigCPtr, z);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void TranslateBy(Vector3 distance)
+        {
+            NDalicPINVOKE.Actor_TranslateBy(swigCPtr, Vector3.getCPtr(distance));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Position GetCurrentPosition()
+        {
+            Position ret = new Position(NDalicPINVOKE.Actor_GetCurrentPosition(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 GetCurrentWorldPosition()
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldPosition(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetInheritPosition(bool inherit)
+        {
+            NDalicPINVOKE.Actor_SetInheritPosition(swigCPtr, inherit);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal PositionInheritanceMode GetPositionInheritanceMode()
+        {
+            PositionInheritanceMode ret = (PositionInheritanceMode)NDalicPINVOKE.Actor_GetPositionInheritanceMode(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool IsPositionInherited()
+        {
+            bool ret = NDalicPINVOKE.Actor_IsPositionInherited(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetOrientation(Degree angle, Vector3 axis)
+        {
+            NDalicPINVOKE.Actor_SetOrientation__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetOrientation(Radian angle, Vector3 axis)
+        {
+            NDalicPINVOKE.Actor_SetOrientation__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetOrientation(Rotation orientation)
+        {
+            NDalicPINVOKE.Actor_SetOrientation__SWIG_2(swigCPtr, Rotation.getCPtr(orientation));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void RotateBy(Degree angle, Vector3 axis)
+        {
+            NDalicPINVOKE.Actor_RotateBy__SWIG_0(swigCPtr, Degree.getCPtr(angle), Vector3.getCPtr(axis));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void RotateBy(Radian angle, Vector3 axis)
+        {
+            NDalicPINVOKE.Actor_RotateBy__SWIG_1(swigCPtr, Radian.getCPtr(angle), Vector3.getCPtr(axis));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void RotateBy(Rotation relativeRotation)
+        {
+            NDalicPINVOKE.Actor_RotateBy__SWIG_2(swigCPtr, Rotation.getCPtr(relativeRotation));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Rotation GetCurrentOrientation()
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Actor_GetCurrentOrientation(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetInheritOrientation(bool inherit)
+        {
+            NDalicPINVOKE.Actor_SetInheritOrientation(swigCPtr, inherit);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool IsOrientationInherited()
+        {
+            bool ret = NDalicPINVOKE.Actor_IsOrientationInherited(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Rotation GetCurrentWorldOrientation()
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Actor_GetCurrentWorldOrientation(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetScale(float scale)
+        {
+            NDalicPINVOKE.Actor_SetScale__SWIG_0(swigCPtr, scale);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetScale(float scaleX, float scaleY, float scaleZ)
+        {
+            NDalicPINVOKE.Actor_SetScale__SWIG_1(swigCPtr, scaleX, scaleY, scaleZ);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetScale(Vector3 scale)
+        {
+            NDalicPINVOKE.Actor_SetScale__SWIG_2(swigCPtr, Vector3.getCPtr(scale));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void ScaleBy(Vector3 relativeScale)
+        {
+            NDalicPINVOKE.Actor_ScaleBy(swigCPtr, Vector3.getCPtr(relativeScale));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector3 GetCurrentScale()
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentScale(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 GetCurrentWorldScale()
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetCurrentWorldScale(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetInheritScale(bool inherit)
+        {
+            NDalicPINVOKE.Actor_SetInheritScale(swigCPtr, inherit);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool IsScaleInherited()
+        {
+            bool ret = NDalicPINVOKE.Actor_IsScaleInherited(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Matrix GetCurrentWorldMatrix()
+        {
+            Matrix ret = new Matrix(NDalicPINVOKE.Actor_GetCurrentWorldMatrix(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetVisible(bool visible)
+        {
+            NDalicPINVOKE.Actor_SetVisible(swigCPtr, visible);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool IsVisible()
+        {
+            bool ret = NDalicPINVOKE.Actor_IsVisible(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetOpacity(float opacity)
+        {
+            NDalicPINVOKE.Actor_SetOpacity(swigCPtr, opacity);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetCurrentOpacity()
+        {
+            float ret = NDalicPINVOKE.Actor_GetCurrentOpacity(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetColor(Vector4 color)
+        {
+            NDalicPINVOKE.Actor_SetColor(swigCPtr, Vector4.getCPtr(color));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector4 GetCurrentColor()
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentColor(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetColorMode(ColorMode colorMode)
+        {
+            NDalicPINVOKE.Actor_SetColorMode(swigCPtr, (int)colorMode);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal ColorMode GetColorMode()
+        {
+            ColorMode ret = (ColorMode)NDalicPINVOKE.Actor_GetColorMode(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 GetCurrentWorldColor()
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Actor_GetCurrentWorldColor(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetDrawMode(DrawModeType drawMode)
+        {
+            NDalicPINVOKE.Actor_SetDrawMode(swigCPtr, (int)drawMode);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal DrawModeType GetDrawMode()
+        {
+            DrawModeType ret = (DrawModeType)NDalicPINVOKE.Actor_GetDrawMode(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetSensitive(bool sensitive)
+        {
+            NDalicPINVOKE.Actor_SetSensitive(swigCPtr, sensitive);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool IsSensitive()
+        {
+            bool ret = NDalicPINVOKE.Actor_IsSensitive(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool ScreenToLocal(out float localX, out float localY, float screenX, float screenY)
+        {
+            bool ret = NDalicPINVOKE.Actor_ScreenToLocal(swigCPtr, out localX, out localY, screenX, screenY);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetLeaveRequired(bool required)
+        {
+            NDalicPINVOKE.Actor_SetLeaveRequired(swigCPtr, required);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool GetLeaveRequired()
+        {
+            bool ret = NDalicPINVOKE.Actor_GetLeaveRequired(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetKeyboardFocusable(bool focusable)
+        {
+            NDalicPINVOKE.Actor_SetKeyboardFocusable(swigCPtr, focusable);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool IsKeyboardFocusable()
+        {
+            bool ret = NDalicPINVOKE.Actor_IsKeyboardFocusable(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetResizePolicy(ResizePolicyType policy, DimensionType dimension)
+        {
+            NDalicPINVOKE.Actor_SetResizePolicy(swigCPtr, (int)policy, (int)dimension);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal ResizePolicyType GetResizePolicy(DimensionType dimension)
+        {
+            ResizePolicyType ret = (ResizePolicyType)NDalicPINVOKE.Actor_GetResizePolicy(swigCPtr, (int)dimension);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetSizeScalePolicy(SizeScalePolicyType policy)
+        {
+            NDalicPINVOKE.Actor_SetSizeScalePolicy(swigCPtr, (int)policy);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal SizeScalePolicyType GetSizeScalePolicy()
+        {
+            SizeScalePolicyType ret = (SizeScalePolicyType)NDalicPINVOKE.Actor_GetSizeScalePolicy(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetSizeModeFactor(Vector3 factor)
+        {
+            NDalicPINVOKE.Actor_SetSizeModeFactor(swigCPtr, Vector3.getCPtr(factor));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector3 GetSizeModeFactor()
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Actor_GetSizeModeFactor(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float GetHeightForWidth(float width)
+        {
+            float ret = NDalicPINVOKE.Actor_GetHeightForWidth(swigCPtr, width);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float GetWidthForHeight(float height)
+        {
+            float ret = NDalicPINVOKE.Actor_GetWidthForHeight(swigCPtr, height);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal float GetRelayoutSize(DimensionType dimension)
+        {
+            float ret = NDalicPINVOKE.Actor_GetRelayoutSize(swigCPtr, (int)dimension);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetPadding(PaddingType padding)
+        {
+            NDalicPINVOKE.Actor_SetPadding(swigCPtr, PaddingType.getCPtr(padding));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void GetPadding(PaddingType paddingOut)
+        {
+            NDalicPINVOKE.Actor_GetPadding(swigCPtr, PaddingType.getCPtr(paddingOut));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetMinimumSize(Vector2 size)
+        {
+            NDalicPINVOKE.Actor_SetMinimumSize(swigCPtr, Vector2.getCPtr(size));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector2 GetMinimumSize()
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMinimumSize(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetMaximumSize(Vector2 size)
+        {
+            NDalicPINVOKE.Actor_SetMaximumSize(swigCPtr, Vector2.getCPtr(size));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector2 GetMaximumSize()
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Actor_GetMaximumSize(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal int GetHierarchyDepth()
+        {
+            int ret = NDalicPINVOKE.Actor_GetHierarchyDepth(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal uint AddRenderer(Renderer renderer)
+        {
+            uint ret = NDalicPINVOKE.Actor_AddRenderer(swigCPtr, Renderer.getCPtr(renderer));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal uint GetRendererCount()
+        {
+            uint ret = NDalicPINVOKE.Actor_GetRendererCount(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Renderer GetRendererAt(uint index)
+        {
+            Renderer ret = new Renderer(NDalicPINVOKE.Actor_GetRendererAt(swigCPtr, index), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void RemoveRenderer(Renderer renderer)
+        {
+            NDalicPINVOKE.Actor_RemoveRenderer__SWIG_0(swigCPtr, Renderer.getCPtr(renderer));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void RemoveRenderer(uint index)
+        {
+            NDalicPINVOKE.Actor_RemoveRenderer__SWIG_1(swigCPtr, index);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t TouchedSignal()
+        {
+            SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t ret = new SWIGTYPE_p_Dali__SignalT_bool_fDali__Actor_Dali__TouchEvent_const_RF_t(NDalicPINVOKE.Actor_TouchedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ActorTouchDataSignal TouchSignal()
+        {
+            ActorTouchDataSignal ret = new ActorTouchDataSignal(NDalicPINVOKE.Actor_TouchSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ActorHoverSignal HoveredSignal()
+        {
+            ActorHoverSignal ret = new ActorHoverSignal(NDalicPINVOKE.Actor_HoveredSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ActorWheelSignal WheelEventSignal()
+        {
+            ActorWheelSignal ret = new ActorWheelSignal(NDalicPINVOKE.Actor_WheelEventSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ActorSignal OnStageSignal()
+        {
+            ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OnStageSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ActorSignal OffStageSignal()
+        {
+            ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OffStageSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ActorSignal OnRelayoutSignal()
+        {
+            ActorSignal ret = new ActorSignal(NDalicPINVOKE.Actor_OnRelayoutSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Position ParentOrigin
+        {
+            get
+            {
+                Position temp = new Position(0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.PARENT_ORIGIN).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.PARENT_ORIGIN, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Position AnchorPoint
+        {
+            get
+            {
+                Position temp = new Position(0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.ANCHOR_POINT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Size Size
+        {
+            get
+            {
+                Size temp = new Size(0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.SIZE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float SizeWidth
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.SIZE_WIDTH).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SIZE_WIDTH, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float SizeHeight
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.SIZE_HEIGHT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SIZE_HEIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float SizeDepth
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.SIZE_DEPTH).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SIZE_DEPTH, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Position Position
+        {
+            get
+            {
+                Position temp = new Position(0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.POSITION).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.POSITION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float PositionX
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.POSITION_X).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.POSITION_X, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float PositionY
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.POSITION_Y).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.POSITION_Y, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float PositionZ
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.POSITION_Z).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.POSITION_Z, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector3 WorldPosition
+        {
+            get
+            {
+                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.WORLD_POSITION).Get(temp);
+                return temp;
+            }
+        }
+
+        public Rotation Orientation
+        {
+            get
+            {
+                Rotation temp = new Rotation();
+                GetProperty(Actor.Property.ORIENTATION).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.ORIENTATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Rotation WorldOrientation
+        {
+            get
+            {
+                Rotation temp = new Rotation();
+                GetProperty(Actor.Property.WORLD_ORIENTATION).Get(temp);
+                return temp;
+            }
+        }
+        public Vector3 Scale
+        {
+            get
+            {
+                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.SCALE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SCALE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ScaleX
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.SCALE_X).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SCALE_X, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ScaleY
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.SCALE_Y).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SCALE_Y, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ScaleZ
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.SCALE_Z).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SCALE_Z, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector3 WorldScale
+        {
+            get
+            {
+                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.WORLD_SCALE).Get(temp);
+                return temp;
+            }
+        }
+        public bool Visible
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Actor.Property.VISIBLE).Get(ref temp);
+                return temp;
+            }
+            /* only get is required : removed
+            set
+            {
+                SetProperty(Actor.Property.VISIBLE, new Tizen.NUI.PropertyValue(value));
+            }
+            */
+        }
+        public Color MixColor
+        {
+            get
+            {
+                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ColorRed
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.COLOR_RED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.COLOR_RED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ColorGreen
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.COLOR_GREEN).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.COLOR_GREEN, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ColorBlue
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.COLOR_BLUE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.COLOR_BLUE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ColorAlpha
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Actor.Property.COLOR_ALPHA).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.COLOR_ALPHA, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Color WorldColor
+        {
+            get
+            {
+                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.WORLD_COLOR).Get(temp);
+                return temp;
+            }
+        }
+
+        public string Name
+        {
+            get
+            {
+                string temp;
+                GetProperty(Actor.Property.NAME).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.NAME, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool Sensitive
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Actor.Property.SENSITIVE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SENSITIVE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool LeaveRequired
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Actor.Property.LEAVE_REQUIRED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.LEAVE_REQUIRED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool InheritOrientation
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Actor.Property.INHERIT_ORIENTATION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.INHERIT_ORIENTATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool InheritScale
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Actor.Property.INHERIT_SCALE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.INHERIT_SCALE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public ColorMode ColorMode
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(Actor.Property.COLOR_MODE).Get(out temp) == false)
+                {
+                    //Tizen.Log.Error("NUI", "ColorMode get error!");
+                }
+                switch (temp)
+                {
+                    case "USE_OWN_COLOR":
+                        return ColorMode.UseOwnColor;
+                    case "USE_PARENT_COLOR":
+                        return ColorMode.UseParentColor;
+                    case "USE_OWN_MULTIPLY_PARENT_COLOR":
+                        return ColorMode.UseOwnMultiplyParentColor;
+                    case "USE_OWN_MULTIPLY_PARENT_ALPHA":
+                        return ColorMode.UseOwnMultiplyParentAlpha;
+                    default:
+                        return ColorMode.UseOwnColor;
+                }
+            }
+            set
+            {
+                SetProperty(Actor.Property.COLOR_MODE, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        public DrawModeType DrawMode
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(Actor.Property.DRAW_MODE).Get(out temp) == false)
+                {
+                    //Tizen.Log.Error("NUI", "DrawMode get error!");
+                }
+                switch (temp)
+                {
+                    case "NORMAL":
+                        return DrawModeType.Normal;
+                    case "OVERLAY_2D":
+                        return DrawModeType.Overlay2D;
+                    case "STENCIL":
+                        return DrawModeType.Stencil;
+                    default:
+                        return DrawModeType.Normal;
+                }
+            }
+            set
+            {
+                SetProperty(Actor.Property.DRAW_MODE, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+        public Vector3 SizeModeFactor
+        {
+            get
+            {
+                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.SIZE_MODE_FACTOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.SIZE_MODE_FACTOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public ResizePolicyType WidthResizePolicy
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(Actor.Property.WIDTH_RESIZE_POLICY).Get(out temp) == false)
+                {
+                    //Tizen.Log.Error("NUI", "WidthResizePolicy get error!");
+                }
+                switch (temp)
+                {
+                    case "FIXED":
+                        return ResizePolicyType.Fixed;
+                    case "USE_NATURAL_SIZE":
+                        return ResizePolicyType.UseNaturalSize;
+                    case "FILL_TO_PARENT":
+                        return ResizePolicyType.FillToParent;
+                    case "SIZE_RELATIVE_TO_PARENT":
+                        return ResizePolicyType.SizeRelativeToParent;
+                    case "SIZE_FIXED_OFFSET_FROM_PARENT":
+                        return ResizePolicyType.SizeFixedOffsetFromParent;
+                    case "FIT_TO_CHILDREN":
+                        return ResizePolicyType.FitToChildren;
+                    case "DIMENSION_DEPENDENCY":
+                        return ResizePolicyType.DimensionDependency;
+                    case "USE_ASSIGNED_SIZE":
+                        return ResizePolicyType.UseAssignedSize;
+                    default:
+                        return ResizePolicyType.Fixed;
+                }
+            }
+            set
+            {
+                SetProperty(Actor.Property.WIDTH_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        public ResizePolicyType HeightResizePolicy
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(Actor.Property.HEIGHT_RESIZE_POLICY).Get(out temp) == false)
+                {
+                    //Tizen.Log.Error("NUI", "HeightResizePolicy get error!");
+                }
+                switch (temp)
+                {
+                    case "FIXED":
+                        return ResizePolicyType.Fixed;
+                    case "USE_NATURAL_SIZE":
+                        return ResizePolicyType.UseNaturalSize;
+                    case "FILL_TO_PARENT":
+                        return ResizePolicyType.FillToParent;
+                    case "SIZE_RELATIVE_TO_PARENT":
+                        return ResizePolicyType.SizeRelativeToParent;
+                    case "SIZE_FIXED_OFFSET_FROM_PARENT":
+                        return ResizePolicyType.SizeFixedOffsetFromParent;
+                    case "FIT_TO_CHILDREN":
+                        return ResizePolicyType.FitToChildren;
+                    case "DIMENSION_DEPENDENCY":
+                        return ResizePolicyType.DimensionDependency;
+                    case "USE_ASSIGNED_SIZE":
+                        return ResizePolicyType.UseAssignedSize;
+                    default:
+                        return ResizePolicyType.Fixed;
+                }
+            }
+            set
+            {
+                SetProperty(Actor.Property.HEIGHT_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        public SizeScalePolicyType SizeScalePolicy
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(Actor.Property.SIZE_SCALE_POLICY).Get(out temp) == false)
+                {
+                    //Tizen.Log.Error("NUI", "SizeScalePolicy get error!");
+                }
+                switch (temp)
+                {
+                    case "USE_SIZE_SET":
+                        return SizeScalePolicyType.UseSizeSet;
+                    case "FIT_WITH_ASPECT_RATIO":
+                        return SizeScalePolicyType.FitWithAspectRatio;
+                    case "FILL_WITH_ASPECT_RATIO":
+                        return SizeScalePolicyType.FillWithAspectRatio;
+                    default:
+                        return SizeScalePolicyType.UseSizeSet;
+                }
+            }
+            set
+            {
+                SetProperty(Actor.Property.SIZE_SCALE_POLICY, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        public bool WidthDependentOnHeight
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Actor.Property.WIDTH_FOR_HEIGHT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.WIDTH_FOR_HEIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool HeightDependentOnWidth
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Actor.Property.HEIGHT_FOR_WIDTH).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.HEIGHT_FOR_WIDTH, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 Padding
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(Actor.Property.PADDING).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.PADDING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Size2D MinimumSize
+        {
+            get
+            {
+                Size2D temp = new Size2D(0, 0);
+                GetProperty(Actor.Property.MINIMUM_SIZE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.MINIMUM_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Size2D MaximumSize
+        {
+            get
+            {
+                Size2D temp = new Size2D(0, 0);
+                GetProperty(Actor.Property.MAXIMUM_SIZE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.MAXIMUM_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool InheritPosition
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Actor.Property.INHERIT_POSITION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Actor.Property.INHERIT_POSITION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public ClippingModeType ClippingMode
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(Actor.Property.CLIPPING_MODE).Get(out temp) == false)
+                {
+                    //Tizen.Log.Error("NUI", "ClippingMode get error!");
+                }
+                switch (temp)
+                {
+                    case "DISABLED":
+                        return ClippingModeType.Disabled;
+                    case "CLIP_CHILDREN":
+                        return ClippingModeType.ClipChildren;
+                    default:
+                        return ClippingModeType.Disabled;
+                }
+            }
+            set
+            {
+                SetProperty(Actor.Property.CLIPPING_MODE, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+    }
+
+    public enum ColorMode
+    {
+        UseOwnColor,
+        UseParentColor,
+        UseOwnMultiplyParentColor,
+        UseOwnMultiplyParentAlpha
+    }
+
+    public enum DimensionType
+    {
+        Width = 0x1,
+        Height = 0x2,
+        AllDimensions = 0x3
+    }
+    public enum DrawModeType
+    {
+        Normal = 0,
+        Overlay2D = 1,
+        Stencil = 3
+    }
+    public enum ResizePolicyType
+    {
+        Fixed,
+        UseNaturalSize,
+        FillToParent,
+        SizeRelativeToParent,
+        SizeFixedOffsetFromParent,
+        FitToChildren,
+        DimensionDependency,
+        UseAssignedSize
+    }
+    public enum SizeScalePolicyType
+    {
+        UseSizeSet,
+        FitWithAspectRatio,
+        FillWithAspectRatio
+    }
+    public enum ClippingModeType
+    {
+        Disabled,
+        ClipChildren
+    }
+
+}
index b7c8fc3d1f4586b8b7d75736464f6cecf720f749..5019f91dfb8dbb110761a0fc068c19e08d48b559 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class AlphaFunction : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal AlphaFunction(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AlphaFunction obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~AlphaFunction()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_AlphaFunction(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public AlphaFunction(System.Delegate func) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_2(SWIGTYPE_p_f_float__float.getCPtr(new SWIGTYPE_p_f_float__float(System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func), true))), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public AlphaFunction() : this(NDalicPINVOKE.new_AlphaFunction__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public AlphaFunction(AlphaFunction.BuiltinFunctions function) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_1((int)function), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal AlphaFunction(SWIGTYPE_p_f_float__float function) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_2(SWIGTYPE_p_f_float__float.getCPtr(function)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public AlphaFunction(Vector2 controlPoint0, Vector2 controlPoint1) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_3(Vector2.getCPtr(controlPoint0), Vector2.getCPtr(controlPoint1)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void GetBezierControlPoints(out Vector2 controlPoint0, out Vector2 controlPoint1)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.AlphaFunction_GetBezierControlPoints(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-            controlPoint0 = new Vector2(ret.X, ret.Y);\r
-            controlPoint1 = new Vector2(ret.Z, ret.W);\r
-        }\r
-\r
-        internal SWIGTYPE_p_f_float__float GetCustomFunction()\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.AlphaFunction_GetCustomFunction(swigCPtr);\r
-            SWIGTYPE_p_f_float__float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_float__float(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public AlphaFunction.BuiltinFunctions GetBuiltinFunction()\r
-        {\r
-            AlphaFunction.BuiltinFunctions ret = (AlphaFunction.BuiltinFunctions)NDalicPINVOKE.AlphaFunction_GetBuiltinFunction(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public AlphaFunction.Modes GetMode()\r
-        {\r
-            AlphaFunction.Modes ret = (AlphaFunction.Modes)NDalicPINVOKE.AlphaFunction_GetMode(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public enum BuiltinFunctions\r
-        {\r
-            Default,\r
-            Linear,\r
-            Reverse,\r
-            EaseInSquare,\r
-            EaseOutSquare,\r
-            EaseIn,\r
-            EaseOut,\r
-            EaseInOut,\r
-            EaseInSine,\r
-            EaseOutSine,\r
-            EaseInOutSine,\r
-            Bounce,\r
-            Sin,\r
-            EaseOutBack,\r
-            Count\r
-        }\r
-\r
-        public enum Modes\r
-        {\r
-            CustomFunction = 1,\r
-            Bezier\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class AlphaFunction : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal AlphaFunction(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AlphaFunction obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~AlphaFunction()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_AlphaFunction(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public AlphaFunction(System.Delegate func) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_2(SWIGTYPE_p_f_float__float.getCPtr(new SWIGTYPE_p_f_float__float(System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func), true))), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public AlphaFunction() : this(NDalicPINVOKE.new_AlphaFunction__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public AlphaFunction(AlphaFunction.BuiltinFunctions function) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_1((int)function), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal AlphaFunction(SWIGTYPE_p_f_float__float function) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_2(SWIGTYPE_p_f_float__float.getCPtr(function)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public AlphaFunction(Vector2 controlPoint0, Vector2 controlPoint1) : this(NDalicPINVOKE.new_AlphaFunction__SWIG_3(Vector2.getCPtr(controlPoint0), Vector2.getCPtr(controlPoint1)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void GetBezierControlPoints(out Vector2 controlPoint0, out Vector2 controlPoint1)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.AlphaFunction_GetBezierControlPoints(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+            controlPoint0 = new Vector2(ret.X, ret.Y);
+            controlPoint1 = new Vector2(ret.Z, ret.W);
+        }
+
+        internal SWIGTYPE_p_f_float__float GetCustomFunction()
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.AlphaFunction_GetCustomFunction(swigCPtr);
+            SWIGTYPE_p_f_float__float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_float__float(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public AlphaFunction.BuiltinFunctions GetBuiltinFunction()
+        {
+            AlphaFunction.BuiltinFunctions ret = (AlphaFunction.BuiltinFunctions)NDalicPINVOKE.AlphaFunction_GetBuiltinFunction(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public AlphaFunction.Modes GetMode()
+        {
+            AlphaFunction.Modes ret = (AlphaFunction.Modes)NDalicPINVOKE.AlphaFunction_GetMode(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public enum BuiltinFunctions
+        {
+            Default,
+            Linear,
+            Reverse,
+            EaseInSquare,
+            EaseOutSquare,
+            EaseIn,
+            EaseOut,
+            EaseInOut,
+            EaseInSine,
+            EaseOutSine,
+            EaseInOutSine,
+            Bounce,
+            Sin,
+            EaseOutBack,
+            Count
+        }
+
+        public enum Modes
+        {
+            CustomFunction = 1,
+            Bezier
+        }
+
+    }
+
+}
index 5cc425f6e39b3f4cfc1a46d2ee91fa97201dcdad..888e9f0ff629fc50feab11e0fb3951157d38f69f 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-    public class Animation : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Animation(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Animation_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Animation obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Animation()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Animation(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-        /**\r
-        * @brief Create an initialized Animation.\r
-        *\r
-        * The animation will not loop.\r
-        * The default end action is "Bake".\r
-        * The default Alpha function is linear.\r
-        * @since 1.0.0\r
-        * @param [in] durationmSeconds The duration in milli seconds (int).\r
-        * @return A handle to a newly allocated Dali resource.\r
-        * @pre DurationmSeconds must be greater than zero.\r
-        */\r
-        public Animation(int durationMilliSeconds) : this(NDalicPINVOKE.Animation_New((float)durationMilliSeconds / 1000.0f), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        private AnimationFinishedEventCallbackType _animationFinishedEventCallback;\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void AnimationFinishedEventCallbackType(IntPtr data);\r
-        private event EventHandler _animationFinishedEventHandler;\r
-        /**\r
-        * @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler\r
-        * Finished signal is emitted when an Animation's animations have finished.\r
-        */\r
-        public event EventHandler Finished\r
-        {\r
-            add\r
-            {\r
-                if (_animationFinishedEventHandler == null)\r
-                {\r
-                    _animationFinishedEventCallback = OnFinished;\r
-                    FinishedSignal().Connect(_animationFinishedEventCallback);\r
-                }\r
-\r
-                _animationFinishedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _animationFinishedEventHandler -= value;\r
-\r
-                if (_animationFinishedEventHandler == null && _animationFinishedEventCallback != null)\r
-                {\r
-                    FinishedSignal().Disconnect(_animationFinishedEventCallback);\r
-                }\r
-            }\r
-        }\r
-        private void OnFinished(IntPtr data)\r
-        {\r
-            if (_animationFinishedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _animationFinishedEventHandler(this, null);\r
-            }\r
-        }\r
-\r
-\r
-        public static Animation GetAnimationFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Animation ret = new Animation(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private float MilliSecondsToSeconds(int millisec)\r
-        {\r
-            return (float)millisec / 1000.0f;\r
-        }\r
-\r
-        private int SecondsToMilliSeconds(float sec)\r
-        {\r
-            return (int)(sec * 1000);\r
-        }\r
-\r
-        public int Duration\r
-        {\r
-            set\r
-            {\r
-                SetDuration(MilliSecondsToSeconds(value));\r
-            }\r
-            get\r
-            {\r
-                return SecondsToMilliSeconds(GetDuration());\r
-            }\r
-        }\r
-\r
-        public AlphaFunction DefaultAlphaFunction\r
-        {\r
-            set\r
-            {\r
-                SetDefaultAlphaFunction(value);\r
-            }\r
-            get\r
-            {\r
-                AlphaFunction ret = GetDefaultAlphaFunction();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public States State\r
-        {\r
-            get\r
-            {\r
-                return GetState();\r
-            }\r
-        }\r
-\r
-        public int LoopCount\r
-        {\r
-            set\r
-            {\r
-                SetLoopCount(value);\r
-            }\r
-            get\r
-            {\r
-                int ret = GetLoopCount();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public bool Looping\r
-        {\r
-            set\r
-            {\r
-                SetLooping(value);\r
-            }\r
-            get\r
-            {\r
-                bool ret = IsLooping();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public EndActions EndAction\r
-        {\r
-            set\r
-            {\r
-                SetEndAction(value);\r
-            }\r
-            get\r
-            {\r
-                return GetEndAction();\r
-            }\r
-        }\r
-\r
-        public void Stop(EndActions action = EndActions.Cancel)\r
-        {\r
-            SetEndAction(action);\r
-            NDalicPINVOKE.Animation_Stop(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public int CurrentLoop\r
-        {\r
-            get\r
-            {\r
-                return GetCurrentLoop();\r
-            }\r
-        }\r
-\r
-        public EndActions DisconnectAction\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Animation_SetDisconnectAction(swigCPtr, (int)value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetDisconnectAction(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float CurrentProgress\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Animation_SetCurrentProgress(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Animation_GetCurrentProgress(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float SpeedFactor\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Animation_SetSpeedFactor(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Animation_GetSpeedFactor(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public Vector2 PlayRange\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Animation_SetPlayRange(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                Vector2 ret = new Vector2(NDalicPINVOKE.Animation_GetPlayRange(swigCPtr), true);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-\r
-        public void AnimateBy(Actor target, string property, object relativeValue, AlphaFunction alphaFunction = null)\r
-        {\r
-            string _str1 = property.Substring(0, 1);\r
-            string _str2 = property.Substring(1);\r
-            string _str = _str1.ToLower() + _str2;\r
-\r
-            Property _prop = new Property(target, _str);\r
-            if (_prop.propertyIndex == Property.INVALID_INDEX)\r
-            {\r
-                throw new System.Exception("second argument string property is invalid parameter!");\r
-            }\r
-\r
-            dynamic obj = (object)relativeValue;\r
-\r
-            if (alphaFunction != null)\r
-            {\r
-                AnimateBy(_prop, new PropertyValue(obj), alphaFunction);\r
-            }\r
-            else\r
-            {\r
-                AnimateBy(_prop, new PropertyValue(obj));\r
-            }\r
-        }\r
-\r
-        public void AnimateBy(Actor target, string property, object relativeValue, int startTime, int endTime, AlphaFunction alphaFunction = null)\r
-        {\r
-            string _str1 = property.Substring(0, 1);\r
-            string _str2 = property.Substring(1);\r
-            string _str = _str1.ToLower() + _str2;\r
-\r
-            Property _prop = new Property(target, _str);\r
-            if (_prop.propertyIndex == Property.INVALID_INDEX)\r
-            {\r
-                throw new System.Exception("second argument string property is invalid parameter!");\r
-            }\r
-\r
-            dynamic obj = (object)relativeValue;\r
-\r
-            if (alphaFunction != null)\r
-            {\r
-                Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));\r
-                AnimateBy(_prop, new PropertyValue(obj), alphaFunction, time);\r
-            }\r
-            else\r
-            {\r
-                Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));\r
-                AnimateBy(_prop, new PropertyValue(obj), time);\r
-            }\r
-        }\r
-\r
-        public void AnimateTo(Actor target, string property, object destinationValue, AlphaFunction alphaFunction = null)\r
-        {\r
-            string _str1 = property.Substring(0, 1);\r
-            string _str2 = property.Substring(1);\r
-            string _str = _str1.ToLower() + _str2;\r
-\r
-            Property _prop = new Property(target, _str);\r
-            if (_prop.propertyIndex == Property.INVALID_INDEX)\r
-            {\r
-                throw new System.Exception("second argument string property is invalid parameter!");\r
-            }\r
-\r
-            dynamic obj = (object)destinationValue;\r
-\r
-            if (alphaFunction != null)\r
-            {\r
-                AnimateTo(_prop, new PropertyValue(obj), alphaFunction);\r
-            }\r
-            else\r
-            {\r
-                AnimateTo(_prop, new PropertyValue(obj));\r
-            }\r
-        }\r
-\r
-        public void AnimateTo(Actor target, string property, object destinationValue, int startTime, int endTime, AlphaFunction alphaFunction = null)\r
-        {\r
-            string _str1 = property.Substring(0, 1);\r
-            string _str2 = property.Substring(1);\r
-            string _str = _str1.ToLower() + _str2;\r
-\r
-            Property _prop = new Property(target, _str);\r
-            if (_prop.propertyIndex == Property.INVALID_INDEX)\r
-            {\r
-                throw new System.Exception("second argument string property is invalid parameter!");\r
-            }\r
-\r
-            dynamic obj = (object)destinationValue;\r
-\r
-            if (alphaFunction != null)\r
-            {\r
-                Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));\r
-                AnimateTo(_prop, new PropertyValue(obj), alphaFunction, time);\r
-            }\r
-            else\r
-            {\r
-                Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));\r
-                AnimateTo(_prop, new PropertyValue(obj), time);\r
-            }\r
-        }\r
-\r
-        public void AnimateBetween(Actor target, string property, KeyFrames keyFrames, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)\r
-        {\r
-            string _str1 = property.Substring(0, 1);\r
-            string _str2 = property.Substring(1);\r
-            string _str = _str1.ToLower() + _str2;\r
-\r
-            Property _prop = new Property(target, _str);\r
-            if (_prop.propertyIndex == Property.INVALID_INDEX)\r
-            {\r
-                throw new System.Exception("second argument string property is invalid parameter!");\r
-            }\r
-\r
-            if (alphaFunction != null)\r
-            {\r
-                AnimateBetween(_prop, keyFrames, alphaFunction, interpolation);\r
-            }\r
-            else\r
-            {\r
-                AnimateBetween(_prop, keyFrames, interpolation);\r
-            }\r
-        }\r
-\r
-        public void AnimateBetween(Actor target, string property, KeyFrames keyFrames, int startTime, int endTime, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)\r
-        {\r
-            string _str1 = property.Substring(0, 1);\r
-            string _str2 = property.Substring(1);\r
-            string _str = _str1.ToLower() + _str2;\r
-\r
-            Property _prop = new Property(target, _str);\r
-            if (_prop.propertyIndex == Property.INVALID_INDEX)\r
-            {\r
-                throw new System.Exception("second argument string property is invalid parameter!");\r
-            }\r
-\r
-            Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));\r
-            if (alphaFunction != null)\r
-            {\r
-                AnimateBetween(_prop, keyFrames, alphaFunction, time, interpolation);\r
-            }\r
-            else\r
-            {\r
-                AnimateBetween(_prop, keyFrames, time, interpolation);\r
-            }\r
-        }\r
-\r
-        public void AnimatePath(Actor actor, Path path, Vector3 forward, AlphaFunction alphaFunction = null)\r
-        {\r
-            if (alphaFunction == null)\r
-            {\r
-                Animate(actor, path, forward);\r
-            }\r
-            else\r
-            {\r
-                Animate(actor, path, forward, alphaFunction);\r
-            }\r
-        }\r
-\r
-        public void AnimatePath(Actor actor, Path path, Vector3 forward, int startTime, int endTime, AlphaFunction alphaFunction = null)\r
-        {\r
-            TimePeriod time = new TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));\r
-            if (alphaFunction == null)\r
-            {\r
-                Animate(actor, path, forward, time);\r
-            }\r
-            else\r
-            {\r
-                Animate(actor, path, forward, alphaFunction, time);\r
-            }\r
-        }\r
-\r
-\r
-        public Animation() : this(NDalicPINVOKE.Animation_New(0.0f), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Animation(float durationSeconds) : this(NDalicPINVOKE.Animation_New(durationSeconds), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public static Animation DownCast(BaseHandle handle)\r
-        {\r
-            Animation ret = new Animation(NDalicPINVOKE.Animation_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Animation(Animation handle) : this(NDalicPINVOKE.new_Animation__SWIG_1(Animation.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Animation Assign(Animation rhs)\r
-        {\r
-            Animation ret = new Animation(NDalicPINVOKE.Animation_Assign(swigCPtr, Animation.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetDuration(float seconds)\r
-        {\r
-            NDalicPINVOKE.Animation_SetDuration(swigCPtr, seconds);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetDuration()\r
-        {\r
-            float ret = NDalicPINVOKE.Animation_GetDuration(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetLooping(bool looping)\r
-        {\r
-            NDalicPINVOKE.Animation_SetLooping(swigCPtr, looping);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetLoopCount(int count)\r
-        {\r
-            NDalicPINVOKE.Animation_SetLoopCount(swigCPtr, count);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal int GetLoopCount()\r
-        {\r
-            int ret = NDalicPINVOKE.Animation_GetLoopCount(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal int GetCurrentLoop()\r
-        {\r
-            int ret = NDalicPINVOKE.Animation_GetCurrentLoop(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool IsLooping()\r
-        {\r
-            bool ret = NDalicPINVOKE.Animation_IsLooping(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetEndAction(Animation.EndActions action)\r
-        {\r
-            NDalicPINVOKE.Animation_SetEndAction(swigCPtr, (int)action);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Animation.EndActions GetEndAction()\r
-        {\r
-            Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetEndAction(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetDisconnectAction(Animation.EndActions disconnectAction)\r
-        {\r
-            NDalicPINVOKE.Animation_SetDisconnectAction(swigCPtr, (int)disconnectAction);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Animation.EndActions GetDisconnectAction()\r
-        {\r
-            Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetDisconnectAction(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetDefaultAlphaFunction(AlphaFunction alpha)\r
-        {\r
-            NDalicPINVOKE.Animation_SetDefaultAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal AlphaFunction GetDefaultAlphaFunction()\r
-        {\r
-            AlphaFunction ret = new AlphaFunction(NDalicPINVOKE.Animation_GetDefaultAlphaFunction(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetCurrentProgress(float progress)\r
-        {\r
-            NDalicPINVOKE.Animation_SetCurrentProgress(swigCPtr, progress);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetCurrentProgress()\r
-        {\r
-            float ret = NDalicPINVOKE.Animation_GetCurrentProgress(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetSpeedFactor(float factor)\r
-        {\r
-            NDalicPINVOKE.Animation_SetSpeedFactor(swigCPtr, factor);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetSpeedFactor()\r
-        {\r
-            float ret = NDalicPINVOKE.Animation_GetSpeedFactor(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetPlayRange(Vector2 range)\r
-        {\r
-            NDalicPINVOKE.Animation_SetPlayRange(swigCPtr, Vector2.getCPtr(range));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector2 GetPlayRange()\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Animation_GetPlayRange(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Play()\r
-        {\r
-            NDalicPINVOKE.Animation_Play(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void PlayFrom(float progress)\r
-        {\r
-            NDalicPINVOKE.Animation_PlayFrom(swigCPtr, progress);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Pause()\r
-        {\r
-            NDalicPINVOKE.Animation_Pause(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Animation.States GetState()\r
-        {\r
-            Animation.States ret = (Animation.States)NDalicPINVOKE.Animation_GetState(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Stop()\r
-        {\r
-            NDalicPINVOKE.Animation_Stop(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Clear()\r
-        {\r
-            NDalicPINVOKE.Animation_Clear(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal AnimationSignal FinishedSignal()\r
-        {\r
-            AnimationSignal ret = new AnimationSignal(NDalicPINVOKE.Animation_FinishedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void AnimateBy(Property target, PropertyValue relativeValue)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBy__SWIG_0(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBy(Property target, PropertyValue relativeValue, AlphaFunction alpha)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBy__SWIG_1(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBy(Property target, PropertyValue relativeValue, TimePeriod period)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBy__SWIG_2(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue), TimePeriod.getCPtr(period));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBy(Property target, PropertyValue relativeValue, AlphaFunction alpha, TimePeriod period)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBy__SWIG_3(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateTo(Property target, PropertyValue destinationValue)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateTo__SWIG_0(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateTo(Property target, PropertyValue destinationValue, AlphaFunction alpha)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateTo__SWIG_1(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateTo(Property target, PropertyValue destinationValue, TimePeriod period)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateTo__SWIG_2(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue), TimePeriod.getCPtr(period));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateTo(Property target, PropertyValue destinationValue, AlphaFunction alpha, TimePeriod period)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateTo__SWIG_3(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBetween(Property target, KeyFrames keyFrames)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBetween__SWIG_0(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBetween(Property target, KeyFrames keyFrames, Animation.Interpolation interpolation)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBetween__SWIG_1(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), (int)interpolation);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBetween__SWIG_2(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, Animation.Interpolation interpolation)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBetween__SWIG_3(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), (int)interpolation);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBetween__SWIG_4(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period, Animation.Interpolation interpolation)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBetween__SWIG_5(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period), (int)interpolation);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBetween__SWIG_6(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period, Animation.Interpolation interpolation)\r
-        {\r
-            NDalicPINVOKE.Animation_AnimateBetween__SWIG_7(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period), (int)interpolation);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void Animate(Actor actor, Path path, Vector3 forward)\r
-        {\r
-            NDalicPINVOKE.Animation_Animate__SWIG_0(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void Animate(Actor actor, Path path, Vector3 forward, AlphaFunction alpha)\r
-        {\r
-            NDalicPINVOKE.Animation_Animate__SWIG_1(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void Animate(Actor actor, Path path, Vector3 forward, TimePeriod period)\r
-        {\r
-            NDalicPINVOKE.Animation_Animate__SWIG_2(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), TimePeriod.getCPtr(period));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void Animate(Actor actor, Path path, Vector3 forward, AlphaFunction alpha, TimePeriod period)\r
-        {\r
-            NDalicPINVOKE.Animation_Animate__SWIG_3(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void Show(Actor actor, float delaySeconds)\r
-        {\r
-            NDalicPINVOKE.Animation_Show(swigCPtr, Actor.getCPtr(actor), delaySeconds);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void Hide(Actor actor, float delaySeconds)\r
-        {\r
-            NDalicPINVOKE.Animation_Hide(swigCPtr, Actor.getCPtr(actor), delaySeconds);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public enum EndActions\r
-        {\r
-            Cancel,\r
-            Discard,\r
-            StopFinal\r
-        }\r
-\r
-        public enum Interpolation\r
-        {\r
-            Linear,\r
-            Cubic\r
-        }\r
-\r
-        public enum States\r
-        {\r
-            Stopped,\r
-            Playing,\r
-            Paused\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+    public class Animation : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Animation(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Animation_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Animation obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Animation()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Animation(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+        /**
+        * @brief Create an initialized Animation.
+        *
+        * The animation will not loop.
+        * The default end action is "Bake".
+        * The default Alpha function is linear.
+        * @since 1.0.0
+        * @param [in] durationmSeconds The duration in milli seconds (int).
+        * @return A handle to a newly allocated Dali resource.
+        * @pre DurationmSeconds must be greater than zero.
+        */
+        public Animation(int durationMilliSeconds) : this(NDalicPINVOKE.Animation_New((float)durationMilliSeconds / 1000.0f), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        private AnimationFinishedEventCallbackType _animationFinishedEventCallback;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void AnimationFinishedEventCallbackType(IntPtr data);
+        private event EventHandler _animationFinishedEventHandler;
+        /**
+        * @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler
+        * Finished signal is emitted when an Animation's animations have finished.
+        */
+        public event EventHandler Finished
+        {
+            add
+            {
+                if (_animationFinishedEventHandler == null)
+                {
+                    _animationFinishedEventCallback = OnFinished;
+                    FinishedSignal().Connect(_animationFinishedEventCallback);
+                }
+
+                _animationFinishedEventHandler += value;
+            }
+            remove
+            {
+                _animationFinishedEventHandler -= value;
+
+                if (_animationFinishedEventHandler == null && _animationFinishedEventCallback != null)
+                {
+                    FinishedSignal().Disconnect(_animationFinishedEventCallback);
+                }
+            }
+        }
+        private void OnFinished(IntPtr data)
+        {
+            if (_animationFinishedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _animationFinishedEventHandler(this, null);
+            }
+        }
+
+
+        public static Animation GetAnimationFromPtr(global::System.IntPtr cPtr)
+        {
+            Animation ret = new Animation(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private float MilliSecondsToSeconds(int millisec)
+        {
+            return (float)millisec / 1000.0f;
+        }
+
+        private int SecondsToMilliSeconds(float sec)
+        {
+            return (int)(sec * 1000);
+        }
+
+        public int Duration
+        {
+            set
+            {
+                SetDuration(MilliSecondsToSeconds(value));
+            }
+            get
+            {
+                return SecondsToMilliSeconds(GetDuration());
+            }
+        }
+
+        public AlphaFunction DefaultAlphaFunction
+        {
+            set
+            {
+                SetDefaultAlphaFunction(value);
+            }
+            get
+            {
+                AlphaFunction ret = GetDefaultAlphaFunction();
+                return ret;
+            }
+        }
+
+        public States State
+        {
+            get
+            {
+                return GetState();
+            }
+        }
+
+        public int LoopCount
+        {
+            set
+            {
+                SetLoopCount(value);
+            }
+            get
+            {
+                int ret = GetLoopCount();
+                return ret;
+            }
+        }
+
+        public bool Looping
+        {
+            set
+            {
+                SetLooping(value);
+            }
+            get
+            {
+                bool ret = IsLooping();
+                return ret;
+            }
+        }
+
+        public EndActions EndAction
+        {
+            set
+            {
+                SetEndAction(value);
+            }
+            get
+            {
+                return GetEndAction();
+            }
+        }
+
+        public void Stop(EndActions action = EndActions.Cancel)
+        {
+            SetEndAction(action);
+            NDalicPINVOKE.Animation_Stop(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public int CurrentLoop
+        {
+            get
+            {
+                return GetCurrentLoop();
+            }
+        }
+
+        public EndActions DisconnectAction
+        {
+            set
+            {
+                NDalicPINVOKE.Animation_SetDisconnectAction(swigCPtr, (int)value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetDisconnectAction(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float CurrentProgress
+        {
+            set
+            {
+                NDalicPINVOKE.Animation_SetCurrentProgress(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Animation_GetCurrentProgress(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float SpeedFactor
+        {
+            set
+            {
+                NDalicPINVOKE.Animation_SetSpeedFactor(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Animation_GetSpeedFactor(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public Vector2 PlayRange
+        {
+            set
+            {
+                NDalicPINVOKE.Animation_SetPlayRange(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                Vector2 ret = new Vector2(NDalicPINVOKE.Animation_GetPlayRange(swigCPtr), true);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+
+        public void AnimateBy(Actor target, string property, object relativeValue, AlphaFunction alphaFunction = null)
+        {
+            string _str1 = property.Substring(0, 1);
+            string _str2 = property.Substring(1);
+            string _str = _str1.ToLower() + _str2;
+
+            Property _prop = new Property(target, _str);
+            if (_prop.propertyIndex == Property.INVALID_INDEX)
+            {
+                throw new System.Exception("second argument string property is invalid parameter!");
+            }
+
+            dynamic obj = (object)relativeValue;
+
+            if (alphaFunction != null)
+            {
+                AnimateBy(_prop, new PropertyValue(obj), alphaFunction);
+            }
+            else
+            {
+                AnimateBy(_prop, new PropertyValue(obj));
+            }
+        }
+
+        public void AnimateBy(Actor target, string property, object relativeValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
+        {
+            string _str1 = property.Substring(0, 1);
+            string _str2 = property.Substring(1);
+            string _str = _str1.ToLower() + _str2;
+
+            Property _prop = new Property(target, _str);
+            if (_prop.propertyIndex == Property.INVALID_INDEX)
+            {
+                throw new System.Exception("second argument string property is invalid parameter!");
+            }
+
+            dynamic obj = (object)relativeValue;
+
+            if (alphaFunction != null)
+            {
+                Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
+                AnimateBy(_prop, new PropertyValue(obj), alphaFunction, time);
+            }
+            else
+            {
+                Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
+                AnimateBy(_prop, new PropertyValue(obj), time);
+            }
+        }
+
+        public void AnimateTo(Actor target, string property, object destinationValue, AlphaFunction alphaFunction = null)
+        {
+            string _str1 = property.Substring(0, 1);
+            string _str2 = property.Substring(1);
+            string _str = _str1.ToLower() + _str2;
+
+            Property _prop = new Property(target, _str);
+            if (_prop.propertyIndex == Property.INVALID_INDEX)
+            {
+                throw new System.Exception("second argument string property is invalid parameter!");
+            }
+
+            dynamic obj = (object)destinationValue;
+
+            if (alphaFunction != null)
+            {
+                AnimateTo(_prop, new PropertyValue(obj), alphaFunction);
+            }
+            else
+            {
+                AnimateTo(_prop, new PropertyValue(obj));
+            }
+        }
+
+        public void AnimateTo(Actor target, string property, object destinationValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
+        {
+            string _str1 = property.Substring(0, 1);
+            string _str2 = property.Substring(1);
+            string _str = _str1.ToLower() + _str2;
+
+            Property _prop = new Property(target, _str);
+            if (_prop.propertyIndex == Property.INVALID_INDEX)
+            {
+                throw new System.Exception("second argument string property is invalid parameter!");
+            }
+
+            dynamic obj = (object)destinationValue;
+
+            if (alphaFunction != null)
+            {
+                Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
+                AnimateTo(_prop, new PropertyValue(obj), alphaFunction, time);
+            }
+            else
+            {
+                Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
+                AnimateTo(_prop, new PropertyValue(obj), time);
+            }
+        }
+
+        public void AnimateBetween(Actor target, string property, KeyFrames keyFrames, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
+        {
+            string _str1 = property.Substring(0, 1);
+            string _str2 = property.Substring(1);
+            string _str = _str1.ToLower() + _str2;
+
+            Property _prop = new Property(target, _str);
+            if (_prop.propertyIndex == Property.INVALID_INDEX)
+            {
+                throw new System.Exception("second argument string property is invalid parameter!");
+            }
+
+            if (alphaFunction != null)
+            {
+                AnimateBetween(_prop, keyFrames, alphaFunction, interpolation);
+            }
+            else
+            {
+                AnimateBetween(_prop, keyFrames, interpolation);
+            }
+        }
+
+        public void AnimateBetween(Actor target, string property, KeyFrames keyFrames, int startTime, int endTime, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
+        {
+            string _str1 = property.Substring(0, 1);
+            string _str2 = property.Substring(1);
+            string _str = _str1.ToLower() + _str2;
+
+            Property _prop = new Property(target, _str);
+            if (_prop.propertyIndex == Property.INVALID_INDEX)
+            {
+                throw new System.Exception("second argument string property is invalid parameter!");
+            }
+
+            Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
+            if (alphaFunction != null)
+            {
+                AnimateBetween(_prop, keyFrames, alphaFunction, time, interpolation);
+            }
+            else
+            {
+                AnimateBetween(_prop, keyFrames, time, interpolation);
+            }
+        }
+
+        public void AnimatePath(Actor actor, Path path, Vector3 forward, AlphaFunction alphaFunction = null)
+        {
+            if (alphaFunction == null)
+            {
+                Animate(actor, path, forward);
+            }
+            else
+            {
+                Animate(actor, path, forward, alphaFunction);
+            }
+        }
+
+        public void AnimatePath(Actor actor, Path path, Vector3 forward, int startTime, int endTime, AlphaFunction alphaFunction = null)
+        {
+            TimePeriod time = new TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
+            if (alphaFunction == null)
+            {
+                Animate(actor, path, forward, time);
+            }
+            else
+            {
+                Animate(actor, path, forward, alphaFunction, time);
+            }
+        }
+
+
+        public Animation() : this(NDalicPINVOKE.Animation_New(0.0f), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Animation(float durationSeconds) : this(NDalicPINVOKE.Animation_New(durationSeconds), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public static Animation DownCast(BaseHandle handle)
+        {
+            Animation ret = new Animation(NDalicPINVOKE.Animation_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Animation(Animation handle) : this(NDalicPINVOKE.new_Animation__SWIG_1(Animation.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Animation Assign(Animation rhs)
+        {
+            Animation ret = new Animation(NDalicPINVOKE.Animation_Assign(swigCPtr, Animation.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetDuration(float seconds)
+        {
+            NDalicPINVOKE.Animation_SetDuration(swigCPtr, seconds);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetDuration()
+        {
+            float ret = NDalicPINVOKE.Animation_GetDuration(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetLooping(bool looping)
+        {
+            NDalicPINVOKE.Animation_SetLooping(swigCPtr, looping);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetLoopCount(int count)
+        {
+            NDalicPINVOKE.Animation_SetLoopCount(swigCPtr, count);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal int GetLoopCount()
+        {
+            int ret = NDalicPINVOKE.Animation_GetLoopCount(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal int GetCurrentLoop()
+        {
+            int ret = NDalicPINVOKE.Animation_GetCurrentLoop(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool IsLooping()
+        {
+            bool ret = NDalicPINVOKE.Animation_IsLooping(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetEndAction(Animation.EndActions action)
+        {
+            NDalicPINVOKE.Animation_SetEndAction(swigCPtr, (int)action);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Animation.EndActions GetEndAction()
+        {
+            Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetEndAction(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetDisconnectAction(Animation.EndActions disconnectAction)
+        {
+            NDalicPINVOKE.Animation_SetDisconnectAction(swigCPtr, (int)disconnectAction);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Animation.EndActions GetDisconnectAction()
+        {
+            Animation.EndActions ret = (Animation.EndActions)NDalicPINVOKE.Animation_GetDisconnectAction(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetDefaultAlphaFunction(AlphaFunction alpha)
+        {
+            NDalicPINVOKE.Animation_SetDefaultAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alpha));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal AlphaFunction GetDefaultAlphaFunction()
+        {
+            AlphaFunction ret = new AlphaFunction(NDalicPINVOKE.Animation_GetDefaultAlphaFunction(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetCurrentProgress(float progress)
+        {
+            NDalicPINVOKE.Animation_SetCurrentProgress(swigCPtr, progress);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetCurrentProgress()
+        {
+            float ret = NDalicPINVOKE.Animation_GetCurrentProgress(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetSpeedFactor(float factor)
+        {
+            NDalicPINVOKE.Animation_SetSpeedFactor(swigCPtr, factor);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetSpeedFactor()
+        {
+            float ret = NDalicPINVOKE.Animation_GetSpeedFactor(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetPlayRange(Vector2 range)
+        {
+            NDalicPINVOKE.Animation_SetPlayRange(swigCPtr, Vector2.getCPtr(range));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector2 GetPlayRange()
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Animation_GetPlayRange(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Play()
+        {
+            NDalicPINVOKE.Animation_Play(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void PlayFrom(float progress)
+        {
+            NDalicPINVOKE.Animation_PlayFrom(swigCPtr, progress);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Pause()
+        {
+            NDalicPINVOKE.Animation_Pause(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Animation.States GetState()
+        {
+            Animation.States ret = (Animation.States)NDalicPINVOKE.Animation_GetState(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Stop()
+        {
+            NDalicPINVOKE.Animation_Stop(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Clear()
+        {
+            NDalicPINVOKE.Animation_Clear(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal AnimationSignal FinishedSignal()
+        {
+            AnimationSignal ret = new AnimationSignal(NDalicPINVOKE.Animation_FinishedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void AnimateBy(Property target, PropertyValue relativeValue)
+        {
+            NDalicPINVOKE.Animation_AnimateBy__SWIG_0(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBy(Property target, PropertyValue relativeValue, AlphaFunction alpha)
+        {
+            NDalicPINVOKE.Animation_AnimateBy__SWIG_1(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBy(Property target, PropertyValue relativeValue, TimePeriod period)
+        {
+            NDalicPINVOKE.Animation_AnimateBy__SWIG_2(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue), TimePeriod.getCPtr(period));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBy(Property target, PropertyValue relativeValue, AlphaFunction alpha, TimePeriod period)
+        {
+            NDalicPINVOKE.Animation_AnimateBy__SWIG_3(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(relativeValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateTo(Property target, PropertyValue destinationValue)
+        {
+            NDalicPINVOKE.Animation_AnimateTo__SWIG_0(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateTo(Property target, PropertyValue destinationValue, AlphaFunction alpha)
+        {
+            NDalicPINVOKE.Animation_AnimateTo__SWIG_1(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateTo(Property target, PropertyValue destinationValue, TimePeriod period)
+        {
+            NDalicPINVOKE.Animation_AnimateTo__SWIG_2(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue), TimePeriod.getCPtr(period));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateTo(Property target, PropertyValue destinationValue, AlphaFunction alpha, TimePeriod period)
+        {
+            NDalicPINVOKE.Animation_AnimateTo__SWIG_3(swigCPtr, Property.getCPtr(target), PropertyValue.getCPtr(destinationValue), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBetween(Property target, KeyFrames keyFrames)
+        {
+            NDalicPINVOKE.Animation_AnimateBetween__SWIG_0(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBetween(Property target, KeyFrames keyFrames, Animation.Interpolation interpolation)
+        {
+            NDalicPINVOKE.Animation_AnimateBetween__SWIG_1(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), (int)interpolation);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha)
+        {
+            NDalicPINVOKE.Animation_AnimateBetween__SWIG_2(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, Animation.Interpolation interpolation)
+        {
+            NDalicPINVOKE.Animation_AnimateBetween__SWIG_3(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), (int)interpolation);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period)
+        {
+            NDalicPINVOKE.Animation_AnimateBetween__SWIG_4(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period, Animation.Interpolation interpolation)
+        {
+            NDalicPINVOKE.Animation_AnimateBetween__SWIG_5(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), TimePeriod.getCPtr(period), (int)interpolation);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period)
+        {
+            NDalicPINVOKE.Animation_AnimateBetween__SWIG_6(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period, Animation.Interpolation interpolation)
+        {
+            NDalicPINVOKE.Animation_AnimateBetween__SWIG_7(swigCPtr, Property.getCPtr(target), KeyFrames.getCPtr(keyFrames), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period), (int)interpolation);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Animate(Actor actor, Path path, Vector3 forward)
+        {
+            NDalicPINVOKE.Animation_Animate__SWIG_0(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Animate(Actor actor, Path path, Vector3 forward, AlphaFunction alpha)
+        {
+            NDalicPINVOKE.Animation_Animate__SWIG_1(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Animate(Actor actor, Path path, Vector3 forward, TimePeriod period)
+        {
+            NDalicPINVOKE.Animation_Animate__SWIG_2(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), TimePeriod.getCPtr(period));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Animate(Actor actor, Path path, Vector3 forward, AlphaFunction alpha, TimePeriod period)
+        {
+            NDalicPINVOKE.Animation_Animate__SWIG_3(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha), TimePeriod.getCPtr(period));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Show(Actor actor, float delaySeconds)
+        {
+            NDalicPINVOKE.Animation_Show(swigCPtr, Actor.getCPtr(actor), delaySeconds);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Hide(Actor actor, float delaySeconds)
+        {
+            NDalicPINVOKE.Animation_Hide(swigCPtr, Actor.getCPtr(actor), delaySeconds);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public enum EndActions
+        {
+            Cancel,
+            Discard,
+            StopFinal
+        }
+
+        public enum Interpolation
+        {
+            Linear,
+            Cubic
+        }
+
+        public enum States
+        {
+            Stopped,
+            Playing,
+            Paused
+        }
+
+    }
+
+}
index 07da1eb7820359997c95011d9d670b5b0e0bfde5..19061d36bff636f34920e0320efcd2bf732c1f81 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class Button : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Button(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Button_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Button obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Button()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Button(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        private EventHandlerWithReturnType<object, EventArgs, bool> _clickedEventHandler;\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool ClickedCallbackType(global::System.IntPtr data);\r
-        private ClickedCallbackType _clickedCallback;\r
-\r
-        public event EventHandlerWithReturnType<object, EventArgs, bool> Clicked\r
-        {\r
-            add\r
-            {\r
-                if (_clickedEventHandler == null)\r
-                {\r
-                    _clickedCallback = OnClicked;\r
-                    ClickedSignal().Connect(_clickedCallback);\r
-                }\r
-\r
-                _clickedEventHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _clickedEventHandler -= value;\r
-\r
-                if (_clickedEventHandler == null && _clickedCallback != null)\r
-                {\r
-                    ClickedSignal().Disconnect(_clickedCallback);\r
-                }\r
-            }\r
-        }\r
-\r
-\r
-        private bool OnClicked(IntPtr data)\r
-        {\r
-            if (_clickedEventHandler != null)\r
-            {\r
-                return _clickedEventHandler(this, null);\r
-            }\r
-            return false;\r
-        }\r
-\r
-\r
-\r
-        private EventHandlerWithReturnType<object, EventArgs, bool> _pressedEventHandler;\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool PressedCallbackType(global::System.IntPtr data);\r
-        private PressedCallbackType _pressedCallback;\r
-\r
-        public event EventHandlerWithReturnType<object, EventArgs, bool> Pressed\r
-        {\r
-            add\r
-            {\r
-                if (_pressedEventHandler == null)\r
-                {\r
-                    _pressedCallback = OnPressed;\r
-                    PressedSignal().Connect(_pressedCallback);\r
-                }\r
-\r
-                _pressedEventHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _pressedEventHandler -= value;\r
-\r
-                if (_pressedEventHandler == null && _pressedCallback != null)\r
-                {\r
-                    this.PressedSignal().Disconnect(_pressedCallback);\r
-                }\r
-            }\r
-        }\r
-\r
-        private bool OnPressed(IntPtr data)\r
-        {\r
-            if (_pressedEventHandler != null)\r
-            {\r
-                return _pressedEventHandler(this, null);\r
-            }\r
-            return false;\r
-        }\r
-\r
-\r
-\r
-        private EventHandlerWithReturnType<object, EventArgs, bool> _releasedEventHandler;\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool ReleasedCallbackType(global::System.IntPtr data);\r
-        private ReleasedCallbackType _releasedCallback;\r
-\r
-        public event EventHandlerWithReturnType<object, EventArgs, bool> Released\r
-        {\r
-            add\r
-            {\r
-                if (_releasedEventHandler == null)\r
-                {\r
-                    _releasedCallback = OnReleased;\r
-                    ReleasedSignal().Connect(_releasedCallback);\r
-                }\r
-                _releasedEventHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _releasedEventHandler -= value;\r
-\r
-                if (_releasedEventHandler == null && _releasedCallback != null)\r
-                {\r
-                    ReleasedSignal().Disconnect(_releasedCallback);\r
-                }\r
-\r
-            }\r
-        }\r
-\r
-        private bool OnReleased(IntPtr data)\r
-        {\r
-            if (_releasedEventHandler != null)\r
-            {\r
-                return _releasedEventHandler(this, null);\r
-            }\r
-            return false;\r
-        }\r
-\r
-\r
-        private EventHandlerWithReturnType<object, EventArgs, bool> _stateChangedEventHandler;\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool StateChangedCallback(global::System.IntPtr data);\r
-        private StateChangedCallback _stateChangedCallback;\r
-\r
-        public event EventHandlerWithReturnType<object, EventArgs, bool> StateChanged\r
-        {\r
-            add\r
-            {\r
-                if (_stateChangedEventHandler == null)\r
-                {\r
-                    _stateChangedCallback = OnStateChanged;\r
-                    StateChangedSignal().Connect(_stateChangedCallback);\r
-                }\r
-\r
-                _stateChangedEventHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _stateChangedEventHandler -= value;\r
-\r
-                if (_stateChangedEventHandler == null && _stateChangedCallback != null)\r
-                {\r
-                    StateChangedSignal().Disconnect(_stateChangedCallback);\r
-                }\r
-            }\r
-        }\r
-\r
-        private bool OnStateChanged(IntPtr data)\r
-        {\r
-            if (_stateChangedEventHandler != null)\r
-            {\r
-                return _stateChangedEventHandler(this, null);\r
-            }\r
-            return false;\r
-        }\r
-\r
-\r
-\r
-        public static Button GetButtonFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Button ret = new Button(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Tizen.NUI.PropertyMap UnselectedVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.UNSELECTED_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.UNSELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Tizen.NUI.PropertyMap SelectedVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.SELECTED_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.SELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Tizen.NUI.PropertyMap DisabledSelectedVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.DISABLED_SELECTED_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.DISABLED_SELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Tizen.NUI.PropertyMap DisabledUnselectedVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.DISABLED_UNSELECTED_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.DISABLED_UNSELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Tizen.NUI.PropertyMap UnselectedBackgroundVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.UNSELECTED_BACKGROUND_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.UNSELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Tizen.NUI.PropertyMap SelectedBackgroundVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.SELECTED_BACKGROUND_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.SELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Tizen.NUI.PropertyMap DisabledUnselectedBackgroundVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Tizen.NUI.PropertyMap DisabledSelectedBackgroundVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public string LabelRelativeAlignment\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Vector4 LabelPadding\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(Button.Property.LABEL_PADDING).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.LABEL_PADDING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Vector4 VisualPadding\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(Button.Property.VISUAL_PADDING).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.VISUAL_PADDING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_Button_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal static readonly int UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_VISUAL_get();\r
-            internal static readonly int SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_VISUAL_get();\r
-            internal static readonly int DISABLED_SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_VISUAL_get();\r
-            internal static readonly int DISABLED_UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_VISUAL_get();\r
-            internal static readonly int UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_BACKGROUND_VISUAL_get();\r
-            internal static readonly int SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_BACKGROUND_VISUAL_get();\r
-            internal static readonly int DISABLED_UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get();\r
-            internal static readonly int DISABLED_SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get();\r
-            internal static readonly int LABEL_RELATIVE_ALIGNMENT = NDalicManualPINVOKE.Button_Property_LABEL_RELATIVE_ALIGNMENT_get();\r
-            internal static readonly int LABEL_PADDING = NDalicManualPINVOKE.Button_Property_LABEL_PADDING_get();\r
-            internal static readonly int VISUAL_PADDING = NDalicManualPINVOKE.Button_Property_VISUAL_PADDING_get();\r
-            //changed\r
-            internal Property() : this(NDalicPINVOKE.new_Button_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int DISABLED = NDalicPINVOKE.Button_Property_DISABLED_get();\r
-            internal static readonly int AUTO_REPEATING = NDalicPINVOKE.Button_Property_AUTO_REPEATING_get();\r
-            internal static readonly int INITIAL_AUTO_REPEATING_DELAY = NDalicPINVOKE.Button_Property_INITIAL_AUTO_REPEATING_DELAY_get();\r
-            internal static readonly int NEXT_AUTO_REPEATING_DELAY = NDalicPINVOKE.Button_Property_NEXT_AUTO_REPEATING_DELAY_get();\r
-            internal static readonly int TOGGLABLE = NDalicPINVOKE.Button_Property_TOGGLABLE_get();\r
-            internal static readonly int SELECTED = NDalicPINVOKE.Button_Property_SELECTED_get();\r
-            internal static readonly int UNSELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_UNSELECTED_STATE_IMAGE_get();\r
-            internal static readonly int SELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_SELECTED_STATE_IMAGE_get();\r
-            internal static readonly int DISABLED_STATE_IMAGE = NDalicPINVOKE.Button_Property_DISABLED_STATE_IMAGE_get();\r
-            internal static readonly int UNSELECTED_COLOR = NDalicPINVOKE.Button_Property_UNSELECTED_COLOR_get();\r
-            internal static readonly int SELECTED_COLOR = NDalicPINVOKE.Button_Property_SELECTED_COLOR_get();\r
-            internal static readonly int LABEL = NDalicPINVOKE.Button_Property_LABEL_get();\r
-            internal static readonly int LABEL_TEXT = NDalicPINVOKE.Button_Property_LABEL_TEXT_get();\r
-\r
-        }\r
-\r
-        public Button() : this(NDalicPINVOKE.new_Button__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Button(Button button) : this(NDalicPINVOKE.new_Button__SWIG_1(Button.getCPtr(button)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Button Assign(Button button)\r
-        {\r
-            Button ret = new Button(NDalicPINVOKE.Button_Assign(swigCPtr, Button.getCPtr(button)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static Button DownCast(BaseHandle handle)\r
-        {\r
-            Button ret = new Button(NDalicPINVOKE.Button_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool IsDisabled()\r
-        {\r
-            bool ret = NDalicPINVOKE.Button_IsDisabled(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool IsAutoRepeating()\r
-        {\r
-            bool ret = NDalicPINVOKE.Button_IsAutoRepeating(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal float GetInitialAutoRepeatingDelay()\r
-        {\r
-            float ret = NDalicPINVOKE.Button_GetInitialAutoRepeatingDelay(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal float GetNextAutoRepeatingDelay()\r
-        {\r
-            float ret = NDalicPINVOKE.Button_GetNextAutoRepeatingDelay(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool IsTogglableButton()\r
-        {\r
-            bool ret = NDalicPINVOKE.Button_IsTogglableButton(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool IsSelected()\r
-        {\r
-            bool ret = NDalicPINVOKE.Button_IsSelected(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float GetAnimationTime()\r
-        {\r
-            float ret = NDalicPINVOKE.Button_GetAnimationTime(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal string GetLabelText()\r
-        {\r
-            string ret = NDalicPINVOKE.Button_GetLabelText(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetLabel(Actor label)\r
-        {\r
-            NDalicPINVOKE.Button_SetLabel(swigCPtr, Actor.getCPtr(label));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetButtonImage(Image image)\r
-        {\r
-            NDalicPINVOKE.Button_SetButtonImage(swigCPtr, Image.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetSelectedImage(Image image)\r
-        {\r
-            NDalicPINVOKE.Button_SetSelectedImage(swigCPtr, Image.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Actor GetButtonImage()\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Button_GetButtonImage(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Actor GetSelectedImage()\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Button_GetSelectedImage(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ButtonSignal PressedSignal()\r
-        {\r
-            ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_PressedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ButtonSignal ReleasedSignal()\r
-        {\r
-            ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_ReleasedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ButtonSignal ClickedSignal()\r
-        {\r
-            ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_ClickedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ButtonSignal StateChangedSignal()\r
-        {\r
-            ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_StateChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000\r
-        }\r
-\r
-        public bool Disabled\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Button.Property.DISABLED).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.DISABLED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool AutoRepeating\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Button.Property.AUTO_REPEATING).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.AUTO_REPEATING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float InitialAutoRepeatingDelay\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Button.Property.INITIAL_AUTO_REPEATING_DELAY).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.INITIAL_AUTO_REPEATING_DELAY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float NextAutoRepeatingDelay\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Button.Property.NEXT_AUTO_REPEATING_DELAY).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.NEXT_AUTO_REPEATING_DELAY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool Togglable\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Button.Property.TOGGLABLE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.TOGGLABLE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool Selected\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Button.Property.SELECTED).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.SELECTED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyMap UnselectedStateImage\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.UNSELECTED_STATE_IMAGE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.UNSELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyMap SelectedStateImage\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.SELECTED_STATE_IMAGE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.SELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyMap DisabledStateImage\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.DISABLED_STATE_IMAGE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.DISABLED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Color UnselectedColor\r
-        {\r
-            get\r
-            {\r
-                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(Button.Property.UNSELECTED_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.UNSELECTED_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Color SelectedColor\r
-        {\r
-            get\r
-            {\r
-                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(Button.Property.SELECTED_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.SELECTED_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyMap Label\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(Button.Property.LABEL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.LABEL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string LabelText\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Button.Property.LABEL_TEXT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Button.Property.LABEL_TEXT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class Button : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Button(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Button_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Button obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Button()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Button(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        private EventHandlerWithReturnType<object, EventArgs, bool> _clickedEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool ClickedCallbackType(global::System.IntPtr data);
+        private ClickedCallbackType _clickedCallback;
+
+        public event EventHandlerWithReturnType<object, EventArgs, bool> Clicked
+        {
+            add
+            {
+                if (_clickedEventHandler == null)
+                {
+                    _clickedCallback = OnClicked;
+                    ClickedSignal().Connect(_clickedCallback);
+                }
+
+                _clickedEventHandler += value;
+            }
+
+            remove
+            {
+                _clickedEventHandler -= value;
+
+                if (_clickedEventHandler == null && _clickedCallback != null)
+                {
+                    ClickedSignal().Disconnect(_clickedCallback);
+                }
+            }
+        }
+
+
+        private bool OnClicked(IntPtr data)
+        {
+            if (_clickedEventHandler != null)
+            {
+                return _clickedEventHandler(this, null);
+            }
+            return false;
+        }
+
+
+
+        private EventHandlerWithReturnType<object, EventArgs, bool> _pressedEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool PressedCallbackType(global::System.IntPtr data);
+        private PressedCallbackType _pressedCallback;
+
+        public event EventHandlerWithReturnType<object, EventArgs, bool> Pressed
+        {
+            add
+            {
+                if (_pressedEventHandler == null)
+                {
+                    _pressedCallback = OnPressed;
+                    PressedSignal().Connect(_pressedCallback);
+                }
+
+                _pressedEventHandler += value;
+            }
+
+            remove
+            {
+                _pressedEventHandler -= value;
+
+                if (_pressedEventHandler == null && _pressedCallback != null)
+                {
+                    this.PressedSignal().Disconnect(_pressedCallback);
+                }
+            }
+        }
+
+        private bool OnPressed(IntPtr data)
+        {
+            if (_pressedEventHandler != null)
+            {
+                return _pressedEventHandler(this, null);
+            }
+            return false;
+        }
+
+
+
+        private EventHandlerWithReturnType<object, EventArgs, bool> _releasedEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool ReleasedCallbackType(global::System.IntPtr data);
+        private ReleasedCallbackType _releasedCallback;
+
+        public event EventHandlerWithReturnType<object, EventArgs, bool> Released
+        {
+            add
+            {
+                if (_releasedEventHandler == null)
+                {
+                    _releasedCallback = OnReleased;
+                    ReleasedSignal().Connect(_releasedCallback);
+                }
+                _releasedEventHandler += value;
+            }
+
+            remove
+            {
+                _releasedEventHandler -= value;
+
+                if (_releasedEventHandler == null && _releasedCallback != null)
+                {
+                    ReleasedSignal().Disconnect(_releasedCallback);
+                }
+
+            }
+        }
+
+        private bool OnReleased(IntPtr data)
+        {
+            if (_releasedEventHandler != null)
+            {
+                return _releasedEventHandler(this, null);
+            }
+            return false;
+        }
+
+
+        private EventHandlerWithReturnType<object, EventArgs, bool> _stateChangedEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool StateChangedCallback(global::System.IntPtr data);
+        private StateChangedCallback _stateChangedCallback;
+
+        public event EventHandlerWithReturnType<object, EventArgs, bool> StateChanged
+        {
+            add
+            {
+                if (_stateChangedEventHandler == null)
+                {
+                    _stateChangedCallback = OnStateChanged;
+                    StateChangedSignal().Connect(_stateChangedCallback);
+                }
+
+                _stateChangedEventHandler += value;
+            }
+
+            remove
+            {
+                _stateChangedEventHandler -= value;
+
+                if (_stateChangedEventHandler == null && _stateChangedCallback != null)
+                {
+                    StateChangedSignal().Disconnect(_stateChangedCallback);
+                }
+            }
+        }
+
+        private bool OnStateChanged(IntPtr data)
+        {
+            if (_stateChangedEventHandler != null)
+            {
+                return _stateChangedEventHandler(this, null);
+            }
+            return false;
+        }
+
+
+
+        public static Button GetButtonFromPtr(global::System.IntPtr cPtr)
+        {
+            Button ret = new Button(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Tizen.NUI.PropertyMap UnselectedVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.UNSELECTED_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.UNSELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Tizen.NUI.PropertyMap SelectedVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.SELECTED_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.SELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Tizen.NUI.PropertyMap DisabledSelectedVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.DISABLED_SELECTED_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.DISABLED_SELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Tizen.NUI.PropertyMap DisabledUnselectedVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.DISABLED_UNSELECTED_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.DISABLED_UNSELECTED_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Tizen.NUI.PropertyMap UnselectedBackgroundVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.UNSELECTED_BACKGROUND_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.UNSELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Tizen.NUI.PropertyMap SelectedBackgroundVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.SELECTED_BACKGROUND_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.SELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Tizen.NUI.PropertyMap DisabledUnselectedBackgroundVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Tizen.NUI.PropertyMap DisabledSelectedBackgroundVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public string LabelRelativeAlignment
+        {
+            get
+            {
+                string temp;
+                GetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Vector4 LabelPadding
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(Button.Property.LABEL_PADDING).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.LABEL_PADDING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Vector4 VisualPadding
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(Button.Property.VISUAL_PADDING).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.VISUAL_PADDING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_Button_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal static readonly int UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_VISUAL_get();
+            internal static readonly int SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_VISUAL_get();
+            internal static readonly int DISABLED_SELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_VISUAL_get();
+            internal static readonly int DISABLED_UNSELECTED_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_VISUAL_get();
+            internal static readonly int UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_UNSELECTED_BACKGROUND_VISUAL_get();
+            internal static readonly int SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_SELECTED_BACKGROUND_VISUAL_get();
+            internal static readonly int DISABLED_UNSELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get();
+            internal static readonly int DISABLED_SELECTED_BACKGROUND_VISUAL = NDalicManualPINVOKE.Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get();
+            internal static readonly int LABEL_RELATIVE_ALIGNMENT = NDalicManualPINVOKE.Button_Property_LABEL_RELATIVE_ALIGNMENT_get();
+            internal static readonly int LABEL_PADDING = NDalicManualPINVOKE.Button_Property_LABEL_PADDING_get();
+            internal static readonly int VISUAL_PADDING = NDalicManualPINVOKE.Button_Property_VISUAL_PADDING_get();
+            //changed
+            internal Property() : this(NDalicPINVOKE.new_Button_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int DISABLED = NDalicPINVOKE.Button_Property_DISABLED_get();
+            internal static readonly int AUTO_REPEATING = NDalicPINVOKE.Button_Property_AUTO_REPEATING_get();
+            internal static readonly int INITIAL_AUTO_REPEATING_DELAY = NDalicPINVOKE.Button_Property_INITIAL_AUTO_REPEATING_DELAY_get();
+            internal static readonly int NEXT_AUTO_REPEATING_DELAY = NDalicPINVOKE.Button_Property_NEXT_AUTO_REPEATING_DELAY_get();
+            internal static readonly int TOGGLABLE = NDalicPINVOKE.Button_Property_TOGGLABLE_get();
+            internal static readonly int SELECTED = NDalicPINVOKE.Button_Property_SELECTED_get();
+            internal static readonly int UNSELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_UNSELECTED_STATE_IMAGE_get();
+            internal static readonly int SELECTED_STATE_IMAGE = NDalicPINVOKE.Button_Property_SELECTED_STATE_IMAGE_get();
+            internal static readonly int DISABLED_STATE_IMAGE = NDalicPINVOKE.Button_Property_DISABLED_STATE_IMAGE_get();
+            internal static readonly int UNSELECTED_COLOR = NDalicPINVOKE.Button_Property_UNSELECTED_COLOR_get();
+            internal static readonly int SELECTED_COLOR = NDalicPINVOKE.Button_Property_SELECTED_COLOR_get();
+            internal static readonly int LABEL = NDalicPINVOKE.Button_Property_LABEL_get();
+            internal static readonly int LABEL_TEXT = NDalicPINVOKE.Button_Property_LABEL_TEXT_get();
+
+        }
+
+        public Button() : this(NDalicPINVOKE.new_Button__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Button(Button button) : this(NDalicPINVOKE.new_Button__SWIG_1(Button.getCPtr(button)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Button Assign(Button button)
+        {
+            Button ret = new Button(NDalicPINVOKE.Button_Assign(swigCPtr, Button.getCPtr(button)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static Button DownCast(BaseHandle handle)
+        {
+            Button ret = new Button(NDalicPINVOKE.Button_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool IsDisabled()
+        {
+            bool ret = NDalicPINVOKE.Button_IsDisabled(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool IsAutoRepeating()
+        {
+            bool ret = NDalicPINVOKE.Button_IsAutoRepeating(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal float GetInitialAutoRepeatingDelay()
+        {
+            float ret = NDalicPINVOKE.Button_GetInitialAutoRepeatingDelay(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal float GetNextAutoRepeatingDelay()
+        {
+            float ret = NDalicPINVOKE.Button_GetNextAutoRepeatingDelay(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool IsTogglableButton()
+        {
+            bool ret = NDalicPINVOKE.Button_IsTogglableButton(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool IsSelected()
+        {
+            bool ret = NDalicPINVOKE.Button_IsSelected(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float GetAnimationTime()
+        {
+            float ret = NDalicPINVOKE.Button_GetAnimationTime(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal string GetLabelText()
+        {
+            string ret = NDalicPINVOKE.Button_GetLabelText(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetLabel(Actor label)
+        {
+            NDalicPINVOKE.Button_SetLabel(swigCPtr, Actor.getCPtr(label));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetButtonImage(Image image)
+        {
+            NDalicPINVOKE.Button_SetButtonImage(swigCPtr, Image.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetSelectedImage(Image image)
+        {
+            NDalicPINVOKE.Button_SetSelectedImage(swigCPtr, Image.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Actor GetButtonImage()
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Button_GetButtonImage(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Actor GetSelectedImage()
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Button_GetSelectedImage(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ButtonSignal PressedSignal()
+        {
+            ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_PressedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ButtonSignal ReleasedSignal()
+        {
+            ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_ReleasedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ButtonSignal ClickedSignal()
+        {
+            ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_ClickedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ButtonSignal StateChangedSignal()
+        {
+            ButtonSignal ret = new ButtonSignal(NDalicPINVOKE.Button_StateChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
+        }
+
+        public bool Disabled
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Button.Property.DISABLED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.DISABLED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool AutoRepeating
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Button.Property.AUTO_REPEATING).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.AUTO_REPEATING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float InitialAutoRepeatingDelay
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Button.Property.INITIAL_AUTO_REPEATING_DELAY).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.INITIAL_AUTO_REPEATING_DELAY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float NextAutoRepeatingDelay
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Button.Property.NEXT_AUTO_REPEATING_DELAY).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.NEXT_AUTO_REPEATING_DELAY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool Togglable
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Button.Property.TOGGLABLE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.TOGGLABLE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool Selected
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Button.Property.SELECTED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.SELECTED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyMap UnselectedStateImage
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.UNSELECTED_STATE_IMAGE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.UNSELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyMap SelectedStateImage
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.SELECTED_STATE_IMAGE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.SELECTED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyMap DisabledStateImage
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.DISABLED_STATE_IMAGE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.DISABLED_STATE_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Color UnselectedColor
+        {
+            get
+            {
+                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(Button.Property.UNSELECTED_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.UNSELECTED_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Color SelectedColor
+        {
+            get
+            {
+                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(Button.Property.SELECTED_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.SELECTED_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyMap Label
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(Button.Property.LABEL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.LABEL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string LabelText
+        {
+            get
+            {
+                string temp;
+                GetProperty(Button.Property.LABEL_TEXT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Button.Property.LABEL_TEXT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
 }
\ No newline at end of file
index 50deb037cab93b543e1e612d1468330b120351eb..b48833515bd3413082c471ec1a57b0a1c1ca665c 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class CameraActor : Actor\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal CameraActor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CameraActor_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CameraActor obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~CameraActor()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_CameraActor(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_CameraActor_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_CameraActor_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int TYPE = NDalicPINVOKE.CameraActor_Property_TYPE_get();\r
-            internal static readonly int PROJECTION_MODE = NDalicPINVOKE.CameraActor_Property_PROJECTION_MODE_get();\r
-            internal static readonly int FIELD_OF_VIEW = NDalicPINVOKE.CameraActor_Property_FIELD_OF_VIEW_get();\r
-            internal static readonly int ASPECT_RATIO = NDalicPINVOKE.CameraActor_Property_ASPECT_RATIO_get();\r
-            internal static readonly int NEAR_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_NEAR_PLANE_DISTANCE_get();\r
-            internal static readonly int FAR_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_FAR_PLANE_DISTANCE_get();\r
-            internal static readonly int LEFT_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_LEFT_PLANE_DISTANCE_get();\r
-            internal static readonly int RIGHT_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_RIGHT_PLANE_DISTANCE_get();\r
-            internal static readonly int TOP_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_TOP_PLANE_DISTANCE_get();\r
-            internal static readonly int BOTTOM_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_BOTTOM_PLANE_DISTANCE_get();\r
-            internal static readonly int TARGET_POSITION = NDalicPINVOKE.CameraActor_Property_TARGET_POSITION_get();\r
-            internal static readonly int PROJECTION_MATRIX = NDalicPINVOKE.CameraActor_Property_PROJECTION_MATRIX_get();\r
-            internal static readonly int VIEW_MATRIX = NDalicPINVOKE.CameraActor_Property_VIEW_MATRIX_get();\r
-            internal static readonly int INVERT_Y_AXIS = NDalicPINVOKE.CameraActor_Property_INVERT_Y_AXIS_get();\r
-\r
-        }\r
-\r
-        public CameraActor() : this(NDalicPINVOKE.CameraActor_New__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public CameraActor(Size2D size) : this(NDalicPINVOKE.CameraActor_New__SWIG_1(Size2D.getCPtr(size)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public new static CameraActor DownCast(BaseHandle handle)\r
-        {\r
-            CameraActor ret = new CameraActor(NDalicPINVOKE.CameraActor_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal CameraActor(CameraActor copy) : this(NDalicPINVOKE.new_CameraActor__SWIG_1(CameraActor.getCPtr(copy)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal CameraActor Assign(CameraActor rhs)\r
-        {\r
-            CameraActor ret = new CameraActor(NDalicPINVOKE.CameraActor_Assign(swigCPtr, CameraActor.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetType(CameraType type)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetType(swigCPtr, (int)type);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal CameraType GetType()\r
-        {\r
-            CameraType ret = (CameraType)NDalicPINVOKE.CameraActor_GetType(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetProjectionMode(ProjectionMode mode)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetProjectionMode(swigCPtr, (int)mode);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal ProjectionMode GetProjectionMode()\r
-        {\r
-            ProjectionMode ret = (ProjectionMode)NDalicPINVOKE.CameraActor_GetProjectionMode(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetFieldOfView(float fieldOfView)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetFieldOfView(swigCPtr, fieldOfView);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetFieldOfView()\r
-        {\r
-            float ret = NDalicPINVOKE.CameraActor_GetFieldOfView(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetAspectRatio(float aspectRatio)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetAspectRatio(swigCPtr, aspectRatio);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetAspectRatio()\r
-        {\r
-            float ret = NDalicPINVOKE.CameraActor_GetAspectRatio(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetNearClippingPlane(float nearClippingPlane)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetNearClippingPlane(swigCPtr, nearClippingPlane);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetNearClippingPlane()\r
-        {\r
-            float ret = NDalicPINVOKE.CameraActor_GetNearClippingPlane(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetFarClippingPlane(float farClippingPlane)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetFarClippingPlane(swigCPtr, farClippingPlane);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetFarClippingPlane()\r
-        {\r
-            float ret = NDalicPINVOKE.CameraActor_GetFarClippingPlane(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetTargetPosition(Vector3 targetPosition)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetTargetPosition(swigCPtr, Vector3.getCPtr(targetPosition));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector3 GetTargetPosition()\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.CameraActor_GetTargetPosition(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetInvertYAxis(bool invertYAxis)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetInvertYAxis(swigCPtr, invertYAxis);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool GetInvertYAxis()\r
-        {\r
-            bool ret = NDalicPINVOKE.CameraActor_GetInvertYAxis(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetPerspectiveProjection(Vector2 size)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetPerspectiveProjection(swigCPtr, Vector2.getCPtr(size));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetOrthographicProjection(Vector2 size)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetOrthographicProjection__SWIG_0(swigCPtr, Vector2.getCPtr(size));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetOrthographicProjection(float left, float right, float top, float bottom, float near, float far)\r
-        {\r
-            NDalicPINVOKE.CameraActor_SetOrthographicProjection__SWIG_1(swigCPtr, left, right, top, bottom, near, far);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public string Type\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(CameraActor.Property.TYPE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.TYPE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string ProjectionMode\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(CameraActor.Property.PROJECTION_MODE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.PROJECTION_MODE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float FieldOfView\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(CameraActor.Property.FIELD_OF_VIEW).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.FIELD_OF_VIEW, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float AspectRatio\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(CameraActor.Property.ASPECT_RATIO).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.ASPECT_RATIO, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float NearPlaneDistance\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(CameraActor.Property.NEAR_PLANE_DISTANCE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.NEAR_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float FarPlaneDistance\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(CameraActor.Property.FAR_PLANE_DISTANCE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.FAR_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float LeftPlaneDistance\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(CameraActor.Property.LEFT_PLANE_DISTANCE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.LEFT_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float RightPlaneDistance\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(CameraActor.Property.RIGHT_PLANE_DISTANCE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.RIGHT_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float TopPlaneDistance\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(CameraActor.Property.TOP_PLANE_DISTANCE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.TOP_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float BottomPlaneDistance\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(CameraActor.Property.BOTTOM_PLANE_DISTANCE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.BOTTOM_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Position TargetPosition\r
-        {\r
-            get\r
-            {\r
-                Position temp = new Position(0.0f, 0.0f, 0.0f);\r
-                GetProperty(CameraActor.Property.TARGET_POSITION).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.TARGET_POSITION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        internal Matrix ProjectionMatrix\r
-        {\r
-            get\r
-            {\r
-                Matrix temp = new Matrix();\r
-                GetProperty(CameraActor.Property.PROJECTION_MATRIX).Get(temp);\r
-                return temp;\r
-            }\r
-        }\r
-\r
-        internal Matrix ViewMatrix\r
-        {\r
-            get\r
-            {\r
-                Matrix temp = new Matrix();\r
-                GetProperty(CameraActor.Property.VIEW_MATRIX).Get(temp);\r
-                return temp;\r
-            }\r
-        }\r
-        public bool InvertYAxis\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(CameraActor.Property.INVERT_Y_AXIS).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(CameraActor.Property.INVERT_Y_AXIS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-    public enum CameraType\r
-    {\r
-        FreeLook,\r
-        LookAtTarget\r
-    }\r
-\r
-    public enum ProjectionMode\r
-    {\r
-        PerspectiveProjection,\r
-        OrthographicProjection\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class CameraActor : Actor
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal CameraActor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CameraActor_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CameraActor obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~CameraActor()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_CameraActor(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_CameraActor_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_CameraActor_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int TYPE = NDalicPINVOKE.CameraActor_Property_TYPE_get();
+            internal static readonly int PROJECTION_MODE = NDalicPINVOKE.CameraActor_Property_PROJECTION_MODE_get();
+            internal static readonly int FIELD_OF_VIEW = NDalicPINVOKE.CameraActor_Property_FIELD_OF_VIEW_get();
+            internal static readonly int ASPECT_RATIO = NDalicPINVOKE.CameraActor_Property_ASPECT_RATIO_get();
+            internal static readonly int NEAR_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_NEAR_PLANE_DISTANCE_get();
+            internal static readonly int FAR_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_FAR_PLANE_DISTANCE_get();
+            internal static readonly int LEFT_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_LEFT_PLANE_DISTANCE_get();
+            internal static readonly int RIGHT_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_RIGHT_PLANE_DISTANCE_get();
+            internal static readonly int TOP_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_TOP_PLANE_DISTANCE_get();
+            internal static readonly int BOTTOM_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_BOTTOM_PLANE_DISTANCE_get();
+            internal static readonly int TARGET_POSITION = NDalicPINVOKE.CameraActor_Property_TARGET_POSITION_get();
+            internal static readonly int PROJECTION_MATRIX = NDalicPINVOKE.CameraActor_Property_PROJECTION_MATRIX_get();
+            internal static readonly int VIEW_MATRIX = NDalicPINVOKE.CameraActor_Property_VIEW_MATRIX_get();
+            internal static readonly int INVERT_Y_AXIS = NDalicPINVOKE.CameraActor_Property_INVERT_Y_AXIS_get();
+
+        }
+
+        public CameraActor() : this(NDalicPINVOKE.CameraActor_New__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public CameraActor(Size2D size) : this(NDalicPINVOKE.CameraActor_New__SWIG_1(Size2D.getCPtr(size)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public new static CameraActor DownCast(BaseHandle handle)
+        {
+            CameraActor ret = new CameraActor(NDalicPINVOKE.CameraActor_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal CameraActor(CameraActor copy) : this(NDalicPINVOKE.new_CameraActor__SWIG_1(CameraActor.getCPtr(copy)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal CameraActor Assign(CameraActor rhs)
+        {
+            CameraActor ret = new CameraActor(NDalicPINVOKE.CameraActor_Assign(swigCPtr, CameraActor.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetType(CameraType type)
+        {
+            NDalicPINVOKE.CameraActor_SetType(swigCPtr, (int)type);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal CameraType GetType()
+        {
+            CameraType ret = (CameraType)NDalicPINVOKE.CameraActor_GetType(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetProjectionMode(ProjectionMode mode)
+        {
+            NDalicPINVOKE.CameraActor_SetProjectionMode(swigCPtr, (int)mode);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal ProjectionMode GetProjectionMode()
+        {
+            ProjectionMode ret = (ProjectionMode)NDalicPINVOKE.CameraActor_GetProjectionMode(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetFieldOfView(float fieldOfView)
+        {
+            NDalicPINVOKE.CameraActor_SetFieldOfView(swigCPtr, fieldOfView);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetFieldOfView()
+        {
+            float ret = NDalicPINVOKE.CameraActor_GetFieldOfView(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetAspectRatio(float aspectRatio)
+        {
+            NDalicPINVOKE.CameraActor_SetAspectRatio(swigCPtr, aspectRatio);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetAspectRatio()
+        {
+            float ret = NDalicPINVOKE.CameraActor_GetAspectRatio(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetNearClippingPlane(float nearClippingPlane)
+        {
+            NDalicPINVOKE.CameraActor_SetNearClippingPlane(swigCPtr, nearClippingPlane);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetNearClippingPlane()
+        {
+            float ret = NDalicPINVOKE.CameraActor_GetNearClippingPlane(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetFarClippingPlane(float farClippingPlane)
+        {
+            NDalicPINVOKE.CameraActor_SetFarClippingPlane(swigCPtr, farClippingPlane);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetFarClippingPlane()
+        {
+            float ret = NDalicPINVOKE.CameraActor_GetFarClippingPlane(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetTargetPosition(Vector3 targetPosition)
+        {
+            NDalicPINVOKE.CameraActor_SetTargetPosition(swigCPtr, Vector3.getCPtr(targetPosition));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector3 GetTargetPosition()
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.CameraActor_GetTargetPosition(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetInvertYAxis(bool invertYAxis)
+        {
+            NDalicPINVOKE.CameraActor_SetInvertYAxis(swigCPtr, invertYAxis);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool GetInvertYAxis()
+        {
+            bool ret = NDalicPINVOKE.CameraActor_GetInvertYAxis(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetPerspectiveProjection(Vector2 size)
+        {
+            NDalicPINVOKE.CameraActor_SetPerspectiveProjection(swigCPtr, Vector2.getCPtr(size));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetOrthographicProjection(Vector2 size)
+        {
+            NDalicPINVOKE.CameraActor_SetOrthographicProjection__SWIG_0(swigCPtr, Vector2.getCPtr(size));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetOrthographicProjection(float left, float right, float top, float bottom, float near, float far)
+        {
+            NDalicPINVOKE.CameraActor_SetOrthographicProjection__SWIG_1(swigCPtr, left, right, top, bottom, near, far);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public string Type
+        {
+            get
+            {
+                string temp;
+                GetProperty(CameraActor.Property.TYPE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.TYPE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string ProjectionMode
+        {
+            get
+            {
+                string temp;
+                GetProperty(CameraActor.Property.PROJECTION_MODE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.PROJECTION_MODE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float FieldOfView
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(CameraActor.Property.FIELD_OF_VIEW).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.FIELD_OF_VIEW, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float AspectRatio
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(CameraActor.Property.ASPECT_RATIO).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.ASPECT_RATIO, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float NearPlaneDistance
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(CameraActor.Property.NEAR_PLANE_DISTANCE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.NEAR_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float FarPlaneDistance
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(CameraActor.Property.FAR_PLANE_DISTANCE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.FAR_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float LeftPlaneDistance
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(CameraActor.Property.LEFT_PLANE_DISTANCE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.LEFT_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float RightPlaneDistance
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(CameraActor.Property.RIGHT_PLANE_DISTANCE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.RIGHT_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float TopPlaneDistance
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(CameraActor.Property.TOP_PLANE_DISTANCE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.TOP_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float BottomPlaneDistance
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(CameraActor.Property.BOTTOM_PLANE_DISTANCE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.BOTTOM_PLANE_DISTANCE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Position TargetPosition
+        {
+            get
+            {
+                Position temp = new Position(0.0f, 0.0f, 0.0f);
+                GetProperty(CameraActor.Property.TARGET_POSITION).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.TARGET_POSITION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        internal Matrix ProjectionMatrix
+        {
+            get
+            {
+                Matrix temp = new Matrix();
+                GetProperty(CameraActor.Property.PROJECTION_MATRIX).Get(temp);
+                return temp;
+            }
+        }
+
+        internal Matrix ViewMatrix
+        {
+            get
+            {
+                Matrix temp = new Matrix();
+                GetProperty(CameraActor.Property.VIEW_MATRIX).Get(temp);
+                return temp;
+            }
+        }
+        public bool InvertYAxis
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(CameraActor.Property.INVERT_Y_AXIS).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(CameraActor.Property.INVERT_Y_AXIS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
+    public enum CameraType
+    {
+        FreeLook,
+        LookAtTarget
+    }
+
+    public enum ProjectionMode
+    {
+        PerspectiveProjection,
+        OrthographicProjection
+    }
+
+}
index a76a5ef73e37291155019852d3d3c22b1530c11f..7d0367ac853cac304a9e547fd9e3dafd830ca985 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class CheckBoxButton : Button\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal CheckBoxButton(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CheckBoxButton_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CheckBoxButton obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~CheckBoxButton()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_CheckBoxButton(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        public CheckBoxButton() : this(NDalicPINVOKE.CheckBoxButton_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal CheckBoxButton(CheckBoxButton checkBox) : this(NDalicPINVOKE.new_CheckBoxButton__SWIG_1(CheckBoxButton.getCPtr(checkBox)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal CheckBoxButton Assign(CheckBoxButton checkBox)\r
-        {\r
-            CheckBoxButton ret = new CheckBoxButton(NDalicPINVOKE.CheckBoxButton_Assign(swigCPtr, CheckBoxButton.getCPtr(checkBox)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal new static CheckBoxButton DownCast(BaseHandle handle)\r
-        {\r
-            CheckBoxButton ret = new CheckBoxButton(NDalicPINVOKE.CheckBoxButton_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class CheckBoxButton : Button
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal CheckBoxButton(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CheckBoxButton_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CheckBoxButton obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~CheckBoxButton()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_CheckBoxButton(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        public CheckBoxButton() : this(NDalicPINVOKE.CheckBoxButton_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal CheckBoxButton(CheckBoxButton checkBox) : this(NDalicPINVOKE.new_CheckBoxButton__SWIG_1(CheckBoxButton.getCPtr(checkBox)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal CheckBoxButton Assign(CheckBoxButton checkBox)
+        {
+            CheckBoxButton ret = new CheckBoxButton(NDalicPINVOKE.CheckBoxButton_Assign(swigCPtr, CheckBoxButton.getCPtr(checkBox)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal new static CheckBoxButton DownCast(BaseHandle handle)
+        {
+            CheckBoxButton ret = new CheckBoxButton(NDalicPINVOKE.CheckBoxButton_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+    }
+
+}
index 77a21b4f817d3186f0cd1055370737996e79ed31..e9fe9daf834bafee294089071b85482b3b0ab799 100755 (executable)
-/*\r
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-\r
-    public class Color : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Color(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Color obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Color()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Vector4(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public static Color operator +(Color arg1, Color arg2)\r
-        {\r
-            return arg1.Add(arg2);\r
-        }\r
-\r
-        public static Color operator -(Color arg1, Color arg2)\r
-        {\r
-            return arg1.Subtract(arg2);\r
-        }\r
-\r
-        public static Color operator -(Color arg1)\r
-        {\r
-            return arg1.Subtract();\r
-        }\r
-\r
-        public static Color operator *(Color arg1, Color arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Color operator *(Color arg1, float arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Color operator /(Color arg1, Color arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public static Color operator /(Color arg1, float arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-\r
-        public float this[uint index]\r
-        {\r
-            get\r
-            {\r
-                return ValueOfIndex(index);\r
-            }\r
-        }\r
-\r
-        public static Color GetColorFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Color ret = new Color(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        public Color() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Color(float r, float g, float b, float a) : this(NDalicPINVOKE.new_Vector4__SWIG_1(r, g, b, a), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Color(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        private Color Add(Color rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_Add(swigCPtr, Color.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color AddAssign(Vector4 rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_AddAssign(swigCPtr, Color.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color Subtract(Color rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_Subtract__SWIG_0(swigCPtr, Color.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color SubtractAssign(Color rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_SubtractAssign(swigCPtr, Color.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color Multiply(Color rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_Multiply__SWIG_0(swigCPtr, Color.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color Multiply(float rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_Multiply__SWIG_1(swigCPtr, rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color MultiplyAssign(Color rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_0(swigCPtr, Color.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color MultiplyAssign(float rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color Divide(Vector4 rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_Divide__SWIG_0(swigCPtr, Color.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color Divide(float rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_Divide__SWIG_1(swigCPtr, rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color DivideAssign(Color rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_DivideAssign__SWIG_0(swigCPtr, Color.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color DivideAssign(float rhs)\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_DivideAssign__SWIG_1(swigCPtr, rhs), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Color Subtract()\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Vector4_Subtract__SWIG_1(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool EqualTo(Color rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, Color.getCPtr(rhs));\r
-\r
-            if (rhs == null) return false;\r
-\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool NotEqualTo(Color rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, Color.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        private float ValueOfIndex(uint index)\r
-        {\r
-            float ret = NDalicPINVOKE.Vector4_ValueOfIndex__SWIG_0(swigCPtr, index);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float R\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_r_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_r_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float G\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_g_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_g_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float B\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_b_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_b_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float A\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_a_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_a_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Color Black\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.BLACK_get();\r
-                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Color White\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.WHITE_get();\r
-                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Color Red\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.RED_get();\r
-                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Color Green\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.GREEN_get();\r
-                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Color Blue\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.BLUE_get();\r
-                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Color Yellow\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.YELLOW_get();\r
-                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Color Magenta\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.MAGENTA_get();\r
-                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Color Cyan\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.CYAN_get();\r
-                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Color Transparent\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.TRANSPARENT_get();\r
-                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static implicit operator Vector4(Color color)\r
-        {\r
-            return new Vector4(color.R, color.G, color.B, color.A);\r
-        }\r
-\r
-        public static implicit operator Color(Vector4 vec)\r
-        {\r
-            return new Color(vec.R, vec.G, vec.B, vec.A);\r
-        }\r
-\r
-    }\r
-\r
-}\r
-\r
-\r
+/*
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+namespace Tizen.NUI
+{
+
+    using System;
+
+    public class Color : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Color(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Color obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Color()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Vector4(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public static Color operator +(Color arg1, Color arg2)
+        {
+            return arg1.Add(arg2);
+        }
+
+        public static Color operator -(Color arg1, Color arg2)
+        {
+            return arg1.Subtract(arg2);
+        }
+
+        public static Color operator -(Color arg1)
+        {
+            return arg1.Subtract();
+        }
+
+        public static Color operator *(Color arg1, Color arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Color operator *(Color arg1, float arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Color operator /(Color arg1, Color arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public static Color operator /(Color arg1, float arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+
+        public float this[uint index]
+        {
+            get
+            {
+                return ValueOfIndex(index);
+            }
+        }
+
+        public static Color GetColorFromPtr(global::System.IntPtr cPtr)
+        {
+            Color ret = new Color(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        public Color() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Color(float r, float g, float b, float a) : this(NDalicPINVOKE.new_Vector4__SWIG_1(r, g, b, a), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Color(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        private Color Add(Color rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_Add(swigCPtr, Color.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color AddAssign(Vector4 rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_AddAssign(swigCPtr, Color.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color Subtract(Color rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_Subtract__SWIG_0(swigCPtr, Color.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color SubtractAssign(Color rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_SubtractAssign(swigCPtr, Color.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color Multiply(Color rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_Multiply__SWIG_0(swigCPtr, Color.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color Multiply(float rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_Multiply__SWIG_1(swigCPtr, rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color MultiplyAssign(Color rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_0(swigCPtr, Color.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color MultiplyAssign(float rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color Divide(Vector4 rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_Divide__SWIG_0(swigCPtr, Color.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color Divide(float rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_Divide__SWIG_1(swigCPtr, rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color DivideAssign(Color rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_DivideAssign__SWIG_0(swigCPtr, Color.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color DivideAssign(float rhs)
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_DivideAssign__SWIG_1(swigCPtr, rhs), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Color Subtract()
+        {
+            Color ret = new Color(NDalicPINVOKE.Vector4_Subtract__SWIG_1(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool EqualTo(Color rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, Color.getCPtr(rhs));
+
+            if (rhs == null) return false;
+
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool NotEqualTo(Color rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, Color.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        private float ValueOfIndex(uint index)
+        {
+            float ret = NDalicPINVOKE.Vector4_ValueOfIndex__SWIG_0(swigCPtr, index);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float R
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_r_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_r_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float G
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_g_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_g_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float B
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_b_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_b_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float A
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_a_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_a_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Color Black
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.BLACK_get();
+                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Color White
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.WHITE_get();
+                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Color Red
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.RED_get();
+                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Color Green
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.GREEN_get();
+                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Color Blue
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.BLUE_get();
+                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Color Yellow
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.YELLOW_get();
+                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Color Magenta
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.MAGENTA_get();
+                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Color Cyan
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.CYAN_get();
+                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Color Transparent
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.TRANSPARENT_get();
+                Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static implicit operator Vector4(Color color)
+        {
+            return new Vector4(color.R, color.G, color.B, color.A);
+        }
+
+        public static implicit operator Color(Vector4 vec)
+        {
+            return new Color(vec.R, vec.G, vec.B, vec.A);
+        }
+
+    }
+
+}
+
+
index 8e50ec9755f2997a8ce6499ee09252e62818ead4..303ac18354a858093db3583230798aa2e5c5fd87 100755 (executable)
-/*\r
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-namespace Tizen.NUI\r
-{\r
-    public class CustomView : ViewWrapper\r
-    {\r
-        public CustomView(string typeName, CustomViewBehaviour behaviour) : base(typeName, new ViewWrapperImpl(behaviour))\r
-        {\r
-            // Registering CustomView virtual functions to viewWrapperImpl delegates.\r
-            viewWrapperImpl.OnStageConnection = new ViewWrapperImpl.OnStageConnectionDelegate(OnStageConnection);\r
-            viewWrapperImpl.OnStageDisconnection = new ViewWrapperImpl.OnStageDisconnectionDelegate(OnStageDisconnection);\r
-            viewWrapperImpl.OnChildAdd = new ViewWrapperImpl.OnChildAddDelegate(OnChildAdd);\r
-            viewWrapperImpl.OnChildRemove = new ViewWrapperImpl.OnChildRemoveDelegate(OnChildRemove);\r
-            viewWrapperImpl.OnPropertySet = new ViewWrapperImpl.OnPropertySetDelegate(OnPropertySet);\r
-            viewWrapperImpl.OnSizeSet = new ViewWrapperImpl.OnSizeSetDelegate(OnSizeSet);\r
-            viewWrapperImpl.OnSizeAnimation = new ViewWrapperImpl.OnSizeAnimationDelegate(OnSizeAnimation);\r
-            viewWrapperImpl.OnTouch = new ViewWrapperImpl.OnTouchDelegate(OnTouch);\r
-            viewWrapperImpl.OnHover = new ViewWrapperImpl.OnHoverDelegate(OnHover);\r
-            viewWrapperImpl.OnKey = new ViewWrapperImpl.OnKeyDelegate(OnKey);\r
-            viewWrapperImpl.OnWheel = new ViewWrapperImpl.OnWheelDelegate(OnWheel);\r
-            viewWrapperImpl.OnRelayout = new ViewWrapperImpl.OnRelayoutDelegate(OnRelayout);\r
-            viewWrapperImpl.OnSetResizePolicy = new ViewWrapperImpl.OnSetResizePolicyDelegate(OnSetResizePolicy);\r
-            viewWrapperImpl.GetNaturalSize = new ViewWrapperImpl.GetNaturalSizeDelegate(GetNaturalSize);\r
-            viewWrapperImpl.CalculateChildSize = new ViewWrapperImpl.CalculateChildSizeDelegate(CalculateChildSize);\r
-            viewWrapperImpl.GetHeightForWidth = new ViewWrapperImpl.GetHeightForWidthDelegate(GetHeightForWidth);\r
-            viewWrapperImpl.GetWidthForHeight = new ViewWrapperImpl.GetWidthForHeightDelegate(GetWidthForHeight);\r
-            viewWrapperImpl.RelayoutDependentOnChildrenDimension = new ViewWrapperImpl.RelayoutDependentOnChildrenDimensionDelegate(RelayoutDependentOnChildren);\r
-            viewWrapperImpl.RelayoutDependentOnChildren = new ViewWrapperImpl.RelayoutDependentOnChildrenDelegate(RelayoutDependentOnChildren);\r
-            viewWrapperImpl.OnCalculateRelayoutSize = new ViewWrapperImpl.OnCalculateRelayoutSizeDelegate(OnCalculateRelayoutSize);\r
-            viewWrapperImpl.OnLayoutNegotiated = new ViewWrapperImpl.OnLayoutNegotiatedDelegate(OnLayoutNegotiated);\r
-            viewWrapperImpl.OnControlChildAdd = new ViewWrapperImpl.OnControlChildAddDelegate(OnControlChildAdd);\r
-            viewWrapperImpl.OnControlChildRemove = new ViewWrapperImpl.OnControlChildRemoveDelegate(OnControlChildRemove);\r
-            viewWrapperImpl.OnStyleChange = new ViewWrapperImpl.OnStyleChangeDelegate(OnStyleChange);\r
-            viewWrapperImpl.OnAccessibilityActivated = new ViewWrapperImpl.OnAccessibilityActivatedDelegate(OnAccessibilityActivated);\r
-            viewWrapperImpl.OnAccessibilityPan = new ViewWrapperImpl.OnAccessibilityPanDelegate(OnAccessibilityPan);\r
-            viewWrapperImpl.OnAccessibilityTouch = new ViewWrapperImpl.OnAccessibilityTouchDelegate(OnAccessibilityTouch);\r
-            viewWrapperImpl.OnAccessibilityValueChange = new ViewWrapperImpl.OnAccessibilityValueChangeDelegate(OnAccessibilityValueChange);\r
-            viewWrapperImpl.OnAccessibilityZoom = new ViewWrapperImpl.OnAccessibilityZoomDelegate(OnAccessibilityZoom);\r
-            viewWrapperImpl.OnKeyInputFocusGained = new ViewWrapperImpl.OnKeyInputFocusGainedDelegate(OnKeyInputFocusGained);\r
-            viewWrapperImpl.OnKeyInputFocusLost = new ViewWrapperImpl.OnKeyInputFocusLostDelegate(OnKeyInputFocusLost);\r
-            viewWrapperImpl.GetNextKeyboardFocusableActor = new ViewWrapperImpl.GetNextKeyboardFocusableActorDelegate(GetNextKeyboardFocusableActor);\r
-            viewWrapperImpl.OnKeyboardFocusChangeCommitted = new ViewWrapperImpl.OnKeyboardFocusChangeCommittedDelegate(OnKeyboardFocusChangeCommitted);\r
-            viewWrapperImpl.OnKeyboardEnter = new ViewWrapperImpl.OnKeyboardEnterDelegate(OnKeyboardEnter);\r
-            viewWrapperImpl.OnPinch = new ViewWrapperImpl.OnPinchDelegate(OnPinch);\r
-            viewWrapperImpl.OnPan = new ViewWrapperImpl.OnPanDelegate(OnPan);\r
-            viewWrapperImpl.OnTap = new ViewWrapperImpl.OnTapDelegate(OnTap);\r
-            viewWrapperImpl.OnLongPress = new ViewWrapperImpl.OnLongPressDelegate(OnLongPress);\r
-\r
-            // Make sure CustomView is initialized.\r
-            OnInitialize();\r
-\r
-            // Set the StyleName the name of the View\r
-            // We have to do this because the StyleManager on Native side can't workout it out\r
-            // This will also ensure that the style of actors/visuals initialized above are applied by the style manager.\r
-            SetStyleName(this.GetType().Name);\r
-        }\r
-\r
-        /**\r
-         * @brief Set the background with a property map.\r
-         *\r
-         * @param[in] map The background property map.\r
-         */\r
-        public void SetBackground(Tizen.NUI.PropertyMap map)\r
-        {\r
-            viewWrapperImpl.SetBackground(map);\r
-        }\r
-\r
-        /**\r
-         * @brief Allows deriving classes to enable any of the gesture detectors that are available.\r
-         *\r
-         * Gesture detection can be enabled one at a time or in bitwise format as shown:\r
-         * @code\r
-         * EnableGestureDetection(Gesture.Type.Pinch | Gesture.Type.Tap | Gesture.Type.Pan));\r
-         * @endcode\r
-         * @param[in]  type  The gesture type(s) to enable.\r
-         */\r
-        internal void EnableGestureDetection(Gesture.GestureType type)\r
-        {\r
-            viewWrapperImpl.EnableGestureDetection(type);\r
-        }\r
-\r
-        /**\r
-         * @brief Allows deriving classes to disable any of the gesture detectors.\r
-         *\r
-         * Like EnableGestureDetection, this can also be called using bitwise or.\r
-         * @param[in]  type  The gesture type(s) to disable.\r
-         * @see EnableGetureDetection\r
-         */\r
-        internal void DisableGestureDetection(Gesture.GestureType type)\r
-        {\r
-            viewWrapperImpl.DisableGestureDetection(type);\r
-        }\r
-\r
-        /**\r
-         * @brief Sets whether this control supports two dimensional\r
-         * keyboard navigation (i.e. whether it knows how to handle the\r
-         * keyboard focus movement between its child actors).\r
-         *\r
-         * The control doesn't support it by default.\r
-         * @param[in] isSupported Whether this control supports two dimensional keyboard navigation.\r
-         */\r
-\r
-        public bool FocusNavigationSupport\r
-        {\r
-            get\r
-            {\r
-                return IsKeyboardNavigationSupported();\r
-            }\r
-            set\r
-            {\r
-                SetKeyboardNavigationSupport(value);\r
-            }\r
-        }\r
-\r
-        internal void SetKeyboardNavigationSupport(bool isSupported)\r
-        {\r
-            viewWrapperImpl.SetKeyboardNavigationSupport(isSupported);\r
-        }\r
-\r
-\r
-        /**\r
-         * @brief Gets whether this control supports two dimensional keyboard navigation.\r
-         *\r
-         * @return true if this control supports two dimensional keyboard navigation.\r
-         */\r
-        internal bool IsKeyboardNavigationSupported()\r
-        {\r
-            return viewWrapperImpl.IsKeyboardNavigationSupported();\r
-        }\r
-\r
-\r
-        public bool FocusGroup\r
-        {\r
-            get\r
-            {\r
-                return IsKeyboardFocusGroup();\r
-            }\r
-            set\r
-            {\r
-                SetAsKeyboardFocusGroup(value);\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Sets whether this control is a focus group for keyboard navigation.\r
-         *\r
-         * (i.e. the scope of keyboard focus movement\r
-         * can be limitied to its child actors). The control is not a focus group by default.\r
-         * @param[in] isFocusGroup Whether this control is set as a focus group for keyboard navigation.\r
-         */\r
-        internal void SetAsKeyboardFocusGroup(bool isFocusGroup)\r
-        {\r
-            viewWrapperImpl.SetAsKeyboardFocusGroup(isFocusGroup);\r
-        }\r
-\r
-        /**\r
-         * @brief Gets whether this control is a focus group for keyboard navigation.\r
-         *\r
-         * @return true if this control is set as a focus group for keyboard navigation.\r
-         */\r
-        internal bool IsKeyboardFocusGroup()\r
-        {\r
-            return viewWrapperImpl.IsKeyboardFocusGroup();\r
-        }\r
-\r
-        /**\r
-         * @brief Called by the AccessibilityManager to activate the Control.\r
-         * @SINCE_1_0.0\r
-         */\r
-        internal void AccessibilityActivate()\r
-        {\r
-            viewWrapperImpl.AccessibilityActivate();\r
-        }\r
-\r
-        /**\r
-         * @brief Called by the KeyboardFocusManager.\r
-         */\r
-        public void KeyboardEnter()\r
-        {\r
-            viewWrapperImpl.KeyboardEnter();\r
-        }\r
-\r
-        /**\r
-         * @brief Called by the KeyInputFocusManager to emit key event signals.\r
-         *\r
-         * @param[in] key The key event.\r
-         * @return True if the event was consumed.\r
-         */\r
-        public bool EmitKeyEventSignal(Key key)\r
-        {\r
-            return viewWrapperImpl.EmitKeyEventSignal(key);\r
-        }\r
-\r
-        /**\r
-         * @brief Request a relayout, which means performing a size negotiation on this actor, its parent and children (and potentially whole scene).\r
-         *\r
-         * This method can also be called from a derived class every time it needs a different size.\r
-         * At the end of event processing, the relayout process starts and\r
-         * all controls which requested Relayout will have their sizes (re)negotiated.\r
-         *\r
-         * @note RelayoutRequest() can be called multiple times; the size negotiation is still\r
-         * only performed once, i.e. there is no need to keep track of this in the calling side.\r
-         */\r
-        protected void RelayoutRequest()\r
-        {\r
-            viewWrapperImpl.RelayoutRequest();\r
-        }\r
-\r
-        /**\r
-         * @brief Provides the Actor implementation of GetHeightForWidth.\r
-         * @param width Width to use.\r
-         * @return The height based on the width.\r
-         */\r
-        protected float GetHeightForWidthBase(float width)\r
-        {\r
-            return viewWrapperImpl.GetHeightForWidthBase(width);\r
-        }\r
-\r
-        /**\r
-         * @brief Provides the Actor implementation of GetWidthForHeight.\r
-         * @param height Height to use.\r
-         * @return The width based on the height.\r
-         */\r
-        protected float GetWidthForHeightBase(float height)\r
-        {\r
-            return viewWrapperImpl.GetWidthForHeightBase(height);\r
-        }\r
-\r
-        /**\r
-         * @brief Calculate the size for a child using the base actor object.\r
-         *\r
-         * @param[in] child The child actor to calculate the size for\r
-         * @param[in] dimension The dimension to calculate the size for. E.g. width or height\r
-         * @return Return the calculated size for the given dimension. If more than one dimension is requested, just return the first one found.\r
-         */\r
-        protected float CalculateChildSizeBase(Actor child, DimensionType dimension)\r
-        {\r
-            return viewWrapperImpl.CalculateChildSizeBase(child, dimension);\r
-        }\r
-\r
-        /**\r
-         * @brief Determine if this actor is dependent on it's children for relayout from the base class.\r
-         *\r
-         * @param dimension The dimension(s) to check for\r
-         * @return Return if the actor is dependent on it's children.\r
-         */\r
-        protected bool RelayoutDependentOnChildrenBase(DimensionType dimension)\r
-        {\r
-            return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);\r
-        }\r
-\r
-        /**\r
-         * @brief Determine if this actor is dependent on it's children for relayout from the base class.\r
-         *\r
-         * @param dimension The dimension(s) to check for\r
-         * @return Return if the actor is dependent on it's children.\r
-         */\r
-        protected bool RelayoutDependentOnChildrenBase()\r
-        {\r
-            return viewWrapperImpl.RelayoutDependentOnChildrenBase();\r
-        }\r
-\r
-        /**\r
-         * @brief Register a visual by Property Index, linking an Actor to visual when required.\r
-         * In the case of the visual being an actor or control deeming visual not required then visual should be an empty handle.\r
-         * No parenting is done during registration, this should be done by derived class.\r
-         *\r
-         * @param[in] index The Property index of the visual, used to reference visual\r
-         * @param[in] visual The visual to register\r
-         * @note Derived class should not call visual.SetOnStage(actor). It is the responsibility of the base class to connect/disconnect registered visual to stage.\r
-         *       Use below API with enabled set to false if derived class wishes to control when visual is staged.\r
-         */\r
-        protected void RegisterVisual(int index, VisualBase visual)\r
-        {\r
-            viewWrapperImpl.RegisterVisual(index, visual);\r
-        }\r
-\r
-        /**\r
-         * @brief Register a visual by Property Index, linking an Actor to visual when required.\r
-         * In the case of the visual being an actor or control deeming visual not required then visual should be an empty handle.\r
-         * If enabled is false then the visual is not set on stage until enabled by the derived class.\r
-         * @see EnableVisual\r
-         *\r
-         * @param[in] index The Property index of the visual, used to reference visual\r
-         * @param[in] visual The visual to register\r
-         * @param[in] enabled false if derived class wants to control when visual is set on stage.\r
-         *\r
-         */\r
-        protected void RegisterVisual(int index, VisualBase visual, bool enabled)\r
-        {\r
-            viewWrapperImpl.RegisterVisual(index, visual, enabled);\r
-        }\r
-\r
-        /**\r
-         * @brief Erase the entry matching the given index from the list of registered visuals\r
-         * @param[in] index The Property index of the visual, used to reference visual\r
-         *\r
-         */\r
-        protected void UnregisterVisual(int index)\r
-        {\r
-            viewWrapperImpl.UnregisterVisual(index);\r
-        }\r
-\r
-        /**\r
-         * @brief Retrieve the visual associated with the given property index.\r
-         *\r
-         * @param[in] index The Property index of the visual.\r
-         * @return The registered visual if exist, otherwise empty handle.\r
-         * @note For managing object life-cycle, do not store the returned visual as a member which increments its reference count.\r
-         */\r
-        protected VisualBase GetVisual(int index)\r
-        {\r
-            return viewWrapperImpl.GetVisual(index);\r
-        }\r
-\r
-        /**\r
-         * @brief Sets the given visual to be displayed or not when parent staged.\r
-         *\r
-         * @param[in] index The Property index of the visual\r
-         * @param[in] enable flag to set enabled or disabled.\r
-         */\r
-        protected void EnableVisual(int index, bool enable)\r
-        {\r
-            viewWrapperImpl.EnableVisual(index, enable);\r
-        }\r
-\r
-        /**\r
-         * @brief Queries if the given visual is to be displayed when parent staged.\r
-         *\r
-         * @param[in] index The Property index of the visual\r
-         * @return bool whether visual is enabled or not\r
-         */\r
-        protected bool IsVisualEnabled(int index)\r
-        {\r
-            return viewWrapperImpl.IsVisualEnabled(index);\r
-        }\r
-\r
-        /**\r
-         * @brief Create a transition effect on the control.\r
-         *\r
-         * @param[in] transitionData The transition data describing the effect to create\r
-         * @return A handle to an animation defined with the given effect, or an empty\r
-         * handle if no properties match.\r
-         */\r
-        protected Animation CreateTransition(TransitionData transitionData)\r
-        {\r
-            return viewWrapperImpl.CreateTransition(transitionData);\r
-        }\r
-\r
-        /**\r
-         * @brief Emits KeyInputFocusGained signal if true else emits KeyInputFocusLost signal\r
-         *\r
-         * Should be called last by the control after it acts on the Input Focus change.\r
-         *\r
-         * @param[in] focusGained True if gained, False if lost\r
-         */\r
-        protected void EmitKeyInputFocusSignal(bool focusGained)\r
-        {\r
-            viewWrapperImpl.EmitKeyInputFocusSignal(focusGained);\r
-        }\r
-\r
-        /**\r
-         * @brief This method is called after the Control has been initialized.\r
-         *\r
-         * Derived classes should do any second phase initialization by overriding this method.\r
-         */\r
-        public virtual void OnInitialize()\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called after the actor has been connected to the stage.\r
-         *\r
-         * When an actor is connected, it will be directly or indirectly parented to the root Actor.\r
-         * @param[in] depth The depth in the hierarchy for the actor\r
-         *\r
-         * @note The root Actor is provided automatically by Dali::Stage, and is always considered to be connected.\r
-         * When the parent of a set of actors is connected to the stage, then all of the children\r
-         * will received this callback.\r
-         * For the following actor tree, the callback order will be A, B, D, E, C, and finally F.\r
-         *\r
-         * @code\r
-         *\r
-         *       A (parent)\r
-         *      / \\r
-         *     B   C\r
-         *    / \   \\r
-         *   D   E   F\r
-         *\r
-         * @endcode\r
-         * @param[in] depth The depth in the hierarchy for the actor\r
-         */\r
-        public virtual void OnStageConnection(int depth)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called after the actor has been disconnected from Stage.\r
-         *\r
-         * If an actor is disconnected it either has no parent, or is parented to a disconnected actor.\r
-         *\r
-         * @note When the parent of a set of actors is disconnected to the stage, then all of the children\r
-         * will received this callback, starting with the leaf actors.\r
-         * For the following actor tree, the callback order will be D, E, B, F, C, and finally A.\r
-         *\r
-         * @code\r
-         *\r
-         *       A (parent)\r
-         *      / \\r
-         *     B   C\r
-         *    / \   \\r
-         *   D   E   F\r
-         *\r
-         * @endcode\r
-         */\r
-        public virtual void OnStageDisconnection()\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called after a child has been added to the owning actor.\r
-         *\r
-         * @param[in] child The child which has been added\r
-         */\r
-        public virtual void OnChildAdd(Actor actor)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called after the owning actor has attempted to remove a child( regardless of whether it succeeded or not ).\r
-         *\r
-         * @param[in] child The child being removed\r
-         */\r
-        public virtual void OnChildRemove(Actor actor)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called when the owning actor property is set.\r
-         *\r
-         * @param[in] index The Property index that was set\r
-         * @param[in] propertyValue The value to set\r
-         */\r
-        public virtual void OnPropertySet(int index, Tizen.NUI.PropertyValue propertyValue)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called when the owning actor's size is set e.g. using Actor::SetSize().\r
-         *\r
-         * @param[in] targetSize The target size. Note that this target size may not match the size returned via Actor.GetTargetSize.\r
-         */\r
-        public virtual void OnSizeSet(Vector3 targetSize)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called when the owning actor's size is animated e.g. using Animation::AnimateTo( Property( actor, Actor::Property::SIZE ), ... ).\r
-         *\r
-         * @param[in] animation The object which is animating the owning actor.\r
-         * @param[in] targetSize The target size. Note that this target size may not match the size returned via @ref Actor.GetTargetSize.\r
-         */\r
-        public virtual void OnSizeAnimation(Animation animation, Vector3 targetSize)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @DEPRECATED_1_1.37 Connect to TouchSignal() instead.\r
-         *\r
-         * @brief Called after a touch-event is received by the owning actor.\r
-         *\r
-         * @param[in] touch The touch event\r
-         * @return True if the event should be consumed.\r
-         * @note CustomViewBehaviour.REQUIRES_TOUCH_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).\r
-         */\r
-        public virtual bool OnTouch(Touch touch)\r
-        {\r
-            return false; // Do not consume\r
-        }\r
-\r
-        /**\r
-         * @brief Called after a hover-event is received by the owning actor.\r
-         *\r
-         * @param[in] hover The hover event\r
-         * @return True if the hover event should be consumed.\r
-         * @note CustomViewBehaviour.REQUIRES_HOVER_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).\r
-         */\r
-        public virtual bool OnHover(Hover hover)\r
-        {\r
-            return false; // Do not consume\r
-        }\r
-\r
-        /**\r
-         * @brief Called after a key-event is received by the actor that has had its focus set.\r
-         *\r
-         * @param[in] key the Key Event\r
-         * @return True if the event should be consumed.\r
-         */\r
-        public virtual bool OnKey(Key key)\r
-        {\r
-            return false; // Do not consume\r
-        }\r
-\r
-        /**\r
-         * @brief Called after a wheel-event is received by the owning actor.\r
-         *\r
-         * @param[in] wheel The wheel event\r
-         * @return True if the event should be consumed.\r
-         * @note CustomViewBehaviour.REQUIRES_WHEEL_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).\r
-         */\r
-        public virtual bool OnWheel(Wheel wheel)\r
-        {\r
-            return false; // Do not consume\r
-        }\r
-\r
-        /**\r
-         * @brief Called after the size negotiation has been finished for this control.\r
-         *\r
-         * The control is expected to assign this given size to itself/its children.\r
-         *\r
-         * Should be overridden by derived classes if they need to layout\r
-         * actors differently after certain operations like add or remove\r
-         * actors, resize or after changing specific properties.\r
-         *\r
-         * @param[in]      size       The allocated size.\r
-         * @param[in,out]  container  The control should add actors to this container that it is not able\r
-         *                            to allocate a size for.\r
-         * @note  As this function is called from inside the size negotiation algorithm, you cannot\r
-         * call RequestRelayout (the call would just be ignored).\r
-         */\r
-        public virtual void OnRelayout(Vector2 size, RelayoutContainer container)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Notification for deriving classes\r
-         *\r
-         * @param[in] policy The policy being set\r
-         * @param[in] dimension The dimension the policy is being set for\r
-         */\r
-        public virtual void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Return the natural size of the actor.\r
-         *\r
-         * @return The actor's natural size\r
-         */\r
-        public virtual Size GetNaturalSize()\r
-        {\r
-            return new Size(0.0f, 0.0f, 0.0f);\r
-        }\r
-\r
-        /**\r
-         * @brief Calculate the size for a child.\r
-         *\r
-         * @param[in] child The child actor to calculate the size for\r
-         * @param[in] dimension The dimension to calculate the size for. E.g. width or height.\r
-         * @return Return the calculated size for the given dimension.\r
-         */\r
-        public virtual float CalculateChildSize(Actor child, DimensionType dimension)\r
-        {\r
-            return viewWrapperImpl.CalculateChildSizeBase(child, dimension);\r
-        }\r
-\r
-        /**\r
-         * @brief This method is called during size negotiation when a height is required for a given width.\r
-         *\r
-         * Derived classes should override this if they wish to customize the height returned.\r
-         *\r
-         * @param width Width to use.\r
-         * @return The height based on the width.\r
-         */\r
-        public virtual float GetHeightForWidth(float width)\r
-        {\r
-            return viewWrapperImpl.GetHeightForWidthBase(width);\r
-        }\r
-\r
-        /**\r
-         * @brief This method is called during size negotiation when a width is required for a given height.\r
-         *\r
-         * Derived classes should override this if they wish to customize the width returned.\r
-         *\r
-         * @param height Height to use.\r
-         * @return The width based on the width.\r
-         */\r
-        public virtual float GetWidthForHeight(float height)\r
-        {\r
-            return viewWrapperImpl.GetWidthForHeightBase(height);\r
-        }\r
-\r
-        /**\r
-         * @brief Determine if this actor is dependent on it's children for relayout.\r
-         *\r
-         * @param dimension The dimension(s) to check for\r
-         * @return Return if the actor is dependent on it's children.\r
-         */\r
-        public virtual bool RelayoutDependentOnChildren(DimensionType dimension)\r
-        {\r
-            return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);\r
-        }\r
-\r
-        /**\r
-         * @brief Determine if this actor is dependent on it's children for relayout from the base class.\r
-         *\r
-         * @return Return if the actor is dependent on it's children.\r
-         */\r
-        public virtual bool RelayoutDependentOnChildren()\r
-        {\r
-            return viewWrapperImpl.RelayoutDependentOnChildrenBase();\r
-        }\r
-\r
-        /**\r
-         * @brief Virtual method to notify deriving classes that relayout dependencies have been\r
-         * met and the size for this object is about to be calculated for the given dimension\r
-         *\r
-         * @param dimension The dimension that is about to be calculated\r
-         */\r
-        public virtual void OnCalculateRelayoutSize(DimensionType dimension)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Virtual method to notify deriving classes that the size for a dimension\r
-         * has just been negotiated\r
-         *\r
-         * @param[in] size The new size for the given dimension\r
-         * @param[in] dimension The dimension that was just negotiated\r
-         */\r
-        public virtual void OnLayoutNegotiated(float size, DimensionType dimension)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief This method should be overridden by deriving classes requiring notifications when the style changes.\r
-         *\r
-         * @param[in] styleManager  The StyleManager object.\r
-         * @param[in] change  Information denoting what has changed.\r
-         */\r
-        public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief This method is called when the control is accessibility activated.\r
-         *\r
-         * Derived classes should override this to perform custom accessibility activation.\r
-         * @return true if this control can perform accessibility activation.\r
-         */\r
-        internal virtual bool OnAccessibilityActivated()\r
-        {\r
-            return false;\r
-        }\r
-\r
-        /**\r
-         * @brief This method should be overridden by deriving classes when they wish to respond the accessibility\r
-         * pan gesture.\r
-         *\r
-         * @param[in] gesture The pan gesture.\r
-         * @return true if the pan gesture has been consumed by this control\r
-         */\r
-        internal virtual bool OnAccessibilityPan(PanGesture gestures)\r
-        {\r
-            return false;\r
-        }\r
-\r
-        /**\r
-         * @brief This method should be overridden by deriving classes when they wish to respond the accessibility\r
-         * touch event.\r
-         *\r
-         * @param[in] touch The touch event.\r
-         * @return true if the touch event has been consumed by this control\r
-         */\r
-        internal virtual bool OnAccessibilityTouch(Touch touch)\r
-        {\r
-            return false;\r
-        }\r
-\r
-        /**\r
-         * @brief This method should be overridden by deriving classes when they wish to respond\r
-         * the accessibility up and down action (i.e. value change of slider control).\r
-         *\r
-         * @param[in] isIncrease Whether the value should be increased or decreased\r
-         * @return true if the value changed action has been consumed by this control\r
-         */\r
-        internal virtual bool OnAccessibilityValueChange(bool isIncrease)\r
-        {\r
-            return false;\r
-        }\r
-\r
-        /**\r
-         * @brief This method should be overridden by deriving classes when they wish to respond\r
-         * the accessibility zoom action.\r
-         *\r
-         * @return true if the zoom action has been consumed by this control\r
-         */\r
-        internal virtual bool OnAccessibilityZoom()\r
-        {\r
-            return false;\r
-        }\r
-\r
-        /**\r
-         * @brief This method should be overridden by deriving classes when they wish to respond\r
-         * the accessibility zoom action.\r
-         *\r
-         * @return true if the zoom action has been consumed by this control\r
-         */\r
-        public virtual void OnKeyInputFocusGained()\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called when the control loses key input focus.\r
-         *\r
-         * Should be overridden by derived classes if they need to customize what happens when focus is lost.\r
-         */\r
-        public virtual void OnKeyInputFocusLost()\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Gets the next keyboard focusable actor in this control towards the given direction.\r
-         *\r
-         * A control needs to override this function in order to support two dimensional keyboard navigation.\r
-         * @param[in] currentFocusedActor The current focused actor.\r
-         * @param[in] direction The direction to move the focus towards.\r
-         * @param[in] loopEnabled Whether the focus movement should be looped within the control.\r
-         * @return the next keyboard focusable actor in this control or an empty handle if no actor can be focused.\r
-         */\r
-        public virtual Actor GetNextKeyboardFocusableActor(Actor currentFocusedActor, View.FocusDirection direction, bool loopEnabled)\r
-        {\r
-            return new Actor();\r
-        }\r
-\r
-        /**\r
-         * @brief Informs this control that its chosen focusable actor will be focused.\r
-         *\r
-         * This allows the application to preform any actions if wishes\r
-         * before the focus is actually moved to the chosen actor.\r
-         *\r
-         * @param[in] commitedFocusableActor The commited focusable actor.\r
-         */\r
-        public virtual void OnKeyboardFocusChangeCommitted(Actor commitedFocusableActor)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief This method is called when the control has enter pressed on it.\r
-         *\r
-         * Derived classes should override this to perform custom actions.\r
-         * @return true if this control supported this action.\r
-         */\r
-        public virtual bool OnKeyboardEnter()\r
-        {\r
-            return false;\r
-        }\r
-\r
-        /**\r
-         * @brief Called whenever a pinch gesture is detected on this control.\r
-         *\r
-         * This can be overridden by deriving classes when pinch detection\r
-         * is enabled.  The default behaviour is to scale the control by the\r
-         * pinch scale.\r
-         *\r
-         * @param[in]  pinch  The pinch gesture.\r
-         * @note If overridden, then the default behaviour will not occur.\r
-         * @note Pinch detection should be enabled via EnableGestureDetection().\r
-         * @see EnableGestureDetection\r
-         */\r
-        internal virtual void OnPinch(PinchGesture pinch)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called whenever a pan gesture is detected on this control.\r
-         *\r
-         * This should be overridden by deriving classes when pan detection\r
-         * is enabled.\r
-         *\r
-         * @param[in]  pan  The pan gesture.\r
-         * @note There is no default behaviour with panning.\r
-         * @note Pan detection should be enabled via EnableGestureDetection().\r
-         * @see EnableGestureDetection\r
-         */\r
-        public virtual void OnPan(PanGesture pan)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called whenever a tap gesture is detected on this control.\r
-         *\r
-         * This should be overridden by deriving classes when tap detection\r
-         * is enabled.\r
-         *\r
-         * @param[in]  tap  The tap gesture.\r
-         * @note There is no default behaviour with a tap.\r
-         * @note Tap detection should be enabled via EnableGestureDetection().\r
-         * @see EnableGestureDetection\r
-         */\r
-        internal virtual void OnTap(TapGesture tap)\r
-        {\r
-        }\r
-\r
-        /**\r
-         * @brief Called whenever a long press gesture is detected on this control.\r
-         *\r
-         * This should be overridden by deriving classes when long press\r
-         * detection is enabled.\r
-         *\r
-         * @param[in]  longPress  The long press gesture.\r
-         * @note There is no default behaviour associated with a long press.\r
-         * @note Long press detection should be enabled via EnableGestureDetection().\r
-         * @see EnableGestureDetection\r
-         */\r
-        internal virtual void OnLongPress(LongPressGesture longPress)\r
-        {\r
-        }\r
-\r
-        private void OnControlChildAdd(Actor child)\r
-        {\r
-        }\r
-\r
-        private void OnControlChildRemove(Actor child)\r
-        {\r
-        }\r
-    }\r
-    public enum CustomViewBehaviour\r
-    {\r
-        ViewBehaviourDefault = 0,\r
-        DisableSizeNegotiation = 1 << 0,\r
-        RequiresKeyboardNavigationSupport = 1 << 5,\r
-        DisableStyleChangeSignals = 1 << 6,\r
-        LastViewBehaviourFlag\r
-    }\r
-}\r
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+namespace Tizen.NUI
+{
+    public class CustomView : ViewWrapper
+    {
+        public CustomView(string typeName, CustomViewBehaviour behaviour) : base(typeName, new ViewWrapperImpl(behaviour))
+        {
+            // Registering CustomView virtual functions to viewWrapperImpl delegates.
+            viewWrapperImpl.OnStageConnection = new ViewWrapperImpl.OnStageConnectionDelegate(OnStageConnection);
+            viewWrapperImpl.OnStageDisconnection = new ViewWrapperImpl.OnStageDisconnectionDelegate(OnStageDisconnection);
+            viewWrapperImpl.OnChildAdd = new ViewWrapperImpl.OnChildAddDelegate(OnChildAdd);
+            viewWrapperImpl.OnChildRemove = new ViewWrapperImpl.OnChildRemoveDelegate(OnChildRemove);
+            viewWrapperImpl.OnPropertySet = new ViewWrapperImpl.OnPropertySetDelegate(OnPropertySet);
+            viewWrapperImpl.OnSizeSet = new ViewWrapperImpl.OnSizeSetDelegate(OnSizeSet);
+            viewWrapperImpl.OnSizeAnimation = new ViewWrapperImpl.OnSizeAnimationDelegate(OnSizeAnimation);
+            viewWrapperImpl.OnTouch = new ViewWrapperImpl.OnTouchDelegate(OnTouch);
+            viewWrapperImpl.OnHover = new ViewWrapperImpl.OnHoverDelegate(OnHover);
+            viewWrapperImpl.OnKey = new ViewWrapperImpl.OnKeyDelegate(OnKey);
+            viewWrapperImpl.OnWheel = new ViewWrapperImpl.OnWheelDelegate(OnWheel);
+            viewWrapperImpl.OnRelayout = new ViewWrapperImpl.OnRelayoutDelegate(OnRelayout);
+            viewWrapperImpl.OnSetResizePolicy = new ViewWrapperImpl.OnSetResizePolicyDelegate(OnSetResizePolicy);
+            viewWrapperImpl.GetNaturalSize = new ViewWrapperImpl.GetNaturalSizeDelegate(GetNaturalSize);
+            viewWrapperImpl.CalculateChildSize = new ViewWrapperImpl.CalculateChildSizeDelegate(CalculateChildSize);
+            viewWrapperImpl.GetHeightForWidth = new ViewWrapperImpl.GetHeightForWidthDelegate(GetHeightForWidth);
+            viewWrapperImpl.GetWidthForHeight = new ViewWrapperImpl.GetWidthForHeightDelegate(GetWidthForHeight);
+            viewWrapperImpl.RelayoutDependentOnChildrenDimension = new ViewWrapperImpl.RelayoutDependentOnChildrenDimensionDelegate(RelayoutDependentOnChildren);
+            viewWrapperImpl.RelayoutDependentOnChildren = new ViewWrapperImpl.RelayoutDependentOnChildrenDelegate(RelayoutDependentOnChildren);
+            viewWrapperImpl.OnCalculateRelayoutSize = new ViewWrapperImpl.OnCalculateRelayoutSizeDelegate(OnCalculateRelayoutSize);
+            viewWrapperImpl.OnLayoutNegotiated = new ViewWrapperImpl.OnLayoutNegotiatedDelegate(OnLayoutNegotiated);
+            viewWrapperImpl.OnControlChildAdd = new ViewWrapperImpl.OnControlChildAddDelegate(OnControlChildAdd);
+            viewWrapperImpl.OnControlChildRemove = new ViewWrapperImpl.OnControlChildRemoveDelegate(OnControlChildRemove);
+            viewWrapperImpl.OnStyleChange = new ViewWrapperImpl.OnStyleChangeDelegate(OnStyleChange);
+            viewWrapperImpl.OnAccessibilityActivated = new ViewWrapperImpl.OnAccessibilityActivatedDelegate(OnAccessibilityActivated);
+            viewWrapperImpl.OnAccessibilityPan = new ViewWrapperImpl.OnAccessibilityPanDelegate(OnAccessibilityPan);
+            viewWrapperImpl.OnAccessibilityTouch = new ViewWrapperImpl.OnAccessibilityTouchDelegate(OnAccessibilityTouch);
+            viewWrapperImpl.OnAccessibilityValueChange = new ViewWrapperImpl.OnAccessibilityValueChangeDelegate(OnAccessibilityValueChange);
+            viewWrapperImpl.OnAccessibilityZoom = new ViewWrapperImpl.OnAccessibilityZoomDelegate(OnAccessibilityZoom);
+            viewWrapperImpl.OnKeyInputFocusGained = new ViewWrapperImpl.OnKeyInputFocusGainedDelegate(OnKeyInputFocusGained);
+            viewWrapperImpl.OnKeyInputFocusLost = new ViewWrapperImpl.OnKeyInputFocusLostDelegate(OnKeyInputFocusLost);
+            viewWrapperImpl.GetNextKeyboardFocusableActor = new ViewWrapperImpl.GetNextKeyboardFocusableActorDelegate(GetNextKeyboardFocusableActor);
+            viewWrapperImpl.OnKeyboardFocusChangeCommitted = new ViewWrapperImpl.OnKeyboardFocusChangeCommittedDelegate(OnKeyboardFocusChangeCommitted);
+            viewWrapperImpl.OnKeyboardEnter = new ViewWrapperImpl.OnKeyboardEnterDelegate(OnKeyboardEnter);
+            viewWrapperImpl.OnPinch = new ViewWrapperImpl.OnPinchDelegate(OnPinch);
+            viewWrapperImpl.OnPan = new ViewWrapperImpl.OnPanDelegate(OnPan);
+            viewWrapperImpl.OnTap = new ViewWrapperImpl.OnTapDelegate(OnTap);
+            viewWrapperImpl.OnLongPress = new ViewWrapperImpl.OnLongPressDelegate(OnLongPress);
+
+            // Make sure CustomView is initialized.
+            OnInitialize();
+
+            // Set the StyleName the name of the View
+            // We have to do this because the StyleManager on Native side can't workout it out
+            // This will also ensure that the style of actors/visuals initialized above are applied by the style manager.
+            SetStyleName(this.GetType().Name);
+        }
+
+        /**
+         * @brief Set the background with a property map.
+         *
+         * @param[in] map The background property map.
+         */
+        public void SetBackground(Tizen.NUI.PropertyMap map)
+        {
+            viewWrapperImpl.SetBackground(map);
+        }
+
+        /**
+         * @brief Allows deriving classes to enable any of the gesture detectors that are available.
+         *
+         * Gesture detection can be enabled one at a time or in bitwise format as shown:
+         * @code
+         * EnableGestureDetection(Gesture.Type.Pinch | Gesture.Type.Tap | Gesture.Type.Pan));
+         * @endcode
+         * @param[in]  type  The gesture type(s) to enable.
+         */
+        internal void EnableGestureDetection(Gesture.GestureType type)
+        {
+            viewWrapperImpl.EnableGestureDetection(type);
+        }
+
+        /**
+         * @brief Allows deriving classes to disable any of the gesture detectors.
+         *
+         * Like EnableGestureDetection, this can also be called using bitwise or.
+         * @param[in]  type  The gesture type(s) to disable.
+         * @see EnableGetureDetection
+         */
+        internal void DisableGestureDetection(Gesture.GestureType type)
+        {
+            viewWrapperImpl.DisableGestureDetection(type);
+        }
+
+        /**
+         * @brief Sets whether this control supports two dimensional
+         * keyboard navigation (i.e. whether it knows how to handle the
+         * keyboard focus movement between its child actors).
+         *
+         * The control doesn't support it by default.
+         * @param[in] isSupported Whether this control supports two dimensional keyboard navigation.
+         */
+
+        public bool FocusNavigationSupport
+        {
+            get
+            {
+                return IsKeyboardNavigationSupported();
+            }
+            set
+            {
+                SetKeyboardNavigationSupport(value);
+            }
+        }
+
+        internal void SetKeyboardNavigationSupport(bool isSupported)
+        {
+            viewWrapperImpl.SetKeyboardNavigationSupport(isSupported);
+        }
+
+
+        /**
+         * @brief Gets whether this control supports two dimensional keyboard navigation.
+         *
+         * @return true if this control supports two dimensional keyboard navigation.
+         */
+        internal bool IsKeyboardNavigationSupported()
+        {
+            return viewWrapperImpl.IsKeyboardNavigationSupported();
+        }
+
+
+        public bool FocusGroup
+        {
+            get
+            {
+                return IsKeyboardFocusGroup();
+            }
+            set
+            {
+                SetAsKeyboardFocusGroup(value);
+            }
+        }
+
+        /**
+         * @brief Sets whether this control is a focus group for keyboard navigation.
+         *
+         * (i.e. the scope of keyboard focus movement
+         * can be limitied to its child actors). The control is not a focus group by default.
+         * @param[in] isFocusGroup Whether this control is set as a focus group for keyboard navigation.
+         */
+        internal void SetAsKeyboardFocusGroup(bool isFocusGroup)
+        {
+            viewWrapperImpl.SetAsKeyboardFocusGroup(isFocusGroup);
+        }
+
+        /**
+         * @brief Gets whether this control is a focus group for keyboard navigation.
+         *
+         * @return true if this control is set as a focus group for keyboard navigation.
+         */
+        internal bool IsKeyboardFocusGroup()
+        {
+            return viewWrapperImpl.IsKeyboardFocusGroup();
+        }
+
+        /**
+         * @brief Called by the AccessibilityManager to activate the Control.
+         * @SINCE_1_0.0
+         */
+        internal void AccessibilityActivate()
+        {
+            viewWrapperImpl.AccessibilityActivate();
+        }
+
+        /**
+         * @brief Called by the KeyboardFocusManager.
+         */
+        public void KeyboardEnter()
+        {
+            viewWrapperImpl.KeyboardEnter();
+        }
+
+        /**
+         * @brief Called by the KeyInputFocusManager to emit key event signals.
+         *
+         * @param[in] key The key event.
+         * @return True if the event was consumed.
+         */
+        public bool EmitKeyEventSignal(Key key)
+        {
+            return viewWrapperImpl.EmitKeyEventSignal(key);
+        }
+
+        /**
+         * @brief Request a relayout, which means performing a size negotiation on this actor, its parent and children (and potentially whole scene).
+         *
+         * This method can also be called from a derived class every time it needs a different size.
+         * At the end of event processing, the relayout process starts and
+         * all controls which requested Relayout will have their sizes (re)negotiated.
+         *
+         * @note RelayoutRequest() can be called multiple times; the size negotiation is still
+         * only performed once, i.e. there is no need to keep track of this in the calling side.
+         */
+        protected void RelayoutRequest()
+        {
+            viewWrapperImpl.RelayoutRequest();
+        }
+
+        /**
+         * @brief Provides the Actor implementation of GetHeightForWidth.
+         * @param width Width to use.
+         * @return The height based on the width.
+         */
+        protected float GetHeightForWidthBase(float width)
+        {
+            return viewWrapperImpl.GetHeightForWidthBase(width);
+        }
+
+        /**
+         * @brief Provides the Actor implementation of GetWidthForHeight.
+         * @param height Height to use.
+         * @return The width based on the height.
+         */
+        protected float GetWidthForHeightBase(float height)
+        {
+            return viewWrapperImpl.GetWidthForHeightBase(height);
+        }
+
+        /**
+         * @brief Calculate the size for a child using the base actor object.
+         *
+         * @param[in] child The child actor to calculate the size for
+         * @param[in] dimension The dimension to calculate the size for. E.g. width or height
+         * @return Return the calculated size for the given dimension. If more than one dimension is requested, just return the first one found.
+         */
+        protected float CalculateChildSizeBase(Actor child, DimensionType dimension)
+        {
+            return viewWrapperImpl.CalculateChildSizeBase(child, dimension);
+        }
+
+        /**
+         * @brief Determine if this actor is dependent on it's children for relayout from the base class.
+         *
+         * @param dimension The dimension(s) to check for
+         * @return Return if the actor is dependent on it's children.
+         */
+        protected bool RelayoutDependentOnChildrenBase(DimensionType dimension)
+        {
+            return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);
+        }
+
+        /**
+         * @brief Determine if this actor is dependent on it's children for relayout from the base class.
+         *
+         * @param dimension The dimension(s) to check for
+         * @return Return if the actor is dependent on it's children.
+         */
+        protected bool RelayoutDependentOnChildrenBase()
+        {
+            return viewWrapperImpl.RelayoutDependentOnChildrenBase();
+        }
+
+        /**
+         * @brief Register a visual by Property Index, linking an Actor to visual when required.
+         * In the case of the visual being an actor or control deeming visual not required then visual should be an empty handle.
+         * No parenting is done during registration, this should be done by derived class.
+         *
+         * @param[in] index The Property index of the visual, used to reference visual
+         * @param[in] visual The visual to register
+         * @note Derived class should not call visual.SetOnStage(actor). It is the responsibility of the base class to connect/disconnect registered visual to stage.
+         *       Use below API with enabled set to false if derived class wishes to control when visual is staged.
+         */
+        protected void RegisterVisual(int index, VisualBase visual)
+        {
+            viewWrapperImpl.RegisterVisual(index, visual);
+        }
+
+        /**
+         * @brief Register a visual by Property Index, linking an Actor to visual when required.
+         * In the case of the visual being an actor or control deeming visual not required then visual should be an empty handle.
+         * If enabled is false then the visual is not set on stage until enabled by the derived class.
+         * @see EnableVisual
+         *
+         * @param[in] index The Property index of the visual, used to reference visual
+         * @param[in] visual The visual to register
+         * @param[in] enabled false if derived class wants to control when visual is set on stage.
+         *
+         */
+        protected void RegisterVisual(int index, VisualBase visual, bool enabled)
+        {
+            viewWrapperImpl.RegisterVisual(index, visual, enabled);
+        }
+
+        /**
+         * @brief Erase the entry matching the given index from the list of registered visuals
+         * @param[in] index The Property index of the visual, used to reference visual
+         *
+         */
+        protected void UnregisterVisual(int index)
+        {
+            viewWrapperImpl.UnregisterVisual(index);
+        }
+
+        /**
+         * @brief Retrieve the visual associated with the given property index.
+         *
+         * @param[in] index The Property index of the visual.
+         * @return The registered visual if exist, otherwise empty handle.
+         * @note For managing object life-cycle, do not store the returned visual as a member which increments its reference count.
+         */
+        protected VisualBase GetVisual(int index)
+        {
+            return viewWrapperImpl.GetVisual(index);
+        }
+
+        /**
+         * @brief Sets the given visual to be displayed or not when parent staged.
+         *
+         * @param[in] index The Property index of the visual
+         * @param[in] enable flag to set enabled or disabled.
+         */
+        protected void EnableVisual(int index, bool enable)
+        {
+            viewWrapperImpl.EnableVisual(index, enable);
+        }
+
+        /**
+         * @brief Queries if the given visual is to be displayed when parent staged.
+         *
+         * @param[in] index The Property index of the visual
+         * @return bool whether visual is enabled or not
+         */
+        protected bool IsVisualEnabled(int index)
+        {
+            return viewWrapperImpl.IsVisualEnabled(index);
+        }
+
+        /**
+         * @brief Create a transition effect on the control.
+         *
+         * @param[in] transitionData The transition data describing the effect to create
+         * @return A handle to an animation defined with the given effect, or an empty
+         * handle if no properties match.
+         */
+        protected Animation CreateTransition(TransitionData transitionData)
+        {
+            return viewWrapperImpl.CreateTransition(transitionData);
+        }
+
+        /**
+         * @brief Emits KeyInputFocusGained signal if true else emits KeyInputFocusLost signal
+         *
+         * Should be called last by the control after it acts on the Input Focus change.
+         *
+         * @param[in] focusGained True if gained, False if lost
+         */
+        protected void EmitKeyInputFocusSignal(bool focusGained)
+        {
+            viewWrapperImpl.EmitKeyInputFocusSignal(focusGained);
+        }
+
+        /**
+         * @brief This method is called after the Control has been initialized.
+         *
+         * Derived classes should do any second phase initialization by overriding this method.
+         */
+        public virtual void OnInitialize()
+        {
+        }
+
+        /**
+         * @brief Called after the actor has been connected to the stage.
+         *
+         * When an actor is connected, it will be directly or indirectly parented to the root Actor.
+         * @param[in] depth The depth in the hierarchy for the actor
+         *
+         * @note The root Actor is provided automatically by Dali::Stage, and is always considered to be connected.
+         * When the parent of a set of actors is connected to the stage, then all of the children
+         * will received this callback.
+         * For the following actor tree, the callback order will be A, B, D, E, C, and finally F.
+         *
+         * @code
+         *
+         *       A (parent)
+         *      / \
+         *     B   C
+         *    / \   \
+         *   D   E   F
+         *
+         * @endcode
+         * @param[in] depth The depth in the hierarchy for the actor
+         */
+        public virtual void OnStageConnection(int depth)
+        {
+        }
+
+        /**
+         * @brief Called after the actor has been disconnected from Stage.
+         *
+         * If an actor is disconnected it either has no parent, or is parented to a disconnected actor.
+         *
+         * @note When the parent of a set of actors is disconnected to the stage, then all of the children
+         * will received this callback, starting with the leaf actors.
+         * For the following actor tree, the callback order will be D, E, B, F, C, and finally A.
+         *
+         * @code
+         *
+         *       A (parent)
+         *      / \
+         *     B   C
+         *    / \   \
+         *   D   E   F
+         *
+         * @endcode
+         */
+        public virtual void OnStageDisconnection()
+        {
+        }
+
+        /**
+         * @brief Called after a child has been added to the owning actor.
+         *
+         * @param[in] child The child which has been added
+         */
+        public virtual void OnChildAdd(Actor actor)
+        {
+        }
+
+        /**
+         * @brief Called after the owning actor has attempted to remove a child( regardless of whether it succeeded or not ).
+         *
+         * @param[in] child The child being removed
+         */
+        public virtual void OnChildRemove(Actor actor)
+        {
+        }
+
+        /**
+         * @brief Called when the owning actor property is set.
+         *
+         * @param[in] index The Property index that was set
+         * @param[in] propertyValue The value to set
+         */
+        public virtual void OnPropertySet(int index, Tizen.NUI.PropertyValue propertyValue)
+        {
+        }
+
+        /**
+         * @brief Called when the owning actor's size is set e.g. using Actor::SetSize().
+         *
+         * @param[in] targetSize The target size. Note that this target size may not match the size returned via Actor.GetTargetSize.
+         */
+        public virtual void OnSizeSet(Vector3 targetSize)
+        {
+        }
+
+        /**
+         * @brief Called when the owning actor's size is animated e.g. using Animation::AnimateTo( Property( actor, Actor::Property::SIZE ), ... ).
+         *
+         * @param[in] animation The object which is animating the owning actor.
+         * @param[in] targetSize The target size. Note that this target size may not match the size returned via @ref Actor.GetTargetSize.
+         */
+        public virtual void OnSizeAnimation(Animation animation, Vector3 targetSize)
+        {
+        }
+
+        /**
+         * @DEPRECATED_1_1.37 Connect to TouchSignal() instead.
+         *
+         * @brief Called after a touch-event is received by the owning actor.
+         *
+         * @param[in] touch The touch event
+         * @return True if the event should be consumed.
+         * @note CustomViewBehaviour.REQUIRES_TOUCH_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).
+         */
+        public virtual bool OnTouch(Touch touch)
+        {
+            return false; // Do not consume
+        }
+
+        /**
+         * @brief Called after a hover-event is received by the owning actor.
+         *
+         * @param[in] hover The hover event
+         * @return True if the hover event should be consumed.
+         * @note CustomViewBehaviour.REQUIRES_HOVER_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).
+         */
+        public virtual bool OnHover(Hover hover)
+        {
+            return false; // Do not consume
+        }
+
+        /**
+         * @brief Called after a key-event is received by the actor that has had its focus set.
+         *
+         * @param[in] key the Key Event
+         * @return True if the event should be consumed.
+         */
+        public virtual bool OnKey(Key key)
+        {
+            return false; // Do not consume
+        }
+
+        /**
+         * @brief Called after a wheel-event is received by the owning actor.
+         *
+         * @param[in] wheel The wheel event
+         * @return True if the event should be consumed.
+         * @note CustomViewBehaviour.REQUIRES_WHEEL_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).
+         */
+        public virtual bool OnWheel(Wheel wheel)
+        {
+            return false; // Do not consume
+        }
+
+        /**
+         * @brief Called after the size negotiation has been finished for this control.
+         *
+         * The control is expected to assign this given size to itself/its children.
+         *
+         * Should be overridden by derived classes if they need to layout
+         * actors differently after certain operations like add or remove
+         * actors, resize or after changing specific properties.
+         *
+         * @param[in]      size       The allocated size.
+         * @param[in,out]  container  The control should add actors to this container that it is not able
+         *                            to allocate a size for.
+         * @note  As this function is called from inside the size negotiation algorithm, you cannot
+         * call RequestRelayout (the call would just be ignored).
+         */
+        public virtual void OnRelayout(Vector2 size, RelayoutContainer container)
+        {
+        }
+
+        /**
+         * @brief Notification for deriving classes
+         *
+         * @param[in] policy The policy being set
+         * @param[in] dimension The dimension the policy is being set for
+         */
+        public virtual void OnSetResizePolicy(ResizePolicyType policy, DimensionType dimension)
+        {
+        }
+
+        /**
+         * @brief Return the natural size of the actor.
+         *
+         * @return The actor's natural size
+         */
+        public virtual Size GetNaturalSize()
+        {
+            return new Size(0.0f, 0.0f, 0.0f);
+        }
+
+        /**
+         * @brief Calculate the size for a child.
+         *
+         * @param[in] child The child actor to calculate the size for
+         * @param[in] dimension The dimension to calculate the size for. E.g. width or height.
+         * @return Return the calculated size for the given dimension.
+         */
+        public virtual float CalculateChildSize(Actor child, DimensionType dimension)
+        {
+            return viewWrapperImpl.CalculateChildSizeBase(child, dimension);
+        }
+
+        /**
+         * @brief This method is called during size negotiation when a height is required for a given width.
+         *
+         * Derived classes should override this if they wish to customize the height returned.
+         *
+         * @param width Width to use.
+         * @return The height based on the width.
+         */
+        public virtual float GetHeightForWidth(float width)
+        {
+            return viewWrapperImpl.GetHeightForWidthBase(width);
+        }
+
+        /**
+         * @brief This method is called during size negotiation when a width is required for a given height.
+         *
+         * Derived classes should override this if they wish to customize the width returned.
+         *
+         * @param height Height to use.
+         * @return The width based on the width.
+         */
+        public virtual float GetWidthForHeight(float height)
+        {
+            return viewWrapperImpl.GetWidthForHeightBase(height);
+        }
+
+        /**
+         * @brief Determine if this actor is dependent on it's children for relayout.
+         *
+         * @param dimension The dimension(s) to check for
+         * @return Return if the actor is dependent on it's children.
+         */
+        public virtual bool RelayoutDependentOnChildren(DimensionType dimension)
+        {
+            return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);
+        }
+
+        /**
+         * @brief Determine if this actor is dependent on it's children for relayout from the base class.
+         *
+         * @return Return if the actor is dependent on it's children.
+         */
+        public virtual bool RelayoutDependentOnChildren()
+        {
+            return viewWrapperImpl.RelayoutDependentOnChildrenBase();
+        }
+
+        /**
+         * @brief Virtual method to notify deriving classes that relayout dependencies have been
+         * met and the size for this object is about to be calculated for the given dimension
+         *
+         * @param dimension The dimension that is about to be calculated
+         */
+        public virtual void OnCalculateRelayoutSize(DimensionType dimension)
+        {
+        }
+
+        /**
+         * @brief Virtual method to notify deriving classes that the size for a dimension
+         * has just been negotiated
+         *
+         * @param[in] size The new size for the given dimension
+         * @param[in] dimension The dimension that was just negotiated
+         */
+        public virtual void OnLayoutNegotiated(float size, DimensionType dimension)
+        {
+        }
+
+        /**
+         * @brief This method should be overridden by deriving classes requiring notifications when the style changes.
+         *
+         * @param[in] styleManager  The StyleManager object.
+         * @param[in] change  Information denoting what has changed.
+         */
+        public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change)
+        {
+        }
+
+        /**
+         * @brief This method is called when the control is accessibility activated.
+         *
+         * Derived classes should override this to perform custom accessibility activation.
+         * @return true if this control can perform accessibility activation.
+         */
+        internal virtual bool OnAccessibilityActivated()
+        {
+            return false;
+        }
+
+        /**
+         * @brief This method should be overridden by deriving classes when they wish to respond the accessibility
+         * pan gesture.
+         *
+         * @param[in] gesture The pan gesture.
+         * @return true if the pan gesture has been consumed by this control
+         */
+        internal virtual bool OnAccessibilityPan(PanGesture gestures)
+        {
+            return false;
+        }
+
+        /**
+         * @brief This method should be overridden by deriving classes when they wish to respond the accessibility
+         * touch event.
+         *
+         * @param[in] touch The touch event.
+         * @return true if the touch event has been consumed by this control
+         */
+        internal virtual bool OnAccessibilityTouch(Touch touch)
+        {
+            return false;
+        }
+
+        /**
+         * @brief This method should be overridden by deriving classes when they wish to respond
+         * the accessibility up and down action (i.e. value change of slider control).
+         *
+         * @param[in] isIncrease Whether the value should be increased or decreased
+         * @return true if the value changed action has been consumed by this control
+         */
+        internal virtual bool OnAccessibilityValueChange(bool isIncrease)
+        {
+            return false;
+        }
+
+        /**
+         * @brief This method should be overridden by deriving classes when they wish to respond
+         * the accessibility zoom action.
+         *
+         * @return true if the zoom action has been consumed by this control
+         */
+        internal virtual bool OnAccessibilityZoom()
+        {
+            return false;
+        }
+
+        /**
+         * @brief This method should be overridden by deriving classes when they wish to respond
+         * the accessibility zoom action.
+         *
+         * @return true if the zoom action has been consumed by this control
+         */
+        public virtual void OnKeyInputFocusGained()
+        {
+        }
+
+        /**
+         * @brief Called when the control loses key input focus.
+         *
+         * Should be overridden by derived classes if they need to customize what happens when focus is lost.
+         */
+        public virtual void OnKeyInputFocusLost()
+        {
+        }
+
+        /**
+         * @brief Gets the next keyboard focusable actor in this control towards the given direction.
+         *
+         * A control needs to override this function in order to support two dimensional keyboard navigation.
+         * @param[in] currentFocusedActor The current focused actor.
+         * @param[in] direction The direction to move the focus towards.
+         * @param[in] loopEnabled Whether the focus movement should be looped within the control.
+         * @return the next keyboard focusable actor in this control or an empty handle if no actor can be focused.
+         */
+        public virtual Actor GetNextKeyboardFocusableActor(Actor currentFocusedActor, View.FocusDirection direction, bool loopEnabled)
+        {
+            return new Actor();
+        }
+
+        /**
+         * @brief Informs this control that its chosen focusable actor will be focused.
+         *
+         * This allows the application to preform any actions if wishes
+         * before the focus is actually moved to the chosen actor.
+         *
+         * @param[in] commitedFocusableActor The commited focusable actor.
+         */
+        public virtual void OnKeyboardFocusChangeCommitted(Actor commitedFocusableActor)
+        {
+        }
+
+        /**
+         * @brief This method is called when the control has enter pressed on it.
+         *
+         * Derived classes should override this to perform custom actions.
+         * @return true if this control supported this action.
+         */
+        public virtual bool OnKeyboardEnter()
+        {
+            return false;
+        }
+
+        /**
+         * @brief Called whenever a pinch gesture is detected on this control.
+         *
+         * This can be overridden by deriving classes when pinch detection
+         * is enabled.  The default behaviour is to scale the control by the
+         * pinch scale.
+         *
+         * @param[in]  pinch  The pinch gesture.
+         * @note If overridden, then the default behaviour will not occur.
+         * @note Pinch detection should be enabled via EnableGestureDetection().
+         * @see EnableGestureDetection
+         */
+        internal virtual void OnPinch(PinchGesture pinch)
+        {
+        }
+
+        /**
+         * @brief Called whenever a pan gesture is detected on this control.
+         *
+         * This should be overridden by deriving classes when pan detection
+         * is enabled.
+         *
+         * @param[in]  pan  The pan gesture.
+         * @note There is no default behaviour with panning.
+         * @note Pan detection should be enabled via EnableGestureDetection().
+         * @see EnableGestureDetection
+         */
+        public virtual void OnPan(PanGesture pan)
+        {
+        }
+
+        /**
+         * @brief Called whenever a tap gesture is detected on this control.
+         *
+         * This should be overridden by deriving classes when tap detection
+         * is enabled.
+         *
+         * @param[in]  tap  The tap gesture.
+         * @note There is no default behaviour with a tap.
+         * @note Tap detection should be enabled via EnableGestureDetection().
+         * @see EnableGestureDetection
+         */
+        internal virtual void OnTap(TapGesture tap)
+        {
+        }
+
+        /**
+         * @brief Called whenever a long press gesture is detected on this control.
+         *
+         * This should be overridden by deriving classes when long press
+         * detection is enabled.
+         *
+         * @param[in]  longPress  The long press gesture.
+         * @note There is no default behaviour associated with a long press.
+         * @note Long press detection should be enabled via EnableGestureDetection().
+         * @see EnableGestureDetection
+         */
+        internal virtual void OnLongPress(LongPressGesture longPress)
+        {
+        }
+
+        private void OnControlChildAdd(Actor child)
+        {
+        }
+
+        private void OnControlChildRemove(Actor child)
+        {
+        }
+    }
+    public enum CustomViewBehaviour
+    {
+        ViewBehaviourDefault = 0,
+        DisableSizeNegotiation = 1 << 0,
+        RequiresKeyboardNavigationSupport = 1 << 5,
+        DisableStyleChangeSignals = 1 << 6,
+        LastViewBehaviourFlag
+    }
+}
index 22c133e93ecf3e9cc4b816538068619e9f42ba52..1f25abff84d709aa73794d950d888981fe4a4d5e 100755 (executable)
@@ -92,8 +92,8 @@ namespace Tizen.NUI
 \r
             this.Add(_textField);\r
 \r
-            _textField.KeyInputFocusGained += TextFieldKeyInputFocusGained;\r
-            _textField.KeyInputFocusLost += TextFieldKeyInputFocusLost;\r
+            _textField.FocusGained += TextFieldKeyInputFocusGained;\r
+            _textField.FocusLost += TextFieldKeyInputFocusLost;\r
         }\r
 \r
         public override Size GetNaturalSize()\r
@@ -101,14 +101,14 @@ namespace Tizen.NUI
             return new Size(150.0f, 150.0f, 0.0f);\r
         }\r
 \r
-        public void TextFieldKeyInputFocusGained(object source, KeyInputFocusGainedEventArgs e)\r
+        public void TextFieldKeyInputFocusGained(object source, EventArgs e)\r
         {\r
             // Make sure when the current spin that takes input focus also takes the keyboard focus\r
             // For example, when you tap the spin directly\r
-            FocusManager.Instance.SetCurrentFocusActor(_textField);\r
+            FocusManager.Instance.SetCurrentFocusView(_textField);\r
         }\r
 \r
-        public void TextFieldKeyInputFocusLost(object source, KeyInputFocusLostEventArgs e)\r
+        public void TextFieldKeyInputFocusLost(object source, EventArgs e)\r
         {\r
             int previousValue = _currentValue;\r
 \r
diff --git a/src/Tizen.NUI/src/public/CustomView/VisualView.cs b/src/Tizen.NUI/src/public/CustomView/VisualView.cs
new file mode 100755 (executable)
index 0000000..152fe08
--- /dev/null
@@ -0,0 +1,158 @@
+// Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
+//\r
+// Licensed under the Apache License, Version 2.0 (the "License");\r
+// you may not use this file except in compliance with the License.\r
+// You may obtain a copy of the License at\r
+//\r
+// http://www.apache.org/licenses/LICENSE-2.0\r
+//\r
+// Unless required by applicable law or agreed to in writing, software\r
+// distributed under the License is distributed on an "AS IS" BASIS,\r
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+// See the License for the specific language governing permissions and\r
+// limitations under the License.\r
+//\r
+\r
+namespace Tizen.NUI\r
+{\r
+    using System;\r
+    using System.Runtime.InteropServices;\r
+    using System.Collections.Generic;\r
+    using System.Linq;\r
+\r
+    /// <summary>\r
+    /// A visual view control for user add any visual to it.\r
+    /// Example:\r
+    /// VisualView _visualView = new VisualView();\r
+    /// ImageVisualMap imageVisualMap1 = new ImageVisualMap();\r
+    /// imageVisualMap1.URL = "./NUISample/res/images/image-1.jpg";\r
+    /// imageVisualMap1.VisualSize = new Vector2( 300.0f, 300.0f );\r
+    /// imageVisualMap1.Offset = new Vector2( 50.0f, 50.0f );\r
+    /// imageVisualMap1.OffsetSizeMode = new Vector4( 1.0f, 1.0f, 1.0f, 1.0f );\r
+    /// imageVisualMap1.Origin = AlignType.TOP_BEGIN;\r
+    /// imageVisualMap1.AnchorPoint = AlignType.TOP_BEGIN;\r
+    /// _visualView.AddVisual("imageVisual1", imageVisualMap1);\r
+    /// </summary>\r
+    public class VisualView : CustomView\r
+    {\r
+        //private LinkedList<VisualBase> _visualList = null;\r
+        private Dictionary<int, VisualBase> _visualDictionary = null;\r
+        private Dictionary<int, PropertyMap> _tranformDictionary = null;\r
+\r
+        static CustomView CreateInstance()\r
+        {\r
+            return new VisualView();\r
+        }\r
+\r
+        // static constructor registers the control type (for user can add kinds of visuals to it)\r
+        static VisualView()\r
+        {\r
+            // ViewRegistry registers control type with DALi type registery\r
+            // also uses introspection to find any properties that need to be registered with type registry\r
+            ViewRegistry.Instance.Register(CreateInstance, typeof(VisualView));\r
+        }\r
+\r
+        public VisualView() : base(typeof(VisualView).Name, CustomViewBehaviour.ViewBehaviourDefault)\r
+        {\r
+        }\r
+\r
+        /// <summary>\r
+        /// Override the parent method.\r
+        /// </summary>\r
+        public override void OnInitialize()\r
+        {\r
+            //Initialize empty\r
+            _visualDictionary = new Dictionary<int, VisualBase>();\r
+            _tranformDictionary = new Dictionary<int, PropertyMap>();\r
+        }\r
+\r
+        /// <summary>\r
+        /// Add or update a visual to visual view.\r
+        /// </summary>\r
+        /// <param name="visualName"> The name of visual to add. If add a existed visual name, the visual will be replaced. </param>\r
+        /// <param name="visualMap"> The property map of visual to create.  </param>\r
+        public void AddVisual(string visualName, VisualMap visualMap)\r
+        {\r
+            VisualBase visual = null;\r
+            int visualIndex = -1;\r
+\r
+            /* If the visual had added, then replace it using RegisterVusal. */\r
+            //visual.Name = name;\r
+            foreach (var item in _visualDictionary)\r
+            {\r
+                if (item.Value.Name == visualName)\r
+                {\r
+                    /* Find a existed visual, its key also exited. */\r
+                    visualIndex = item.Key;\r
+                    UnregisterVisual(visualIndex);\r
+                    _visualDictionary.Remove(visualIndex);\r
+                    _tranformDictionary.Remove(visualIndex);\r
+                    break;\r
+                }\r
+            }\r
+\r
+            if (visualIndex == -1) // The visual is a new one, create index for it. */\r
+            {\r
+                visualIndex = RegisterProperty(visualName, new PropertyValue(visualName), PropertyAccessMode.ReadWrite);\r
+            }\r
+\r
+            if (visualIndex > 0)\r
+            {\r
+                visual = VisualFactory.Get().CreateVisual(visualMap.OutputVisualMap); // Create a visual for the new one.\r
+                visual.Name = visualName;\r
+                visual.DepthIndex = visualMap.DepthIndex;\r
+\r
+                RegisterVisual(visualIndex, visual);\r
+\r
+                _visualDictionary.Add(visualIndex, visual);\r
+                _tranformDictionary.Add(visualIndex, visualMap.OutputTransformMap);\r
+\r
+                RelayoutRequest();\r
+            }\r
+        }\r
+\r
+        /// <summary>\r
+        /// Remove a visual by name.\r
+        /// </summary>\r
+        /// <param name="visualName"> The name of visual to remove. </param>\r
+        public void RemoveVisual(string visualName)\r
+        {\r
+            foreach (var item in _visualDictionary)\r
+            {\r
+                if (item.Value.Name == visualName)\r
+                {\r
+                    EnableVisual(item.Key, false);\r
+                    UnregisterVisual(item.Key);\r
+                    _visualDictionary.Remove(item.Key);\r
+                }\r
+            }\r
+        }\r
+\r
+        /// <summary>\r
+        /// A visual view control for user add any visual to it.\r
+        /// </summary>\r
+        /// <returns> The number of visuals. </returns>\r
+        public int NumberOfVisuals()\r
+        {\r
+            return _visualDictionary.Count;\r
+        }\r
+\r
+        /// <summary>\r
+        /// Remove all visuals of visual view.\r
+        /// </summary>\r
+        public void RemoveAll()\r
+        {\r
+            _visualDictionary.Clear();\r
+        }\r
+\r
+        public override void OnRelayout(Vector2 size, RelayoutContainer container)\r
+        {\r
+            foreach (var item in _visualDictionary)\r
+            {\r
+                item.Value.SetTransformAndSize(_tranformDictionary[item.Key], size);\r
+                EnableVisual(item.Key, true);\r
+            }\r
+        }\r
+    }\r
+\r
+}\r
index 925f8cd22c127ce98a762a5774fbb3b179d16268..fc8175a7b76bb78a28e062be5c60df0892c2cfdc 100755 (executable)
@@ -1,91 +1,91 @@
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Degree : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Degree(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Degree obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Degree()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Degree(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public Degree() : this(NDalicPINVOKE.new_Degree__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Degree(float value) : this(NDalicPINVOKE.new_Degree__SWIG_1(value), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Degree(Radian value) : this(NDalicPINVOKE.new_Degree__SWIG_2(Radian.getCPtr(value)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public float degree\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Degree_degree_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Degree_degree_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Degree : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Degree(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Degree obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Degree()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Degree(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public Degree() : this(NDalicPINVOKE.new_Degree__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Degree(float value) : this(NDalicPINVOKE.new_Degree__SWIG_1(value), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Degree(Radian value) : this(NDalicPINVOKE.new_Degree__SWIG_2(Radian.getCPtr(value)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public float degree
+        {
+            set
+            {
+                NDalicPINVOKE.Degree_degree_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Degree_degree_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+    }
+
+}
index 9950008c5ec3b25ccc32b14d44bb3b562878770b..a5df86d564bceb765247a9c2f5d8d68a3df094f3 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class FlexContainer : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal FlexContainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.FlexContainer_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FlexContainer obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~FlexContainer()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_FlexContainer(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_FlexContainer_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_FlexContainer_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int CONTENT_DIRECTION = NDalicPINVOKE.FlexContainer_Property_CONTENT_DIRECTION_get();\r
-            internal static readonly int FLEX_DIRECTION = NDalicPINVOKE.FlexContainer_Property_FLEX_DIRECTION_get();\r
-            internal static readonly int FLEX_WRAP = NDalicPINVOKE.FlexContainer_Property_FLEX_WRAP_get();\r
-            internal static readonly int JUSTIFY_CONTENT = NDalicPINVOKE.FlexContainer_Property_JUSTIFY_CONTENT_get();\r
-            internal static readonly int ALIGN_ITEMS = NDalicPINVOKE.FlexContainer_Property_ALIGN_ITEMS_get();\r
-            internal static readonly int ALIGN_CONTENT = NDalicPINVOKE.FlexContainer_Property_ALIGN_CONTENT_get();\r
-\r
-        }\r
-\r
-        public class ChildProperty : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal ChildProperty(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ChildProperty obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~ChildProperty()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_FlexContainer_ChildProperty(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal ChildProperty() : this(NDalicPINVOKE.new_FlexContainer_ChildProperty(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int FLEX = NDalicPINVOKE.FlexContainer_ChildProperty_FLEX_get();\r
-            internal static readonly int ALIGN_SELF = NDalicPINVOKE.FlexContainer_ChildProperty_ALIGN_SELF_get();\r
-            internal static readonly int FLEX_MARGIN = NDalicPINVOKE.FlexContainer_ChildProperty_FLEX_MARGIN_get();\r
-\r
-        }\r
-\r
-        public FlexContainer() : this(NDalicPINVOKE.FlexContainer_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal FlexContainer(FlexContainer handle) : this(NDalicPINVOKE.new_FlexContainer__SWIG_1(FlexContainer.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal FlexContainer Assign(FlexContainer handle)\r
-        {\r
-            FlexContainer ret = new FlexContainer(NDalicPINVOKE.FlexContainer_Assign(swigCPtr, FlexContainer.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal new static FlexContainer DownCast(BaseHandle handle)\r
-        {\r
-            FlexContainer ret = new FlexContainer(NDalicPINVOKE.FlexContainer_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        /// <summary>\r
-        /// Enumeration for the direction of the main axis in the flex container. This determines\r
-        /// the direction that flex items are laid out in the flex container.\r
-        /// </summary>\r
-        public enum FlexDirectionType\r
-        {\r
-            Column,\r
-            ColumnReverse,\r
-            Row,\r
-            RowReverse\r
-        }\r
-\r
-        public enum ContentDirectionType\r
-        {\r
-            Inherit,\r
-            LTR,\r
-            RTL\r
-        }\r
-\r
-        /// <summary>\r
-        /// Enumeration for the alignment of the flex items when the items do not use all available\r
-        /// space on the main-axis.\r
-        /// </summary>\r
-        public enum Justification\r
-        {\r
-            JustifyFlexStart,\r
-            JustifyCenter,\r
-            JustifyFlexEnd,\r
-            JustifySpaceBetween,\r
-            JustifySpaceAround\r
-        }\r
-\r
-        /// <summary>\r
-        /// Enumeration for the alignment of the flex items or lines when the items or lines do not\r
-        /// use all the available space on the cross-axis.\r
-        /// </summary>\r
-        public enum Alignment\r
-        {\r
-            AlignAuto,\r
-            AlignFlexStart,\r
-            AlignCenter,\r
-            AlignFlexEnd,\r
-            AlignStretch\r
-        }\r
-\r
-        /// <summary>\r
-        /// Enumeration for the wrap type of the flex container when there is no enough room for\r
-        /// all the items on one flex line.\r
-        /// </summary>\r
-        public enum WrapType\r
-        {\r
-            NoWrap,\r
-            Wrap\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000,\r
-            CHILD_PROPERTY_START_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX,\r
-            CHILD_PROPERTY_END_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX + 1000\r
-        }\r
-\r
-        /// <summary>\r
-        /// The primary direction in which content is ordered\r
-        /// </summary>\r
-        public ContentDirectionType ContentDirection\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(FlexContainer.Property.CONTENT_DIRECTION).Get(ref temp);\r
-                return (ContentDirectionType)temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(FlexContainer.Property.CONTENT_DIRECTION, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-        /// <summary>\r
-        /// The direction of the main-axis which determines the direction that flex items are laid out\r
-        /// </summary>\r
-        public FlexDirectionType FlexDirection\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(FlexContainer.Property.FLEX_DIRECTION).Get(ref temp);\r
-                return (FlexDirectionType)temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(FlexContainer.Property.FLEX_DIRECTION, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-        /// <summary>\r
-        /// Whether the flex items should wrap or not if there is no enough room for them on one flex line\r
-        /// </summary>\r
-        public WrapType FlexWrap\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(FlexContainer.Property.FLEX_WRAP).Get(ref temp);\r
-                return (WrapType)temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(FlexContainer.Property.FLEX_WRAP, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-        /// <summary>\r
-        /// The alignment of flex items when the items do not use all available space on the main-axis\r
-        /// </summary>\r
-        public Justification JustifyContent\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(FlexContainer.Property.JUSTIFY_CONTENT).Get(ref temp);\r
-                return (Justification)temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(FlexContainer.Property.JUSTIFY_CONTENT, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-        /// <summary>\r
-        /// The alignment of flex items when the items do not use all available space on the cross-axis\r
-        /// </summary>\r
-        public Alignment AlignItems\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(FlexContainer.Property.ALIGN_ITEMS).Get(ref temp);\r
-                return (Alignment)temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(FlexContainer.Property.ALIGN_ITEMS, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-        /// <summary>\r
-        /// Similar to "alignItems", but it aligns flex lines, so only works when there are multiple lines\r
-        /// </summary>\r
-        public Alignment AlignContent\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(FlexContainer.Property.ALIGN_CONTENT).Get(ref temp);\r
-                return (Alignment)temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(FlexContainer.Property.ALIGN_CONTENT, new Tizen.NUI.PropertyValue((int)value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class FlexContainer : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal FlexContainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.FlexContainer_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FlexContainer obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~FlexContainer()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_FlexContainer(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_FlexContainer_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_FlexContainer_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int CONTENT_DIRECTION = NDalicPINVOKE.FlexContainer_Property_CONTENT_DIRECTION_get();
+            internal static readonly int FLEX_DIRECTION = NDalicPINVOKE.FlexContainer_Property_FLEX_DIRECTION_get();
+            internal static readonly int FLEX_WRAP = NDalicPINVOKE.FlexContainer_Property_FLEX_WRAP_get();
+            internal static readonly int JUSTIFY_CONTENT = NDalicPINVOKE.FlexContainer_Property_JUSTIFY_CONTENT_get();
+            internal static readonly int ALIGN_ITEMS = NDalicPINVOKE.FlexContainer_Property_ALIGN_ITEMS_get();
+            internal static readonly int ALIGN_CONTENT = NDalicPINVOKE.FlexContainer_Property_ALIGN_CONTENT_get();
+
+        }
+
+        public class ChildProperty : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal ChildProperty(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ChildProperty obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~ChildProperty()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_FlexContainer_ChildProperty(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal ChildProperty() : this(NDalicPINVOKE.new_FlexContainer_ChildProperty(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int FLEX = NDalicPINVOKE.FlexContainer_ChildProperty_FLEX_get();
+            internal static readonly int ALIGN_SELF = NDalicPINVOKE.FlexContainer_ChildProperty_ALIGN_SELF_get();
+            internal static readonly int FLEX_MARGIN = NDalicPINVOKE.FlexContainer_ChildProperty_FLEX_MARGIN_get();
+
+        }
+
+        public FlexContainer() : this(NDalicPINVOKE.FlexContainer_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal FlexContainer(FlexContainer handle) : this(NDalicPINVOKE.new_FlexContainer__SWIG_1(FlexContainer.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal FlexContainer Assign(FlexContainer handle)
+        {
+            FlexContainer ret = new FlexContainer(NDalicPINVOKE.FlexContainer_Assign(swigCPtr, FlexContainer.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal new static FlexContainer DownCast(BaseHandle handle)
+        {
+            FlexContainer ret = new FlexContainer(NDalicPINVOKE.FlexContainer_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Enumeration for the direction of the main axis in the flex container. This determines
+        /// the direction that flex items are laid out in the flex container.
+        /// </summary>
+        public enum FlexDirectionType
+        {
+            Column,
+            ColumnReverse,
+            Row,
+            RowReverse
+        }
+
+        public enum ContentDirectionType
+        {
+            Inherit,
+            LTR,
+            RTL
+        }
+
+        /// <summary>
+        /// Enumeration for the alignment of the flex items when the items do not use all available
+        /// space on the main-axis.
+        /// </summary>
+        public enum Justification
+        {
+            JustifyFlexStart,
+            JustifyCenter,
+            JustifyFlexEnd,
+            JustifySpaceBetween,
+            JustifySpaceAround
+        }
+
+        /// <summary>
+        /// Enumeration for the alignment of the flex items or lines when the items or lines do not
+        /// use all the available space on the cross-axis.
+        /// </summary>
+        public enum Alignment
+        {
+            AlignAuto,
+            AlignFlexStart,
+            AlignCenter,
+            AlignFlexEnd,
+            AlignStretch
+        }
+
+        /// <summary>
+        /// Enumeration for the wrap type of the flex container when there is no enough room for
+        /// all the items on one flex line.
+        /// </summary>
+        public enum WrapType
+        {
+            NoWrap,
+            Wrap
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000,
+            CHILD_PROPERTY_START_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX,
+            CHILD_PROPERTY_END_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX + 1000
+        }
+
+        /// <summary>
+        /// The primary direction in which content is ordered
+        /// </summary>
+        public ContentDirectionType ContentDirection
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(FlexContainer.Property.CONTENT_DIRECTION).Get(ref temp);
+                return (ContentDirectionType)temp;
+            }
+            set
+            {
+                SetProperty(FlexContainer.Property.CONTENT_DIRECTION, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        /// <summary>
+        /// The direction of the main-axis which determines the direction that flex items are laid out
+        /// </summary>
+        public FlexDirectionType FlexDirection
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(FlexContainer.Property.FLEX_DIRECTION).Get(ref temp);
+                return (FlexDirectionType)temp;
+            }
+            set
+            {
+                SetProperty(FlexContainer.Property.FLEX_DIRECTION, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        /// <summary>
+        /// Whether the flex items should wrap or not if there is no enough room for them on one flex line
+        /// </summary>
+        public WrapType FlexWrap
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(FlexContainer.Property.FLEX_WRAP).Get(ref temp);
+                return (WrapType)temp;
+            }
+            set
+            {
+                SetProperty(FlexContainer.Property.FLEX_WRAP, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        /// <summary>
+        /// The alignment of flex items when the items do not use all available space on the main-axis
+        /// </summary>
+        public Justification JustifyContent
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(FlexContainer.Property.JUSTIFY_CONTENT).Get(ref temp);
+                return (Justification)temp;
+            }
+            set
+            {
+                SetProperty(FlexContainer.Property.JUSTIFY_CONTENT, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        /// <summary>
+        /// The alignment of flex items when the items do not use all available space on the cross-axis
+        /// </summary>
+        public Alignment AlignItems
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(FlexContainer.Property.ALIGN_ITEMS).Get(ref temp);
+                return (Alignment)temp;
+            }
+            set
+            {
+                SetProperty(FlexContainer.Property.ALIGN_ITEMS, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        /// <summary>
+        /// Similar to "alignItems", but it aligns flex lines, so only works when there are multiple lines
+        /// </summary>
+        public Alignment AlignContent
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(FlexContainer.Property.ALIGN_CONTENT).Get(ref temp);
+                return (Alignment)temp;
+            }
+            set
+            {
+                SetProperty(FlexContainer.Property.ALIGN_CONTENT, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+    }
+
+}
index 3a00e9eb661b4ea6550b966338365713cc7dc521..0384ce10b6ce960f0582be2b44739d9015a4d913 100755 (executable)
-/*\r
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-    public class FocusManager : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal FocusManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.FocusManager_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FocusManager obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~FocusManager()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicManualPINVOKE.delete_FocusManager(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        /**\r
-          * @brief Event arguments that passed via FocusChanged signal\r
-          *\r
-          */\r
-        public class FocusChangedEventArgs : EventArgs\r
-        {\r
-            private Actor _actorCurrent;\r
-            private Actor _actorNext;\r
-\r
-            /**\r
-              * @brief Actor - is the original focused Actor\r
-              *\r
-              */\r
-            public Actor ActorCurrent\r
-            {\r
-                get\r
-                {\r
-                    return _actorCurrent;\r
-                }\r
-                set\r
-                {\r
-                    _actorCurrent = value;\r
-                }\r
-            }\r
-\r
-            /**\r
-              * @brief Actor - is the current focused Actor\r
-              *\r
-              */\r
-            public Actor ActorNext\r
-            {\r
-                get\r
-                {\r
-                    return _actorNext;\r
-                }\r
-                set\r
-                {\r
-                    _actorNext = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event arguments that passed via FocusGroupChanged signal\r
-          *\r
-          */\r
-        public class FocusGroupChangedEventArgs : EventArgs\r
-        {\r
-            private Actor _currentFocusedActor;\r
-            private bool _forwardDirection;\r
-\r
-            /**\r
-              * @brief Actor - is the current focused Actor\r
-              *\r
-              */\r
-            public Actor CurrentFocusedActor\r
-            {\r
-                get\r
-                {\r
-                    return _currentFocusedActor;\r
-                }\r
-                set\r
-                {\r
-                    _currentFocusedActor = value;\r
-                }\r
-            }\r
-\r
-            /**\r
-              * @brief ForwardDirection - is the direction (forward or backward) in which to move the focus next\r
-              *\r
-              */\r
-            public bool ForwardDirection\r
-            {\r
-                get\r
-                {\r
-                    return _forwardDirection;\r
-                }\r
-                set\r
-                {\r
-                    _forwardDirection = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event arguments that passed via FocusedActorEnterKey signal\r
-          *\r
-          */\r
-        public class FocusedActorEnterKeyEventArgs : EventArgs\r
-        {\r
-            private Actor _actor;\r
-\r
-            /**\r
-              * @brief Actor - is the current focused Actor which has the enter key pressed on it.\r
-              *\r
-              */\r
-            public Actor Actor\r
-            {\r
-                get\r
-                {\r
-                    return _actor;\r
-                }\r
-                set\r
-                {\r
-                    _actor = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event arguments that passed via PreFocusChange signal\r
-          *\r
-          */\r
-        public class PreFocusChangeEventArgs : EventArgs\r
-        {\r
-            private Actor _current;\r
-            private Actor _proposed;\r
-            private View.FocusDirection _direction;\r
-\r
-            /**\r
-             * @brief Actor - is the current focused Actor.\r
-             *\r
-             */\r
-            public Actor Current\r
-            {\r
-                get\r
-                {\r
-                    return _current;\r
-                }\r
-                set\r
-                {\r
-                    _current = value;\r
-                }\r
-            }\r
-\r
-            /**\r
-            * @brief Actor - is the proposed focused Actor.\r
-            *\r
-            */\r
-            public Actor Proposed\r
-            {\r
-                get\r
-                {\r
-                    return _proposed;\r
-                }\r
-                set\r
-                {\r
-                    _proposed = value;\r
-                }\r
-            }\r
-\r
-            /**\r
-            * @brief Direction - is the direction of Focus change.\r
-            *\r
-            */\r
-            public View.FocusDirection Direction\r
-            {\r
-                get\r
-                {\r
-                    return _direction;\r
-                }\r
-                set\r
-                {\r
-                    _direction = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        public delegate void FocusChangedEventHandler(object source, FocusChangedEventArgs e);\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        public delegate void FocusGroupChangedEventHandler(object source, FocusGroupChangedEventArgs e);\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        public delegate void FocusedActorEnterKeyEventHandler(object source, FocusedActorEnterKeyEventArgs e);\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        public delegate Actor PreFocusChangeEventHandler(object source, PreFocusChangeEventArgs e);\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        public delegate IntPtr PreFocusChangeEventCallbackDelegate(IntPtr current, IntPtr proposed, View.FocusDirection direction);\r
-        private PreFocusChangeEventHandler _FocusManagerPreFocusChangeEventHandler;\r
-        private PreFocusChangeEventCallbackDelegate _FocusManagerPreFocusChangeEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void FocusChangedEventCallbackDelegate(IntPtr actorCurrent, IntPtr actorNext);\r
-        private FocusChangedEventHandler _FocusManagerFocusChangedEventHandler;\r
-        private FocusChangedEventCallbackDelegate _FocusManagerFocusChangedEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void FocusGroupChangedEventCallbackDelegate(IntPtr currentFocusedActor, bool forwardDirection);\r
-        private FocusGroupChangedEventHandler _FocusManagerFocusGroupChangedEventHandler;\r
-        private FocusGroupChangedEventCallbackDelegate _FocusManagerFocusGroupChangedEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void FocusedActorEnterKeyEventCallbackDelegate(IntPtr actor);\r
-        private FocusedActorEnterKeyEventHandler _FocusManagerFocusedActorEnterKeyEventHandler;\r
-        private FocusedActorEnterKeyEventCallbackDelegate _FocusManagerFocusedActorEnterKeyEventCallbackDelegate;\r
-\r
-        public event PreFocusChangeEventHandler PreFocusChange\r
-        {\r
-            add\r
-            {\r
-                if (_FocusManagerPreFocusChangeEventHandler == null)\r
-                {\r
-                    _FocusManagerPreFocusChangeEventCallbackDelegate = (OnPreFocusChange);\r
-                    PreFocusChangeSignal().Connect(_FocusManagerPreFocusChangeEventCallbackDelegate);\r
-                }\r
-                _FocusManagerPreFocusChangeEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _FocusManagerPreFocusChangeEventHandler -= value;\r
-                if (_FocusManagerPreFocusChangeEventHandler == null && _FocusManagerPreFocusChangeEventCallbackDelegate != null)\r
-                {\r
-                    PreFocusChangeSignal().Disconnect(_FocusManagerPreFocusChangeEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for FocusManager PreFocusChangeSignal\r
-        private IntPtr OnPreFocusChange(IntPtr current, IntPtr proposed, View.FocusDirection direction)\r
-        {\r
-            Actor actor = null;\r
-            PreFocusChangeEventArgs e = new PreFocusChangeEventArgs();\r
-\r
-            // Populate all members of "e" (PreFocusChangeEventArgs) with real data\r
-            e.Current = Actor.GetActorFromPtr(current);\r
-            e.Proposed = Actor.GetActorFromPtr(proposed);\r
-            e.Direction = direction;\r
-\r
-            if (_FocusManagerPreFocusChangeEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                actor = _FocusManagerPreFocusChangeEventHandler(this, e);\r
-            }\r
-\r
-            return actor.GetPtrfromActor();\r
-        }\r
-\r
-        /**\r
-          * @brief Event for FocusChanged signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of FocusChangedEventHandler) provided by the user.\r
-          * FocusChanged signal is emitted after the current focused actor has been changed.\r
-          */\r
-        public event FocusChangedEventHandler FocusChanged\r
-        {\r
-            add\r
-            {\r
-                if (_FocusManagerFocusChangedEventHandler == null)\r
-                {\r
-                    _FocusManagerFocusChangedEventCallbackDelegate = (OnFocusChanged);\r
-                    FocusChangedSignal().Connect(_FocusManagerFocusChangedEventCallbackDelegate);\r
-                }\r
-                _FocusManagerFocusChangedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _FocusManagerFocusChangedEventHandler -= value;\r
-\r
-                if (_FocusManagerFocusChangedEventHandler == null && _FocusManagerFocusChangedEventCallbackDelegate != null)\r
-                {\r
-                    FocusChangedSignal().Disconnect(_FocusManagerFocusChangedEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for FocusManager FocusChangedSignal\r
-        private void OnFocusChanged(IntPtr actorCurrent, IntPtr actorNext)\r
-        {\r
-            FocusChangedEventArgs e = new FocusChangedEventArgs();\r
-\r
-            // Populate all members of "e" (FocusChangedEventArgs) with real data\r
-            e.ActorCurrent = Actor.GetActorFromPtr(actorCurrent);\r
-            e.ActorNext = Actor.GetActorFromPtr(actorNext);\r
-\r
-            if (_FocusManagerFocusChangedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _FocusManagerFocusChangedEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for FocusGroupChanged signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of FocusGroupChangedEventHandler) provided by the user.\r
-          * FocusGroupChanged signal is emitted when the focus group has been changed.\r
-          */\r
-        public event FocusGroupChangedEventHandler FocusGroupChanged\r
-        {\r
-            add\r
-            {\r
-                // Restricted to only one listener\r
-                if (_FocusManagerFocusGroupChangedEventHandler == null)\r
-                {\r
-                    _FocusManagerFocusGroupChangedEventCallbackDelegate = (OnFocusGroupChanged);\r
-                    this.FocusGroupChangedSignal().Connect(_FocusManagerFocusGroupChangedEventCallbackDelegate);\r
-                }\r
-                _FocusManagerFocusGroupChangedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _FocusManagerFocusGroupChangedEventHandler -= value;\r
-                if (_FocusManagerFocusGroupChangedEventHandler == null && _FocusManagerFocusGroupChangedEventCallbackDelegate != null)\r
-                {\r
-                    this.FocusGroupChangedSignal().Disconnect(_FocusManagerFocusGroupChangedEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for FocusManager FocusGroupChangedSignal\r
-        private void OnFocusGroupChanged(IntPtr currentFocusedActor, bool forwardDirection)\r
-        {\r
-            FocusGroupChangedEventArgs e = new FocusGroupChangedEventArgs();\r
-\r
-            // Populate all members of "e" (FocusGroupChangedEventArgs) with real data\r
-            e.CurrentFocusedActor = Actor.GetActorFromPtr(currentFocusedActor);\r
-            e.ForwardDirection = forwardDirection;\r
-\r
-            if (_FocusManagerFocusGroupChangedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _FocusManagerFocusGroupChangedEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event for FocusedActorEnterKeyPressed signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of FocusedActorEnterKeyEventHandler) provided by the user.\r
-          * FocusedActorEnterKeyPressed signal is emitted when the current focused actor has the enter key pressed on it.\r
-          */\r
-        public event FocusedActorEnterKeyEventHandler FocusedActorEnterKeyPressed\r
-        {\r
-            add\r
-            {\r
-                if (_FocusManagerFocusedActorEnterKeyEventHandler == null)\r
-                {\r
-                    _FocusManagerFocusedActorEnterKeyEventCallbackDelegate = (OnFocusedActorEnterKey);\r
-                    FocusedActorEnterKeySignal().Connect(_FocusManagerFocusedActorEnterKeyEventCallbackDelegate);\r
-                }\r
-                _FocusManagerFocusedActorEnterKeyEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _FocusManagerFocusedActorEnterKeyEventHandler -= value;\r
-                if (_FocusManagerFocusedActorEnterKeyEventHandler == null && _FocusManagerFocusedActorEnterKeyEventCallbackDelegate != null)\r
-                {\r
-                    this.FocusedActorEnterKeySignal().Disconnect(_FocusManagerFocusedActorEnterKeyEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for FocusManager FocusedActorEnterKeySignal\r
-        private void OnFocusedActorEnterKey(IntPtr actor)\r
-        {\r
-            FocusedActorEnterKeyEventArgs e = new FocusedActorEnterKeyEventArgs();\r
-\r
-            // Populate all members of "e" (FocusedActorEnterKeyEventArgs) with real data\r
-            e.Actor = Actor.GetActorFromPtr(actor);\r
-\r
-            if (_FocusManagerFocusedActorEnterKeyEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _FocusManagerFocusedActorEnterKeyEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        internal FocusManager() : this(NDalicManualPINVOKE.new_FocusManager(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal static FocusManager Get()\r
-        {\r
-            FocusManager ret = new FocusManager(NDalicManualPINVOKE.FocusManager_Get(), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool SetCurrentFocusActor(Actor actor)\r
-        {\r
-            bool ret = NDalicManualPINVOKE.FocusManager_SetCurrentFocusActor(swigCPtr, Actor.getCPtr(actor));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Actor GetCurrentFocusActor()\r
-        {\r
-            Actor ret = new Actor(NDalicManualPINVOKE.FocusManager_GetCurrentFocusActor(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool MoveFocus(View.FocusDirection direction)\r
-        {\r
-            bool ret = NDalicManualPINVOKE.FocusManager_MoveFocus(swigCPtr, (int)direction);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void ClearFocus()\r
-        {\r
-            NDalicManualPINVOKE.FocusManager_ClearFocus(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool FocusGroupLoop\r
-        {\r
-            set\r
-            {\r
-                SetFocusGroupLoop(value);\r
-            }\r
-            get\r
-            {\r
-                return GetFocusGroupLoop();\r
-            }\r
-        }\r
-\r
-        internal void SetFocusGroupLoop(bool enabled)\r
-        {\r
-            NDalicManualPINVOKE.FocusManager_SetFocusGroupLoop(swigCPtr, enabled);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool GetFocusGroupLoop()\r
-        {\r
-            bool ret = NDalicManualPINVOKE.FocusManager_GetFocusGroupLoop(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetAsFocusGroup(Actor actor, bool isFocusGroup)\r
-        {\r
-            NDalicManualPINVOKE.FocusManager_SetAsFocusGroup(swigCPtr, Actor.getCPtr(actor), isFocusGroup);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool IsFocusGroup(Actor actor)\r
-        {\r
-            bool ret = NDalicManualPINVOKE.FocusManager_IsFocusGroup(swigCPtr, Actor.getCPtr(actor));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Actor GetFocusGroup(Actor actor)\r
-        {\r
-            Actor ret = new Actor(NDalicManualPINVOKE.FocusManager_GetFocusGroup(swigCPtr, Actor.getCPtr(actor)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Actor FocusIndicator\r
-        {\r
-            set\r
-            {\r
-                SetFocusIndicatorActor(value);\r
-            }\r
-            get\r
-            {\r
-                return GetFocusIndicatorActor();\r
-            }\r
-        }\r
-\r
-        internal void SetFocusIndicatorActor(Actor indicator)\r
-        {\r
-            NDalicManualPINVOKE.FocusManager_SetFocusIndicatorActor(swigCPtr, Actor.getCPtr(indicator));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Actor GetFocusIndicatorActor()\r
-        {\r
-            Actor ret = new Actor(NDalicManualPINVOKE.FocusManager_GetFocusIndicatorActor(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal PreFocusChangeSignal PreFocusChangeSignal()\r
-        {\r
-            PreFocusChangeSignal ret = new PreFocusChangeSignal(NDalicManualPINVOKE.FocusManager_PreFocusChangeSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal FocusChangedSignal FocusChangedSignal()\r
-        {\r
-            FocusChangedSignal ret = new FocusChangedSignal(NDalicManualPINVOKE.FocusManager_FocusChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal FocusGroupChangedSignal FocusGroupChangedSignal()\r
-        {\r
-            FocusGroupChangedSignal ret = new FocusGroupChangedSignal(NDalicManualPINVOKE.FocusManager_FocusGroupChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ActorSignal FocusedActorEnterKeySignal()\r
-        {\r
-            ActorSignal ret = new ActorSignal(NDalicManualPINVOKE.FocusManager_FocusedActorEnterKeySignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private static readonly FocusManager instance = FocusManager.Get();\r
-\r
-        public static FocusManager Instance\r
-        {\r
-            get\r
-            {\r
-                return instance;\r
-            }\r
-        }\r
-\r
-\r
-    }\r
-\r
-}\r
+// Copyright (c) 2017 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+//
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+// Some have been manually changed
+
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+    public class FocusManager : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal FocusManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.FocusManager_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FocusManager obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~FocusManager()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicManualPINVOKE.delete_FocusManager(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        ///<summary>
+        ///Event arguments that passed via PreFocusChange signal
+        /// </summary>
+        public class PreFocusChangeEventArgs : EventArgs
+        {
+            private View _current;
+            private View _proposed;
+            private View.FocusDirection _direction;
+
+            public View CurrentView
+            {
+                get
+                {
+                    return _current;
+                }
+                set
+                {
+                    _current = value;
+                }
+            }
+
+            public View ProposedView
+            {
+                get
+                {
+                    return _proposed;
+                }
+                set
+                {
+                    _proposed = value;
+                }
+            }
+
+            public View.FocusDirection Direction
+            {
+                get
+                {
+                    return _direction;
+                }
+                set
+                {
+                    _direction = value;
+                }
+            }
+        }
+
+        private EventHandlerWithReturnType<object, PreFocusChangeEventArgs, View> _preFocusChangeEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        internal delegate IntPtr PreFocusChangeEventCallback(IntPtr current, IntPtr proposed, View.FocusDirection direction);
+        private PreFocusChangeEventCallback _preFocusChangeCallback;
+
+        public event EventHandlerWithReturnType<object, PreFocusChangeEventArgs, View> PreFocusChange
+        {
+            add
+            {
+                if (_preFocusChangeEventHandler == null)
+                {
+                    _preFocusChangeCallback = OnPreFocusChange;
+                    PreFocusChangeSignal().Connect(_preFocusChangeCallback);
+                }
+                _preFocusChangeEventHandler += value;
+            }
+            remove
+            {
+                _preFocusChangeEventHandler -= value;
+                if (_preFocusChangeEventHandler == null && _preFocusChangeCallback != null)
+                {
+                    PreFocusChangeSignal().Disconnect(_preFocusChangeCallback);
+                }
+            }
+        }
+
+        private IntPtr OnPreFocusChange(IntPtr current, IntPtr proposed, View.FocusDirection direction)
+        {
+            View view = null;
+            PreFocusChangeEventArgs e = new PreFocusChangeEventArgs();
+
+            e.CurrentView = View.GetViewFromPtr(current);
+            e.ProposedView = View.GetViewFromPtr(proposed);
+            e.Direction = direction;
+
+            if (_preFocusChangeEventHandler != null)
+            {
+                view = _preFocusChangeEventHandler(this, e);
+            }
+            return view.GetPtrfromActor();
+        }
+
+        ///<summary>
+        ///Event arguments that passed via FocusChanged signal
+        /// </summary>
+        public class FocusChangedEventArgs : EventArgs
+        {
+            private View _current;
+            private View _next;
+
+            public View CurrentView
+            {
+                get
+                {
+                    return _current;
+                }
+                set
+                {
+                    _current = value;
+                }
+            }
+
+            public View NextView
+            {
+                get
+                {
+                    return _next;
+                }
+                set
+                {
+                    _next = value;
+                }
+            }
+        }
+
+        private EventHandler<FocusChangedEventArgs> _focusChangedEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        internal delegate void FocusChangedEventCallback(IntPtr current, IntPtr next);
+        private FocusChangedEventCallback _focusChangedEventCallback;
+
+        public event EventHandler<FocusChangedEventArgs> FocusChanged
+        {
+            add
+            {
+                if (_focusChangedEventCallback == null)
+                {
+                    _focusChangedEventCallback = OnFocusChanged;
+                    FocusChangedSignal().Connect(_focusChangedEventCallback);
+                }
+                _focusChangedEventHandler += value;
+            }
+            remove
+            {
+                _focusChangedEventHandler -= value;
+
+                if (_focusChangedEventCallback == null && _focusChangedEventCallback != null)
+                {
+                    FocusChangedSignal().Disconnect(_focusChangedEventCallback);
+                }
+            }
+        }
+
+        private void OnFocusChanged(IntPtr current, IntPtr next)
+        {
+            FocusChangedEventArgs e = new FocusChangedEventArgs();
+
+            e.CurrentView = View.GetViewFromPtr(current);
+            e.NextView = View.GetViewFromPtr(next);
+
+            if (_focusChangedEventHandler != null)
+            {
+                _focusChangedEventHandler(this, e);
+            }
+        }
+
+        ///<summary>
+        ///Event arguments that passed via FocusGroupChanged signal
+        /// </summary>
+        public class FocusGroupChangedEventArgs : EventArgs
+        {
+            private View _current;
+            private bool _forwardDirection;
+
+            public View CurrentView
+            {
+                get
+                {
+                    return _current;
+                }
+                set
+                {
+                    _current = value;
+                }
+            }
+
+            public bool ForwardDirection
+            {
+                get
+                {
+                    return _forwardDirection;
+                }
+                set
+                {
+                    _forwardDirection = value;
+                }
+            }
+        }
+
+        private EventHandler<FocusGroupChangedEventArgs> _focusGroupChangedEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void FocusGroupChangedEventCallback(IntPtr current, bool forwardDirection);
+        private FocusGroupChangedEventCallback _focusGroupChangedEventCallback;
+
+        public event EventHandler<FocusGroupChangedEventArgs> FocusGroupChanged
+        {
+            add
+            {
+                if (_focusGroupChangedEventCallback == null)
+                {
+                    _focusGroupChangedEventCallback = OnFocusGroupChanged;
+                    FocusGroupChangedSignal().Connect(_focusGroupChangedEventCallback);
+                }
+                _focusGroupChangedEventHandler += value;
+            }
+            remove
+            {
+                _focusGroupChangedEventHandler -= value;
+
+                if (_focusGroupChangedEventCallback == null && _focusGroupChangedEventCallback != null)
+                {
+                    FocusGroupChangedSignal().Disconnect(_focusGroupChangedEventCallback);
+                }
+            }
+        }
+
+        private void OnFocusGroupChanged(IntPtr current, bool forwardDirection)
+        {
+            FocusGroupChangedEventArgs e = new FocusGroupChangedEventArgs();
+
+            e.CurrentView = View.GetViewFromPtr(current);
+            e.ForwardDirection = forwardDirection;
+
+            if (_focusGroupChangedEventHandler != null)
+            {
+                _focusGroupChangedEventHandler(this, e);
+            }
+        }
+
+        ///<summary>
+        ///Event arguments that passed via FocusedViewEnterKey signal
+        /// </summary>
+        public class FocusedViewEnterKeyEventArgs : EventArgs
+        {
+            private View _view;
+
+            public View View
+            {
+                get
+                {
+                    return _view;
+                }
+                set
+                {
+                    _view = value;
+                }
+            }
+        }
+
+        private EventHandler<FocusedViewEnterKeyEventArgs> _focusedViewEnterKeyEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void FocusedViewEnterKeyEventCallback(IntPtr view);
+        private FocusedViewEnterKeyEventCallback _focusedViewEnterKeyEventCallback;
+
+        public event EventHandler<FocusedViewEnterKeyEventArgs> FocusedViewEnterKeyPressed
+        {
+            add
+            {
+                if (_focusedViewEnterKeyEventCallback == null)
+                {
+                    _focusedViewEnterKeyEventCallback = OnFocusedViewEnterKey;
+                    FocusedActorEnterKeySignal().Connect(_focusedViewEnterKeyEventCallback);
+                }
+                _focusedViewEnterKeyEventHandler += value;
+            }
+            remove
+            {
+                _focusedViewEnterKeyEventHandler -= value;
+
+                if (_focusedViewEnterKeyEventCallback == null && _focusedViewEnterKeyEventCallback != null)
+                {
+                    FocusedActorEnterKeySignal().Disconnect(_focusedViewEnterKeyEventCallback);
+                }
+            }
+        }
+
+        private void OnFocusedViewEnterKey(IntPtr view)
+        {
+            FocusedViewEnterKeyEventArgs e = new FocusedViewEnterKeyEventArgs();
+
+            e.View = View.GetViewFromPtr(view);
+
+            if (_focusedViewEnterKeyEventHandler != null)
+            {
+                _focusedViewEnterKeyEventHandler(this, e);
+            }
+        }
+
+
+        internal FocusManager() : this(NDalicManualPINVOKE.new_FocusManager(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal static FocusManager Get()
+        {
+            FocusManager ret = new FocusManager(NDalicManualPINVOKE.FocusManager_Get(), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool SetCurrentFocusView(View view)
+        {
+            bool ret = NDalicManualPINVOKE.FocusManager_SetCurrentFocusActor(swigCPtr, Actor.getCPtr(view));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public View GetCurrentFocusView()
+        {
+            View ret = View.DownCast(new Actor(NDalicManualPINVOKE.FocusManager_GetCurrentFocusActor(swigCPtr), true));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool MoveFocus(View.FocusDirection direction)
+        {
+            bool ret = NDalicManualPINVOKE.FocusManager_MoveFocus(swigCPtr, (int)direction);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void ClearFocus()
+        {
+            NDalicManualPINVOKE.FocusManager_ClearFocus(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool FocusGroupLoop
+        {
+            set
+            {
+                SetFocusGroupLoop(value);
+            }
+            get
+            {
+                return GetFocusGroupLoop();
+            }
+        }
+
+        internal void SetFocusGroupLoop(bool enabled)
+        {
+            NDalicManualPINVOKE.FocusManager_SetFocusGroupLoop(swigCPtr, enabled);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool GetFocusGroupLoop()
+        {
+            bool ret = NDalicManualPINVOKE.FocusManager_GetFocusGroupLoop(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetAsFocusGroup(View view, bool isFocusGroup)
+        {
+            NDalicManualPINVOKE.FocusManager_SetAsFocusGroup(swigCPtr, Actor.getCPtr(view), isFocusGroup);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool IsFocusGroup(View view)
+        {
+            bool ret = NDalicManualPINVOKE.FocusManager_IsFocusGroup(swigCPtr, Actor.getCPtr(view));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public View GetFocusGroup(View view)
+        {
+            View ret = View.DownCast(new Actor(NDalicManualPINVOKE.FocusManager_GetFocusGroup(swigCPtr, Actor.getCPtr(view)), true));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public View FocusIndicator
+        {
+            set
+            {
+                SetFocusIndicatorView(value);
+            }
+            get
+            {
+                return GetFocusIndicatorView();
+            }
+        }
+
+        internal void SetFocusIndicatorView(View indicator)
+        {
+            NDalicManualPINVOKE.FocusManager_SetFocusIndicatorActor(swigCPtr, Actor.getCPtr(indicator));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal View GetFocusIndicatorView()
+        {
+            View ret = View.DownCast(new Actor(NDalicManualPINVOKE.FocusManager_GetFocusIndicatorActor(swigCPtr), true));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal PreFocusChangeSignal PreFocusChangeSignal()
+        {
+            PreFocusChangeSignal ret = new PreFocusChangeSignal(NDalicManualPINVOKE.FocusManager_PreFocusChangeSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal FocusChangedSignal FocusChangedSignal()
+        {
+            FocusChangedSignal ret = new FocusChangedSignal(NDalicManualPINVOKE.FocusManager_FocusChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal FocusGroupChangedSignal FocusGroupChangedSignal()
+        {
+            FocusGroupChangedSignal ret = new FocusGroupChangedSignal(NDalicManualPINVOKE.FocusManager_FocusGroupChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ActorSignal FocusedActorEnterKeySignal()
+        {
+            ActorSignal ret = new ActorSignal(NDalicManualPINVOKE.FocusManager_FocusedActorEnterKeySignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private static readonly FocusManager instance = FocusManager.Get();
+
+        public static FocusManager Instance
+        {
+            get
+            {
+                return instance;
+            }
+        }
+    }
+}
index fd0654ca4f6215b8c4bcbb787db2423839c872a4..6437d1c5fd82d35005df40f6c544076205a4e156 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Gesture : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Gesture(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Gesture obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Gesture()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Gesture(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public Gesture.GestureType Type\r
-        {\r
-            get\r
-            {\r
-                return type;\r
-            }\r
-        }\r
-\r
-        public Gesture.StateType State\r
-        {\r
-            get\r
-            {\r
-                return state;\r
-            }\r
-        }\r
-\r
-        public uint Time\r
-        {\r
-            get\r
-            {\r
-                return time;\r
-            }\r
-        }\r
-\r
-        public Gesture(Gesture rhs) : this(NDalicPINVOKE.new_Gesture(Gesture.getCPtr(rhs)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Gesture Assign(Gesture rhs)\r
-        {\r
-            Gesture ret = new Gesture(NDalicPINVOKE.Gesture_Assign(swigCPtr, Gesture.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Gesture.GestureType type\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Gesture_type_set(swigCPtr, (int)value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                Gesture.GestureType ret = (Gesture.GestureType)NDalicPINVOKE.Gesture_type_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Gesture.StateType state\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Gesture_state_set(swigCPtr, (int)value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                Gesture.StateType ret = (Gesture.StateType)NDalicPINVOKE.Gesture_state_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private uint time\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Gesture_time_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                uint ret = NDalicPINVOKE.Gesture_time_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public enum GestureType\r
-        {\r
-            Pinch = 1 << 0,\r
-            Pan = 1 << 1,\r
-            Tap = 1 << 2,\r
-            LongPress = 1 << 3\r
-        }\r
-\r
-        public enum StateType\r
-        {\r
-            Clear,\r
-            Started,\r
-            Continuing,\r
-            Finished,\r
-            Cancelled,\r
-            Possible\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Gesture : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Gesture(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Gesture obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Gesture()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Gesture(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public Gesture.GestureType Type
+        {
+            get
+            {
+                return type;
+            }
+        }
+
+        public Gesture.StateType State
+        {
+            get
+            {
+                return state;
+            }
+        }
+
+        public uint Time
+        {
+            get
+            {
+                return time;
+            }
+        }
+
+        public Gesture(Gesture rhs) : this(NDalicPINVOKE.new_Gesture(Gesture.getCPtr(rhs)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Gesture Assign(Gesture rhs)
+        {
+            Gesture ret = new Gesture(NDalicPINVOKE.Gesture_Assign(swigCPtr, Gesture.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Gesture.GestureType type
+        {
+            set
+            {
+                NDalicPINVOKE.Gesture_type_set(swigCPtr, (int)value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                Gesture.GestureType ret = (Gesture.GestureType)NDalicPINVOKE.Gesture_type_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Gesture.StateType state
+        {
+            set
+            {
+                NDalicPINVOKE.Gesture_state_set(swigCPtr, (int)value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                Gesture.StateType ret = (Gesture.StateType)NDalicPINVOKE.Gesture_state_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private uint time
+        {
+            set
+            {
+                NDalicPINVOKE.Gesture_time_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                uint ret = NDalicPINVOKE.Gesture_time_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public enum GestureType
+        {
+            Pinch = 1 << 0,
+            Pan = 1 << 1,
+            Tap = 1 << 2,
+            LongPress = 1 << 3
+        }
+
+        public enum StateType
+        {
+            Clear,
+            Started,
+            Continuing,
+            Finished,
+            Cancelled,
+            Possible
+        }
+
+    }
+
+}
index c9bdea2ca5495aa1856cde0d69e5db59f7f7e263..387ff57fc114003b6ff563d1ffad5bed472d9503 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Hover : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Hover(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Hover obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Hover()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Hover(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        internal static Hover GetHoverFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Hover ret = new Hover(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint Time\r
-        {\r
-            get\r
-            {\r
-                return time;\r
-            }\r
-        }\r
-\r
-        public int GetDeviceId(uint point)\r
-        {\r
-            if (point < points.Count)\r
-            {\r
-                return points[(int)point].deviceId;\r
-            }\r
-            return -1;\r
-        }\r
-\r
-        public PointStateType GetState(uint point)\r
-        {\r
-            if (point < points.Count)\r
-            {\r
-                return (Tizen.NUI.PointStateType)(points[(int)point].state);\r
-            }\r
-            return PointStateType.Finished;\r
-        }\r
-\r
-        public Actor GetHitActor(uint point)\r
-        {\r
-            if (point < points.Count)\r
-            {\r
-                return points[(int)point].hitActor;\r
-            }\r
-            else\r
-            {\r
-                // Return a native empty handle\r
-                Actor actor = new Actor();\r
-                actor.Reset();\r
-                return actor;\r
-            }\r
-        }\r
-\r
-        public Vector2 GetLocalPosition(uint point)\r
-        {\r
-            if (point < points.Count)\r
-            {\r
-                return points[(int)point].local;\r
-            }\r
-            return new Vector2(0.0f, 0.0f);\r
-        }\r
-\r
-        public Vector2 GetScreenPosition(uint point)\r
-        {\r
-            if (point < points.Count)\r
-            {\r
-                return points[(int)point].screen;\r
-            }\r
-            return new Vector2(0.0f, 0.0f);\r
-        }\r
-\r
-        public Hover() : this(NDalicPINVOKE.new_Hover__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Hover(uint time) : this(NDalicPINVOKE.new_Hover__SWIG_1(time), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        private TouchPointContainer points\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Hover_points_set(swigCPtr, TouchPointContainer.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Hover_points_get(swigCPtr);\r
-                TouchPointContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new TouchPointContainer(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private uint time\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Hover_time_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                uint ret = NDalicPINVOKE.Hover_time_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public uint GetPointCount()\r
-        {\r
-            uint ret = NDalicPINVOKE.Hover_GetPointCount(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal TouchPoint GetPoint(uint point)\r
-        {\r
-            TouchPoint ret = new TouchPoint(NDalicPINVOKE.Hover_GetPoint(swigCPtr, point), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Hover : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Hover(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Hover obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Hover()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Hover(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        internal static Hover GetHoverFromPtr(global::System.IntPtr cPtr)
+        {
+            Hover ret = new Hover(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint Time
+        {
+            get
+            {
+                return time;
+            }
+        }
+
+        public int GetDeviceId(uint point)
+        {
+            if (point < points.Count)
+            {
+                return points[(int)point].deviceId;
+            }
+            return -1;
+        }
+
+        public PointStateType GetState(uint point)
+        {
+            if (point < points.Count)
+            {
+                return (Tizen.NUI.PointStateType)(points[(int)point].state);
+            }
+            return PointStateType.Finished;
+        }
+
+        public Actor GetHitActor(uint point)
+        {
+            if (point < points.Count)
+            {
+                return points[(int)point].hitActor;
+            }
+            else
+            {
+                // Return a native empty handle
+                Actor actor = new Actor();
+                actor.Reset();
+                return actor;
+            }
+        }
+
+        public Vector2 GetLocalPosition(uint point)
+        {
+            if (point < points.Count)
+            {
+                return points[(int)point].local;
+            }
+            return new Vector2(0.0f, 0.0f);
+        }
+
+        public Vector2 GetScreenPosition(uint point)
+        {
+            if (point < points.Count)
+            {
+                return points[(int)point].screen;
+            }
+            return new Vector2(0.0f, 0.0f);
+        }
+
+        public Hover() : this(NDalicPINVOKE.new_Hover__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Hover(uint time) : this(NDalicPINVOKE.new_Hover__SWIG_1(time), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        private TouchPointContainer points
+        {
+            set
+            {
+                NDalicPINVOKE.Hover_points_set(swigCPtr, TouchPointContainer.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Hover_points_get(swigCPtr);
+                TouchPointContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new TouchPointContainer(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private uint time
+        {
+            set
+            {
+                NDalicPINVOKE.Hover_time_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                uint ret = NDalicPINVOKE.Hover_time_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public uint GetPointCount()
+        {
+            uint ret = NDalicPINVOKE.Hover_GetPointCount(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal TouchPoint GetPoint(uint point)
+        {
+            TouchPoint ret = new TouchPoint(NDalicPINVOKE.Hover_GetPoint(swigCPtr, point), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+    }
+
+}
index b156da6fc8f12cd838e7faa0ae55a36e0e0aaf47..c099417b11c2496b81b86c0bd4459dc38f2748c8 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class ImageView : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal ImageView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ImageView_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImageView obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~ImageView()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_ImageView(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_ImageView_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_ImageView_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int RESOURCE_URL = NDalicPINVOKE.ImageView_Property_RESOURCE_URL_get();\r
-            internal static readonly int IMAGE = NDalicPINVOKE.ImageView_Property_IMAGE_get();\r
-            internal static readonly int PRE_MULTIPLIED_ALPHA = NDalicPINVOKE.ImageView_Property_PRE_MULTIPLIED_ALPHA_get();\r
-            internal static readonly int PIXEL_AREA = NDalicPINVOKE.ImageView_Property_PIXEL_AREA_get();\r
-\r
-        }\r
-\r
-        public ImageView() : this(NDalicPINVOKE.ImageView_New__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public ImageView(string url) : this(NDalicPINVOKE.ImageView_New__SWIG_2(url), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal ImageView(string url, Uint16Pair size) : this(NDalicPINVOKE.ImageView_New__SWIG_3(url, Uint16Pair.getCPtr(size)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal ImageView(ImageView imageView) : this(NDalicPINVOKE.new_ImageView__SWIG_1(ImageView.getCPtr(imageView)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-        internal ImageView Assign(ImageView imageView)\r
-        {\r
-            ImageView ret = new ImageView(NDalicPINVOKE.ImageView_Assign(swigCPtr, ImageView.getCPtr(imageView)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-        public new static ImageView DownCast(BaseHandle handle)\r
-        {\r
-            ImageView ret = new ImageView(NDalicPINVOKE.ImageView_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-        public void SetImage(string url)\r
-        {\r
-            NDalicPINVOKE.ImageView_SetImage__SWIG_1(swigCPtr, url);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-        internal void SetImage(string url, Uint16Pair size)\r
-        {\r
-            NDalicPINVOKE.ImageView_SetImage__SWIG_2(swigCPtr, url, Uint16Pair.getCPtr(size));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000,\r
-            ANIMATABLE_PROPERTY_START_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX,\r
-            ANIMATABLE_PROPERTY_END_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + 1000\r
-        }\r
-\r
-        public string ResourceUrl\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(ImageView.Property.RESOURCE_URL).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ImageView.Property.RESOURCE_URL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap ImageMap\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(ImageView.Property.IMAGE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ImageView.Property.IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool PreMultipliedAlpha\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(ImageView.Property.PRE_MULTIPLIED_ALPHA).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ImageView.Property.PRE_MULTIPLIED_ALPHA, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 PixelArea\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(ImageView.Property.PIXEL_AREA).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ImageView.Property.PIXEL_AREA, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class ImageView : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal ImageView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ImageView_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImageView obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~ImageView()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_ImageView(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_ImageView_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_ImageView_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int RESOURCE_URL = NDalicPINVOKE.ImageView_Property_RESOURCE_URL_get();
+            internal static readonly int IMAGE = NDalicPINVOKE.ImageView_Property_IMAGE_get();
+            internal static readonly int PRE_MULTIPLIED_ALPHA = NDalicPINVOKE.ImageView_Property_PRE_MULTIPLIED_ALPHA_get();
+            internal static readonly int PIXEL_AREA = NDalicPINVOKE.ImageView_Property_PIXEL_AREA_get();
+
+        }
+
+        public ImageView() : this(NDalicPINVOKE.ImageView_New__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public ImageView(string url) : this(NDalicPINVOKE.ImageView_New__SWIG_2(url), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal ImageView(string url, Uint16Pair size) : this(NDalicPINVOKE.ImageView_New__SWIG_3(url, Uint16Pair.getCPtr(size)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal ImageView(ImageView imageView) : this(NDalicPINVOKE.new_ImageView__SWIG_1(ImageView.getCPtr(imageView)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+        internal ImageView Assign(ImageView imageView)
+        {
+            ImageView ret = new ImageView(NDalicPINVOKE.ImageView_Assign(swigCPtr, ImageView.getCPtr(imageView)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+        public new static ImageView DownCast(BaseHandle handle)
+        {
+            ImageView ret = new ImageView(NDalicPINVOKE.ImageView_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+        public void SetImage(string url)
+        {
+            NDalicPINVOKE.ImageView_SetImage__SWIG_1(swigCPtr, url);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+        internal void SetImage(string url, Uint16Pair size)
+        {
+            NDalicPINVOKE.ImageView_SetImage__SWIG_2(swigCPtr, url, Uint16Pair.getCPtr(size));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000,
+            ANIMATABLE_PROPERTY_START_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX,
+            ANIMATABLE_PROPERTY_END_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + 1000
+        }
+
+        public string ResourceUrl
+        {
+            get
+            {
+                string temp;
+                GetProperty(ImageView.Property.RESOURCE_URL).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ImageView.Property.RESOURCE_URL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap ImageMap
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(ImageView.Property.IMAGE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ImageView.Property.IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool PreMultipliedAlpha
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(ImageView.Property.PRE_MULTIPLIED_ALPHA).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ImageView.Property.PRE_MULTIPLIED_ALPHA, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 PixelArea
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(ImageView.Property.PIXEL_AREA).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ImageView.Property.PIXEL_AREA, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
+}
index 03a71f160c79b98db7ab6c245e5b1212c0e7daa1..da716a563716ed2b282d59d98973496b3cbdff4f 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Key : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Key(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Key obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Key()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Key(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        internal static Key GetKeyFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Key ret = new Key(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public string KeyPressedName\r
-        {\r
-            get\r
-            {\r
-                return keyPressedName;\r
-            }\r
-        }\r
-\r
-        /* duplicated with KeyPressedName : removed\r
-        public string KeyPressed\r
-        {\r
-            get\r
-            {\r
-                return keyPressed;\r
-            }\r
-        }\r
-        */\r
-\r
-        public int KeyCode\r
-        {\r
-            get\r
-            {\r
-                return keyCode;\r
-            }\r
-        }\r
-\r
-        public int KeyModifier\r
-        {\r
-            get\r
-            {\r
-                return keyModifier;\r
-            }\r
-        }\r
-\r
-        public uint Time\r
-        {\r
-            get\r
-            {\r
-                return time;\r
-            }\r
-        }\r
-\r
-        public Key.StateType State\r
-        {\r
-            get\r
-            {\r
-                return state;\r
-            }\r
-        }\r
-\r
-        public Key() : this(NDalicPINVOKE.new_Key__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Key(string keyName, string keyString, int keyCode, int keyModifier, uint timeStamp, Key.StateType keyState) : this(NDalicPINVOKE.new_Key__SWIG_1(keyName, keyString, keyCode, keyModifier, timeStamp, (int)keyState), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool IsShiftModifier()\r
-        {\r
-            bool ret = NDalicPINVOKE.Key_IsShiftModifier(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool IsCtrlModifier()\r
-        {\r
-            bool ret = NDalicPINVOKE.Key_IsCtrlModifier(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool IsAltModifier()\r
-        {\r
-            bool ret = NDalicPINVOKE.Key_IsAltModifier(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private string keyPressedName\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Key_keyPressedName_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                string ret = NDalicPINVOKE.Key_keyPressedName_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private string keyPressed\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Key_keyPressed_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                string ret = NDalicPINVOKE.Key_keyPressed_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int keyCode\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Key_keyCode_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Key_keyCode_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int keyModifier\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Key_keyModifier_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Key_keyModifier_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private uint time\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Key_time_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                uint ret = NDalicPINVOKE.Key_time_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Key.StateType state\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Key_state_set(swigCPtr, (int)value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                Key.StateType ret = (Key.StateType)NDalicPINVOKE.Key_state_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public enum StateType\r
-        {\r
-            Down,\r
-            Up,\r
-            Last\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Key : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Key(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Key obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Key()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Key(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        internal static Key GetKeyFromPtr(global::System.IntPtr cPtr)
+        {
+            Key ret = new Key(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public string KeyPressedName
+        {
+            get
+            {
+                return keyPressedName;
+            }
+        }
+
+        /* duplicated with KeyPressedName : removed
+        public string KeyPressed
+        {
+            get
+            {
+                return keyPressed;
+            }
+        }
+        */
+
+        public int KeyCode
+        {
+            get
+            {
+                return keyCode;
+            }
+        }
+
+        public int KeyModifier
+        {
+            get
+            {
+                return keyModifier;
+            }
+        }
+
+        public uint Time
+        {
+            get
+            {
+                return time;
+            }
+        }
+
+        public Key.StateType State
+        {
+            get
+            {
+                return state;
+            }
+        }
+
+        public Key() : this(NDalicPINVOKE.new_Key__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Key(string keyName, string keyString, int keyCode, int keyModifier, uint timeStamp, Key.StateType keyState) : this(NDalicPINVOKE.new_Key__SWIG_1(keyName, keyString, keyCode, keyModifier, timeStamp, (int)keyState), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool IsShiftModifier()
+        {
+            bool ret = NDalicPINVOKE.Key_IsShiftModifier(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool IsCtrlModifier()
+        {
+            bool ret = NDalicPINVOKE.Key_IsCtrlModifier(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool IsAltModifier()
+        {
+            bool ret = NDalicPINVOKE.Key_IsAltModifier(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private string keyPressedName
+        {
+            set
+            {
+                NDalicPINVOKE.Key_keyPressedName_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                string ret = NDalicPINVOKE.Key_keyPressedName_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private string keyPressed
+        {
+            set
+            {
+                NDalicPINVOKE.Key_keyPressed_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                string ret = NDalicPINVOKE.Key_keyPressed_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int keyCode
+        {
+            set
+            {
+                NDalicPINVOKE.Key_keyCode_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Key_keyCode_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int keyModifier
+        {
+            set
+            {
+                NDalicPINVOKE.Key_keyModifier_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Key_keyModifier_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private uint time
+        {
+            set
+            {
+                NDalicPINVOKE.Key_time_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                uint ret = NDalicPINVOKE.Key_time_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Key.StateType state
+        {
+            set
+            {
+                NDalicPINVOKE.Key_state_set(swigCPtr, (int)value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                Key.StateType ret = (Key.StateType)NDalicPINVOKE.Key_state_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public enum StateType
+        {
+            Down,
+            Up,
+            Last
+        }
+
+    }
+
+}
index c6afc7c85c69544e3562a2b706021b1d5090d1a8..c270306265aa4214d31103efffce02ee7c9401ad 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class KeyFrames : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal KeyFrames(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.KeyFrames_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KeyFrames obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~KeyFrames()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_KeyFrames(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-        public void Add(float progress, object value)\r
-        {\r
-            dynamic obj = value;\r
-            Add(progress, new PropertyValue(obj));\r
-        }\r
-\r
-        public void Add(float progress, object value, AlphaFunction alpha)\r
-        {\r
-            dynamic obj = value;\r
-            Add(progress, new PropertyValue(obj), alpha);\r
-        }\r
-\r
-\r
-        public KeyFrames() : this(NDalicPINVOKE.KeyFrames_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public static KeyFrames DownCast(BaseHandle handle)\r
-        {\r
-            KeyFrames ret = new KeyFrames(NDalicPINVOKE.KeyFrames_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal KeyFrames(KeyFrames handle) : this(NDalicPINVOKE.new_KeyFrames__SWIG_1(KeyFrames.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal KeyFrames Assign(KeyFrames rhs)\r
-        {\r
-            KeyFrames ret = new KeyFrames(NDalicPINVOKE.KeyFrames_Assign(swigCPtr, KeyFrames.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyType GetType()\r
-        {\r
-            PropertyType ret = (PropertyType)NDalicPINVOKE.KeyFrames_GetType(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Add(float progress, PropertyValue value)\r
-        {\r
-            NDalicPINVOKE.KeyFrames_Add__SWIG_0(swigCPtr, progress, PropertyValue.getCPtr(value));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Add(float progress, PropertyValue value, AlphaFunction alpha)\r
-        {\r
-            NDalicPINVOKE.KeyFrames_Add__SWIG_1(swigCPtr, progress, PropertyValue.getCPtr(value), AlphaFunction.getCPtr(alpha));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class KeyFrames : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal KeyFrames(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.KeyFrames_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KeyFrames obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~KeyFrames()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_KeyFrames(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+        public void Add(float progress, object value)
+        {
+            dynamic obj = value;
+            Add(progress, new PropertyValue(obj));
+        }
+
+        public void Add(float progress, object value, AlphaFunction alpha)
+        {
+            dynamic obj = value;
+            Add(progress, new PropertyValue(obj), alpha);
+        }
+
+
+        public KeyFrames() : this(NDalicPINVOKE.KeyFrames_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public static KeyFrames DownCast(BaseHandle handle)
+        {
+            KeyFrames ret = new KeyFrames(NDalicPINVOKE.KeyFrames_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal KeyFrames(KeyFrames handle) : this(NDalicPINVOKE.new_KeyFrames__SWIG_1(KeyFrames.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal KeyFrames Assign(KeyFrames rhs)
+        {
+            KeyFrames ret = new KeyFrames(NDalicPINVOKE.KeyFrames_Assign(swigCPtr, KeyFrames.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyType GetType()
+        {
+            PropertyType ret = (PropertyType)NDalicPINVOKE.KeyFrames_GetType(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Add(float progress, PropertyValue value)
+        {
+            NDalicPINVOKE.KeyFrames_Add__SWIG_0(swigCPtr, progress, PropertyValue.getCPtr(value));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Add(float progress, PropertyValue value, AlphaFunction alpha)
+        {
+            NDalicPINVOKE.KeyFrames_Add__SWIG_1(swigCPtr, progress, PropertyValue.getCPtr(value), AlphaFunction.getCPtr(alpha));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+    }
+
+}
index 678d6a0fcf11602e24b557451bed9dc6cda8c148..77a23f8d302e6034f3383d1fc0f552f57c18515b 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Layer : Actor\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Layer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Layer_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Layer obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Layer()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Layer(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_Layer_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_Layer_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int CLIPPING_ENABLE = NDalicPINVOKE.Layer_Property_CLIPPING_ENABLE_get();\r
-            internal static readonly int CLIPPING_BOX = NDalicPINVOKE.Layer_Property_CLIPPING_BOX_get();\r
-            internal static readonly int BEHAVIOR = NDalicPINVOKE.Layer_Property_BEHAVIOR_get();\r
-\r
-        }\r
-\r
-        public Layer() : this(NDalicPINVOKE.Layer_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public new static Layer DownCast(BaseHandle handle)\r
-        {\r
-            Layer ret = new Layer(NDalicPINVOKE.Layer_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Layer(Layer copy) : this(NDalicPINVOKE.new_Layer__SWIG_1(Layer.getCPtr(copy)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Layer Assign(Layer rhs)\r
-        {\r
-            Layer ret = new Layer(NDalicPINVOKE.Layer_Assign(swigCPtr, Layer.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint Depth\r
-        {\r
-            get\r
-            {\r
-                return GetDepth();\r
-            }\r
-        }\r
-\r
-        internal uint GetDepth()\r
-        {\r
-            uint ret = NDalicPINVOKE.Layer_GetDepth(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Raise()\r
-        {\r
-            NDalicPINVOKE.Layer_Raise(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Lower()\r
-        {\r
-            NDalicPINVOKE.Layer_Lower(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void RaiseAbove(Layer target)\r
-        {\r
-            NDalicPINVOKE.Layer_RaiseAbove(swigCPtr, Layer.getCPtr(target));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void LowerBelow(Layer target)\r
-        {\r
-            NDalicPINVOKE.Layer_LowerBelow(swigCPtr, Layer.getCPtr(target));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void RaiseToTop()\r
-        {\r
-            NDalicPINVOKE.Layer_RaiseToTop(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void LowerToBottom()\r
-        {\r
-            NDalicPINVOKE.Layer_LowerToBottom(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void MoveAbove(Layer target)\r
-        {\r
-            NDalicPINVOKE.Layer_MoveAbove(swigCPtr, Layer.getCPtr(target));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void MoveBelow(Layer target)\r
-        {\r
-            NDalicPINVOKE.Layer_MoveBelow(swigCPtr, Layer.getCPtr(target));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetBehavior(LayerBehavior behavior)\r
-        {\r
-            NDalicPINVOKE.Layer_SetBehavior(swigCPtr, (int)behavior);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal LayerBehavior GetBehavior()\r
-        {\r
-            Layer.LayerBehavior ret = (Layer.LayerBehavior)NDalicPINVOKE.Layer_GetBehavior(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetClipping(bool enabled)\r
-        {\r
-            NDalicPINVOKE.Layer_SetClipping(swigCPtr, enabled);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool IsClipping()\r
-        {\r
-            bool ret = NDalicPINVOKE.Layer_IsClipping(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetClippingBox(int x, int y, int width, int height)\r
-        {\r
-            NDalicPINVOKE.Layer_SetClippingBox__SWIG_0(swigCPtr, x, y, width, height);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void SetClippingBox(Rectangle box)\r
-        {\r
-            NDalicPINVOKE.Layer_SetClippingBox__SWIG_1(swigCPtr, Rectangle.getCPtr(box));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Rectangle GetClippingBox()\r
-        {\r
-            Rectangle ret = new Rectangle(NDalicPINVOKE.Layer_GetClippingBox(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetDepthTestDisabled(bool disable)\r
-        {\r
-            NDalicPINVOKE.Layer_SetDepthTestDisabled(swigCPtr, disable);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool IsDepthTestDisabled()\r
-        {\r
-            bool ret = NDalicPINVOKE.Layer_IsDepthTestDisabled(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetSortFunction(SWIGTYPE_p_f_r_q_const__Dali__Vector3__float function)\r
-        {\r
-            NDalicPINVOKE.Layer_SetSortFunction(swigCPtr, SWIGTYPE_p_f_r_q_const__Dali__Vector3__float.getCPtr(function));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetTouchConsumed(bool consume)\r
-        {\r
-            NDalicPINVOKE.Layer_SetTouchConsumed(swigCPtr, consume);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool IsTouchConsumed()\r
-        {\r
-            bool ret = NDalicPINVOKE.Layer_IsTouchConsumed(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetHoverConsumed(bool consume)\r
-        {\r
-            NDalicPINVOKE.Layer_SetHoverConsumed(swigCPtr, consume);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal bool IsHoverConsumed()\r
-        {\r
-            bool ret = NDalicPINVOKE.Layer_IsHoverConsumed(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public enum LayerBehavior\r
-        {\r
-            Layer2D,\r
-            LayerUI = Layer2D,\r
-            Layer3D\r
-        }\r
-\r
-        internal enum TreeDepthMultiplier\r
-        {\r
-            TREE_DEPTH_MULTIPLIER = 10000\r
-        }\r
-\r
-        public bool ClippingEnable\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Layer.Property.CLIPPING_ENABLE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Layer.Property.CLIPPING_ENABLE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Rectangle ClippingBox\r
-        {\r
-            get\r
-            {\r
-                Rectangle temp = new Rectangle(0, 0, 0, 0);\r
-                GetProperty(Layer.Property.CLIPPING_BOX).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Layer.Property.CLIPPING_BOX, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Layer.LayerBehavior Behavior\r
-        {\r
-            get\r
-            {\r
-                return GetBehavior();\r
-            }\r
-            set\r
-            {\r
-                SetBehavior(value);\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Layer : Actor
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Layer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Layer_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Layer obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Layer()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Layer(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_Layer_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_Layer_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int CLIPPING_ENABLE = NDalicPINVOKE.Layer_Property_CLIPPING_ENABLE_get();
+            internal static readonly int CLIPPING_BOX = NDalicPINVOKE.Layer_Property_CLIPPING_BOX_get();
+            internal static readonly int BEHAVIOR = NDalicPINVOKE.Layer_Property_BEHAVIOR_get();
+
+        }
+
+        public Layer() : this(NDalicPINVOKE.Layer_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public new static Layer DownCast(BaseHandle handle)
+        {
+            Layer ret = new Layer(NDalicPINVOKE.Layer_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Layer(Layer copy) : this(NDalicPINVOKE.new_Layer__SWIG_1(Layer.getCPtr(copy)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Layer Assign(Layer rhs)
+        {
+            Layer ret = new Layer(NDalicPINVOKE.Layer_Assign(swigCPtr, Layer.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint Depth
+        {
+            get
+            {
+                return GetDepth();
+            }
+        }
+
+        internal uint GetDepth()
+        {
+            uint ret = NDalicPINVOKE.Layer_GetDepth(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Raise()
+        {
+            NDalicPINVOKE.Layer_Raise(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Lower()
+        {
+            NDalicPINVOKE.Layer_Lower(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void RaiseAbove(Layer target)
+        {
+            NDalicPINVOKE.Layer_RaiseAbove(swigCPtr, Layer.getCPtr(target));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void LowerBelow(Layer target)
+        {
+            NDalicPINVOKE.Layer_LowerBelow(swigCPtr, Layer.getCPtr(target));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void RaiseToTop()
+        {
+            NDalicPINVOKE.Layer_RaiseToTop(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void LowerToBottom()
+        {
+            NDalicPINVOKE.Layer_LowerToBottom(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void MoveAbove(Layer target)
+        {
+            NDalicPINVOKE.Layer_MoveAbove(swigCPtr, Layer.getCPtr(target));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void MoveBelow(Layer target)
+        {
+            NDalicPINVOKE.Layer_MoveBelow(swigCPtr, Layer.getCPtr(target));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetBehavior(LayerBehavior behavior)
+        {
+            NDalicPINVOKE.Layer_SetBehavior(swigCPtr, (int)behavior);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal LayerBehavior GetBehavior()
+        {
+            Layer.LayerBehavior ret = (Layer.LayerBehavior)NDalicPINVOKE.Layer_GetBehavior(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetClipping(bool enabled)
+        {
+            NDalicPINVOKE.Layer_SetClipping(swigCPtr, enabled);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool IsClipping()
+        {
+            bool ret = NDalicPINVOKE.Layer_IsClipping(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetClippingBox(int x, int y, int width, int height)
+        {
+            NDalicPINVOKE.Layer_SetClippingBox__SWIG_0(swigCPtr, x, y, width, height);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void SetClippingBox(Rectangle box)
+        {
+            NDalicPINVOKE.Layer_SetClippingBox__SWIG_1(swigCPtr, Rectangle.getCPtr(box));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Rectangle GetClippingBox()
+        {
+            Rectangle ret = new Rectangle(NDalicPINVOKE.Layer_GetClippingBox(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetDepthTestDisabled(bool disable)
+        {
+            NDalicPINVOKE.Layer_SetDepthTestDisabled(swigCPtr, disable);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool IsDepthTestDisabled()
+        {
+            bool ret = NDalicPINVOKE.Layer_IsDepthTestDisabled(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetSortFunction(SWIGTYPE_p_f_r_q_const__Dali__Vector3__float function)
+        {
+            NDalicPINVOKE.Layer_SetSortFunction(swigCPtr, SWIGTYPE_p_f_r_q_const__Dali__Vector3__float.getCPtr(function));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetTouchConsumed(bool consume)
+        {
+            NDalicPINVOKE.Layer_SetTouchConsumed(swigCPtr, consume);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool IsTouchConsumed()
+        {
+            bool ret = NDalicPINVOKE.Layer_IsTouchConsumed(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetHoverConsumed(bool consume)
+        {
+            NDalicPINVOKE.Layer_SetHoverConsumed(swigCPtr, consume);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal bool IsHoverConsumed()
+        {
+            bool ret = NDalicPINVOKE.Layer_IsHoverConsumed(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public enum LayerBehavior
+        {
+            Layer2D,
+            LayerUI = Layer2D,
+            Layer3D
+        }
+
+        internal enum TreeDepthMultiplier
+        {
+            TREE_DEPTH_MULTIPLIER = 10000
+        }
+
+        public bool ClippingEnable
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Layer.Property.CLIPPING_ENABLE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Layer.Property.CLIPPING_ENABLE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Rectangle ClippingBox
+        {
+            get
+            {
+                Rectangle temp = new Rectangle(0, 0, 0, 0);
+                GetProperty(Layer.Property.CLIPPING_BOX).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Layer.Property.CLIPPING_BOX, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Layer.LayerBehavior Behavior
+        {
+            get
+            {
+                return GetBehavior();
+            }
+            set
+            {
+                SetBehavior(value);
+            }
+        }
+
+    }
+
+}
index bad130265a7ae4910f55c87385c0ec7a2dbdf459..ac613a844b264313e7003bb99a6be973097cd61b 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class LongPressGesture : Gesture\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal LongPressGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.LongPressGesture_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LongPressGesture obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~LongPressGesture()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_LongPressGesture(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        public static LongPressGesture GetLongPressGestureFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            LongPressGesture ret = new LongPressGesture(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint NumberOfTouches\r
-        {\r
-            get\r
-            {\r
-                return numberOfTouches;\r
-            }\r
-        }\r
-\r
-        public Vector2 ScreenPoint\r
-        {\r
-            get\r
-            {\r
-                return screenPoint;\r
-            }\r
-        }\r
-\r
-        public Vector2 LocalPoint\r
-        {\r
-            get\r
-            {\r
-                return localPoint;\r
-            }\r
-        }\r
-\r
-        public LongPressGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_LongPressGesture__SWIG_0((int)state), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public LongPressGesture(LongPressGesture rhs) : this(NDalicPINVOKE.new_LongPressGesture__SWIG_1(LongPressGesture.getCPtr(rhs)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public LongPressGesture Assign(LongPressGesture rhs)\r
-        {\r
-            LongPressGesture ret = new LongPressGesture(NDalicPINVOKE.LongPressGesture_Assign(swigCPtr, LongPressGesture.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private uint numberOfTouches\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.LongPressGesture_numberOfTouches_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                uint ret = NDalicPINVOKE.LongPressGesture_numberOfTouches_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 screenPoint\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.LongPressGesture_screenPoint_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.LongPressGesture_screenPoint_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 localPoint\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.LongPressGesture_localPoint_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.LongPressGesture_localPoint_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class LongPressGesture : Gesture
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal LongPressGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.LongPressGesture_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LongPressGesture obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~LongPressGesture()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_LongPressGesture(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        public static LongPressGesture GetLongPressGestureFromPtr(global::System.IntPtr cPtr)
+        {
+            LongPressGesture ret = new LongPressGesture(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint NumberOfTouches
+        {
+            get
+            {
+                return numberOfTouches;
+            }
+        }
+
+        public Vector2 ScreenPoint
+        {
+            get
+            {
+                return screenPoint;
+            }
+        }
+
+        public Vector2 LocalPoint
+        {
+            get
+            {
+                return localPoint;
+            }
+        }
+
+        public LongPressGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_LongPressGesture__SWIG_0((int)state), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public LongPressGesture(LongPressGesture rhs) : this(NDalicPINVOKE.new_LongPressGesture__SWIG_1(LongPressGesture.getCPtr(rhs)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public LongPressGesture Assign(LongPressGesture rhs)
+        {
+            LongPressGesture ret = new LongPressGesture(NDalicPINVOKE.LongPressGesture_Assign(swigCPtr, LongPressGesture.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private uint numberOfTouches
+        {
+            set
+            {
+                NDalicPINVOKE.LongPressGesture_numberOfTouches_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                uint ret = NDalicPINVOKE.LongPressGesture_numberOfTouches_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 screenPoint
+        {
+            set
+            {
+                NDalicPINVOKE.LongPressGesture_screenPoint_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.LongPressGesture_screenPoint_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 localPoint
+        {
+            set
+            {
+                NDalicPINVOKE.LongPressGesture_localPoint_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.LongPressGesture_localPoint_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+    }
+
+}
index 002004fafcfe0f7402ff584edde63f5ce8094d95..f54a0cae96a1a54449d64f14444311a2e14048e6 100755 (executable)
-/*\r
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *\r
- */\r
-\r
-using System;\r
-using Tizen.Applications;\r
-using Tizen.NUI;\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    /// <summary>\r
-    /// Represents an application that have UI screen. The NUIApplication class has a default stage.\r
-    /// </summary>\r
-    public class NUIApplication : CoreUIApplication\r
-    {\r
-        private void LOG(string _str)\r
-        {\r
-            //Tizen.Log.Debug("NUI", _str);\r
-            //Console.WriteLine("[NUI]" + _str);\r
-        }\r
-\r
-        /// <summary>\r
-        /// The instance of the Application.\r
-        /// </summary>\r
-        /// <remarks>\r
-        /// This application is created before OnCreate() or created event. And the NUIApplication will be terminated when this application is closed.\r
-        /// </remarks>\r
-        private Application _application;\r
-\r
-        /// <summary>\r
-        /// The instance of the Dali Application extension.\r
-        /// </summary>\r
-        private ApplicationExtensions _applicationExt;\r
-\r
-        /// <summary>\r
-        /// Store the stylesheet value.\r
-        /// </summary>\r
-        private string _stylesheet;\r
-\r
-        /// <summary>\r
-        /// Store the window mode value.\r
-        /// </summary>\r
-        private Application.WindowMode _windowMode;\r
-\r
-        /// <summary>\r
-        /// Store the app mode value.\r
-        /// </summary>\r
-        private AppMode _appMode;\r
-\r
-        /// <summary>\r
-        /// The instance of the Dali Stage.\r
-        /// </summary>\r
-        private Stage _stage;\r
-\r
-        /// <summary>\r
-        /// The default constructor.\r
-        /// </summary>\r
-        public NUIApplication() : base()\r
-        {\r
-            _appMode = AppMode.Default;\r
-        }\r
-\r
-        /// <summary>\r
-        /// The constructor with stylesheet.\r
-        /// </summary>\r
-        public NUIApplication(string stylesheet) : base()\r
-        {\r
-            //handle the stylesheet\r
-            _appMode = AppMode.StyleSheetOnly;\r
-            _stylesheet = stylesheet;\r
-        }\r
-\r
-        /// <summary>\r
-        /// The constructor with stylesheet and window mode.\r
-        /// </summary>\r
-        public NUIApplication(string stylesheet, WindowMode windowMode) : base()\r
-        {\r
-            //handle the stylesheet and windowMode\r
-            _appMode = AppMode.StyleSheetWithWindowMode;\r
-            _stylesheet = stylesheet;\r
-            _windowMode = (Application.WindowMode)windowMode;\r
-        }\r
-\r
-        /// <summary>\r
-        /// Overrides this method if want to handle behavior.\r
-        /// </summary>\r
-        protected override void OnPause()\r
-        {\r
-            base.OnPause();\r
-            _applicationExt.Pause();\r
-            LOG("OnPause() is called!");\r
-        }\r
-\r
-        /// <summary>\r
-        /// Overrides this method if want to handle behavior before calling OnCreate().\r
-        /// stage property is initialized in this overrided method.\r
-        /// </summary>\r
-        protected override void OnPreCreate()\r
-        {\r
-            switch (_appMode)\r
-            {\r
-                case AppMode.Default:\r
-                    _application = Tizen.NUI.Application.NewApplication();\r
-                    break;\r
-                case AppMode.StyleSheetOnly:\r
-                    _application = Tizen.NUI.Application.NewApplication(_stylesheet);\r
-                    break;\r
-                case AppMode.StyleSheetWithWindowMode:\r
-                    _application = Tizen.NUI.Application.NewApplication(_stylesheet, _windowMode);\r
-                    break;\r
-                default:\r
-                    break;\r
-            }\r
-            _applicationExt = new ApplicationExtensions(_application);\r
-            _applicationExt.Init();\r
-\r
-            _stage = Stage.Instance;\r
-            _stage.SetBackgroundColor(Color.White);\r
-            LOG("OnPreCreate() is called!");\r
-        }\r
-\r
-        /// <summary>\r
-        /// Overrides this method if want to handle behavior.\r
-        /// </summary>\r
-        protected override void OnResume()\r
-        {\r
-            base.OnResume();\r
-            _applicationExt.Resume();\r
-            LOG("OnResume() is called!");\r
-        }\r
-\r
-        /// <summary>\r
-        /// Overrides this method if want to handle behavior.\r
-        /// </summary>\r
-        protected override void OnAppControlReceived(AppControlReceivedEventArgs e)\r
-        {\r
-            base.OnAppControlReceived(e);\r
-            LOG("OnAppControlReceived() is called!");\r
-            if (e != null)\r
-            {\r
-                LOG("OnAppControlReceived() is called! ApplicationId=" + e.ReceivedAppControl.ApplicationId);\r
-                LOG("CallerApplicationId=" + e.ReceivedAppControl.CallerApplicationId + "   IsReplyRequest=" + e.ReceivedAppControl.IsReplyRequest);\r
-            }\r
-        }\r
-\r
-        /// <summary>\r
-        /// Overrides this method if want to handle behavior.\r
-        /// </summary>\r
-        protected override void OnCreate()\r
-        {\r
-            base.OnCreate();\r
-            LOG("OnCreate() is called!");\r
-        }\r
-\r
-        /// <summary>\r
-        /// Overrides this method if want to handle behavior.\r
-        /// </summary>\r
-        protected override void OnLocaleChanged(LocaleChangedEventArgs e)\r
-        {\r
-            base.OnLocaleChanged(e);\r
-            _applicationExt.LanguageChange();\r
-            LOG("OnLocaleChanged() is called!");\r
-        }\r
-\r
-        /// <summary>\r
-        /// Overrides this method if want to handle behavior.\r
-        /// </summary>\r
-        protected override void OnLowBattery(LowBatteryEventArgs e)\r
-        {\r
-            base.OnLowBattery(e);\r
-            LOG("OnLowBattery() is called!");\r
-        }\r
-\r
-        /// <summary>\r
-        /// Overrides this method if want to handle behavior.\r
-        /// </summary>\r
-        protected override void OnLowMemory(LowMemoryEventArgs e)\r
-        {\r
-            base.OnLowMemory(e);\r
-            LOG("OnLowMemory() is called!");\r
-        }\r
-\r
-        /// <summary>\r
-        /// Overrides this method if want to handle behavior.\r
-        /// </summary>\r
-        protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)\r
-        {\r
-            base.OnRegionFormatChanged(e);\r
-            LOG("OnRegionFormatChanged() is called!");\r
-        }\r
-\r
-        /// <summary>\r
-        /// Overrides this method if want to handle behavior.\r
-        /// </summary>\r
-        protected override void OnTerminate()\r
-        {\r
-            base.OnTerminate();\r
-            _applicationExt.Terminate();\r
-            LOG("OnTerminate() is called!");\r
-        }\r
-\r
-        /// <summary>\r
-        /// The mode of creating NUI application.\r
-        /// </summary>\r
-        private enum AppMode\r
-        {\r
-            Default = 0,\r
-            StyleSheetOnly = 1,\r
-            StyleSheetWithWindowMode = 2\r
-        }\r
-\r
-        /// <summary>\r
-        /// Enumeration for deciding whether a NUI application window is opaque or transparent.\r
-        /// </summary>\r
-        public enum WindowMode\r
-        {\r
-            Opaque = 0,\r
-            Transparent = 1\r
-        }\r
-\r
-    }\r
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+using System;
+using Tizen.Applications;
+using Tizen.NUI;
+
+namespace Tizen.NUI
+{
+
+    /// <summary>
+    /// Represents an application that have UI screen. The NUIApplication class has a default stage.
+    /// </summary>
+    public class NUIApplication : CoreUIApplication
+    {
+        private void LOG(string _str)
+        {
+            //Tizen.Log.Debug("NUI", _str);
+            //Console.WriteLine("[NUI]" + _str);
+        }
+
+        /// <summary>
+        /// The instance of the Application.
+        /// </summary>
+        /// <remarks>
+        /// This application is created before OnCreate() or created event. And the NUIApplication will be terminated when this application is closed.
+        /// </remarks>
+        private Application _application;
+
+        /// <summary>
+        /// The instance of the Dali Application extension.
+        /// </summary>
+        private ApplicationExtensions _applicationExt;
+
+        /// <summary>
+        /// Store the stylesheet value.
+        /// </summary>
+        private string _stylesheet;
+
+        /// <summary>
+        /// Store the window mode value.
+        /// </summary>
+        private Application.WindowMode _windowMode;
+
+        /// <summary>
+        /// Store the app mode value.
+        /// </summary>
+        private AppMode _appMode;
+
+        /// <summary>
+        /// The instance of the Dali Stage.
+        /// </summary>
+        private Stage _stage;
+
+        /// <summary>
+        /// The default constructor.
+        /// </summary>
+        public NUIApplication() : base()
+        {
+            _appMode = AppMode.Default;
+        }
+
+        /// <summary>
+        /// The constructor with stylesheet.
+        /// </summary>
+        public NUIApplication(string stylesheet) : base()
+        {
+            //handle the stylesheet
+            _appMode = AppMode.StyleSheetOnly;
+            _stylesheet = stylesheet;
+        }
+
+        /// <summary>
+        /// The constructor with stylesheet and window mode.
+        /// </summary>
+        public NUIApplication(string stylesheet, WindowMode windowMode) : base()
+        {
+            //handle the stylesheet and windowMode
+            _appMode = AppMode.StyleSheetWithWindowMode;
+            _stylesheet = stylesheet;
+            _windowMode = (Application.WindowMode)windowMode;
+        }
+
+        /// <summary>
+        /// Overrides this method if want to handle behavior.
+        /// </summary>
+        protected override void OnPause()
+        {
+            base.OnPause();
+            _applicationExt.Pause();
+            LOG("OnPause() is called!");
+        }
+
+        /// <summary>
+        /// Overrides this method if want to handle behavior before calling OnCreate().
+        /// stage property is initialized in this overrided method.
+        /// </summary>
+        protected override void OnPreCreate()
+        {
+            switch (_appMode)
+            {
+                case AppMode.Default:
+                    _application = Tizen.NUI.Application.NewApplication();
+                    break;
+                case AppMode.StyleSheetOnly:
+                    _application = Tizen.NUI.Application.NewApplication(_stylesheet);
+                    break;
+                case AppMode.StyleSheetWithWindowMode:
+                    _application = Tizen.NUI.Application.NewApplication(_stylesheet, _windowMode);
+                    break;
+                default:
+                    break;
+            }
+            _applicationExt = new ApplicationExtensions(_application);
+            _applicationExt.Init();
+
+            _stage = Stage.Instance;
+            _stage.SetBackgroundColor(Color.White);
+            LOG("OnPreCreate() is called!");
+        }
+
+        /// <summary>
+        /// Overrides this method if want to handle behavior.
+        /// </summary>
+        protected override void OnResume()
+        {
+            base.OnResume();
+            _applicationExt.Resume();
+            LOG("OnResume() is called!");
+        }
+
+        /// <summary>
+        /// Overrides this method if want to handle behavior.
+        /// </summary>
+        protected override void OnAppControlReceived(AppControlReceivedEventArgs e)
+        {
+            base.OnAppControlReceived(e);
+            LOG("OnAppControlReceived() is called!");
+            if (e != null)
+            {
+                LOG("OnAppControlReceived() is called! ApplicationId=" + e.ReceivedAppControl.ApplicationId);
+                LOG("CallerApplicationId=" + e.ReceivedAppControl.CallerApplicationId + "   IsReplyRequest=" + e.ReceivedAppControl.IsReplyRequest);
+            }
+        }
+
+        /// <summary>
+        /// Overrides this method if want to handle behavior.
+        /// </summary>
+        protected override void OnCreate()
+        {
+            base.OnCreate();
+            LOG("OnCreate() is called!");
+        }
+
+        /// <summary>
+        /// Overrides this method if want to handle behavior.
+        /// </summary>
+        protected override void OnLocaleChanged(LocaleChangedEventArgs e)
+        {
+            base.OnLocaleChanged(e);
+            _applicationExt.LanguageChange();
+            LOG("OnLocaleChanged() is called!");
+        }
+
+        /// <summary>
+        /// Overrides this method if want to handle behavior.
+        /// </summary>
+        protected override void OnLowBattery(LowBatteryEventArgs e)
+        {
+            base.OnLowBattery(e);
+            LOG("OnLowBattery() is called!");
+        }
+
+        /// <summary>
+        /// Overrides this method if want to handle behavior.
+        /// </summary>
+        protected override void OnLowMemory(LowMemoryEventArgs e)
+        {
+            base.OnLowMemory(e);
+            LOG("OnLowMemory() is called!");
+        }
+
+        /// <summary>
+        /// Overrides this method if want to handle behavior.
+        /// </summary>
+        protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
+        {
+            base.OnRegionFormatChanged(e);
+            LOG("OnRegionFormatChanged() is called!");
+        }
+
+        /// <summary>
+        /// Overrides this method if want to handle behavior.
+        /// </summary>
+        protected override void OnTerminate()
+        {
+            base.OnTerminate();
+            _applicationExt.Terminate();
+            LOG("OnTerminate() is called!");
+        }
+
+        /// <summary>
+        /// The mode of creating NUI application.
+        /// </summary>
+        private enum AppMode
+        {
+            Default = 0,
+            StyleSheetOnly = 1,
+            StyleSheetWithWindowMode = 2
+        }
+
+        /// <summary>
+        /// Enumeration for deciding whether a NUI application window is opaque or transparent.
+        /// </summary>
+        public enum WindowMode
+        {
+            Opaque = 0,
+            Transparent = 1
+        }
+
+    }
 }
\ No newline at end of file
index 66742384f9fbea302590469d59621fa510b3dbfb..34f66486b39569b90ca5fd5b4b728acca7e11986 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class PanGesture : Gesture\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal PanGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PanGesture_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PanGesture obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~PanGesture()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_PanGesture(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        public static PanGesture GetPanGestureFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            PanGesture ret = new PanGesture(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Vector2 Velocity\r
-        {\r
-            get\r
-            {\r
-                return velocity;\r
-            }\r
-        }\r
-\r
-        public Vector2 Displacement\r
-        {\r
-            get\r
-            {\r
-                return displacement;\r
-            }\r
-        }\r
-\r
-        public Vector2 Position\r
-        {\r
-            get\r
-            {\r
-                return position;\r
-            }\r
-        }\r
-\r
-        public Vector2 ScreenVelocity\r
-        {\r
-            get\r
-            {\r
-                return screenVelocity;\r
-            }\r
-        }\r
-\r
-        public Vector2 ScreenDisplacement\r
-        {\r
-            get\r
-            {\r
-                return screenDisplacement;\r
-            }\r
-        }\r
-\r
-        public Vector2 ScreenPosition\r
-        {\r
-            get\r
-            {\r
-                return screenPosition;\r
-            }\r
-        }\r
-\r
-        public uint NumberOfTouches\r
-        {\r
-            get\r
-            {\r
-                return numberOfTouches;\r
-            }\r
-        }\r
-\r
-        public PanGesture() : this(NDalicPINVOKE.new_PanGesture__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PanGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_PanGesture__SWIG_1((int)state), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PanGesture(PanGesture rhs) : this(NDalicPINVOKE.new_PanGesture__SWIG_2(PanGesture.getCPtr(rhs)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PanGesture Assign(PanGesture rhs)\r
-        {\r
-            PanGesture ret = new PanGesture(NDalicPINVOKE.PanGesture_Assign(swigCPtr, PanGesture.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Vector2 velocity\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PanGesture_velocity_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_velocity_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 displacement\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PanGesture_displacement_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_displacement_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 position\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PanGesture_position_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_position_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 screenVelocity\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PanGesture_screenVelocity_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenVelocity_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 screenDisplacement\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PanGesture_screenDisplacement_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenDisplacement_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 screenPosition\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PanGesture_screenPosition_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenPosition_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private uint numberOfTouches\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PanGesture_numberOfTouches_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                uint ret = NDalicPINVOKE.PanGesture_numberOfTouches_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float GetSpeed()\r
-        {\r
-            float ret = NDalicPINVOKE.PanGesture_GetSpeed(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float GetDistance()\r
-        {\r
-            float ret = NDalicPINVOKE.PanGesture_GetDistance(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float GetScreenSpeed()\r
-        {\r
-            float ret = NDalicPINVOKE.PanGesture_GetScreenSpeed(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float GetScreenDistance()\r
-        {\r
-            float ret = NDalicPINVOKE.PanGesture_GetScreenDistance(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class PanGesture : Gesture
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal PanGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PanGesture_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PanGesture obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~PanGesture()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_PanGesture(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        public static PanGesture GetPanGestureFromPtr(global::System.IntPtr cPtr)
+        {
+            PanGesture ret = new PanGesture(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Vector2 Velocity
+        {
+            get
+            {
+                return velocity;
+            }
+        }
+
+        public Vector2 Displacement
+        {
+            get
+            {
+                return displacement;
+            }
+        }
+
+        public Vector2 Position
+        {
+            get
+            {
+                return position;
+            }
+        }
+
+        public Vector2 ScreenVelocity
+        {
+            get
+            {
+                return screenVelocity;
+            }
+        }
+
+        public Vector2 ScreenDisplacement
+        {
+            get
+            {
+                return screenDisplacement;
+            }
+        }
+
+        public Vector2 ScreenPosition
+        {
+            get
+            {
+                return screenPosition;
+            }
+        }
+
+        public uint NumberOfTouches
+        {
+            get
+            {
+                return numberOfTouches;
+            }
+        }
+
+        public PanGesture() : this(NDalicPINVOKE.new_PanGesture__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PanGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_PanGesture__SWIG_1((int)state), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PanGesture(PanGesture rhs) : this(NDalicPINVOKE.new_PanGesture__SWIG_2(PanGesture.getCPtr(rhs)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PanGesture Assign(PanGesture rhs)
+        {
+            PanGesture ret = new PanGesture(NDalicPINVOKE.PanGesture_Assign(swigCPtr, PanGesture.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Vector2 velocity
+        {
+            set
+            {
+                NDalicPINVOKE.PanGesture_velocity_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_velocity_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 displacement
+        {
+            set
+            {
+                NDalicPINVOKE.PanGesture_displacement_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_displacement_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 position
+        {
+            set
+            {
+                NDalicPINVOKE.PanGesture_position_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_position_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 screenVelocity
+        {
+            set
+            {
+                NDalicPINVOKE.PanGesture_screenVelocity_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenVelocity_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 screenDisplacement
+        {
+            set
+            {
+                NDalicPINVOKE.PanGesture_screenDisplacement_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenDisplacement_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 screenPosition
+        {
+            set
+            {
+                NDalicPINVOKE.PanGesture_screenPosition_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.PanGesture_screenPosition_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private uint numberOfTouches
+        {
+            set
+            {
+                NDalicPINVOKE.PanGesture_numberOfTouches_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                uint ret = NDalicPINVOKE.PanGesture_numberOfTouches_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float GetSpeed()
+        {
+            float ret = NDalicPINVOKE.PanGesture_GetSpeed(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float GetDistance()
+        {
+            float ret = NDalicPINVOKE.PanGesture_GetDistance(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float GetScreenSpeed()
+        {
+            float ret = NDalicPINVOKE.PanGesture_GetScreenSpeed(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float GetScreenDistance()
+        {
+            float ret = NDalicPINVOKE.PanGesture_GetScreenDistance(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+    }
+
+}
index 2ebd1e30c346c635f4c76a49459a061d2cf45993..302b2b436024e7a30cd1e5f92c7b1499b09555c7 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Path : Handle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Path(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Path_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Path obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Path()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Path(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_Path_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_Path_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int POINTS = NDalicPINVOKE.Path_Property_POINTS_get();\r
-            internal static readonly int CONTROL_POINTS = NDalicPINVOKE.Path_Property_CONTROL_POINTS_get();\r
-\r
-        }\r
-\r
-        public Path() : this(NDalicPINVOKE.Path_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public new static Path DownCast(BaseHandle handle)\r
-        {\r
-            Path ret = new Path(NDalicPINVOKE.Path_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Path(Path handle) : this(NDalicPINVOKE.new_Path__SWIG_1(Path.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Path Assign(Path rhs)\r
-        {\r
-            Path ret = new Path(NDalicPINVOKE.Path_Assign(swigCPtr, Path.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void AddPoint(Position point)\r
-        {\r
-            NDalicPINVOKE.Path_AddPoint(swigCPtr, Position.getCPtr(point));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void AddControlPoint(Vector3 point)\r
-        {\r
-            NDalicPINVOKE.Path_AddControlPoint(swigCPtr, Vector3.getCPtr(point));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void GenerateControlPoints(float curvature)\r
-        {\r
-            NDalicPINVOKE.Path_GenerateControlPoints(swigCPtr, curvature);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Sample(float progress, Vector3 position, Vector3 tangent)\r
-        {\r
-            NDalicPINVOKE.Path_Sample(swigCPtr, progress, Vector3.getCPtr(position), Vector3.getCPtr(tangent));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector3 GetPoint(uint index)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Path_GetPoint(swigCPtr, index), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Vector3 GetControlPoint(uint index)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Path_GetControlPoint(swigCPtr, index), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint GetPointCount()\r
-        {\r
-            uint ret = NDalicPINVOKE.Path_GetPointCount(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyArray Points\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();\r
-                GetProperty(Path.Property.POINTS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Path.Property.POINTS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public PropertyArray ControlPoints\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();\r
-                GetProperty(Path.Property.CONTROL_POINTS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Path.Property.CONTROL_POINTS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Path : Handle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Path(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Path_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Path obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Path()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Path(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_Path_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_Path_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int POINTS = NDalicPINVOKE.Path_Property_POINTS_get();
+            internal static readonly int CONTROL_POINTS = NDalicPINVOKE.Path_Property_CONTROL_POINTS_get();
+
+        }
+
+        public Path() : this(NDalicPINVOKE.Path_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public new static Path DownCast(BaseHandle handle)
+        {
+            Path ret = new Path(NDalicPINVOKE.Path_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Path(Path handle) : this(NDalicPINVOKE.new_Path__SWIG_1(Path.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Path Assign(Path rhs)
+        {
+            Path ret = new Path(NDalicPINVOKE.Path_Assign(swigCPtr, Path.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void AddPoint(Position point)
+        {
+            NDalicPINVOKE.Path_AddPoint(swigCPtr, Position.getCPtr(point));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void AddControlPoint(Vector3 point)
+        {
+            NDalicPINVOKE.Path_AddControlPoint(swigCPtr, Vector3.getCPtr(point));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void GenerateControlPoints(float curvature)
+        {
+            NDalicPINVOKE.Path_GenerateControlPoints(swigCPtr, curvature);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Sample(float progress, Vector3 position, Vector3 tangent)
+        {
+            NDalicPINVOKE.Path_Sample(swigCPtr, progress, Vector3.getCPtr(position), Vector3.getCPtr(tangent));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector3 GetPoint(uint index)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Path_GetPoint(swigCPtr, index), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Vector3 GetControlPoint(uint index)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Path_GetControlPoint(swigCPtr, index), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint GetPointCount()
+        {
+            uint ret = NDalicPINVOKE.Path_GetPointCount(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyArray Points
+        {
+            get
+            {
+                Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
+                GetProperty(Path.Property.POINTS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Path.Property.POINTS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public PropertyArray ControlPoints
+        {
+            get
+            {
+                Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
+                GetProperty(Path.Property.CONTROL_POINTS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Path.Property.CONTROL_POINTS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
+}
index 006e3a0c988ea782c6276c9525584b7959032592..21676855f810403169051f8dfb318aeeb0f8a9dd 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class PinchGesture : Gesture\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal PinchGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PinchGesture_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PinchGesture obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~PinchGesture()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_PinchGesture(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        public static PinchGesture GetPinchGestureFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            PinchGesture ret = new PinchGesture(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float Scale\r
-        {\r
-            get\r
-            {\r
-                return scale;\r
-            }\r
-        }\r
-\r
-        public float Speed\r
-        {\r
-            get\r
-            {\r
-                return speed;\r
-            }\r
-        }\r
-\r
-        public Vector2 ScreenCenterPoint\r
-        {\r
-            get\r
-            {\r
-                return screenCenterPoint;\r
-            }\r
-        }\r
-\r
-        public Vector2 LocalCenterPoint\r
-        {\r
-            get\r
-            {\r
-                return localCenterPoint;\r
-            }\r
-        }\r
-\r
-        public PinchGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_PinchGesture__SWIG_0((int)state), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PinchGesture(PinchGesture rhs) : this(NDalicPINVOKE.new_PinchGesture__SWIG_1(PinchGesture.getCPtr(rhs)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PinchGesture Assign(PinchGesture rhs)\r
-        {\r
-            PinchGesture ret = new PinchGesture(NDalicPINVOKE.PinchGesture_Assign(swigCPtr, PinchGesture.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private float scale\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PinchGesture_scale_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.PinchGesture_scale_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private float speed\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PinchGesture_speed_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.PinchGesture_speed_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 screenCenterPoint\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PinchGesture_screenCenterPoint_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.PinchGesture_screenCenterPoint_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 localCenterPoint\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.PinchGesture_localCenterPoint_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.PinchGesture_localCenterPoint_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class PinchGesture : Gesture
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal PinchGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PinchGesture_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PinchGesture obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~PinchGesture()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_PinchGesture(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        public static PinchGesture GetPinchGestureFromPtr(global::System.IntPtr cPtr)
+        {
+            PinchGesture ret = new PinchGesture(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float Scale
+        {
+            get
+            {
+                return scale;
+            }
+        }
+
+        public float Speed
+        {
+            get
+            {
+                return speed;
+            }
+        }
+
+        public Vector2 ScreenCenterPoint
+        {
+            get
+            {
+                return screenCenterPoint;
+            }
+        }
+
+        public Vector2 LocalCenterPoint
+        {
+            get
+            {
+                return localCenterPoint;
+            }
+        }
+
+        public PinchGesture(Gesture.StateType state) : this(NDalicPINVOKE.new_PinchGesture__SWIG_0((int)state), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PinchGesture(PinchGesture rhs) : this(NDalicPINVOKE.new_PinchGesture__SWIG_1(PinchGesture.getCPtr(rhs)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PinchGesture Assign(PinchGesture rhs)
+        {
+            PinchGesture ret = new PinchGesture(NDalicPINVOKE.PinchGesture_Assign(swigCPtr, PinchGesture.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private float scale
+        {
+            set
+            {
+                NDalicPINVOKE.PinchGesture_scale_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.PinchGesture_scale_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private float speed
+        {
+            set
+            {
+                NDalicPINVOKE.PinchGesture_speed_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.PinchGesture_speed_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 screenCenterPoint
+        {
+            set
+            {
+                NDalicPINVOKE.PinchGesture_screenCenterPoint_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.PinchGesture_screenCenterPoint_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 localCenterPoint
+        {
+            set
+            {
+                NDalicPINVOKE.PinchGesture_localCenterPoint_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.PinchGesture_localCenterPoint_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+    }
+
+}
index 7ad103350fa0318c2f92c3ac73d290016ef73a60..0872655c0fab8b14b8d2d6de9e244583b2482a3e 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class Popup : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Popup(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Popup_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Popup obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Popup()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Popup(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-        public class OutsideTouchedEventArgs : EventArgs\r
-        {\r
-        }\r
-\r
-        public class ShowingEventArgs : EventArgs\r
-        {\r
-        }\r
-\r
-        public class ShownEventArgs : EventArgs\r
-        {\r
-        }\r
-\r
-        public class HidingEventArgs : EventArgs\r
-        {\r
-        }\r
-\r
-        public class HiddenEventArgs : EventArgs\r
-        {\r
-        }\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void OutsideTouchedEventCallbackDelegate();\r
-        private EventHandler<OutsideTouchedEventArgs> _popUpOutsideTouchedEventHandler;\r
-        private OutsideTouchedEventCallbackDelegate _popUpOutsideTouchedEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void ShowingEventCallbackDelegate();\r
-        private EventHandler<ShowingEventArgs> _popUpShowingEventHandler;\r
-        private ShowingEventCallbackDelegate _popUpShowingEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void ShownEventCallbackDelegate();\r
-        private EventHandler<ShownEventArgs> _popUpShownEventHandler;\r
-        private ShownEventCallbackDelegate _popUpShownEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void HidingEventCallbackDelegate();\r
-        private EventHandler<HidingEventArgs> _popUpHidingEventHandler;\r
-        private HidingEventCallbackDelegate _popUpHidingEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void HiddenEventCallbackDelegate();\r
-        private EventHandler<HiddenEventArgs> _popUpHiddenEventHandler;\r
-        private HiddenEventCallbackDelegate _popUpHiddenEventCallbackDelegate;\r
-\r
-        public event EventHandler<OutsideTouchedEventArgs> OutsideTouched\r
-        {\r
-            add\r
-            {\r
-                if (_popUpOutsideTouchedEventHandler == null)\r
-                {\r
-                    _popUpOutsideTouchedEventCallbackDelegate = (OnOutsideTouched);\r
-                    OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);\r
-                }\r
-                _popUpOutsideTouchedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _popUpOutsideTouchedEventHandler -= value;\r
-                if (_popUpOutsideTouchedEventHandler == null && _popUpOutsideTouchedEventCallbackDelegate != null)\r
-                {\r
-                    this.OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Popup OutsideTouchedSignal\r
-        private void OnOutsideTouched()\r
-        {\r
-            OutsideTouchedEventArgs e = new OutsideTouchedEventArgs();\r
-\r
-            if (_popUpOutsideTouchedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _popUpOutsideTouchedEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        public event EventHandler<ShowingEventArgs> Showing\r
-        {\r
-            add\r
-            {\r
-                if (_popUpShowingEventHandler == null)\r
-                {\r
-                    _popUpShowingEventCallbackDelegate = (OnShowing);\r
-                    ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);\r
-                }\r
-                _popUpShowingEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _popUpShowingEventHandler -= value;\r
-                if (_popUpShowingEventHandler == null && _popUpShowingEventCallbackDelegate != null)\r
-                {\r
-                    ShowingSignal().Disconnect(_popUpShowingEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for ShowingSignal\r
-        private void OnShowing()\r
-        {\r
-            ShowingEventArgs e = new ShowingEventArgs();\r
-\r
-            if (_popUpShowingEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _popUpShowingEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-\r
-        public event EventHandler<ShownEventArgs> Shown\r
-        {\r
-            add\r
-            {\r
-                if (_popUpShownEventHandler == null)\r
-                {\r
-                    _popUpShownEventCallbackDelegate = (OnShown);\r
-                    ShownSignal().Connect(_popUpShownEventCallbackDelegate);\r
-                }\r
-                _popUpShownEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _popUpShownEventHandler -= value;\r
-                if (_popUpShownEventHandler == null && _popUpShownEventCallbackDelegate != null)\r
-                {\r
-                    ShownSignal().Disconnect(_popUpShownEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for ShownSignal\r
-        private void OnShown()\r
-        {\r
-            ShownEventArgs e = new ShownEventArgs();\r
-\r
-            if (_popUpShownEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _popUpShownEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        public event EventHandler<HidingEventArgs> Hiding\r
-        {\r
-            add\r
-            {\r
-                if (_popUpHidingEventHandler == null)\r
-                {\r
-                    _popUpHidingEventCallbackDelegate = (OnHiding);\r
-                    HidingSignal().Connect(_popUpHidingEventCallbackDelegate);\r
-                }\r
-                _popUpHidingEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _popUpHidingEventHandler -= value;\r
-                if (_popUpHidingEventHandler == null && _popUpHidingEventCallbackDelegate != null)\r
-                {\r
-                    HidingSignal().Disconnect(_popUpHidingEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for HidingSignal\r
-        private void OnHiding()\r
-        {\r
-            HidingEventArgs e = new HidingEventArgs();\r
-\r
-            if (_popUpHidingEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _popUpHidingEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        public event EventHandler<HiddenEventArgs> Hidden\r
-        {\r
-            add\r
-            {\r
-                if (_popUpHiddenEventHandler == null)\r
-                {\r
-                    _popUpHiddenEventCallbackDelegate = (OnHidden);\r
-                    HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);\r
-                }\r
-                _popUpHiddenEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _popUpHiddenEventHandler -= value;\r
-                if (_popUpHiddenEventHandler == null && _popUpHiddenEventCallbackDelegate != null)\r
-                {\r
-                    HiddenSignal().Disconnect(_popUpHiddenEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for HiddenSignal\r
-        private void OnHidden()\r
-        {\r
-            HiddenEventArgs e = new HiddenEventArgs();\r
-\r
-            if (_popUpHiddenEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _popUpHiddenEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_Popup_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_Popup_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();\r
-            internal static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();\r
-            internal static readonly int FOOTER = NDalicPINVOKE.Popup_Property_FOOTER_get();\r
-            internal static readonly int DISPLAY_STATE = NDalicPINVOKE.Popup_Property_DISPLAY_STATE_get();\r
-            internal static readonly int TOUCH_TRANSPARENT = NDalicPINVOKE.Popup_Property_TOUCH_TRANSPARENT_get();\r
-            internal static readonly int TAIL_VISIBILITY = NDalicPINVOKE.Popup_Property_TAIL_VISIBILITY_get();\r
-            internal static readonly int TAIL_POSITION = NDalicPINVOKE.Popup_Property_TAIL_POSITION_get();\r
-            internal static readonly int CONTEXTUAL_MODE = NDalicPINVOKE.Popup_Property_CONTEXTUAL_MODE_get();\r
-            internal static readonly int ANIMATION_DURATION = NDalicPINVOKE.Popup_Property_ANIMATION_DURATION_get();\r
-            internal static readonly int ANIMATION_MODE = NDalicPINVOKE.Popup_Property_ANIMATION_MODE_get();\r
-            internal static readonly int ENTRY_ANIMATION = NDalicPINVOKE.Popup_Property_ENTRY_ANIMATION_get();\r
-            internal static readonly int EXIT_ANIMATION = NDalicPINVOKE.Popup_Property_EXIT_ANIMATION_get();\r
-            internal static readonly int AUTO_HIDE_DELAY = NDalicPINVOKE.Popup_Property_AUTO_HIDE_DELAY_get();\r
-            internal static readonly int BACKING_ENABLED = NDalicPINVOKE.Popup_Property_BACKING_ENABLED_get();\r
-            internal static readonly int BACKING_COLOR = NDalicPINVOKE.Popup_Property_BACKING_COLOR_get();\r
-            internal static readonly int POPUP_BACKGROUND_IMAGE = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_IMAGE_get();\r
-            internal static readonly int POPUP_BACKGROUND_BORDER = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_BORDER_get();\r
-            internal static readonly int TAIL_UP_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_UP_IMAGE_get();\r
-            internal static readonly int TAIL_DOWN_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_DOWN_IMAGE_get();\r
-            internal static readonly int TAIL_LEFT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_LEFT_IMAGE_get();\r
-            internal static readonly int TAIL_RIGHT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_RIGHT_IMAGE_get();\r
-\r
-        }\r
-\r
-        public Popup() : this(NDalicPINVOKE.Popup_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal Popup(Popup handle) : this(NDalicPINVOKE.new_Popup__SWIG_1(Popup.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Popup Assign(Popup handle)\r
-        {\r
-            Popup ret = new Popup(NDalicPINVOKE.Popup_Assign(swigCPtr, Popup.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static Popup DownCast(BaseHandle handle)\r
-        {\r
-            Popup ret = new Popup(NDalicPINVOKE.Popup_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetTitle(Actor titleActor)\r
-        {\r
-            NDalicPINVOKE.Popup_SetTitle(swigCPtr, Actor.getCPtr(titleActor));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Actor GetTitle()\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Popup_GetTitle(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetContent(Actor content)\r
-        {\r
-            NDalicPINVOKE.Popup_SetContent(swigCPtr, Actor.getCPtr(content));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Actor GetContent()\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Popup_GetContent(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetFooter(Actor footer)\r
-        {\r
-            NDalicPINVOKE.Popup_SetFooter(swigCPtr, Actor.getCPtr(footer));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Actor GetFooter()\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Popup_GetFooter(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetDisplayState(Popup.DisplayStateType displayState)\r
-        {\r
-            NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Popup.DisplayStateType GetDisplayState()\r
-        {\r
-            Popup.DisplayStateType ret = (Popup.DisplayStateType)NDalicPINVOKE.Popup_GetDisplayState(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VoidSignal OutsideTouchedSignal()\r
-        {\r
-            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_OutsideTouchedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VoidSignal ShowingSignal()\r
-        {\r
-            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShowingSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VoidSignal ShownSignal()\r
-        {\r
-            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShownSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VoidSignal HidingSignal()\r
-        {\r
-            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HidingSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VoidSignal HiddenSignal()\r
-        {\r
-            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HiddenSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000\r
-        }\r
-\r
-        public enum DisplayStateType\r
-        {\r
-            Showing,\r
-            Shown,\r
-            Hiding,\r
-            Hidden\r
-        }\r
-\r
-        public enum AnimationModeType\r
-        {\r
-            None,\r
-            Zoom,\r
-            Fade,\r
-            Custom\r
-        }\r
-\r
-        public enum ContextualModeType\r
-        {\r
-            NonContextual,\r
-            Above,\r
-            Rright,\r
-            Below,\r
-            Left\r
-        }\r
-\r
-        public PropertyMap Title\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(Popup.Property.TITLE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.TITLE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Content\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(Popup.Property.CONTENT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.CONTENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Footer\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(Popup.Property.FOOTER).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.FOOTER, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string DisplayState\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Popup.Property.DISPLAY_STATE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool TouchTransparent\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Popup.Property.TOUCH_TRANSPARENT).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.TOUCH_TRANSPARENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool TailVisibility\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Popup.Property.TAIL_VISIBILITY).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.TAIL_VISIBILITY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector3 TailPosition\r
-        {\r
-            get\r
-            {\r
-                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);\r
-                GetProperty(Popup.Property.TAIL_POSITION).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.TAIL_POSITION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string ContextualMode\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float AnimationDuration\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Popup.Property.ANIMATION_DURATION).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.ANIMATION_DURATION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string AnimationMode\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap EntryAnimation\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(Popup.Property.ENTRY_ANIMATION).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.ENTRY_ANIMATION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap ExitAnimation\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(Popup.Property.EXIT_ANIMATION).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.EXIT_ANIMATION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public int AutoHideDelay\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(Popup.Property.AUTO_HIDE_DELAY).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.AUTO_HIDE_DELAY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool BackingEnabled\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Popup.Property.BACKING_ENABLED).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.BACKING_ENABLED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 BackingColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(Popup.Property.BACKING_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.BACKING_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string PopupBackgroundImage\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Rectangle PopupBackgroundBorder\r
-        {\r
-            get\r
-            {\r
-                Rectangle temp = new Rectangle(0, 0, 0, 0);\r
-                GetProperty(Popup.Property.POPUP_BACKGROUND_BORDER).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.POPUP_BACKGROUND_BORDER, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string TailUpImage\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Popup.Property.TAIL_UP_IMAGE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.TAIL_UP_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string TailDownImage\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Popup.Property.TAIL_DOWN_IMAGE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.TAIL_DOWN_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string TailLeftImage\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Popup.Property.TAIL_LEFT_IMAGE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.TAIL_LEFT_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string TailRightImage\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(Popup.Property.TAIL_RIGHT_IMAGE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Popup.Property.TAIL_RIGHT_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class Popup : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Popup(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Popup_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Popup obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Popup()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Popup(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+        public class OutsideTouchedEventArgs : EventArgs
+        {
+        }
+
+        public class ShowingEventArgs : EventArgs
+        {
+        }
+
+        public class ShownEventArgs : EventArgs
+        {
+        }
+
+        public class HidingEventArgs : EventArgs
+        {
+        }
+
+        public class HiddenEventArgs : EventArgs
+        {
+        }
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void OutsideTouchedEventCallbackDelegate();
+        private EventHandler<OutsideTouchedEventArgs> _popUpOutsideTouchedEventHandler;
+        private OutsideTouchedEventCallbackDelegate _popUpOutsideTouchedEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void ShowingEventCallbackDelegate();
+        private EventHandler<ShowingEventArgs> _popUpShowingEventHandler;
+        private ShowingEventCallbackDelegate _popUpShowingEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void ShownEventCallbackDelegate();
+        private EventHandler<ShownEventArgs> _popUpShownEventHandler;
+        private ShownEventCallbackDelegate _popUpShownEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void HidingEventCallbackDelegate();
+        private EventHandler<HidingEventArgs> _popUpHidingEventHandler;
+        private HidingEventCallbackDelegate _popUpHidingEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void HiddenEventCallbackDelegate();
+        private EventHandler<HiddenEventArgs> _popUpHiddenEventHandler;
+        private HiddenEventCallbackDelegate _popUpHiddenEventCallbackDelegate;
+
+        public event EventHandler<OutsideTouchedEventArgs> OutsideTouched
+        {
+            add
+            {
+                if (_popUpOutsideTouchedEventHandler == null)
+                {
+                    _popUpOutsideTouchedEventCallbackDelegate = (OnOutsideTouched);
+                    OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);
+                }
+                _popUpOutsideTouchedEventHandler += value;
+            }
+            remove
+            {
+                _popUpOutsideTouchedEventHandler -= value;
+                if (_popUpOutsideTouchedEventHandler == null && _popUpOutsideTouchedEventCallbackDelegate != null)
+                {
+                    this.OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Popup OutsideTouchedSignal
+        private void OnOutsideTouched()
+        {
+            OutsideTouchedEventArgs e = new OutsideTouchedEventArgs();
+
+            if (_popUpOutsideTouchedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _popUpOutsideTouchedEventHandler(this, e);
+            }
+        }
+
+        public event EventHandler<ShowingEventArgs> Showing
+        {
+            add
+            {
+                if (_popUpShowingEventHandler == null)
+                {
+                    _popUpShowingEventCallbackDelegate = (OnShowing);
+                    ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);
+                }
+                _popUpShowingEventHandler += value;
+            }
+            remove
+            {
+                _popUpShowingEventHandler -= value;
+                if (_popUpShowingEventHandler == null && _popUpShowingEventCallbackDelegate != null)
+                {
+                    ShowingSignal().Disconnect(_popUpShowingEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for ShowingSignal
+        private void OnShowing()
+        {
+            ShowingEventArgs e = new ShowingEventArgs();
+
+            if (_popUpShowingEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _popUpShowingEventHandler(this, e);
+            }
+        }
+
+
+        public event EventHandler<ShownEventArgs> Shown
+        {
+            add
+            {
+                if (_popUpShownEventHandler == null)
+                {
+                    _popUpShownEventCallbackDelegate = (OnShown);
+                    ShownSignal().Connect(_popUpShownEventCallbackDelegate);
+                }
+                _popUpShownEventHandler += value;
+            }
+            remove
+            {
+                _popUpShownEventHandler -= value;
+                if (_popUpShownEventHandler == null && _popUpShownEventCallbackDelegate != null)
+                {
+                    ShownSignal().Disconnect(_popUpShownEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for ShownSignal
+        private void OnShown()
+        {
+            ShownEventArgs e = new ShownEventArgs();
+
+            if (_popUpShownEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _popUpShownEventHandler(this, e);
+            }
+        }
+
+        public event EventHandler<HidingEventArgs> Hiding
+        {
+            add
+            {
+                if (_popUpHidingEventHandler == null)
+                {
+                    _popUpHidingEventCallbackDelegate = (OnHiding);
+                    HidingSignal().Connect(_popUpHidingEventCallbackDelegate);
+                }
+                _popUpHidingEventHandler += value;
+            }
+            remove
+            {
+                _popUpHidingEventHandler -= value;
+                if (_popUpHidingEventHandler == null && _popUpHidingEventCallbackDelegate != null)
+                {
+                    HidingSignal().Disconnect(_popUpHidingEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for HidingSignal
+        private void OnHiding()
+        {
+            HidingEventArgs e = new HidingEventArgs();
+
+            if (_popUpHidingEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _popUpHidingEventHandler(this, e);
+            }
+        }
+
+        public event EventHandler<HiddenEventArgs> Hidden
+        {
+            add
+            {
+                if (_popUpHiddenEventHandler == null)
+                {
+                    _popUpHiddenEventCallbackDelegate = (OnHidden);
+                    HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);
+                }
+                _popUpHiddenEventHandler += value;
+            }
+            remove
+            {
+                _popUpHiddenEventHandler -= value;
+                if (_popUpHiddenEventHandler == null && _popUpHiddenEventCallbackDelegate != null)
+                {
+                    HiddenSignal().Disconnect(_popUpHiddenEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for HiddenSignal
+        private void OnHidden()
+        {
+            HiddenEventArgs e = new HiddenEventArgs();
+
+            if (_popUpHiddenEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _popUpHiddenEventHandler(this, e);
+            }
+        }
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_Popup_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_Popup_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();
+            internal static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();
+            internal static readonly int FOOTER = NDalicPINVOKE.Popup_Property_FOOTER_get();
+            internal static readonly int DISPLAY_STATE = NDalicPINVOKE.Popup_Property_DISPLAY_STATE_get();
+            internal static readonly int TOUCH_TRANSPARENT = NDalicPINVOKE.Popup_Property_TOUCH_TRANSPARENT_get();
+            internal static readonly int TAIL_VISIBILITY = NDalicPINVOKE.Popup_Property_TAIL_VISIBILITY_get();
+            internal static readonly int TAIL_POSITION = NDalicPINVOKE.Popup_Property_TAIL_POSITION_get();
+            internal static readonly int CONTEXTUAL_MODE = NDalicPINVOKE.Popup_Property_CONTEXTUAL_MODE_get();
+            internal static readonly int ANIMATION_DURATION = NDalicPINVOKE.Popup_Property_ANIMATION_DURATION_get();
+            internal static readonly int ANIMATION_MODE = NDalicPINVOKE.Popup_Property_ANIMATION_MODE_get();
+            internal static readonly int ENTRY_ANIMATION = NDalicPINVOKE.Popup_Property_ENTRY_ANIMATION_get();
+            internal static readonly int EXIT_ANIMATION = NDalicPINVOKE.Popup_Property_EXIT_ANIMATION_get();
+            internal static readonly int AUTO_HIDE_DELAY = NDalicPINVOKE.Popup_Property_AUTO_HIDE_DELAY_get();
+            internal static readonly int BACKING_ENABLED = NDalicPINVOKE.Popup_Property_BACKING_ENABLED_get();
+            internal static readonly int BACKING_COLOR = NDalicPINVOKE.Popup_Property_BACKING_COLOR_get();
+            internal static readonly int POPUP_BACKGROUND_IMAGE = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_IMAGE_get();
+            internal static readonly int POPUP_BACKGROUND_BORDER = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_BORDER_get();
+            internal static readonly int TAIL_UP_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_UP_IMAGE_get();
+            internal static readonly int TAIL_DOWN_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_DOWN_IMAGE_get();
+            internal static readonly int TAIL_LEFT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_LEFT_IMAGE_get();
+            internal static readonly int TAIL_RIGHT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_RIGHT_IMAGE_get();
+
+        }
+
+        public Popup() : this(NDalicPINVOKE.Popup_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal Popup(Popup handle) : this(NDalicPINVOKE.new_Popup__SWIG_1(Popup.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Popup Assign(Popup handle)
+        {
+            Popup ret = new Popup(NDalicPINVOKE.Popup_Assign(swigCPtr, Popup.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static Popup DownCast(BaseHandle handle)
+        {
+            Popup ret = new Popup(NDalicPINVOKE.Popup_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetTitle(Actor titleActor)
+        {
+            NDalicPINVOKE.Popup_SetTitle(swigCPtr, Actor.getCPtr(titleActor));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Actor GetTitle()
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Popup_GetTitle(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetContent(Actor content)
+        {
+            NDalicPINVOKE.Popup_SetContent(swigCPtr, Actor.getCPtr(content));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Actor GetContent()
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Popup_GetContent(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetFooter(Actor footer)
+        {
+            NDalicPINVOKE.Popup_SetFooter(swigCPtr, Actor.getCPtr(footer));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Actor GetFooter()
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Popup_GetFooter(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetDisplayState(Popup.DisplayStateType displayState)
+        {
+            NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Popup.DisplayStateType GetDisplayState()
+        {
+            Popup.DisplayStateType ret = (Popup.DisplayStateType)NDalicPINVOKE.Popup_GetDisplayState(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal OutsideTouchedSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_OutsideTouchedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal ShowingSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShowingSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal ShownSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShownSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal HidingSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HidingSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal HiddenSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HiddenSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
+        }
+
+        public enum DisplayStateType
+        {
+            Showing,
+            Shown,
+            Hiding,
+            Hidden
+        }
+
+        public enum AnimationModeType
+        {
+            None,
+            Zoom,
+            Fade,
+            Custom
+        }
+
+        public enum ContextualModeType
+        {
+            NonContextual,
+            Above,
+            Rright,
+            Below,
+            Left
+        }
+
+        public PropertyMap Title
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(Popup.Property.TITLE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.TITLE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Content
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(Popup.Property.CONTENT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.CONTENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Footer
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(Popup.Property.FOOTER).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.FOOTER, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string DisplayState
+        {
+            get
+            {
+                string temp;
+                GetProperty(Popup.Property.DISPLAY_STATE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool TouchTransparent
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Popup.Property.TOUCH_TRANSPARENT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.TOUCH_TRANSPARENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool TailVisibility
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Popup.Property.TAIL_VISIBILITY).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.TAIL_VISIBILITY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector3 TailPosition
+        {
+            get
+            {
+                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+                GetProperty(Popup.Property.TAIL_POSITION).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.TAIL_POSITION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string ContextualMode
+        {
+            get
+            {
+                string temp;
+                GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float AnimationDuration
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Popup.Property.ANIMATION_DURATION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.ANIMATION_DURATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string AnimationMode
+        {
+            get
+            {
+                string temp;
+                GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap EntryAnimation
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(Popup.Property.ENTRY_ANIMATION).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.ENTRY_ANIMATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap ExitAnimation
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(Popup.Property.EXIT_ANIMATION).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.EXIT_ANIMATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public int AutoHideDelay
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(Popup.Property.AUTO_HIDE_DELAY).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.AUTO_HIDE_DELAY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool BackingEnabled
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Popup.Property.BACKING_ENABLED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.BACKING_ENABLED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 BackingColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(Popup.Property.BACKING_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.BACKING_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string PopupBackgroundImage
+        {
+            get
+            {
+                string temp;
+                GetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Rectangle PopupBackgroundBorder
+        {
+            get
+            {
+                Rectangle temp = new Rectangle(0, 0, 0, 0);
+                GetProperty(Popup.Property.POPUP_BACKGROUND_BORDER).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.POPUP_BACKGROUND_BORDER, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string TailUpImage
+        {
+            get
+            {
+                string temp;
+                GetProperty(Popup.Property.TAIL_UP_IMAGE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.TAIL_UP_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string TailDownImage
+        {
+            get
+            {
+                string temp;
+                GetProperty(Popup.Property.TAIL_DOWN_IMAGE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.TAIL_DOWN_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string TailLeftImage
+        {
+            get
+            {
+                string temp;
+                GetProperty(Popup.Property.TAIL_LEFT_IMAGE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.TAIL_LEFT_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string TailRightImage
+        {
+            get
+            {
+                string temp;
+                GetProperty(Popup.Property.TAIL_RIGHT_IMAGE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Popup.Property.TAIL_RIGHT_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
+}
diff --git a/src/Tizen.NUI/src/public/Position2D.cs b/src/Tizen.NUI/src/public/Position2D.cs
new file mode 100755 (executable)
index 0000000..9fe88f4
--- /dev/null
@@ -0,0 +1,212 @@
+/*
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+namespace Tizen.NUI {
+
+public class Position2D : global::System.IDisposable {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal Position2D(global::System.IntPtr cPtr, bool cMemoryOwn) {
+    swigCMemOwn = cMemoryOwn;
+    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+  }
+
+  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Position2D obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~Position2D() {
+    DisposeQueue.Instance.Add(this);
+  }
+
+  public virtual void Dispose() {
+    if (!Stage.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
+
+    lock(this) {
+      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+        if (swigCMemOwn) {
+          swigCMemOwn = false;
+          NDalicPINVOKE.delete_Vector2(swigCPtr);
+        }
+        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+      global::System.GC.SuppressFinalize(this);
+    }
+  }
+
+
+  public static Position2D operator+(Position2D arg1, Position2D arg2) {
+    return arg1.Add(arg2);
+  }
+
+  public static Position2D operator-(Position2D arg1, Position2D arg2) {
+    return arg1.Subtract(arg2);
+  }
+
+  public static Position2D operator-(Position2D arg1) {
+    return arg1.Subtract();
+  }
+
+  public static Position2D operator*(Position2D arg1, Position2D arg2) {
+    return arg1.Multiply(arg2);
+  }
+
+  public static Position2D operator*(Position2D arg1, int arg2) {
+    return arg1.Multiply(arg2);
+  }
+
+  public static Position2D operator/(Position2D arg1, Position2D arg2) {
+    return arg1.Divide(arg2);
+  }
+
+  public static Position2D operator/(Position2D arg1, int arg2) {
+    return arg1.Divide(arg2);
+  }
+
+  public float this[uint index]
+  {
+    get
+    {
+      return ValueOfIndex(index);
+    }
+  }
+
+  public static Position2D GetPosition2DFromPtr(global::System.IntPtr cPtr) {
+    Position2D ret = new Position2D(cPtr, false);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+       return ret;
+  }
+
+
+  public Position2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public Position2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public Position2D(Position position) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Position.getCPtr(position)), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  private Position2D Add(Position2D rhs) {
+    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Add(swigCPtr, Position2D.getCPtr(rhs)), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  private Position2D Subtract(Position2D rhs) {
+    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Subtract__SWIG_0(swigCPtr, Position2D.getCPtr(rhs)), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+
+  private Position2D Multiply(Position2D rhs) {
+    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Multiply__SWIG_0(swigCPtr, Position2D.getCPtr(rhs)), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  private Position2D Multiply(int rhs) {
+    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Multiply__SWIG_1(swigCPtr, (float)rhs), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+
+  private Position2D Divide(Position2D rhs) {
+    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Divide__SWIG_0(swigCPtr, Position2D.getCPtr(rhs)), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  private Position2D Divide(int rhs) {
+    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Divide__SWIG_1(swigCPtr, (float)rhs), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  private Position2D Subtract() {
+    Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Subtract__SWIG_1(swigCPtr), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public bool EqualTo(Position2D rhs) {
+    bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Position2D.getCPtr(rhs));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public bool NotEqualTo(Position2D rhs) {
+    bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Position2D.getCPtr(rhs));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  private int ValueOfIndex(uint index) {
+    int ret = (int)NDalicPINVOKE.Vector2_ValueOfIndex__SWIG_0(swigCPtr, index);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+
+  public int X {
+    set {
+      NDalicPINVOKE.Vector2_X_set(swigCPtr, (float)value);
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+    get {
+      float ret = NDalicPINVOKE.Vector2_X_get(swigCPtr);
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+      return (int)ret;
+    }
+  }
+
+  public int Y {
+    set {
+      NDalicPINVOKE.Vector2_Y_set(swigCPtr, (float)value);
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+    get {
+      float ret = NDalicPINVOKE.Vector2_Y_get(swigCPtr);
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+      return (int)ret;
+    }
+  }
+
+  public static implicit operator Vector2(Position2D position2d)
+  {
+    return new Vector2((float)position2d.X, (float)position2d.Y);
+  }
+
+  public static implicit operator Position2D(Vector2 vec)
+  {
+    return new Position2D((int)vec.X, (int)vec.Y);
+  }
+
+}
+
+}
+
+
index a8019f90c5c416de908306ae4807080cbbaa17a5..a92b7e48bb6a3714beafef3fcacf66e243c9e662 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class ProgressBar : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal ProgressBar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ProgressBar_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ProgressBar obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~ProgressBar()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_ProgressBar(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-        public class ValueChangedEventArgs : EventArgs\r
-        {\r
-            private ProgressBar _progressBar;\r
-            private float _progressValue;\r
-            private float _secondaryProgressValue;\r
-\r
-            public ProgressBar ProgressBar\r
-            {\r
-                get\r
-                {\r
-                    return _progressBar;\r
-                }\r
-                set\r
-                {\r
-                    _progressBar = value;\r
-                }\r
-            }\r
-\r
-            public float ProgressValue\r
-            {\r
-                get\r
-                {\r
-                    return _progressValue;\r
-                }\r
-                set\r
-                {\r
-                    _progressValue = value;\r
-                }\r
-            }\r
-\r
-            public float SecondaryProgressValue\r
-            {\r
-                get\r
-                {\r
-                    return _secondaryProgressValue;\r
-                }\r
-                set\r
-                {\r
-                    _secondaryProgressValue = value;\r
-                }\r
-            }\r
-\r
-        }\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void ValueChangedCallbackDelegate(IntPtr progressBar, float progressValue, float secondaryProgressValue);\r
-        private EventHandler<ValueChangedEventArgs> _progressBarValueChangedEventHandler;\r
-        private ValueChangedCallbackDelegate _progressBarValueChangedCallbackDelegate;\r
-\r
-        public event EventHandler<ValueChangedEventArgs> ValueChanged\r
-        {\r
-            add\r
-            {\r
-                if (_progressBarValueChangedEventHandler == null)\r
-                {\r
-                    _progressBarValueChangedCallbackDelegate = (OnValueChanged);\r
-                    ValueChangedSignal().Connect(_progressBarValueChangedCallbackDelegate);\r
-                }\r
-                _progressBarValueChangedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _progressBarValueChangedEventHandler -= value;\r
-                if (_progressBarValueChangedEventHandler == null && _progressBarValueChangedCallbackDelegate != null)\r
-                {\r
-                    ValueChangedSignal().Disconnect(_progressBarValueChangedCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for ProgressBar ValueChanged signal\r
-        private void OnValueChanged(IntPtr progressBar, float progressValue, float secondaryProgressValue)\r
-        {\r
-            ValueChangedEventArgs e = new ValueChangedEventArgs();\r
-\r
-            // Populate all members of "e" (ValueChangedEventArgs) with real page\r
-            e.ProgressBar = ProgressBar.GetProgressBarFromPtr(progressBar);\r
-            e.ProgressValue = progressValue;\r
-            e.SecondaryProgressValue = secondaryProgressValue;\r
-\r
-            if (_progressBarValueChangedEventHandler != null)\r
-            {\r
-                _progressBarValueChangedEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        public static ProgressBar GetProgressBarFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            ProgressBar ret = new ProgressBar(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_ProgressBar_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_ProgressBar_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int PROGRESS_VALUE = NDalicPINVOKE.ProgressBar_Property_PROGRESS_VALUE_get();\r
-            internal static readonly int SECONDARY_PROGRESS_VALUE = NDalicPINVOKE.ProgressBar_Property_SECONDARY_PROGRESS_VALUE_get();\r
-            internal static readonly int INDETERMINATE = NDalicPINVOKE.ProgressBar_Property_INDETERMINATE_get();\r
-            internal static readonly int TRACK_VISUAL = NDalicPINVOKE.ProgressBar_Property_TRACK_VISUAL_get();\r
-            internal static readonly int PROGRESS_VISUAL = NDalicPINVOKE.ProgressBar_Property_PROGRESS_VISUAL_get();\r
-            internal static readonly int SECONDARY_PROGRESS_VISUAL = NDalicPINVOKE.ProgressBar_Property_SECONDARY_PROGRESS_VISUAL_get();\r
-            internal static readonly int INDETERMINATE_VISUAL = NDalicPINVOKE.ProgressBar_Property_INDETERMINATE_VISUAL_get();\r
-            internal static readonly int INDETERMINATE_VISUAL_ANIMATION = NDalicPINVOKE.ProgressBar_Property_INDETERMINATE_VISUAL_ANIMATION_get();\r
-            internal static readonly int LABEL_VISUAL = NDalicPINVOKE.ProgressBar_Property_LABEL_VISUAL_get();\r
-\r
-        }\r
-\r
-        public ProgressBar() : this(NDalicPINVOKE.ProgressBar_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal ProgressBar(ProgressBar handle) : this(NDalicPINVOKE.new_ProgressBar__SWIG_1(ProgressBar.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal ProgressBar Assign(ProgressBar handle)\r
-        {\r
-            ProgressBar ret = new ProgressBar(NDalicPINVOKE.ProgressBar_Assign(swigCPtr, ProgressBar.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static ProgressBar DownCast(BaseHandle handle)\r
-        {\r
-            ProgressBar ret = new ProgressBar(NDalicPINVOKE.ProgressBar_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ProgressBarValueChangedSignal ValueChangedSignal()\r
-        {\r
-            ProgressBarValueChangedSignal ret = new ProgressBarValueChangedSignal(NDalicPINVOKE.ProgressBar_ValueChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000\r
-        }\r
-\r
-        public float ProgressValue\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(ProgressBar.Property.PROGRESS_VALUE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ProgressBar.Property.PROGRESS_VALUE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float SecondaryProgressValue\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(ProgressBar.Property.SECONDARY_PROGRESS_VALUE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ProgressBar.Property.SECONDARY_PROGRESS_VALUE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool Indeterminate\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(ProgressBar.Property.INDETERMINATE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ProgressBar.Property.INDETERMINATE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyMap TrackVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(ProgressBar.Property.TRACK_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ProgressBar.Property.TRACK_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyMap ProgressVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(ProgressBar.Property.PROGRESS_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ProgressBar.Property.PROGRESS_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyMap SecondaryProgressVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(ProgressBar.Property.SECONDARY_PROGRESS_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ProgressBar.Property.SECONDARY_PROGRESS_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyMap IndeterminateVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(ProgressBar.Property.INDETERMINATE_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ProgressBar.Property.INDETERMINATE_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyArray IndeterminateVisualAnimation\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();\r
-                GetProperty(ProgressBar.Property.INDETERMINATE_VISUAL_ANIMATION).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ProgressBar.Property.INDETERMINATE_VISUAL_ANIMATION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyMap LabelVisual\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(ProgressBar.Property.LABEL_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ProgressBar.Property.LABEL_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class ProgressBar : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal ProgressBar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ProgressBar_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ProgressBar obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~ProgressBar()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_ProgressBar(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+        public class ValueChangedEventArgs : EventArgs
+        {
+            private ProgressBar _progressBar;
+            private float _progressValue;
+            private float _secondaryProgressValue;
+
+            public ProgressBar ProgressBar
+            {
+                get
+                {
+                    return _progressBar;
+                }
+                set
+                {
+                    _progressBar = value;
+                }
+            }
+
+            public float ProgressValue
+            {
+                get
+                {
+                    return _progressValue;
+                }
+                set
+                {
+                    _progressValue = value;
+                }
+            }
+
+            public float SecondaryProgressValue
+            {
+                get
+                {
+                    return _secondaryProgressValue;
+                }
+                set
+                {
+                    _secondaryProgressValue = value;
+                }
+            }
+
+        }
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void ValueChangedCallbackDelegate(IntPtr progressBar, float progressValue, float secondaryProgressValue);
+        private EventHandler<ValueChangedEventArgs> _progressBarValueChangedEventHandler;
+        private ValueChangedCallbackDelegate _progressBarValueChangedCallbackDelegate;
+
+        public event EventHandler<ValueChangedEventArgs> ValueChanged
+        {
+            add
+            {
+                if (_progressBarValueChangedEventHandler == null)
+                {
+                    _progressBarValueChangedCallbackDelegate = (OnValueChanged);
+                    ValueChangedSignal().Connect(_progressBarValueChangedCallbackDelegate);
+                }
+                _progressBarValueChangedEventHandler += value;
+            }
+            remove
+            {
+                _progressBarValueChangedEventHandler -= value;
+                if (_progressBarValueChangedEventHandler == null && _progressBarValueChangedCallbackDelegate != null)
+                {
+                    ValueChangedSignal().Disconnect(_progressBarValueChangedCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for ProgressBar ValueChanged signal
+        private void OnValueChanged(IntPtr progressBar, float progressValue, float secondaryProgressValue)
+        {
+            ValueChangedEventArgs e = new ValueChangedEventArgs();
+
+            // Populate all members of "e" (ValueChangedEventArgs) with real page
+            e.ProgressBar = ProgressBar.GetProgressBarFromPtr(progressBar);
+            e.ProgressValue = progressValue;
+            e.SecondaryProgressValue = secondaryProgressValue;
+
+            if (_progressBarValueChangedEventHandler != null)
+            {
+                _progressBarValueChangedEventHandler(this, e);
+            }
+        }
+
+        public static ProgressBar GetProgressBarFromPtr(global::System.IntPtr cPtr)
+        {
+            ProgressBar ret = new ProgressBar(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_ProgressBar_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_ProgressBar_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int PROGRESS_VALUE = NDalicPINVOKE.ProgressBar_Property_PROGRESS_VALUE_get();
+            internal static readonly int SECONDARY_PROGRESS_VALUE = NDalicPINVOKE.ProgressBar_Property_SECONDARY_PROGRESS_VALUE_get();
+            internal static readonly int INDETERMINATE = NDalicPINVOKE.ProgressBar_Property_INDETERMINATE_get();
+            internal static readonly int TRACK_VISUAL = NDalicPINVOKE.ProgressBar_Property_TRACK_VISUAL_get();
+            internal static readonly int PROGRESS_VISUAL = NDalicPINVOKE.ProgressBar_Property_PROGRESS_VISUAL_get();
+            internal static readonly int SECONDARY_PROGRESS_VISUAL = NDalicPINVOKE.ProgressBar_Property_SECONDARY_PROGRESS_VISUAL_get();
+            internal static readonly int INDETERMINATE_VISUAL = NDalicPINVOKE.ProgressBar_Property_INDETERMINATE_VISUAL_get();
+            internal static readonly int INDETERMINATE_VISUAL_ANIMATION = NDalicPINVOKE.ProgressBar_Property_INDETERMINATE_VISUAL_ANIMATION_get();
+            internal static readonly int LABEL_VISUAL = NDalicPINVOKE.ProgressBar_Property_LABEL_VISUAL_get();
+
+        }
+
+        public ProgressBar() : this(NDalicPINVOKE.ProgressBar_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal ProgressBar(ProgressBar handle) : this(NDalicPINVOKE.new_ProgressBar__SWIG_1(ProgressBar.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal ProgressBar Assign(ProgressBar handle)
+        {
+            ProgressBar ret = new ProgressBar(NDalicPINVOKE.ProgressBar_Assign(swigCPtr, ProgressBar.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static ProgressBar DownCast(BaseHandle handle)
+        {
+            ProgressBar ret = new ProgressBar(NDalicPINVOKE.ProgressBar_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ProgressBarValueChangedSignal ValueChangedSignal()
+        {
+            ProgressBarValueChangedSignal ret = new ProgressBarValueChangedSignal(NDalicPINVOKE.ProgressBar_ValueChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
+        }
+
+        public float ProgressValue
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(ProgressBar.Property.PROGRESS_VALUE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ProgressBar.Property.PROGRESS_VALUE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float SecondaryProgressValue
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(ProgressBar.Property.SECONDARY_PROGRESS_VALUE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ProgressBar.Property.SECONDARY_PROGRESS_VALUE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool Indeterminate
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(ProgressBar.Property.INDETERMINATE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ProgressBar.Property.INDETERMINATE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyMap TrackVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(ProgressBar.Property.TRACK_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ProgressBar.Property.TRACK_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyMap ProgressVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(ProgressBar.Property.PROGRESS_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ProgressBar.Property.PROGRESS_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyMap SecondaryProgressVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(ProgressBar.Property.SECONDARY_PROGRESS_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ProgressBar.Property.SECONDARY_PROGRESS_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyMap IndeterminateVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(ProgressBar.Property.INDETERMINATE_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ProgressBar.Property.INDETERMINATE_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyArray IndeterminateVisualAnimation
+        {
+            get
+            {
+                Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
+                GetProperty(ProgressBar.Property.INDETERMINATE_VISUAL_ANIMATION).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ProgressBar.Property.INDETERMINATE_VISUAL_ANIMATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyMap LabelVisual
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(ProgressBar.Property.LABEL_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ProgressBar.Property.LABEL_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
+}
index a95a897854e1418478228de380f1486718c7608c..2749edbd805875b4283152b03123f794f64c809f 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    internal class Property : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Property()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Property(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        internal static int INVALID_INDEX\r
-        {\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Property_INVALID_INDEX_get();\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        internal static int INVALID_KEY\r
-        {\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Property_INVALID_KEY_get();\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        internal static int INVALID_COMPONENT_INDEX\r
-        {\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Property_INVALID_COMPONENT_INDEX_get();\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public Property(Handle arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Handle.getCPtr(arg0), propertyIndex), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Property(Handle arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Handle.getCPtr(arg0), propertyIndex, componentIndex), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Property(Handle arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Handle.getCPtr(arg0), propertyName), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Property(Handle arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Handle.getCPtr(arg0), propertyName, componentIndex), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Handle _object\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Property__object_set(swigCPtr, Handle.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                Handle ret = new Handle(NDalicPINVOKE.Property__object_get(swigCPtr), false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public int propertyIndex\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Property_propertyIndex_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Property_propertyIndex_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public int componentIndex\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Property_componentIndex_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Property_componentIndex_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-    public class PropertyArray : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal PropertyArray(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyArray obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~PropertyArray()\r
-        {\r
-            Dispose();\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Property_Array(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-        public PropertyValue this[uint index]\r
-        {\r
-            get\r
-            {\r
-                return ValueOfIndex(index);\r
-            }\r
-        }\r
-\r
-        public PropertyArray() : this(NDalicPINVOKE.new_Property_Array__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal PropertyArray(PropertyArray other) : this(NDalicPINVOKE.new_Property_Array__SWIG_1(PropertyArray.getCPtr(other)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public uint Size()\r
-        {\r
-            uint ret = NDalicPINVOKE.Property_Array_Size(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint Count()\r
-        {\r
-            uint ret = NDalicPINVOKE.Property_Array_Count(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Empty()\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Array_Empty(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Clear()\r
-        {\r
-            NDalicPINVOKE.Property_Array_Clear(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Reserve(uint size)\r
-        {\r
-            NDalicPINVOKE.Property_Array_Reserve(swigCPtr, size);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Resize(uint size)\r
-        {\r
-            NDalicPINVOKE.Property_Array_Resize(swigCPtr, size);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public uint Capacity()\r
-        {\r
-            uint ret = NDalicPINVOKE.Property_Array_Capacity(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void PushBack(PropertyValue value)\r
-        {\r
-            NDalicPINVOKE.Property_Array_PushBack(swigCPtr, PropertyValue.getCPtr(value));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyArray Add(PropertyValue value)\r
-        {\r
-            PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Add(swigCPtr, PropertyValue.getCPtr(value)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyValue GetElementAt(uint index)\r
-        {\r
-            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_GetElementAt__SWIG_0(swigCPtr, index), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyValue ValueOfIndex(uint index)\r
-        {\r
-            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_ValueOfIndex__SWIG_0(swigCPtr, index), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyArray Assign(PropertyArray other)\r
-        {\r
-            PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Assign(swigCPtr, PropertyArray.getCPtr(other)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-    }\r
-\r
-    public class PropertyKey : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal PropertyKey(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyKey obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~PropertyKey()\r
-        {\r
-            Dispose();\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Property_Key(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-        public PropertyKey.Type type\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Property_Key_type_set(swigCPtr, (int)value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                PropertyKey.Type ret = (PropertyKey.Type)NDalicPINVOKE.Property_Key_type_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public int indexKey\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Property_Key_indexKey_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Property_Key_indexKey_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public string stringKey\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Property_Key_stringKey_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                string ret = NDalicPINVOKE.Property_Key_stringKey_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public PropertyKey(string key) : this(NDalicPINVOKE.new_Property_Key__SWIG_0(key), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyKey(int key) : this(NDalicPINVOKE.new_Property_Key__SWIG_1(key), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool EqualTo(string rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_0(swigCPtr, rhs);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool EqualTo(int rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_1(swigCPtr, rhs);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool EqualTo(PropertyKey rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool NotEqualTo(string rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_0(swigCPtr, rhs);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool NotEqualTo(int rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_1(swigCPtr, rhs);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool NotEqualTo(PropertyKey rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public enum Type\r
-        {\r
-            Index,\r
-            String\r
-        }\r
-\r
-    }\r
-\r
-    public class PropertyMap : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal PropertyMap(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyMap obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~PropertyMap()\r
-        {\r
-            Dispose();\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Property_Map(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-        public PropertyValue this[string key]\r
-        {\r
-            get\r
-            {\r
-                return ValueOfIndex(key);\r
-            }\r
-        }\r
-\r
-        public PropertyValue this[int key]\r
-        {\r
-            get\r
-            {\r
-                return ValueOfIndex(key);\r
-            }\r
-        }\r
-\r
-        public PropertyMap() : this(NDalicPINVOKE.new_Property_Map__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyMap(PropertyMap other) : this(NDalicPINVOKE.new_Property_Map__SWIG_1(PropertyMap.getCPtr(other)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public uint Count()\r
-        {\r
-            uint ret = NDalicPINVOKE.Property_Map_Count(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Empty()\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Map_Empty(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Insert(string key, PropertyValue value)\r
-        {\r
-            NDalicPINVOKE.Property_Map_Insert__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Insert(int key, PropertyValue value)\r
-        {\r
-            NDalicPINVOKE.Property_Map_Insert__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyMap Add(string key, PropertyValue value)\r
-        {\r
-            PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyMap Add(int key, PropertyValue value)\r
-        {\r
-            PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyValue GetValue(uint position)\r
-        {\r
-            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_GetValue(swigCPtr, position), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public string GetKey(uint position)\r
-        {\r
-            string ret = NDalicPINVOKE.Property_Map_GetKey(swigCPtr, position);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyKey GetKeyAt(uint position)\r
-        {\r
-            PropertyKey ret = new PropertyKey(NDalicPINVOKE.Property_Map_GetKeyAt(swigCPtr, position), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal StringValuePair GetPair(uint position)\r
-        {\r
-            StringValuePair ret = new StringValuePair(NDalicPINVOKE.Property_Map_GetPair(swigCPtr, position), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyValue Find(string key)\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_0(swigCPtr, key);\r
-            PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyValue Find(int key)\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_2(swigCPtr, key);\r
-            PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyValue Find(int indexKey, string stringKey)\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_3(swigCPtr, indexKey, stringKey);\r
-            PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyValue Find(string key, PropertyType type)\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_4(swigCPtr, key, (int)type);\r
-            PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyValue Find(int key, PropertyType type)\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_5(swigCPtr, key, (int)type);\r
-            PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Clear()\r
-        {\r
-            NDalicPINVOKE.Property_Map_Clear(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Merge(PropertyMap from)\r
-        {\r
-            NDalicPINVOKE.Property_Map_Merge(swigCPtr, PropertyMap.getCPtr(from));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue ValueOfIndex(string key)\r
-        {\r
-            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_0(swigCPtr, key), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyValue ValueOfIndex(int key)\r
-        {\r
-            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_2(swigCPtr, key), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyMap Assign(PropertyMap other)\r
-        {\r
-            PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Assign(swigCPtr, PropertyMap.getCPtr(other)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-    }\r
-\r
-    public class PropertyValue : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal PropertyValue(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyValue obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~PropertyValue()\r
-        {\r
-            Dispose();\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Property_Value(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        // Extension to property value class that allows us to create a\r
-        // PropertyValue from a C# object, e.g. int, float, string\r
-        static public PropertyValue CreateFromObject(System.Object obj)\r
-        {\r
-            System.Type type = obj.GetType();\r
-\r
-            PropertyValue value;\r
-\r
-            if (type.Equals(typeof(int)))\r
-            {\r
-                System.Console.WriteLine(" got an int property value ");\r
-                value = new PropertyValue((int)obj);\r
-            }\r
-            if (type.Equals(typeof(System.Int32)))\r
-            {\r
-                System.Console.WriteLine(" got an int property value ");\r
-                value = new PropertyValue((int)obj);\r
-            }\r
-            else if (type.Equals(typeof(bool)))\r
-            {\r
-                System.Console.WriteLine(" got an bool property value ");\r
-                value = new PropertyValue((bool)obj);\r
-            }\r
-            else if (type.Equals(typeof(float)))\r
-            {\r
-                System.Console.WriteLine(" got an float property value ");\r
-                value = new PropertyValue((float)obj);\r
-            }\r
-            else if (type.Equals(typeof(string)))\r
-            {\r
-                System.Console.WriteLine(" got a string property value ");\r
-                value = new PropertyValue((string)obj);\r
-            }\r
-            else if (type.Equals(typeof(Vector2)))\r
-            {\r
-                System.Console.WriteLine(" got an Vector2 property value ");\r
-                value = new PropertyValue((Vector2)obj);\r
-            }\r
-            else if (type.Equals(typeof(Vector3)))\r
-            {\r
-                System.Console.WriteLine(" got an Vector3 property value ");\r
-                value = new PropertyValue((Vector3)obj);\r
-            }\r
-            else if (type.Equals(typeof(Vector4)))\r
-            {\r
-                System.Console.WriteLine(" got an Vector4 property value ");\r
-\r
-                value = new PropertyValue((Vector4)obj);\r
-            }\r
-            else if (type.Equals(typeof(Position)))\r
-            {\r
-                System.Console.WriteLine(" got an Position property value ");\r
-                value = new PropertyValue((Position)obj);\r
-            }\r
-            else if (type.Equals(typeof(Size)))\r
-            {\r
-                System.Console.WriteLine(" got an Size property value ");\r
-                value = new PropertyValue((Size)obj);\r
-            }\r
-            else if (type.Equals(typeof(Color)))\r
-            {\r
-                System.Console.WriteLine(" got an Color property value ");\r
-                value = new PropertyValue((Color)obj);\r
-            }\r
-            else\r
-            {\r
-                throw new global::System.InvalidOperationException("Unimplemented type for Property Value");\r
-            }\r
-            return value;\r
-        }\r
-\r
-\r
-        public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-\r
-        public bool Get(Size2D vectorValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(Size vectorValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(Position2D vectorValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(Position vectorValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(Color vectorValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-\r
-        public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal PropertyValue(Matrix3 matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal PropertyValue(Matrix matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal PropertyValue(AngleAxis angleAxis) : this(NDalicPINVOKE.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(PropertyArray arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(PropertyMap mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(PropertyType type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue(PropertyValue value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(PropertyValue.getCPtr(value)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public PropertyValue Assign(PropertyValue value)\r
-        {\r
-            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Value_Assign(swigCPtr, PropertyValue.getCPtr(value)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyType GetType()\r
-        {\r
-            PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(ref bool boolValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, ref boolValue);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(ref float floatValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, ref floatValue);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(ref int integerValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, ref integerValue);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(Rectangle rect)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(Vector2 vectorValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(Vector3 vectorValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(Vector4 vectorValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool Get(Matrix3 matrixValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool Get(Matrix matrixValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool Get(AngleAxis angleAxisValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(Rotation quaternionValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(out string stringValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(PropertyArray arrayValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Get(PropertyMap mapValue)\r
-        {\r
-            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyArray GetArray()\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetArray(swigCPtr);\r
-            PropertyArray ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyArray(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyMap GetMap()\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetMap(swigCPtr);\r
-            PropertyMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyMap(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-    }\r
-\r
-    public enum PropertyType\r
-    {\r
-        None,\r
-        Boolean,\r
-        Float,\r
-        Integer,\r
-        Vector2,\r
-        Vector3,\r
-        Vector4,\r
-        Matrix3,\r
-        Matrix,\r
-        Rectangle,\r
-        Rotation,\r
-        String,\r
-        Array,\r
-        Map\r
-    }\r
-\r
-    public enum PropertyAccessMode\r
-    {\r
-        ReadOnly,\r
-        ReadWrite,\r
-        Animatable,\r
-        AccessModeCount\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    internal class Property : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Property()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Property(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        internal static int INVALID_INDEX
+        {
+            get
+            {
+                int ret = NDalicPINVOKE.Property_INVALID_INDEX_get();
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        internal static int INVALID_KEY
+        {
+            get
+            {
+                int ret = NDalicPINVOKE.Property_INVALID_KEY_get();
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        internal static int INVALID_COMPONENT_INDEX
+        {
+            get
+            {
+                int ret = NDalicPINVOKE.Property_INVALID_COMPONENT_INDEX_get();
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public Property(Handle arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Handle.getCPtr(arg0), propertyIndex), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Property(Handle arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Handle.getCPtr(arg0), propertyIndex, componentIndex), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Property(Handle arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Handle.getCPtr(arg0), propertyName), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Property(Handle arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Handle.getCPtr(arg0), propertyName, componentIndex), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Handle _object
+        {
+            set
+            {
+                NDalicPINVOKE.Property__object_set(swigCPtr, Handle.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                Handle ret = new Handle(NDalicPINVOKE.Property__object_get(swigCPtr), false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public int propertyIndex
+        {
+            set
+            {
+                NDalicPINVOKE.Property_propertyIndex_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Property_propertyIndex_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public int componentIndex
+        {
+            set
+            {
+                NDalicPINVOKE.Property_componentIndex_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Property_componentIndex_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+    }
+
+    public class PropertyArray : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal PropertyArray(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyArray obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~PropertyArray()
+        {
+            Dispose();
+        }
+
+        public virtual void Dispose()
+        {
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Property_Array(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+        public PropertyValue this[uint index]
+        {
+            get
+            {
+                return ValueOfIndex(index);
+            }
+        }
+
+        public PropertyArray() : this(NDalicPINVOKE.new_Property_Array__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal PropertyArray(PropertyArray other) : this(NDalicPINVOKE.new_Property_Array__SWIG_1(PropertyArray.getCPtr(other)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public uint Size()
+        {
+            uint ret = NDalicPINVOKE.Property_Array_Size(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint Count()
+        {
+            uint ret = NDalicPINVOKE.Property_Array_Count(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Empty()
+        {
+            bool ret = NDalicPINVOKE.Property_Array_Empty(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Clear()
+        {
+            NDalicPINVOKE.Property_Array_Clear(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Reserve(uint size)
+        {
+            NDalicPINVOKE.Property_Array_Reserve(swigCPtr, size);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Resize(uint size)
+        {
+            NDalicPINVOKE.Property_Array_Resize(swigCPtr, size);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public uint Capacity()
+        {
+            uint ret = NDalicPINVOKE.Property_Array_Capacity(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void PushBack(PropertyValue value)
+        {
+            NDalicPINVOKE.Property_Array_PushBack(swigCPtr, PropertyValue.getCPtr(value));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyArray Add(PropertyValue value)
+        {
+            PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Add(swigCPtr, PropertyValue.getCPtr(value)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyValue GetElementAt(uint index)
+        {
+            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_GetElementAt__SWIG_0(swigCPtr, index), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyValue ValueOfIndex(uint index)
+        {
+            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_ValueOfIndex__SWIG_0(swigCPtr, index), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyArray Assign(PropertyArray other)
+        {
+            PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Assign(swigCPtr, PropertyArray.getCPtr(other)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+    }
+
+    public class PropertyKey : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal PropertyKey(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyKey obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~PropertyKey()
+        {
+            Dispose();
+        }
+
+        public virtual void Dispose()
+        {
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Property_Key(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+        public PropertyKey.Type type
+        {
+            set
+            {
+                NDalicPINVOKE.Property_Key_type_set(swigCPtr, (int)value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                PropertyKey.Type ret = (PropertyKey.Type)NDalicPINVOKE.Property_Key_type_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public int indexKey
+        {
+            set
+            {
+                NDalicPINVOKE.Property_Key_indexKey_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Property_Key_indexKey_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public string stringKey
+        {
+            set
+            {
+                NDalicPINVOKE.Property_Key_stringKey_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                string ret = NDalicPINVOKE.Property_Key_stringKey_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public PropertyKey(string key) : this(NDalicPINVOKE.new_Property_Key__SWIG_0(key), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyKey(int key) : this(NDalicPINVOKE.new_Property_Key__SWIG_1(key), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool EqualTo(string rhs)
+        {
+            bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_0(swigCPtr, rhs);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool EqualTo(int rhs)
+        {
+            bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_1(swigCPtr, rhs);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool EqualTo(PropertyKey rhs)
+        {
+            bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool NotEqualTo(string rhs)
+        {
+            bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_0(swigCPtr, rhs);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool NotEqualTo(int rhs)
+        {
+            bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_1(swigCPtr, rhs);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool NotEqualTo(PropertyKey rhs)
+        {
+            bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public enum Type
+        {
+            Index,
+            String
+        }
+
+    }
+
+    public class PropertyMap : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal PropertyMap(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyMap obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~PropertyMap()
+        {
+            Dispose();
+        }
+
+        public virtual void Dispose()
+        {
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Property_Map(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+        public PropertyValue this[string key]
+        {
+            get
+            {
+                return ValueOfIndex(key);
+            }
+        }
+
+        public PropertyValue this[int key]
+        {
+            get
+            {
+                return ValueOfIndex(key);
+            }
+        }
+
+        public PropertyMap() : this(NDalicPINVOKE.new_Property_Map__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyMap(PropertyMap other) : this(NDalicPINVOKE.new_Property_Map__SWIG_1(PropertyMap.getCPtr(other)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public uint Count()
+        {
+            uint ret = NDalicPINVOKE.Property_Map_Count(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Empty()
+        {
+            bool ret = NDalicPINVOKE.Property_Map_Empty(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Insert(string key, PropertyValue value)
+        {
+            NDalicPINVOKE.Property_Map_Insert__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Insert(int key, PropertyValue value)
+        {
+            NDalicPINVOKE.Property_Map_Insert__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyMap Add(string key, PropertyValue value)
+        {
+            PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyMap Add(int key, PropertyValue value)
+        {
+            PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyValue GetValue(uint position)
+        {
+            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_GetValue(swigCPtr, position), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public string GetKey(uint position)
+        {
+            string ret = NDalicPINVOKE.Property_Map_GetKey(swigCPtr, position);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyKey GetKeyAt(uint position)
+        {
+            PropertyKey ret = new PropertyKey(NDalicPINVOKE.Property_Map_GetKeyAt(swigCPtr, position), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal StringValuePair GetPair(uint position)
+        {
+            StringValuePair ret = new StringValuePair(NDalicPINVOKE.Property_Map_GetPair(swigCPtr, position), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyValue Find(string key)
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_0(swigCPtr, key);
+            PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyValue Find(int key)
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_2(swigCPtr, key);
+            PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyValue Find(int indexKey, string stringKey)
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_3(swigCPtr, indexKey, stringKey);
+            PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyValue Find(string key, PropertyType type)
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_4(swigCPtr, key, (int)type);
+            PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyValue Find(int key, PropertyType type)
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_5(swigCPtr, key, (int)type);
+            PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Clear()
+        {
+            NDalicPINVOKE.Property_Map_Clear(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Merge(PropertyMap from)
+        {
+            NDalicPINVOKE.Property_Map_Merge(swigCPtr, PropertyMap.getCPtr(from));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue ValueOfIndex(string key)
+        {
+            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_0(swigCPtr, key), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyValue ValueOfIndex(int key)
+        {
+            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_2(swigCPtr, key), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyMap Assign(PropertyMap other)
+        {
+            PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Assign(swigCPtr, PropertyMap.getCPtr(other)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+    }
+
+    public class PropertyValue : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal PropertyValue(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyValue obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~PropertyValue()
+        {
+            Dispose();
+        }
+
+        public virtual void Dispose()
+        {
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Property_Value(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        // Extension to property value class that allows us to create a
+        // PropertyValue from a C# object, e.g. int, float, string
+        static public PropertyValue CreateFromObject(System.Object obj)
+        {
+            System.Type type = obj.GetType();
+
+            PropertyValue value;
+
+            if (type.Equals(typeof(int)))
+            {
+                System.Console.WriteLine(" got an int property value ");
+                value = new PropertyValue((int)obj);
+            }
+            if (type.Equals(typeof(System.Int32)))
+            {
+                System.Console.WriteLine(" got an int property value ");
+                value = new PropertyValue((int)obj);
+            }
+            else if (type.Equals(typeof(bool)))
+            {
+                System.Console.WriteLine(" got an bool property value ");
+                value = new PropertyValue((bool)obj);
+            }
+            else if (type.Equals(typeof(float)))
+            {
+                System.Console.WriteLine(" got an float property value ");
+                value = new PropertyValue((float)obj);
+            }
+            else if (type.Equals(typeof(string)))
+            {
+                System.Console.WriteLine(" got a string property value ");
+                value = new PropertyValue((string)obj);
+            }
+            else if (type.Equals(typeof(Vector2)))
+            {
+                System.Console.WriteLine(" got an Vector2 property value ");
+                value = new PropertyValue((Vector2)obj);
+            }
+            else if (type.Equals(typeof(Vector3)))
+            {
+                System.Console.WriteLine(" got an Vector3 property value ");
+                value = new PropertyValue((Vector3)obj);
+            }
+            else if (type.Equals(typeof(Vector4)))
+            {
+                System.Console.WriteLine(" got an Vector4 property value ");
+
+                value = new PropertyValue((Vector4)obj);
+            }
+            else if (type.Equals(typeof(Position)))
+            {
+                System.Console.WriteLine(" got an Position property value ");
+                value = new PropertyValue((Position)obj);
+            }
+            else if (type.Equals(typeof(Size)))
+            {
+                System.Console.WriteLine(" got an Size property value ");
+                value = new PropertyValue((Size)obj);
+            }
+            else if (type.Equals(typeof(Color)))
+            {
+                System.Console.WriteLine(" got an Color property value ");
+                value = new PropertyValue((Color)obj);
+            }
+            else
+            {
+                throw new global::System.InvalidOperationException("Unimplemented type for Property Value");
+            }
+            return value;
+        }
+
+
+        public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+
+        public bool Get(Size2D vectorValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(Size vectorValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(Position2D vectorValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(Position vectorValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(Color vectorValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+
+        public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal PropertyValue(Matrix3 matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal PropertyValue(Matrix matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal PropertyValue(AngleAxis angleAxis) : this(NDalicPINVOKE.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(PropertyArray arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(PropertyMap mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(PropertyType type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue(PropertyValue value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(PropertyValue.getCPtr(value)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public PropertyValue Assign(PropertyValue value)
+        {
+            PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Value_Assign(swigCPtr, PropertyValue.getCPtr(value)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyType GetType()
+        {
+            PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(ref bool boolValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, ref boolValue);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(ref float floatValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, ref floatValue);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(ref int integerValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, ref integerValue);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(Rectangle rect)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(Vector2 vectorValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(Vector3 vectorValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(Vector4 vectorValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool Get(Matrix3 matrixValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool Get(Matrix matrixValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool Get(AngleAxis angleAxisValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(Rotation quaternionValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(out string stringValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(PropertyArray arrayValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Get(PropertyMap mapValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyArray GetArray()
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetArray(swigCPtr);
+            PropertyArray ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyArray(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyMap GetMap()
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetMap(swigCPtr);
+            PropertyMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyMap(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+    }
+
+    public enum PropertyType
+    {
+        None,
+        Boolean,
+        Float,
+        Integer,
+        Vector2,
+        Vector3,
+        Vector4,
+        Matrix3,
+        Matrix,
+        Rectangle,
+        Rotation,
+        String,
+        Array,
+        Map
+    }
+
+    public enum PropertyAccessMode
+    {
+        ReadOnly,
+        ReadWrite,
+        Animatable,
+        AccessModeCount
+    }
+
+}
index 2152f5289fce14b422381d84aa6edbd5f13553e8..aa7834611b5c31cf3e07e0b39f9de1426ed38107 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class PushButton : Button\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal PushButton(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PushButton_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PushButton obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~PushButton()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_PushButton(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_PushButton_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_PushButton_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int UNSELECTED_ICON = NDalicPINVOKE.PushButton_Property_UNSELECTED_ICON_get();\r
-            internal static readonly int SELECTED_ICON = NDalicPINVOKE.PushButton_Property_SELECTED_ICON_get();\r
-            internal static readonly int ICON_ALIGNMENT = NDalicPINVOKE.PushButton_Property_ICON_ALIGNMENT_get();\r
-            internal static readonly int LABEL_PADDING = NDalicPINVOKE.PushButton_Property_LABEL_PADDING_get();\r
-            internal static readonly int ICON_PADDING = NDalicPINVOKE.PushButton_Property_ICON_PADDING_get();\r
-\r
-        }\r
-\r
-        public PushButton() : this(NDalicPINVOKE.PushButton_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal PushButton(PushButton pushButton) : this(NDalicPINVOKE.new_PushButton__SWIG_1(PushButton.getCPtr(pushButton)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal PushButton Assign(PushButton pushButton)\r
-        {\r
-            PushButton ret = new PushButton(NDalicPINVOKE.PushButton_Assign(swigCPtr, PushButton.getCPtr(pushButton)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static PushButton DownCast(BaseHandle handle)\r
-        {\r
-            PushButton ret = new PushButton(NDalicPINVOKE.PushButton_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal new void SetButtonImage(Image image)\r
-        {\r
-            NDalicPINVOKE.PushButton_SetButtonImage__SWIG_0_0(swigCPtr, Image.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetButtonImage(Actor image)\r
-        {\r
-            NDalicPINVOKE.PushButton_SetButtonImage__SWIG_1(swigCPtr, Actor.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetBackgroundImage(Actor image)\r
-        {\r
-            NDalicPINVOKE.PushButton_SetBackgroundImage(swigCPtr, Actor.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal new void SetSelectedImage(Image image)\r
-        {\r
-            NDalicPINVOKE.PushButton_SetSelectedImage__SWIG_0_0(swigCPtr, Image.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetSelectedImage(Actor image)\r
-        {\r
-            NDalicPINVOKE.PushButton_SetSelectedImage__SWIG_1(swigCPtr, Actor.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetSelectedBackgroundImage(Actor image)\r
-        {\r
-            NDalicPINVOKE.PushButton_SetSelectedBackgroundImage(swigCPtr, Actor.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetDisabledBackgroundImage(Actor image)\r
-        {\r
-            NDalicPINVOKE.PushButton_SetDisabledBackgroundImage(swigCPtr, Actor.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetDisabledImage(Actor image)\r
-        {\r
-            NDalicPINVOKE.PushButton_SetDisabledImage(swigCPtr, Actor.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetDisabledSelectedImage(Actor image)\r
-        {\r
-            NDalicPINVOKE.PushButton_SetDisabledSelectedImage(swigCPtr, Actor.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000\r
-        }\r
-\r
-        public string UnselectedIcon\r
-        {\r
-            set\r
-            {\r
-                SetProperty(PushButton.Property.UNSELECTED_ICON, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string SelectedIcon\r
-        {\r
-            set\r
-            {\r
-                SetProperty(PushButton.Property.SELECTED_ICON, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string IconAlignment\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(PushButton.Property.ICON_ALIGNMENT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(PushButton.Property.ICON_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 LabelPadding\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(PushButton.Property.LABEL_PADDING).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(PushButton.Property.LABEL_PADDING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public string IconPadding\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(PushButton.Property.ICON_PADDING).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(PushButton.Property.ICON_PADDING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class PushButton : Button
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal PushButton(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.PushButton_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PushButton obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~PushButton()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_PushButton(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_PushButton_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_PushButton_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int UNSELECTED_ICON = NDalicPINVOKE.PushButton_Property_UNSELECTED_ICON_get();
+            internal static readonly int SELECTED_ICON = NDalicPINVOKE.PushButton_Property_SELECTED_ICON_get();
+            internal static readonly int ICON_ALIGNMENT = NDalicPINVOKE.PushButton_Property_ICON_ALIGNMENT_get();
+            internal static readonly int LABEL_PADDING = NDalicPINVOKE.PushButton_Property_LABEL_PADDING_get();
+            internal static readonly int ICON_PADDING = NDalicPINVOKE.PushButton_Property_ICON_PADDING_get();
+
+        }
+
+        public PushButton() : this(NDalicPINVOKE.PushButton_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal PushButton(PushButton pushButton) : this(NDalicPINVOKE.new_PushButton__SWIG_1(PushButton.getCPtr(pushButton)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal PushButton Assign(PushButton pushButton)
+        {
+            PushButton ret = new PushButton(NDalicPINVOKE.PushButton_Assign(swigCPtr, PushButton.getCPtr(pushButton)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static PushButton DownCast(BaseHandle handle)
+        {
+            PushButton ret = new PushButton(NDalicPINVOKE.PushButton_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal new void SetButtonImage(Image image)
+        {
+            NDalicPINVOKE.PushButton_SetButtonImage__SWIG_0_0(swigCPtr, Image.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetButtonImage(Actor image)
+        {
+            NDalicPINVOKE.PushButton_SetButtonImage__SWIG_1(swigCPtr, Actor.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetBackgroundImage(Actor image)
+        {
+            NDalicPINVOKE.PushButton_SetBackgroundImage(swigCPtr, Actor.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal new void SetSelectedImage(Image image)
+        {
+            NDalicPINVOKE.PushButton_SetSelectedImage__SWIG_0_0(swigCPtr, Image.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetSelectedImage(Actor image)
+        {
+            NDalicPINVOKE.PushButton_SetSelectedImage__SWIG_1(swigCPtr, Actor.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetSelectedBackgroundImage(Actor image)
+        {
+            NDalicPINVOKE.PushButton_SetSelectedBackgroundImage(swigCPtr, Actor.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetDisabledBackgroundImage(Actor image)
+        {
+            NDalicPINVOKE.PushButton_SetDisabledBackgroundImage(swigCPtr, Actor.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetDisabledImage(Actor image)
+        {
+            NDalicPINVOKE.PushButton_SetDisabledImage(swigCPtr, Actor.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetDisabledSelectedImage(Actor image)
+        {
+            NDalicPINVOKE.PushButton_SetDisabledSelectedImage(swigCPtr, Actor.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
+        }
+
+        public string UnselectedIcon
+        {
+            set
+            {
+                SetProperty(PushButton.Property.UNSELECTED_ICON, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string SelectedIcon
+        {
+            set
+            {
+                SetProperty(PushButton.Property.SELECTED_ICON, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string IconAlignment
+        {
+            get
+            {
+                string temp;
+                GetProperty(PushButton.Property.ICON_ALIGNMENT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(PushButton.Property.ICON_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 LabelPadding
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(PushButton.Property.LABEL_PADDING).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(PushButton.Property.LABEL_PADDING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public string IconPadding
+        {
+            get
+            {
+                string temp;
+                GetProperty(PushButton.Property.ICON_PADDING).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(PushButton.Property.ICON_PADDING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
+}
index e9e9df6d9c0861d4350a70a7ac221c821282f9f2..acbf5117f1b8b5b5f1ac2a3fcb7cadfc8737cec6 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Radian : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Radian(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Radian obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Radian()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Radian(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public Radian() : this(NDalicPINVOKE.new_Radian__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Radian(float value) : this(NDalicPINVOKE.new_Radian__SWIG_1(value), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Radian(Degree degree) : this(NDalicPINVOKE.new_Radian__SWIG_2(Degree.getCPtr(degree)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Radian Assign(float value)\r
-        {\r
-            Radian ret = new Radian(NDalicPINVOKE.Radian_Assign__SWIG_0(swigCPtr, value), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Radian Assign(Degree degree)\r
-        {\r
-            Radian ret = new Radian(NDalicPINVOKE.Radian_Assign__SWIG_1(swigCPtr, Degree.getCPtr(degree)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float ConvertToFloat()\r
-        {\r
-            float ret = NDalicPINVOKE.Radian_ConvertToFloat(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float radian\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Radian_radian_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Radian_radian_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Radian : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Radian(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Radian obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Radian()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Radian(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public Radian() : this(NDalicPINVOKE.new_Radian__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Radian(float value) : this(NDalicPINVOKE.new_Radian__SWIG_1(value), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Radian(Degree degree) : this(NDalicPINVOKE.new_Radian__SWIG_2(Degree.getCPtr(degree)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Radian Assign(float value)
+        {
+            Radian ret = new Radian(NDalicPINVOKE.Radian_Assign__SWIG_0(swigCPtr, value), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Radian Assign(Degree degree)
+        {
+            Radian ret = new Radian(NDalicPINVOKE.Radian_Assign__SWIG_1(swigCPtr, Degree.getCPtr(degree)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float ConvertToFloat()
+        {
+            float ret = NDalicPINVOKE.Radian_ConvertToFloat(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float radian
+        {
+            set
+            {
+                NDalicPINVOKE.Radian_radian_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Radian_radian_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+    }
+
+}
index 87c6a84b98798601a0118a51045665afcce131d3..f062ac28f804c7283ff421555575038ed67e522c 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class RadioButton : Button\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal RadioButton(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.RadioButton_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RadioButton obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~RadioButton()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_RadioButton(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        public RadioButton() : this(NDalicPINVOKE.RadioButton_New__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public RadioButton(string label) : this(NDalicPINVOKE.RadioButton_New__SWIG_1(label), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal RadioButton(RadioButton radioButton) : this(NDalicPINVOKE.new_RadioButton__SWIG_1(RadioButton.getCPtr(radioButton)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal RadioButton Assign(RadioButton radioButton)\r
-        {\r
-            RadioButton ret = new RadioButton(NDalicPINVOKE.RadioButton_Assign(swigCPtr, RadioButton.getCPtr(radioButton)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static RadioButton DownCast(BaseHandle handle)\r
-        {\r
-            RadioButton ret = new RadioButton(NDalicPINVOKE.RadioButton_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class RadioButton : Button
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal RadioButton(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.RadioButton_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RadioButton obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~RadioButton()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_RadioButton(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        public RadioButton() : this(NDalicPINVOKE.RadioButton_New__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public RadioButton(string label) : this(NDalicPINVOKE.RadioButton_New__SWIG_1(label), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal RadioButton(RadioButton radioButton) : this(NDalicPINVOKE.new_RadioButton__SWIG_1(RadioButton.getCPtr(radioButton)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal RadioButton Assign(RadioButton radioButton)
+        {
+            RadioButton ret = new RadioButton(NDalicPINVOKE.RadioButton_Assign(swigCPtr, RadioButton.getCPtr(radioButton)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static RadioButton DownCast(BaseHandle handle)
+        {
+            RadioButton ret = new RadioButton(NDalicPINVOKE.RadioButton_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+    }
+
+}
index d4a399ca655606d29de013c2d1dc6d1762f1d217..19c7c82c935a3f085942b6b957d325c0bc50b5ac 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Rectangle : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Rectangle(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Rectangle obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Rectangle()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Rectangle(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public static bool operator ==(Rectangle a, Rectangle b)\r
-        {\r
-            // If both are null, or both are same instance, return true.\r
-            if (System.Object.ReferenceEquals(a, b))\r
-            {\r
-                return true;\r
-            }\r
-\r
-            // If one is null, but not both, return false.\r
-            if (((object)a == null) || ((object)b == null))\r
-            {\r
-                return false;\r
-            }\r
-\r
-            // Return true if the fields match:\r
-            return a.X == b.X && a.Y == b.Y && a.Width == b.Width && a.Height == b.Height;\r
-        }\r
-\r
-        public static bool operator !=(Rectangle a, Rectangle b)\r
-        {\r
-            return !(a == b);\r
-        }\r
-\r
-        ///< X position of the rectangle\r
-        public int X\r
-        {\r
-            set\r
-            {\r
-                x = value;\r
-            }\r
-            get\r
-            {\r
-                return x;\r
-            }\r
-        }\r
-\r
-        ///< Y position of the rectangle\r
-        public int Y\r
-        {\r
-            set\r
-            {\r
-                y = value;\r
-            }\r
-            get\r
-            {\r
-                return y;\r
-            }\r
-        }\r
-\r
-        ///< Width of the rectangle\r
-        public int Width\r
-        {\r
-            set\r
-            {\r
-                width = value;\r
-            }\r
-            get\r
-            {\r
-                return width;\r
-            }\r
-        }\r
-\r
-        ///< Height of the rectangle\r
-        public int Height\r
-        {\r
-            set\r
-            {\r
-                height = value;\r
-            }\r
-            get\r
-            {\r
-                return height;\r
-            }\r
-        }\r
-\r
-        public Rectangle() : this(NDalicPINVOKE.new_Rectangle__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Rectangle(int x, int y, int width, int height) : this(NDalicPINVOKE.new_Rectangle__SWIG_1(x, y, width, height), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Rectangle(Rectangle rhs) : this(NDalicPINVOKE.new_Rectangle__SWIG_2(Rectangle.getCPtr(rhs)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Rectangle Assign(Rectangle rhs)\r
-        {\r
-            Rectangle ret = new Rectangle(NDalicPINVOKE.Rectangle_Assign(swigCPtr, Rectangle.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Set(int newX, int newY, int newWidth, int newHeight)\r
-        {\r
-            NDalicPINVOKE.Rectangle_Set(swigCPtr, newX, newY, newWidth, newHeight);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool IsEmpty()\r
-        {\r
-            bool ret = NDalicPINVOKE.Rectangle_IsEmpty(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public int Left()\r
-        {\r
-            int ret = NDalicPINVOKE.Rectangle_Left(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public int Right()\r
-        {\r
-            int ret = NDalicPINVOKE.Rectangle_Right(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public int Top()\r
-        {\r
-            int ret = NDalicPINVOKE.Rectangle_Top(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public int Bottom()\r
-        {\r
-            int ret = NDalicPINVOKE.Rectangle_Bottom(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public int Area()\r
-        {\r
-            int ret = NDalicPINVOKE.Rectangle_Area(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Intersects(Rectangle other)\r
-        {\r
-            bool ret = NDalicPINVOKE.Rectangle_Intersects(swigCPtr, Rectangle.getCPtr(other));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool Contains(Rectangle other)\r
-        {\r
-            bool ret = NDalicPINVOKE.Rectangle_Contains(swigCPtr, Rectangle.getCPtr(other));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private int x\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Rectangle_x_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Rectangle_x_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int left\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Rectangle_left_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Rectangle_left_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int y\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Rectangle_y_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Rectangle_y_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int right\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Rectangle_right_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Rectangle_right_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int width\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Rectangle_width_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Rectangle_width_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int bottom\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Rectangle_bottom_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Rectangle_bottom_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int height\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Rectangle_height_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Rectangle_height_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int top\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Rectangle_top_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Rectangle_top_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Rectangle : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Rectangle(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Rectangle obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Rectangle()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Rectangle(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public static bool operator ==(Rectangle a, Rectangle b)
+        {
+            // If both are null, or both are same instance, return true.
+            if (System.Object.ReferenceEquals(a, b))
+            {
+                return true;
+            }
+
+            // If one is null, but not both, return false.
+            if (((object)a == null) || ((object)b == null))
+            {
+                return false;
+            }
+
+            // Return true if the fields match:
+            return a.X == b.X && a.Y == b.Y && a.Width == b.Width && a.Height == b.Height;
+        }
+
+        public static bool operator !=(Rectangle a, Rectangle b)
+        {
+            return !(a == b);
+        }
+
+        ///< X position of the rectangle
+        public int X
+        {
+            set
+            {
+                x = value;
+            }
+            get
+            {
+                return x;
+            }
+        }
+
+        ///< Y position of the rectangle
+        public int Y
+        {
+            set
+            {
+                y = value;
+            }
+            get
+            {
+                return y;
+            }
+        }
+
+        ///< Width of the rectangle
+        public int Width
+        {
+            set
+            {
+                width = value;
+            }
+            get
+            {
+                return width;
+            }
+        }
+
+        ///< Height of the rectangle
+        public int Height
+        {
+            set
+            {
+                height = value;
+            }
+            get
+            {
+                return height;
+            }
+        }
+
+        public Rectangle() : this(NDalicPINVOKE.new_Rectangle__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Rectangle(int x, int y, int width, int height) : this(NDalicPINVOKE.new_Rectangle__SWIG_1(x, y, width, height), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Rectangle(Rectangle rhs) : this(NDalicPINVOKE.new_Rectangle__SWIG_2(Rectangle.getCPtr(rhs)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Rectangle Assign(Rectangle rhs)
+        {
+            Rectangle ret = new Rectangle(NDalicPINVOKE.Rectangle_Assign(swigCPtr, Rectangle.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Set(int newX, int newY, int newWidth, int newHeight)
+        {
+            NDalicPINVOKE.Rectangle_Set(swigCPtr, newX, newY, newWidth, newHeight);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool IsEmpty()
+        {
+            bool ret = NDalicPINVOKE.Rectangle_IsEmpty(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public int Left()
+        {
+            int ret = NDalicPINVOKE.Rectangle_Left(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public int Right()
+        {
+            int ret = NDalicPINVOKE.Rectangle_Right(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public int Top()
+        {
+            int ret = NDalicPINVOKE.Rectangle_Top(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public int Bottom()
+        {
+            int ret = NDalicPINVOKE.Rectangle_Bottom(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public int Area()
+        {
+            int ret = NDalicPINVOKE.Rectangle_Area(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Intersects(Rectangle other)
+        {
+            bool ret = NDalicPINVOKE.Rectangle_Intersects(swigCPtr, Rectangle.getCPtr(other));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool Contains(Rectangle other)
+        {
+            bool ret = NDalicPINVOKE.Rectangle_Contains(swigCPtr, Rectangle.getCPtr(other));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private int x
+        {
+            set
+            {
+                NDalicPINVOKE.Rectangle_x_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Rectangle_x_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int left
+        {
+            set
+            {
+                NDalicPINVOKE.Rectangle_left_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Rectangle_left_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int y
+        {
+            set
+            {
+                NDalicPINVOKE.Rectangle_y_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Rectangle_y_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int right
+        {
+            set
+            {
+                NDalicPINVOKE.Rectangle_right_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Rectangle_right_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int width
+        {
+            set
+            {
+                NDalicPINVOKE.Rectangle_width_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Rectangle_width_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int bottom
+        {
+            set
+            {
+                NDalicPINVOKE.Rectangle_bottom_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Rectangle_bottom_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int height
+        {
+            set
+            {
+                NDalicPINVOKE.Rectangle_height_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Rectangle_height_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int top
+        {
+            set
+            {
+                NDalicPINVOKE.Rectangle_top_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Rectangle_top_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+    }
+
+}
index 88aa6be34be24c00130ce44a0fb8af43256b08e7..2d3135b98b361d28a558e56745f5403f88cff07f 100755 (executable)
@@ -1,67 +1,67 @@
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class RelayoutContainer : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal RelayoutContainer(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RelayoutContainer obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~RelayoutContainer()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_RelayoutContainer(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public virtual void Add(Actor actor, Size2D size)\r
-        {\r
-            NDalicPINVOKE.RelayoutContainer_Add(swigCPtr, Actor.getCPtr(actor), Size2D.getCPtr(size));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class RelayoutContainer : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal RelayoutContainer(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RelayoutContainer obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~RelayoutContainer()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_RelayoutContainer(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public virtual void Add(Actor actor, Size2D size)
+        {
+            NDalicPINVOKE.RelayoutContainer_Add(swigCPtr, Actor.getCPtr(actor), Size2D.getCPtr(size));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+    }
+
+}
index ac1d9ca9524b3a7c7912e48ad73c85f228399485..48d9841234b2d246653b55dd6ddfe7b6042ff0db 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Rotation : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Rotation(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Rotation obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Rotation()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Rotation(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public static Rotation operator +(Rotation arg1, Rotation arg2)\r
-        {\r
-            return arg1.Add(arg2);\r
-        }\r
-\r
-        public static Rotation operator -(Rotation arg1, Rotation arg2)\r
-        {\r
-            return arg1.Subtract(arg2);\r
-        }\r
-\r
-        public static Rotation operator -(Rotation arg1)\r
-        {\r
-            return arg1.Subtract();\r
-        }\r
-\r
-        public static Rotation operator *(Rotation arg1, Rotation arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Vector3 operator *(Rotation arg1, Vector3 arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Rotation operator *(Rotation arg1, float arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Rotation operator /(Rotation arg1, Rotation arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public static Rotation operator /(Rotation arg1, float arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public Rotation() : this(NDalicPINVOKE.new_Rotation__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Rotation(Radian angle, Vector3 axis) : this(NDalicPINVOKE.new_Rotation__SWIG_1(Radian.getCPtr(angle), Vector3.getCPtr(axis)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public static Rotation IDENTITY\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Rotation_IDENTITY_get();\r
-                Rotation ret = (cPtr == global::System.IntPtr.Zero) ? null : new Rotation(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public bool IsIdentity()\r
-        {\r
-            bool ret = NDalicPINVOKE.Rotation_IsIdentity(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool GetAxisAngle(Vector3 axis, Radian angle)\r
-        {\r
-            bool ret = NDalicPINVOKE.Rotation_GetAxisAngle(swigCPtr, Vector3.getCPtr(axis), Radian.getCPtr(angle));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation Add(Rotation other)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Add(swigCPtr, Rotation.getCPtr(other)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation Subtract(Rotation other)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Subtract__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation Multiply(Rotation other)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Multiply__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Vector3 Multiply(Vector3 other)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Rotation_Multiply__SWIG_1(swigCPtr, Vector3.getCPtr(other)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation Divide(Rotation other)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Divide__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation Multiply(float scale)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Multiply__SWIG_2(swigCPtr, scale), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation Divide(float scale)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Divide__SWIG_1(swigCPtr, scale), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation Subtract()\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Subtract__SWIG_1(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation AddAssign(Rotation other)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_AddAssign(swigCPtr, Rotation.getCPtr(other)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation SubtractAssign(Rotation other)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_SubtractAssign(swigCPtr, Rotation.getCPtr(other)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation MultiplyAssign(Rotation other)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_MultiplyAssign__SWIG_0(swigCPtr, Rotation.getCPtr(other)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation MultiplyAssign(float scale)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_MultiplyAssign__SWIG_1(swigCPtr, scale), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Rotation DivideAssign(float scale)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_DivideAssign(swigCPtr, scale), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private bool EqualTo(Rotation rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Rotation_EqualTo(swigCPtr, Rotation.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private bool NotEqualTo(Rotation rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Rotation_NotEqualTo(swigCPtr, Rotation.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float Length()\r
-        {\r
-            float ret = NDalicPINVOKE.Rotation_Length(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float LengthSquared()\r
-        {\r
-            float ret = NDalicPINVOKE.Rotation_LengthSquared(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Normalize()\r
-        {\r
-            NDalicPINVOKE.Rotation_Normalize(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Rotation Normalized()\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Normalized(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Conjugate()\r
-        {\r
-            NDalicPINVOKE.Rotation_Conjugate(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Invert()\r
-        {\r
-            NDalicPINVOKE.Rotation_Invert(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Rotation Log()\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Log(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Rotation Exp()\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Exp(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static float Dot(Rotation q1, Rotation q2)\r
-        {\r
-            float ret = NDalicPINVOKE.Rotation_Dot(Rotation.getCPtr(q1), Rotation.getCPtr(q2));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static Rotation Lerp(Rotation q1, Rotation q2, float t)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Lerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static Rotation Slerp(Rotation q1, Rotation q2, float progress)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Slerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), progress), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static Rotation SlerpNoInvert(Rotation q1, Rotation q2, float t)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_SlerpNoInvert(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static Rotation Squad(Rotation start, Rotation end, Rotation ctrl1, Rotation ctrl2, float t)\r
-        {\r
-            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Squad(Rotation.getCPtr(start), Rotation.getCPtr(end), Rotation.getCPtr(ctrl1), Rotation.getCPtr(ctrl2), t), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static float AngleBetween(Rotation q1, Rotation q2)\r
-        {\r
-            float ret = NDalicPINVOKE.Rotation_AngleBetween(Rotation.getCPtr(q1), Rotation.getCPtr(q2));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Rotation : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Rotation(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Rotation obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Rotation()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Rotation(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public static Rotation operator +(Rotation arg1, Rotation arg2)
+        {
+            return arg1.Add(arg2);
+        }
+
+        public static Rotation operator -(Rotation arg1, Rotation arg2)
+        {
+            return arg1.Subtract(arg2);
+        }
+
+        public static Rotation operator -(Rotation arg1)
+        {
+            return arg1.Subtract();
+        }
+
+        public static Rotation operator *(Rotation arg1, Rotation arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Vector3 operator *(Rotation arg1, Vector3 arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Rotation operator *(Rotation arg1, float arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Rotation operator /(Rotation arg1, Rotation arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public static Rotation operator /(Rotation arg1, float arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public Rotation() : this(NDalicPINVOKE.new_Rotation__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Rotation(Radian angle, Vector3 axis) : this(NDalicPINVOKE.new_Rotation__SWIG_1(Radian.getCPtr(angle), Vector3.getCPtr(axis)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public static Rotation IDENTITY
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Rotation_IDENTITY_get();
+                Rotation ret = (cPtr == global::System.IntPtr.Zero) ? null : new Rotation(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public bool IsIdentity()
+        {
+            bool ret = NDalicPINVOKE.Rotation_IsIdentity(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool GetAxisAngle(Vector3 axis, Radian angle)
+        {
+            bool ret = NDalicPINVOKE.Rotation_GetAxisAngle(swigCPtr, Vector3.getCPtr(axis), Radian.getCPtr(angle));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation Add(Rotation other)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Add(swigCPtr, Rotation.getCPtr(other)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation Subtract(Rotation other)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Subtract__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation Multiply(Rotation other)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Multiply__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Vector3 Multiply(Vector3 other)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Rotation_Multiply__SWIG_1(swigCPtr, Vector3.getCPtr(other)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation Divide(Rotation other)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Divide__SWIG_0(swigCPtr, Rotation.getCPtr(other)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation Multiply(float scale)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Multiply__SWIG_2(swigCPtr, scale), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation Divide(float scale)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Divide__SWIG_1(swigCPtr, scale), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation Subtract()
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Subtract__SWIG_1(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation AddAssign(Rotation other)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_AddAssign(swigCPtr, Rotation.getCPtr(other)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation SubtractAssign(Rotation other)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_SubtractAssign(swigCPtr, Rotation.getCPtr(other)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation MultiplyAssign(Rotation other)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_MultiplyAssign__SWIG_0(swigCPtr, Rotation.getCPtr(other)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation MultiplyAssign(float scale)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_MultiplyAssign__SWIG_1(swigCPtr, scale), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Rotation DivideAssign(float scale)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_DivideAssign(swigCPtr, scale), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private bool EqualTo(Rotation rhs)
+        {
+            bool ret = NDalicPINVOKE.Rotation_EqualTo(swigCPtr, Rotation.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private bool NotEqualTo(Rotation rhs)
+        {
+            bool ret = NDalicPINVOKE.Rotation_NotEqualTo(swigCPtr, Rotation.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float Length()
+        {
+            float ret = NDalicPINVOKE.Rotation_Length(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float LengthSquared()
+        {
+            float ret = NDalicPINVOKE.Rotation_LengthSquared(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Normalize()
+        {
+            NDalicPINVOKE.Rotation_Normalize(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Rotation Normalized()
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Normalized(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Conjugate()
+        {
+            NDalicPINVOKE.Rotation_Conjugate(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Invert()
+        {
+            NDalicPINVOKE.Rotation_Invert(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Rotation Log()
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Log(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Rotation Exp()
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Exp(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static float Dot(Rotation q1, Rotation q2)
+        {
+            float ret = NDalicPINVOKE.Rotation_Dot(Rotation.getCPtr(q1), Rotation.getCPtr(q2));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static Rotation Lerp(Rotation q1, Rotation q2, float t)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Lerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static Rotation Slerp(Rotation q1, Rotation q2, float progress)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Slerp(Rotation.getCPtr(q1), Rotation.getCPtr(q2), progress), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static Rotation SlerpNoInvert(Rotation q1, Rotation q2, float t)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_SlerpNoInvert(Rotation.getCPtr(q1), Rotation.getCPtr(q2), t), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static Rotation Squad(Rotation start, Rotation end, Rotation ctrl1, Rotation ctrl2, float t)
+        {
+            Rotation ret = new Rotation(NDalicPINVOKE.Rotation_Squad(Rotation.getCPtr(start), Rotation.getCPtr(end), Rotation.getCPtr(ctrl1), Rotation.getCPtr(ctrl2), t), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static float AngleBetween(Rotation q1, Rotation q2)
+        {
+            float ret = NDalicPINVOKE.Rotation_AngleBetween(Rotation.getCPtr(q1), Rotation.getCPtr(q2));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+    }
+
+}
index 75695fe4f16cf9720736faf7d0cc9cf457468afd..518da8c29e1d826c73f9495a4410e2e9edb26216 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class ScrollBar : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal ScrollBar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ScrollBar_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ScrollBar obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~ScrollBar()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_ScrollBar(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-\r
-        public class PanFinishedEventArgs : EventArgs\r
-        {\r
-        }\r
-\r
-        public class ScrollPositionIntervalReachedEventArgs : EventArgs\r
-        {\r
-            private float _currentScrollPosition;\r
-\r
-            public float CurrentScrollPosition\r
-            {\r
-                get\r
-                {\r
-                    return _currentScrollPosition;\r
-                }\r
-                set\r
-                {\r
-                    _currentScrollPosition = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void PanFinishedEventCallbackDelegate();\r
-        private EventHandler<PanFinishedEventArgs> _scrollBarPanFinishedEventHandler;\r
-        private PanFinishedEventCallbackDelegate _scrollBarPanFinishedEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void ScrollPositionIntervalReachedEventCallbackDelegate();\r
-        private EventHandler<ScrollPositionIntervalReachedEventArgs> _scrollBarScrollPositionIntervalReachedEventHandler;\r
-        private ScrollPositionIntervalReachedEventCallbackDelegate _scrollBarScrollPositionIntervalReachedEventCallbackDelegate;\r
-\r
-        public event EventHandler<PanFinishedEventArgs> PanFinished\r
-        {\r
-            add\r
-            {\r
-                if (_scrollBarPanFinishedEventHandler == null)\r
-                {\r
-                    _scrollBarPanFinishedEventCallbackDelegate = (OnScrollBarPanFinished);\r
-                    PanFinishedSignal().Connect(_scrollBarPanFinishedEventCallbackDelegate);\r
-                }\r
-                _scrollBarPanFinishedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _scrollBarPanFinishedEventHandler -= value;\r
-                if (_scrollBarPanFinishedEventHandler == null && _scrollBarPanFinishedEventCallbackDelegate != null)\r
-                {\r
-                    PanFinishedSignal().Disconnect(_scrollBarPanFinishedEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for ScrollBar PanFinishedSignal\r
-        private void OnScrollBarPanFinished()\r
-        {\r
-            PanFinishedEventArgs e = new PanFinishedEventArgs();\r
-\r
-            if (_scrollBarPanFinishedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _scrollBarPanFinishedEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-\r
-        public event EventHandler<ScrollPositionIntervalReachedEventArgs> ScrollPositionIntervalReached\r
-        {\r
-            add\r
-            {\r
-                if (_scrollBarScrollPositionIntervalReachedEventHandler == null)\r
-                {\r
-                    _scrollBarScrollPositionIntervalReachedEventCallbackDelegate = (OnScrollBarScrollPositionIntervalReached);\r
-                    ScrollPositionIntervalReachedSignal().Connect(_scrollBarScrollPositionIntervalReachedEventCallbackDelegate);\r
-                }\r
-                _scrollBarScrollPositionIntervalReachedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _scrollBarScrollPositionIntervalReachedEventHandler -= value;\r
-                if (_scrollBarScrollPositionIntervalReachedEventHandler == null && _scrollBarScrollPositionIntervalReachedEventCallbackDelegate != null)\r
-                {\r
-                    ScrollPositionIntervalReachedSignal().Disconnect(_scrollBarScrollPositionIntervalReachedEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for ScrollBar ScrollPositionIntervalReachedSignal\r
-        private void OnScrollBarScrollPositionIntervalReached()\r
-        {\r
-            ScrollPositionIntervalReachedEventArgs e = new ScrollPositionIntervalReachedEventArgs();\r
-\r
-            if (_scrollBarScrollPositionIntervalReachedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _scrollBarScrollPositionIntervalReachedEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_ScrollBar_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_ScrollBar_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int SCROLL_DIRECTION = NDalicPINVOKE.ScrollBar_Property_SCROLL_DIRECTION_get();\r
-            internal static readonly int INDICATOR_HEIGHT_POLICY = NDalicPINVOKE.ScrollBar_Property_INDICATOR_HEIGHT_POLICY_get();\r
-            internal static readonly int INDICATOR_FIXED_HEIGHT = NDalicPINVOKE.ScrollBar_Property_INDICATOR_FIXED_HEIGHT_get();\r
-            internal static readonly int INDICATOR_SHOW_DURATION = NDalicPINVOKE.ScrollBar_Property_INDICATOR_SHOW_DURATION_get();\r
-            internal static readonly int INDICATOR_HIDE_DURATION = NDalicPINVOKE.ScrollBar_Property_INDICATOR_HIDE_DURATION_get();\r
-            internal static readonly int SCROLL_POSITION_INTERVALS = NDalicPINVOKE.ScrollBar_Property_SCROLL_POSITION_INTERVALS_get();\r
-            internal static readonly int INDICATOR_MINIMUM_HEIGHT = NDalicPINVOKE.ScrollBar_Property_INDICATOR_MINIMUM_HEIGHT_get();\r
-            internal static readonly int INDICATOR_START_PADDING = NDalicPINVOKE.ScrollBar_Property_INDICATOR_START_PADDING_get();\r
-            internal static readonly int INDICATOR_END_PADDING = NDalicPINVOKE.ScrollBar_Property_INDICATOR_END_PADDING_get();\r
-\r
-        }\r
-\r
-        public ScrollBar(ScrollBar.Direction direction) : this(NDalicPINVOKE.ScrollBar_New__SWIG_0((int)direction), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public ScrollBar() : this(NDalicPINVOKE.ScrollBar_New__SWIG_1(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal ScrollBar(ScrollBar scrollBar) : this(NDalicPINVOKE.new_ScrollBar__SWIG_1(ScrollBar.getCPtr(scrollBar)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal ScrollBar Assign(ScrollBar scrollBar)\r
-        {\r
-            ScrollBar ret = new ScrollBar(NDalicPINVOKE.ScrollBar_Assign(swigCPtr, ScrollBar.getCPtr(scrollBar)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static ScrollBar DownCast(BaseHandle handle)\r
-        {\r
-            ScrollBar ret = new ScrollBar(NDalicPINVOKE.ScrollBar_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetScrollPropertySource(Handle handle, int propertyScrollPosition, int propertyMinScrollPosition, int propertyMaxScrollPosition, int propertyScrollContentSize)\r
-        {\r
-            NDalicPINVOKE.ScrollBar_SetScrollPropertySource(swigCPtr, Handle.getCPtr(handle), propertyScrollPosition, propertyMinScrollPosition, propertyMaxScrollPosition, propertyScrollContentSize);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetScrollIndicator(Actor indicator)\r
-        {\r
-            NDalicPINVOKE.ScrollBar_SetScrollIndicator(swigCPtr, Actor.getCPtr(indicator));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Actor GetScrollIndicator()\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.ScrollBar_GetScrollIndicator(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetScrollPositionIntervals(VectorFloat positions)\r
-        {\r
-            NDalicPINVOKE.ScrollBar_SetScrollPositionIntervals(swigCPtr, VectorFloat.getCPtr(positions));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal VectorFloat GetScrollPositionIntervals()\r
-        {\r
-            VectorFloat ret = new VectorFloat(NDalicPINVOKE.ScrollBar_GetScrollPositionIntervals(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetScrollDirection(ScrollBar.Direction direction)\r
-        {\r
-            NDalicPINVOKE.ScrollBar_SetScrollDirection(swigCPtr, (int)direction);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal ScrollBar.Direction GetScrollDirection()\r
-        {\r
-            ScrollBar.Direction ret = (ScrollBar.Direction)NDalicPINVOKE.ScrollBar_GetScrollDirection(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetIndicatorHeightPolicy(ScrollBar.IndicatorHeightPolicyType policy)\r
-        {\r
-            NDalicPINVOKE.ScrollBar_SetIndicatorHeightPolicy(swigCPtr, (int)policy);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal ScrollBar.IndicatorHeightPolicyType GetIndicatorHeightPolicy()\r
-        {\r
-            ScrollBar.IndicatorHeightPolicyType ret = (ScrollBar.IndicatorHeightPolicyType)NDalicPINVOKE.ScrollBar_GetIndicatorHeightPolicy(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetIndicatorFixedHeight(float height)\r
-        {\r
-            NDalicPINVOKE.ScrollBar_SetIndicatorFixedHeight(swigCPtr, height);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetIndicatorFixedHeight()\r
-        {\r
-            float ret = NDalicPINVOKE.ScrollBar_GetIndicatorFixedHeight(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetIndicatorShowDuration(float durationSeconds)\r
-        {\r
-            NDalicPINVOKE.ScrollBar_SetIndicatorShowDuration(swigCPtr, durationSeconds);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetIndicatorShowDuration()\r
-        {\r
-            float ret = NDalicPINVOKE.ScrollBar_GetIndicatorShowDuration(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetIndicatorHideDuration(float durationSeconds)\r
-        {\r
-            NDalicPINVOKE.ScrollBar_SetIndicatorHideDuration(swigCPtr, durationSeconds);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetIndicatorHideDuration()\r
-        {\r
-            float ret = NDalicPINVOKE.ScrollBar_GetIndicatorHideDuration(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void ShowIndicator()\r
-        {\r
-            NDalicPINVOKE.ScrollBar_ShowIndicator(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void HideIndicator()\r
-        {\r
-            NDalicPINVOKE.ScrollBar_HideIndicator(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal VoidSignal PanFinishedSignal()\r
-        {\r
-            VoidSignal ret = new VoidSignal(NDalicPINVOKE.ScrollBar_PanFinishedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal FloatSignal ScrollPositionIntervalReachedSignal()\r
-        {\r
-            FloatSignal ret = new FloatSignal(NDalicPINVOKE.ScrollBar_ScrollPositionIntervalReachedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000\r
-        }\r
-\r
-        public enum Direction\r
-        {\r
-            Vertical = 0,\r
-            Horizontal\r
-        }\r
-\r
-        public enum IndicatorHeightPolicyType\r
-        {\r
-            Variable = 0,\r
-            Fixed\r
-        }\r
-\r
-        public string ScrollDirection\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(ScrollBar.Property.SCROLL_DIRECTION).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ScrollBar.Property.SCROLL_DIRECTION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string IndicatorHeightPolicy\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(ScrollBar.Property.INDICATOR_HEIGHT_POLICY).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ScrollBar.Property.INDICATOR_HEIGHT_POLICY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float IndicatorFixedHeight\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(ScrollBar.Property.INDICATOR_FIXED_HEIGHT).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ScrollBar.Property.INDICATOR_FIXED_HEIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float IndicatorShowDuration\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(ScrollBar.Property.INDICATOR_SHOW_DURATION).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ScrollBar.Property.INDICATOR_SHOW_DURATION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float IndicatorHideDuration\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(ScrollBar.Property.INDICATOR_HIDE_DURATION).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ScrollBar.Property.INDICATOR_HIDE_DURATION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyArray ScrollPositionIntervals\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();\r
-                GetProperty(ScrollBar.Property.SCROLL_POSITION_INTERVALS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ScrollBar.Property.SCROLL_POSITION_INTERVALS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float IndicatorMinimumHeight\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(ScrollBar.Property.INDICATOR_MINIMUM_HEIGHT).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ScrollBar.Property.INDICATOR_MINIMUM_HEIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float IndicatorStartPadding\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(ScrollBar.Property.INDICATOR_START_PADDING).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ScrollBar.Property.INDICATOR_START_PADDING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float IndicatorEndPadding\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(ScrollBar.Property.INDICATOR_END_PADDING).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(ScrollBar.Property.INDICATOR_END_PADDING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class ScrollBar : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal ScrollBar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ScrollBar_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ScrollBar obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~ScrollBar()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_ScrollBar(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+
+        public class PanFinishedEventArgs : EventArgs
+        {
+        }
+
+        public class ScrollPositionIntervalReachedEventArgs : EventArgs
+        {
+            private float _currentScrollPosition;
+
+            public float CurrentScrollPosition
+            {
+                get
+                {
+                    return _currentScrollPosition;
+                }
+                set
+                {
+                    _currentScrollPosition = value;
+                }
+            }
+        }
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void PanFinishedEventCallbackDelegate();
+        private EventHandler<PanFinishedEventArgs> _scrollBarPanFinishedEventHandler;
+        private PanFinishedEventCallbackDelegate _scrollBarPanFinishedEventCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void ScrollPositionIntervalReachedEventCallbackDelegate();
+        private EventHandler<ScrollPositionIntervalReachedEventArgs> _scrollBarScrollPositionIntervalReachedEventHandler;
+        private ScrollPositionIntervalReachedEventCallbackDelegate _scrollBarScrollPositionIntervalReachedEventCallbackDelegate;
+
+        public event EventHandler<PanFinishedEventArgs> PanFinished
+        {
+            add
+            {
+                if (_scrollBarPanFinishedEventHandler == null)
+                {
+                    _scrollBarPanFinishedEventCallbackDelegate = (OnScrollBarPanFinished);
+                    PanFinishedSignal().Connect(_scrollBarPanFinishedEventCallbackDelegate);
+                }
+                _scrollBarPanFinishedEventHandler += value;
+            }
+            remove
+            {
+                _scrollBarPanFinishedEventHandler -= value;
+                if (_scrollBarPanFinishedEventHandler == null && _scrollBarPanFinishedEventCallbackDelegate != null)
+                {
+                    PanFinishedSignal().Disconnect(_scrollBarPanFinishedEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for ScrollBar PanFinishedSignal
+        private void OnScrollBarPanFinished()
+        {
+            PanFinishedEventArgs e = new PanFinishedEventArgs();
+
+            if (_scrollBarPanFinishedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _scrollBarPanFinishedEventHandler(this, e);
+            }
+        }
+
+
+        public event EventHandler<ScrollPositionIntervalReachedEventArgs> ScrollPositionIntervalReached
+        {
+            add
+            {
+                if (_scrollBarScrollPositionIntervalReachedEventHandler == null)
+                {
+                    _scrollBarScrollPositionIntervalReachedEventCallbackDelegate = (OnScrollBarScrollPositionIntervalReached);
+                    ScrollPositionIntervalReachedSignal().Connect(_scrollBarScrollPositionIntervalReachedEventCallbackDelegate);
+                }
+                _scrollBarScrollPositionIntervalReachedEventHandler += value;
+            }
+            remove
+            {
+                _scrollBarScrollPositionIntervalReachedEventHandler -= value;
+                if (_scrollBarScrollPositionIntervalReachedEventHandler == null && _scrollBarScrollPositionIntervalReachedEventCallbackDelegate != null)
+                {
+                    ScrollPositionIntervalReachedSignal().Disconnect(_scrollBarScrollPositionIntervalReachedEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for ScrollBar ScrollPositionIntervalReachedSignal
+        private void OnScrollBarScrollPositionIntervalReached()
+        {
+            ScrollPositionIntervalReachedEventArgs e = new ScrollPositionIntervalReachedEventArgs();
+
+            if (_scrollBarScrollPositionIntervalReachedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _scrollBarScrollPositionIntervalReachedEventHandler(this, e);
+            }
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_ScrollBar_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_ScrollBar_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int SCROLL_DIRECTION = NDalicPINVOKE.ScrollBar_Property_SCROLL_DIRECTION_get();
+            internal static readonly int INDICATOR_HEIGHT_POLICY = NDalicPINVOKE.ScrollBar_Property_INDICATOR_HEIGHT_POLICY_get();
+            internal static readonly int INDICATOR_FIXED_HEIGHT = NDalicPINVOKE.ScrollBar_Property_INDICATOR_FIXED_HEIGHT_get();
+            internal static readonly int INDICATOR_SHOW_DURATION = NDalicPINVOKE.ScrollBar_Property_INDICATOR_SHOW_DURATION_get();
+            internal static readonly int INDICATOR_HIDE_DURATION = NDalicPINVOKE.ScrollBar_Property_INDICATOR_HIDE_DURATION_get();
+            internal static readonly int SCROLL_POSITION_INTERVALS = NDalicPINVOKE.ScrollBar_Property_SCROLL_POSITION_INTERVALS_get();
+            internal static readonly int INDICATOR_MINIMUM_HEIGHT = NDalicPINVOKE.ScrollBar_Property_INDICATOR_MINIMUM_HEIGHT_get();
+            internal static readonly int INDICATOR_START_PADDING = NDalicPINVOKE.ScrollBar_Property_INDICATOR_START_PADDING_get();
+            internal static readonly int INDICATOR_END_PADDING = NDalicPINVOKE.ScrollBar_Property_INDICATOR_END_PADDING_get();
+
+        }
+
+        public ScrollBar(ScrollBar.Direction direction) : this(NDalicPINVOKE.ScrollBar_New__SWIG_0((int)direction), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public ScrollBar() : this(NDalicPINVOKE.ScrollBar_New__SWIG_1(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal ScrollBar(ScrollBar scrollBar) : this(NDalicPINVOKE.new_ScrollBar__SWIG_1(ScrollBar.getCPtr(scrollBar)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal ScrollBar Assign(ScrollBar scrollBar)
+        {
+            ScrollBar ret = new ScrollBar(NDalicPINVOKE.ScrollBar_Assign(swigCPtr, ScrollBar.getCPtr(scrollBar)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static ScrollBar DownCast(BaseHandle handle)
+        {
+            ScrollBar ret = new ScrollBar(NDalicPINVOKE.ScrollBar_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetScrollPropertySource(Handle handle, int propertyScrollPosition, int propertyMinScrollPosition, int propertyMaxScrollPosition, int propertyScrollContentSize)
+        {
+            NDalicPINVOKE.ScrollBar_SetScrollPropertySource(swigCPtr, Handle.getCPtr(handle), propertyScrollPosition, propertyMinScrollPosition, propertyMaxScrollPosition, propertyScrollContentSize);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetScrollIndicator(Actor indicator)
+        {
+            NDalicPINVOKE.ScrollBar_SetScrollIndicator(swigCPtr, Actor.getCPtr(indicator));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Actor GetScrollIndicator()
+        {
+            Actor ret = new Actor(NDalicPINVOKE.ScrollBar_GetScrollIndicator(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetScrollPositionIntervals(VectorFloat positions)
+        {
+            NDalicPINVOKE.ScrollBar_SetScrollPositionIntervals(swigCPtr, VectorFloat.getCPtr(positions));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal VectorFloat GetScrollPositionIntervals()
+        {
+            VectorFloat ret = new VectorFloat(NDalicPINVOKE.ScrollBar_GetScrollPositionIntervals(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetScrollDirection(ScrollBar.Direction direction)
+        {
+            NDalicPINVOKE.ScrollBar_SetScrollDirection(swigCPtr, (int)direction);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal ScrollBar.Direction GetScrollDirection()
+        {
+            ScrollBar.Direction ret = (ScrollBar.Direction)NDalicPINVOKE.ScrollBar_GetScrollDirection(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetIndicatorHeightPolicy(ScrollBar.IndicatorHeightPolicyType policy)
+        {
+            NDalicPINVOKE.ScrollBar_SetIndicatorHeightPolicy(swigCPtr, (int)policy);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal ScrollBar.IndicatorHeightPolicyType GetIndicatorHeightPolicy()
+        {
+            ScrollBar.IndicatorHeightPolicyType ret = (ScrollBar.IndicatorHeightPolicyType)NDalicPINVOKE.ScrollBar_GetIndicatorHeightPolicy(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetIndicatorFixedHeight(float height)
+        {
+            NDalicPINVOKE.ScrollBar_SetIndicatorFixedHeight(swigCPtr, height);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetIndicatorFixedHeight()
+        {
+            float ret = NDalicPINVOKE.ScrollBar_GetIndicatorFixedHeight(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetIndicatorShowDuration(float durationSeconds)
+        {
+            NDalicPINVOKE.ScrollBar_SetIndicatorShowDuration(swigCPtr, durationSeconds);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetIndicatorShowDuration()
+        {
+            float ret = NDalicPINVOKE.ScrollBar_GetIndicatorShowDuration(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetIndicatorHideDuration(float durationSeconds)
+        {
+            NDalicPINVOKE.ScrollBar_SetIndicatorHideDuration(swigCPtr, durationSeconds);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetIndicatorHideDuration()
+        {
+            float ret = NDalicPINVOKE.ScrollBar_GetIndicatorHideDuration(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void ShowIndicator()
+        {
+            NDalicPINVOKE.ScrollBar_ShowIndicator(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void HideIndicator()
+        {
+            NDalicPINVOKE.ScrollBar_HideIndicator(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal VoidSignal PanFinishedSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.ScrollBar_PanFinishedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal FloatSignal ScrollPositionIntervalReachedSignal()
+        {
+            FloatSignal ret = new FloatSignal(NDalicPINVOKE.ScrollBar_ScrollPositionIntervalReachedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
+        }
+
+        public enum Direction
+        {
+            Vertical = 0,
+            Horizontal
+        }
+
+        public enum IndicatorHeightPolicyType
+        {
+            Variable = 0,
+            Fixed
+        }
+
+        public string ScrollDirection
+        {
+            get
+            {
+                string temp;
+                GetProperty(ScrollBar.Property.SCROLL_DIRECTION).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ScrollBar.Property.SCROLL_DIRECTION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string IndicatorHeightPolicy
+        {
+            get
+            {
+                string temp;
+                GetProperty(ScrollBar.Property.INDICATOR_HEIGHT_POLICY).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ScrollBar.Property.INDICATOR_HEIGHT_POLICY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float IndicatorFixedHeight
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(ScrollBar.Property.INDICATOR_FIXED_HEIGHT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ScrollBar.Property.INDICATOR_FIXED_HEIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float IndicatorShowDuration
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(ScrollBar.Property.INDICATOR_SHOW_DURATION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ScrollBar.Property.INDICATOR_SHOW_DURATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float IndicatorHideDuration
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(ScrollBar.Property.INDICATOR_HIDE_DURATION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ScrollBar.Property.INDICATOR_HIDE_DURATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyArray ScrollPositionIntervals
+        {
+            get
+            {
+                Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
+                GetProperty(ScrollBar.Property.SCROLL_POSITION_INTERVALS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ScrollBar.Property.SCROLL_POSITION_INTERVALS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float IndicatorMinimumHeight
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(ScrollBar.Property.INDICATOR_MINIMUM_HEIGHT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ScrollBar.Property.INDICATOR_MINIMUM_HEIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float IndicatorStartPadding
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(ScrollBar.Property.INDICATOR_START_PADDING).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ScrollBar.Property.INDICATOR_START_PADDING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float IndicatorEndPadding
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(ScrollBar.Property.INDICATOR_END_PADDING).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(ScrollBar.Property.INDICATOR_END_PADDING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
+}
index 228355aeb7009673112cb59d90c863f3c039a17b..7853ed18d344f36d6bb6110072c714fe194f57c1 100755 (executable)
  *
  */
 
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Size : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Size(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Size obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Size()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Vector3(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public static Size operator +(Size arg1, Size arg2)\r
-        {\r
-            return arg1.Add(arg2);\r
-        }\r
-\r
-        public static Size operator -(Size arg1, Size arg2)\r
-        {\r
-            return arg1.Subtract(arg2);\r
-        }\r
-\r
-        public static Size operator -(Size arg1)\r
-        {\r
-            return arg1.Subtract();\r
-        }\r
-\r
-        public static Size operator *(Size arg1, Size arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Size operator *(Size arg1, float arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Size operator /(Size arg1, Size arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public static Size operator /(Size arg1, float arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public float this[uint index]\r
-        {\r
-            get\r
-            {\r
-                return ValueOfIndex(index);\r
-            }\r
-        }\r
-\r
-        public static Size GetSizeFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Size ret = new Size(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        public Size() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Size(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Size(Size2D size2d) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Size2D.getCPtr(size2d)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-\r
-        public static Size Zero\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZERO_get();\r
-                Size ret = (cPtr == global::System.IntPtr.Zero) ? null : new Size(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Size Add(Size rhs)\r
-        {\r
-            Size ret = new Size(NDalicPINVOKE.Vector3_Add(swigCPtr, Size.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Size Subtract(Size rhs)\r
-        {\r
-            Size ret = new Size(NDalicPINVOKE.Vector3_Subtract__SWIG_0(swigCPtr, Size.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Size Multiply(Size rhs)\r
-        {\r
-            Size ret = new Size(NDalicPINVOKE.Vector3_Multiply__SWIG_0(swigCPtr, Size.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Size Multiply(float rhs)\r
-        {\r
-            Size ret = new Size(NDalicPINVOKE.Vector3_Multiply__SWIG_1(swigCPtr, rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Size Divide(Size rhs)\r
-        {\r
-            Size ret = new Size(NDalicPINVOKE.Vector3_Divide__SWIG_0(swigCPtr, Size.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Size Divide(float rhs)\r
-        {\r
-            Size ret = new Size(NDalicPINVOKE.Vector3_Divide__SWIG_1(swigCPtr, rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Size Subtract()\r
-        {\r
-            Size ret = new Size(NDalicPINVOKE.Vector3_Subtract__SWIG_1(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private float ValueOfIndex(uint index)\r
-        {\r
-            float ret = NDalicPINVOKE.Vector3_ValueOfIndex__SWIG_0(swigCPtr, index);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool EqualTo(Size rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Size.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool NotEqualTo(Size rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Size.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        public float Width\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_Width_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_Width_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Height\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_Height_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_Height_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Depth\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_Depth_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_Depth_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-\r
-        public static implicit operator Vector3(Size size)\r
-        {\r
-            return new Vector3(size.Width, size.Height, size.Depth);\r
-        }\r
-\r
-        public static implicit operator Size(Vector3 vec)\r
-        {\r
-            return new Size(vec.Width, vec.Height, vec.Depth);\r
-        }\r
-\r
+namespace Tizen.NUI
+{
+
+    public class Size : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Size(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Size obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Size()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Vector3(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public static Size operator +(Size arg1, Size arg2)
+        {
+            return arg1.Add(arg2);
+        }
+
+        public static Size operator -(Size arg1, Size arg2)
+        {
+            return arg1.Subtract(arg2);
+        }
+
+        public static Size operator -(Size arg1)
+        {
+            return arg1.Subtract();
+        }
+
+        public static Size operator *(Size arg1, Size arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Size operator *(Size arg1, float arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Size operator /(Size arg1, Size arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public static Size operator /(Size arg1, float arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public float this[uint index]
+        {
+            get
+            {
+                return ValueOfIndex(index);
+            }
+        }
+
+        public static Size GetSizeFromPtr(global::System.IntPtr cPtr)
+        {
+            Size ret = new Size(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        public Size() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Size(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Size(Size2D size2d) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Size2D.getCPtr(size2d)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+
+        public static Size Zero
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZERO_get();
+                Size ret = (cPtr == global::System.IntPtr.Zero) ? null : new Size(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Size Add(Size rhs)
+        {
+            Size ret = new Size(NDalicPINVOKE.Vector3_Add(swigCPtr, Size.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Size Subtract(Size rhs)
+        {
+            Size ret = new Size(NDalicPINVOKE.Vector3_Subtract__SWIG_0(swigCPtr, Size.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Size Multiply(Size rhs)
+        {
+            Size ret = new Size(NDalicPINVOKE.Vector3_Multiply__SWIG_0(swigCPtr, Size.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Size Multiply(float rhs)
+        {
+            Size ret = new Size(NDalicPINVOKE.Vector3_Multiply__SWIG_1(swigCPtr, rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Size Divide(Size rhs)
+        {
+            Size ret = new Size(NDalicPINVOKE.Vector3_Divide__SWIG_0(swigCPtr, Size.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Size Divide(float rhs)
+        {
+            Size ret = new Size(NDalicPINVOKE.Vector3_Divide__SWIG_1(swigCPtr, rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Size Subtract()
+        {
+            Size ret = new Size(NDalicPINVOKE.Vector3_Subtract__SWIG_1(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private float ValueOfIndex(uint index)
+        {
+            float ret = NDalicPINVOKE.Vector3_ValueOfIndex__SWIG_0(swigCPtr, index);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool EqualTo(Size rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Size.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool NotEqualTo(Size rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Size.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        public float Width
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_Width_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_Width_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Height
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_Height_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_Height_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Depth
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_Depth_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_Depth_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+
+        public static implicit operator Vector3(Size size)
+        {
+            return new Vector3(size.Width, size.Height, size.Depth);
+        }
+
+        public static implicit operator Size(Vector3 vec)
+        {
+            return new Size(vec.Width, vec.Height, vec.Depth);
+        }
+
     }
 
 }
index beac2382d2dbb7bd61710bc235f4b43d008336a6..a042de16f823c844dd188ac5761a9b445e249004 100755 (executable)
  *
  */
 
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Size2D : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Size2D(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Size2D obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Size2D()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Vector2(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public static Size2D operator +(Size2D arg1, Size2D arg2)\r
-        {\r
-            return arg1.Add(arg2);\r
-        }\r
-\r
-        public static Size2D operator -(Size2D arg1, Size2D arg2)\r
-        {\r
-            return arg1.Subtract(arg2);\r
-        }\r
-\r
-        public static Size2D operator -(Size2D arg1)\r
-        {\r
-            return arg1.Subtract();\r
-        }\r
-\r
-        public static Size2D operator *(Size2D arg1, Size2D arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Size2D operator *(Size2D arg1, int arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Size2D operator /(Size2D arg1, Size2D arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public static Size2D operator /(Size2D arg1, int arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public float this[uint index]\r
-        {\r
-            get\r
-            {\r
-                return ValueOfIndex(index);\r
-            }\r
-        }\r
-\r
-        public static Size2D GetSize2DFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Size2D ret = new Size2D(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        public Size2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Size2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Size2D(Size size) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Size.getCPtr(size)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        private Size2D Add(Size2D rhs)\r
-        {\r
-            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Add(swigCPtr, Size2D.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Size2D Subtract(Size2D rhs)\r
-        {\r
-            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Subtract__SWIG_0(swigCPtr, Size2D.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        private Size2D Multiply(Size2D rhs)\r
-        {\r
-            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Multiply__SWIG_0(swigCPtr, Size2D.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Size2D Multiply(int rhs)\r
-        {\r
-            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Multiply__SWIG_1(swigCPtr, (float)rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        private Size2D Divide(Size2D rhs)\r
-        {\r
-            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Divide__SWIG_0(swigCPtr, Size2D.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Size2D Divide(int rhs)\r
-        {\r
-            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Divide__SWIG_1(swigCPtr, (float)rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Size2D Subtract()\r
-        {\r
-            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Subtract__SWIG_1(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool EqualTo(Size2D rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Size2D.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool NotEqualTo(Size2D rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Size2D.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private int ValueOfIndex(uint index)\r
-        {\r
-            int ret = (int)NDalicPINVOKE.Vector2_ValueOfIndex__SWIG_0(swigCPtr, index);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        public int Width\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector2_Width_set(swigCPtr, (float)value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector2_Width_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return (int)ret;\r
-            }\r
-        }\r
-\r
-        public int Height\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector2_Height_set(swigCPtr, (float)value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector2_Height_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return (int)ret;\r
-            }\r
-        }\r
-\r
-        public static implicit operator Vector2(Size2D size)\r
-        {\r
-            return new Vector2((float)size.Width, (float)size.Height);\r
-        }\r
-\r
-        public static implicit operator Size2D(Vector2 vec)\r
-        {\r
-            return new Size2D((int)vec.X, (int)vec.Y);\r
-        }\r
-\r
+namespace Tizen.NUI
+{
+
+    public class Size2D : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Size2D(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Size2D obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Size2D()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Vector2(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public static Size2D operator +(Size2D arg1, Size2D arg2)
+        {
+            return arg1.Add(arg2);
+        }
+
+        public static Size2D operator -(Size2D arg1, Size2D arg2)
+        {
+            return arg1.Subtract(arg2);
+        }
+
+        public static Size2D operator -(Size2D arg1)
+        {
+            return arg1.Subtract();
+        }
+
+        public static Size2D operator *(Size2D arg1, Size2D arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Size2D operator *(Size2D arg1, int arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Size2D operator /(Size2D arg1, Size2D arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public static Size2D operator /(Size2D arg1, int arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public float this[uint index]
+        {
+            get
+            {
+                return ValueOfIndex(index);
+            }
+        }
+
+        public static Size2D GetSize2DFromPtr(global::System.IntPtr cPtr)
+        {
+            Size2D ret = new Size2D(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        public Size2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Size2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Size2D(Size size) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Size.getCPtr(size)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        private Size2D Add(Size2D rhs)
+        {
+            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Add(swigCPtr, Size2D.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Size2D Subtract(Size2D rhs)
+        {
+            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Subtract__SWIG_0(swigCPtr, Size2D.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        private Size2D Multiply(Size2D rhs)
+        {
+            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Multiply__SWIG_0(swigCPtr, Size2D.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Size2D Multiply(int rhs)
+        {
+            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Multiply__SWIG_1(swigCPtr, (float)rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        private Size2D Divide(Size2D rhs)
+        {
+            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Divide__SWIG_0(swigCPtr, Size2D.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Size2D Divide(int rhs)
+        {
+            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Divide__SWIG_1(swigCPtr, (float)rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Size2D Subtract()
+        {
+            Size2D ret = new Size2D(NDalicPINVOKE.Vector2_Subtract__SWIG_1(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool EqualTo(Size2D rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Size2D.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool NotEqualTo(Size2D rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Size2D.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private int ValueOfIndex(uint index)
+        {
+            int ret = (int)NDalicPINVOKE.Vector2_ValueOfIndex__SWIG_0(swigCPtr, index);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        public int Width
+        {
+            set
+            {
+                NDalicPINVOKE.Vector2_Width_set(swigCPtr, (float)value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector2_Width_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return (int)ret;
+            }
+        }
+
+        public int Height
+        {
+            set
+            {
+                NDalicPINVOKE.Vector2_Height_set(swigCPtr, (float)value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector2_Height_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return (int)ret;
+            }
+        }
+
+        public static implicit operator Vector2(Size2D size)
+        {
+            return new Vector2((float)size.Width, (float)size.Height);
+        }
+
+        public static implicit operator Size2D(Vector2 vec)
+        {
+            return new Size2D((int)vec.X, (int)vec.Y);
+        }
+
     }
 
 }
index b9e39952680bc4add31eaa52c44d58e10840f74d..700c53ea5b05b747ac0aa76d346d973d305e6d72 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class Slider : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Slider(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Slider_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Slider obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Slider()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Slider(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-        public class ValueChangedEventArgs : EventArgs\r
-        {\r
-            private Slider _slider;\r
-            private float _slideValue;\r
-\r
-            public Slider Slider\r
-            {\r
-                get\r
-                {\r
-                    return _slider;\r
-                }\r
-                set\r
-                {\r
-                    _slider = value;\r
-                }\r
-            }\r
-\r
-            public float SlideValue\r
-            {\r
-                get\r
-                {\r
-                    return _slideValue;\r
-                }\r
-                set\r
-                {\r
-                    _slideValue = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        public class SlidingFinishedEventArgs : EventArgs\r
-        {\r
-            private Slider _slider;\r
-            private float _slideValue;\r
-\r
-            public Slider Slider\r
-            {\r
-                get\r
-                {\r
-                    return _slider;\r
-                }\r
-                set\r
-                {\r
-                    _slider = value;\r
-                }\r
-            }\r
-\r
-            public float SlideValue\r
-            {\r
-                get\r
-                {\r
-                    return _slideValue;\r
-                }\r
-                set\r
-                {\r
-                    _slideValue = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        public class MarkReachedEventArgs : EventArgs\r
-        {\r
-            private Slider _slider;\r
-            private int _slideValue;\r
-\r
-            public Slider Slider\r
-            {\r
-                get\r
-                {\r
-                    return _slider;\r
-                }\r
-                set\r
-                {\r
-                    _slider = value;\r
-                }\r
-            }\r
-\r
-            public int SlideValue\r
-            {\r
-                get\r
-                {\r
-                    return _slideValue;\r
-                }\r
-                set\r
-                {\r
-                    _slideValue = value;\r
-                }\r
-            }\r
-        }\r
-\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool ValueChangedCallbackDelegate(IntPtr slider, float slideValue);\r
-        private EventHandlerWithReturnType<object, ValueChangedEventArgs, bool> _sliderValueChangedEventHandler;\r
-        private ValueChangedCallbackDelegate _sliderValueChangedCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool SlidingFinishedCallbackDelegate(IntPtr slider, float slideValue);\r
-        private EventHandlerWithReturnType<object, SlidingFinishedEventArgs, bool> _sliderSlidingFinishedEventHandler;\r
-        private SlidingFinishedCallbackDelegate _sliderSlidingFinishedCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool MarkReachedCallbackDelegate(IntPtr slider, int slideValue);\r
-        private EventHandlerWithReturnType<object, MarkReachedEventArgs, bool> _sliderMarkReachedEventHandler;\r
-        private MarkReachedCallbackDelegate _sliderMarkReachedCallbackDelegate;\r
-\r
-        public event EventHandlerWithReturnType<object, ValueChangedEventArgs, bool> ValueChanged\r
-        {\r
-            add\r
-            {\r
-                if (_sliderValueChangedEventHandler == null)\r
-                {\r
-                    _sliderValueChangedCallbackDelegate = (OnValueChanged);\r
-                    ValueChangedSignal().Connect(_sliderValueChangedCallbackDelegate);\r
-                }\r
-                _sliderValueChangedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _sliderValueChangedEventHandler -= value;\r
-                if (_sliderValueChangedEventHandler == null && _sliderValueChangedCallbackDelegate != null)\r
-                {\r
-                    ValueChangedSignal().Disconnect(_sliderValueChangedCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Slider ValueChanged signal\r
-        private bool OnValueChanged(IntPtr slider, float slideValue)\r
-        {\r
-            ValueChangedEventArgs e = new ValueChangedEventArgs();\r
-\r
-            // Populate all members of "e" (ValueChangedEventArgs) with real page\r
-            e.Slider = Slider.GetSliderFromPtr(slider);\r
-            e.SlideValue = slideValue;\r
-\r
-            if (_sliderValueChangedEventHandler != null)\r
-            {\r
-                //here we send all page to user event handlers\r
-                return _sliderValueChangedEventHandler(this, e);\r
-            }\r
-            return false;\r
-        }\r
-\r
-        public event EventHandlerWithReturnType<object, SlidingFinishedEventArgs, bool> SlidingFinished\r
-        {\r
-            add\r
-            {\r
-                if (_sliderSlidingFinishedEventHandler == null)\r
-                {\r
-                    _sliderSlidingFinishedCallbackDelegate = (OnSlidingFinished);\r
-                    SlidingFinishedSignal().Connect(_sliderSlidingFinishedCallbackDelegate);\r
-                }\r
-                _sliderSlidingFinishedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _sliderSlidingFinishedEventHandler -= value;\r
-                if (_sliderSlidingFinishedEventHandler == null && _sliderSlidingFinishedCallbackDelegate != null)\r
-                {\r
-                    SlidingFinishedSignal().Disconnect(_sliderSlidingFinishedCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Slider SlidingFinished signal\r
-        private bool OnSlidingFinished(IntPtr slider, float slideValue)\r
-        {\r
-            SlidingFinishedEventArgs e = new SlidingFinishedEventArgs();\r
-\r
-            // Populate all members of "e" (SlidingFinishedEventArgs) with real page\r
-            e.Slider = Slider.GetSliderFromPtr(slider);\r
-            e.SlideValue = slideValue;\r
-\r
-            if (_sliderSlidingFinishedEventHandler != null)\r
-            {\r
-                //here we send all page to user event handlers\r
-                return _sliderSlidingFinishedEventHandler(this, e);\r
-            }\r
-            return false;\r
-        }\r
-\r
-        public event EventHandlerWithReturnType<object, MarkReachedEventArgs, bool> MarkReached\r
-        {\r
-            add\r
-            {\r
-                if (_sliderMarkReachedEventHandler == null)\r
-                {\r
-                    _sliderMarkReachedCallbackDelegate = (OnMarkReached);\r
-                    MarkReachedSignal().Connect(_sliderMarkReachedCallbackDelegate);\r
-                }\r
-                _sliderMarkReachedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _sliderMarkReachedEventHandler -= value;\r
-                if (_sliderMarkReachedEventHandler == null && _sliderMarkReachedCallbackDelegate != null)\r
-                {\r
-                    MarkReachedSignal().Disconnect(_sliderMarkReachedCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Slider MarkReached signal\r
-        private bool OnMarkReached(IntPtr slider, int slideValue)\r
-        {\r
-            MarkReachedEventArgs e = new MarkReachedEventArgs();\r
-\r
-            // Populate all members of "e" (MarkReachedEventArgs) with real page\r
-            e.Slider = Slider.GetSliderFromPtr(slider);\r
-            e.SlideValue = slideValue;\r
-\r
-            if (_sliderMarkReachedEventHandler != null)\r
-            {\r
-                //here we send all page to user event handlers\r
-                return _sliderMarkReachedEventHandler(this, e);\r
-            }\r
-            return false;\r
-        }\r
-\r
-        public static Slider GetSliderFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Slider ret = new Slider(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_Slider_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_Slider_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int LOWER_BOUND = NDalicPINVOKE.Slider_Property_LOWER_BOUND_get();\r
-            internal static readonly int UPPER_BOUND = NDalicPINVOKE.Slider_Property_UPPER_BOUND_get();\r
-            internal static readonly int VALUE = NDalicPINVOKE.Slider_Property_VALUE_get();\r
-            internal static readonly int TRACK_VISUAL = NDalicPINVOKE.Slider_Property_TRACK_VISUAL_get();\r
-            internal static readonly int HANDLE_VISUAL = NDalicPINVOKE.Slider_Property_HANDLE_VISUAL_get();\r
-            internal static readonly int PROGRESS_VISUAL = NDalicPINVOKE.Slider_Property_PROGRESS_VISUAL_get();\r
-            internal static readonly int POPUP_VISUAL = NDalicPINVOKE.Slider_Property_POPUP_VISUAL_get();\r
-            internal static readonly int POPUP_ARROW_VISUAL = NDalicPINVOKE.Slider_Property_POPUP_ARROW_VISUAL_get();\r
-            internal static readonly int DISABLED_COLOR = NDalicPINVOKE.Slider_Property_DISABLED_COLOR_get();\r
-            internal static readonly int VALUE_PRECISION = NDalicPINVOKE.Slider_Property_VALUE_PRECISION_get();\r
-            internal static readonly int SHOW_POPUP = NDalicPINVOKE.Slider_Property_SHOW_POPUP_get();\r
-            internal static readonly int SHOW_VALUE = NDalicPINVOKE.Slider_Property_SHOW_VALUE_get();\r
-            internal static readonly int MARKS = NDalicPINVOKE.Slider_Property_MARKS_get();\r
-            internal static readonly int SNAP_TO_MARKS = NDalicPINVOKE.Slider_Property_SNAP_TO_MARKS_get();\r
-            internal static readonly int MARK_TOLERANCE = NDalicPINVOKE.Slider_Property_MARK_TOLERANCE_get();\r
-\r
-        }\r
-\r
-        public Slider() : this(NDalicPINVOKE.Slider_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal Slider(Slider handle) : this(NDalicPINVOKE.new_Slider__SWIG_1(Slider.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Slider Assign(Slider handle)\r
-        {\r
-            Slider ret = new Slider(NDalicPINVOKE.Slider_Assign(swigCPtr, Slider.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static Slider DownCast(BaseHandle handle)\r
-        {\r
-            Slider ret = new Slider(NDalicPINVOKE.Slider_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal SliderValueChangedSignal ValueChangedSignal()\r
-        {\r
-            SliderValueChangedSignal ret = new SliderValueChangedSignal(NDalicPINVOKE.Slider_ValueChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal SliderValueChangedSignal SlidingFinishedSignal()\r
-        {\r
-            SliderValueChangedSignal ret = new SliderValueChangedSignal(NDalicPINVOKE.Slider_SlidingFinishedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal SliderMarkReachedSignal MarkReachedSignal()\r
-        {\r
-            SliderMarkReachedSignal ret = new SliderMarkReachedSignal(NDalicPINVOKE.Slider_MarkReachedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000\r
-        }\r
-\r
-        public float LowerBound\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Slider.Property.LOWER_BOUND).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.LOWER_BOUND, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float UpperBound\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Slider.Property.UPPER_BOUND).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.UPPER_BOUND, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float Value\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Slider.Property.VALUE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.VALUE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap TrackVisual\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(Slider.Property.TRACK_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.TRACK_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap HandleVisual\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(Slider.Property.HANDLE_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.HANDLE_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap ProgressVisual\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(Slider.Property.PROGRESS_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.PROGRESS_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap PopupVisual\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(Slider.Property.POPUP_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.POPUP_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap PopupArrowVisual\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(Slider.Property.POPUP_ARROW_VISUAL).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.POPUP_ARROW_VISUAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 DisabledColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(Slider.Property.DISABLED_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.DISABLED_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public int ValuePrecision\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(Slider.Property.VALUE_PRECISION).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.VALUE_PRECISION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool ShowPopup\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Slider.Property.SHOW_POPUP).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.SHOW_POPUP, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool ShowValue\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Slider.Property.SHOW_VALUE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.SHOW_VALUE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Tizen.NUI.PropertyArray Marks\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();\r
-                GetProperty(Slider.Property.MARKS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.MARKS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool SnapToMarks\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(Slider.Property.SNAP_TO_MARKS).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.SNAP_TO_MARKS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float MarkTolerance\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(Slider.Property.MARK_TOLERANCE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(Slider.Property.MARK_TOLERANCE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class Slider : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Slider(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Slider_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Slider obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Slider()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Slider(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+        public class ValueChangedEventArgs : EventArgs
+        {
+            private Slider _slider;
+            private float _slideValue;
+
+            public Slider Slider
+            {
+                get
+                {
+                    return _slider;
+                }
+                set
+                {
+                    _slider = value;
+                }
+            }
+
+            public float SlideValue
+            {
+                get
+                {
+                    return _slideValue;
+                }
+                set
+                {
+                    _slideValue = value;
+                }
+            }
+        }
+
+        public class SlidingFinishedEventArgs : EventArgs
+        {
+            private Slider _slider;
+            private float _slideValue;
+
+            public Slider Slider
+            {
+                get
+                {
+                    return _slider;
+                }
+                set
+                {
+                    _slider = value;
+                }
+            }
+
+            public float SlideValue
+            {
+                get
+                {
+                    return _slideValue;
+                }
+                set
+                {
+                    _slideValue = value;
+                }
+            }
+        }
+
+        public class MarkReachedEventArgs : EventArgs
+        {
+            private Slider _slider;
+            private int _slideValue;
+
+            public Slider Slider
+            {
+                get
+                {
+                    return _slider;
+                }
+                set
+                {
+                    _slider = value;
+                }
+            }
+
+            public int SlideValue
+            {
+                get
+                {
+                    return _slideValue;
+                }
+                set
+                {
+                    _slideValue = value;
+                }
+            }
+        }
+
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool ValueChangedCallbackDelegate(IntPtr slider, float slideValue);
+        private EventHandlerWithReturnType<object, ValueChangedEventArgs, bool> _sliderValueChangedEventHandler;
+        private ValueChangedCallbackDelegate _sliderValueChangedCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool SlidingFinishedCallbackDelegate(IntPtr slider, float slideValue);
+        private EventHandlerWithReturnType<object, SlidingFinishedEventArgs, bool> _sliderSlidingFinishedEventHandler;
+        private SlidingFinishedCallbackDelegate _sliderSlidingFinishedCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool MarkReachedCallbackDelegate(IntPtr slider, int slideValue);
+        private EventHandlerWithReturnType<object, MarkReachedEventArgs, bool> _sliderMarkReachedEventHandler;
+        private MarkReachedCallbackDelegate _sliderMarkReachedCallbackDelegate;
+
+        public event EventHandlerWithReturnType<object, ValueChangedEventArgs, bool> ValueChanged
+        {
+            add
+            {
+                if (_sliderValueChangedEventHandler == null)
+                {
+                    _sliderValueChangedCallbackDelegate = (OnValueChanged);
+                    ValueChangedSignal().Connect(_sliderValueChangedCallbackDelegate);
+                }
+                _sliderValueChangedEventHandler += value;
+            }
+            remove
+            {
+                _sliderValueChangedEventHandler -= value;
+                if (_sliderValueChangedEventHandler == null && _sliderValueChangedCallbackDelegate != null)
+                {
+                    ValueChangedSignal().Disconnect(_sliderValueChangedCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Slider ValueChanged signal
+        private bool OnValueChanged(IntPtr slider, float slideValue)
+        {
+            ValueChangedEventArgs e = new ValueChangedEventArgs();
+
+            // Populate all members of "e" (ValueChangedEventArgs) with real page
+            e.Slider = Slider.GetSliderFromPtr(slider);
+            e.SlideValue = slideValue;
+
+            if (_sliderValueChangedEventHandler != null)
+            {
+                //here we send all page to user event handlers
+                return _sliderValueChangedEventHandler(this, e);
+            }
+            return false;
+        }
+
+        public event EventHandlerWithReturnType<object, SlidingFinishedEventArgs, bool> SlidingFinished
+        {
+            add
+            {
+                if (_sliderSlidingFinishedEventHandler == null)
+                {
+                    _sliderSlidingFinishedCallbackDelegate = (OnSlidingFinished);
+                    SlidingFinishedSignal().Connect(_sliderSlidingFinishedCallbackDelegate);
+                }
+                _sliderSlidingFinishedEventHandler += value;
+            }
+            remove
+            {
+                _sliderSlidingFinishedEventHandler -= value;
+                if (_sliderSlidingFinishedEventHandler == null && _sliderSlidingFinishedCallbackDelegate != null)
+                {
+                    SlidingFinishedSignal().Disconnect(_sliderSlidingFinishedCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Slider SlidingFinished signal
+        private bool OnSlidingFinished(IntPtr slider, float slideValue)
+        {
+            SlidingFinishedEventArgs e = new SlidingFinishedEventArgs();
+
+            // Populate all members of "e" (SlidingFinishedEventArgs) with real page
+            e.Slider = Slider.GetSliderFromPtr(slider);
+            e.SlideValue = slideValue;
+
+            if (_sliderSlidingFinishedEventHandler != null)
+            {
+                //here we send all page to user event handlers
+                return _sliderSlidingFinishedEventHandler(this, e);
+            }
+            return false;
+        }
+
+        public event EventHandlerWithReturnType<object, MarkReachedEventArgs, bool> MarkReached
+        {
+            add
+            {
+                if (_sliderMarkReachedEventHandler == null)
+                {
+                    _sliderMarkReachedCallbackDelegate = (OnMarkReached);
+                    MarkReachedSignal().Connect(_sliderMarkReachedCallbackDelegate);
+                }
+                _sliderMarkReachedEventHandler += value;
+            }
+            remove
+            {
+                _sliderMarkReachedEventHandler -= value;
+                if (_sliderMarkReachedEventHandler == null && _sliderMarkReachedCallbackDelegate != null)
+                {
+                    MarkReachedSignal().Disconnect(_sliderMarkReachedCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Slider MarkReached signal
+        private bool OnMarkReached(IntPtr slider, int slideValue)
+        {
+            MarkReachedEventArgs e = new MarkReachedEventArgs();
+
+            // Populate all members of "e" (MarkReachedEventArgs) with real page
+            e.Slider = Slider.GetSliderFromPtr(slider);
+            e.SlideValue = slideValue;
+
+            if (_sliderMarkReachedEventHandler != null)
+            {
+                //here we send all page to user event handlers
+                return _sliderMarkReachedEventHandler(this, e);
+            }
+            return false;
+        }
+
+        public static Slider GetSliderFromPtr(global::System.IntPtr cPtr)
+        {
+            Slider ret = new Slider(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_Slider_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_Slider_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int LOWER_BOUND = NDalicPINVOKE.Slider_Property_LOWER_BOUND_get();
+            internal static readonly int UPPER_BOUND = NDalicPINVOKE.Slider_Property_UPPER_BOUND_get();
+            internal static readonly int VALUE = NDalicPINVOKE.Slider_Property_VALUE_get();
+            internal static readonly int TRACK_VISUAL = NDalicPINVOKE.Slider_Property_TRACK_VISUAL_get();
+            internal static readonly int HANDLE_VISUAL = NDalicPINVOKE.Slider_Property_HANDLE_VISUAL_get();
+            internal static readonly int PROGRESS_VISUAL = NDalicPINVOKE.Slider_Property_PROGRESS_VISUAL_get();
+            internal static readonly int POPUP_VISUAL = NDalicPINVOKE.Slider_Property_POPUP_VISUAL_get();
+            internal static readonly int POPUP_ARROW_VISUAL = NDalicPINVOKE.Slider_Property_POPUP_ARROW_VISUAL_get();
+            internal static readonly int DISABLED_COLOR = NDalicPINVOKE.Slider_Property_DISABLED_COLOR_get();
+            internal static readonly int VALUE_PRECISION = NDalicPINVOKE.Slider_Property_VALUE_PRECISION_get();
+            internal static readonly int SHOW_POPUP = NDalicPINVOKE.Slider_Property_SHOW_POPUP_get();
+            internal static readonly int SHOW_VALUE = NDalicPINVOKE.Slider_Property_SHOW_VALUE_get();
+            internal static readonly int MARKS = NDalicPINVOKE.Slider_Property_MARKS_get();
+            internal static readonly int SNAP_TO_MARKS = NDalicPINVOKE.Slider_Property_SNAP_TO_MARKS_get();
+            internal static readonly int MARK_TOLERANCE = NDalicPINVOKE.Slider_Property_MARK_TOLERANCE_get();
+
+        }
+
+        public Slider() : this(NDalicPINVOKE.Slider_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal Slider(Slider handle) : this(NDalicPINVOKE.new_Slider__SWIG_1(Slider.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Slider Assign(Slider handle)
+        {
+            Slider ret = new Slider(NDalicPINVOKE.Slider_Assign(swigCPtr, Slider.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static Slider DownCast(BaseHandle handle)
+        {
+            Slider ret = new Slider(NDalicPINVOKE.Slider_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal SliderValueChangedSignal ValueChangedSignal()
+        {
+            SliderValueChangedSignal ret = new SliderValueChangedSignal(NDalicPINVOKE.Slider_ValueChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal SliderValueChangedSignal SlidingFinishedSignal()
+        {
+            SliderValueChangedSignal ret = new SliderValueChangedSignal(NDalicPINVOKE.Slider_SlidingFinishedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal SliderMarkReachedSignal MarkReachedSignal()
+        {
+            SliderMarkReachedSignal ret = new SliderMarkReachedSignal(NDalicPINVOKE.Slider_MarkReachedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
+        }
+
+        public float LowerBound
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Slider.Property.LOWER_BOUND).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.LOWER_BOUND, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float UpperBound
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Slider.Property.UPPER_BOUND).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.UPPER_BOUND, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float Value
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Slider.Property.VALUE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.VALUE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap TrackVisual
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(Slider.Property.TRACK_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.TRACK_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap HandleVisual
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(Slider.Property.HANDLE_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.HANDLE_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap ProgressVisual
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(Slider.Property.PROGRESS_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.PROGRESS_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap PopupVisual
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(Slider.Property.POPUP_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.POPUP_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap PopupArrowVisual
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(Slider.Property.POPUP_ARROW_VISUAL).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.POPUP_ARROW_VISUAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 DisabledColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(Slider.Property.DISABLED_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.DISABLED_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public int ValuePrecision
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(Slider.Property.VALUE_PRECISION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.VALUE_PRECISION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool ShowPopup
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Slider.Property.SHOW_POPUP).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.SHOW_POPUP, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool ShowValue
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Slider.Property.SHOW_VALUE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.SHOW_VALUE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Tizen.NUI.PropertyArray Marks
+        {
+            get
+            {
+                Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
+                GetProperty(Slider.Property.MARKS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.MARKS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool SnapToMarks
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(Slider.Property.SNAP_TO_MARKS).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.SNAP_TO_MARKS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float MarkTolerance
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(Slider.Property.MARK_TOLERANCE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(Slider.Property.MARK_TOLERANCE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
+}
index f3bcbdbbb3da36fa8a988482ee7d69383e1d9498..008efcb2db0b238237c0df42031de56c81b70e79 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class Stage : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Stage(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Stage_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Stage obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Stage()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Stage(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-\r
-        /**\r
-          * @brief Event arguments that passed via Touch signal\r
-          *\r
-          */\r
-        public class TouchEventArgs : EventArgs\r
-        {\r
-            private Touch _touch;\r
-\r
-            /**\r
-              * @brief Touch - contains the information of touch points\r
-              *\r
-              */\r
-            public Touch Touch\r
-            {\r
-                get\r
-                {\r
-                    return _touch;\r
-                }\r
-                set\r
-                {\r
-                    _touch = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        private event EventHandler<TouchEventArgs> _stageTouchHandler;\r
-        private EventCallbackDelegateType1 _stageTouchCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for TouchEvent signal which can be used to subscribe/unsubscribe the event handler\r
-          * TouchEvent signal is emitted when the screen is touched and when the touch ends\r
-          * (i.e. the down & up touch events only).\r
-          *\r
-          */\r
-        public event EventHandler<TouchEventArgs> Touch\r
-        {\r
-            add\r
-            {\r
-                if (_stageTouchHandler == null)\r
-                {\r
-                    _stageTouchCallbackDelegate = OnStageTouch;\r
-                    TouchSignal().Connect(_stageTouchCallbackDelegate);\r
-                }\r
-                _stageTouchHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _stageTouchHandler -= value;\r
-                if (_stageTouchHandler == null && _stageTouchCallbackDelegate != null)\r
-                {\r
-                    TouchSignal().Disconnect(_stageTouchCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        private void OnStageTouch(IntPtr data)\r
-        {\r
-            TouchEventArgs e = new TouchEventArgs();\r
-\r
-            if (data != null)\r
-            {\r
-                e.Touch = Tizen.NUI.Touch.GetTouchFromPtr(data);\r
-            }\r
-\r
-            if (_stageTouchHandler != null)\r
-            {\r
-                _stageTouchHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Wheel arguments that passed via Wheel signal\r
-          *\r
-          */\r
-        public class WheelEventArgs : EventArgs\r
-        {\r
-            private Wheel _wheel;\r
-\r
-            /**\r
-              * @brief Wheel - store a wheel rolling type MOUSE_WHEEL or CUSTOM_WHEEL\r
-              *\r
-              */\r
-            public Wheel Wheel\r
-            {\r
-                get\r
-                {\r
-                    return _wheel;\r
-                }\r
-                set\r
-                {\r
-                    _wheel = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        private event EventHandler<WheelEventArgs> _stageWheelHandler;\r
-        private EventCallbackDelegateType1 _stageWheelCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for Wheel signal which can be used to subscribe/unsubscribe the event handler\r
-          * Wheel signal is emitted is emitted when wheel event is received.\r
-          *\r
-          */\r
-        public event EventHandler<WheelEventArgs> Wheel\r
-        {\r
-            add\r
-            {\r
-                if (_stageWheelHandler == null)\r
-                {\r
-                    _stageWheelCallbackDelegate = OnStageWheel;\r
-                    WheelEventSignal().Connect(_stageWheelCallbackDelegate);\r
-                }\r
-                _stageWheelHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _stageWheelHandler -= value;\r
-                if (_stageWheelHandler == null && _stageWheelCallbackDelegate != null)\r
-                {\r
-                    WheelEventSignal().Disconnect(_stageWheelCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        private void OnStageWheel(IntPtr data)\r
-        {\r
-            WheelEventArgs e = new WheelEventArgs();\r
-\r
-            if (data != null)\r
-            {\r
-                e.Wheel = Tizen.NUI.Wheel.GetWheelFromPtr(data);\r
-            }\r
-\r
-            if (_stageWheelHandler != null)\r
-            {\r
-                _stageWheelHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-          * @brief Event arguments that passed via Key signal\r
-          *\r
-          */\r
-        public class KeyEventArgs : EventArgs\r
-        {\r
-            private Key _key;\r
-\r
-            /**\r
-              * @brief Key - is the keyevent sent to Stage.\r
-              *\r
-              */\r
-            public Key Key\r
-            {\r
-                get\r
-                {\r
-                    return _key;\r
-                }\r
-                set\r
-                {\r
-                    _key = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        private event EventHandler<KeyEventArgs> _stageKeyHandler;\r
-        private EventCallbackDelegateType1 _stageKeyCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for Key signal which can be used to subscribe/unsubscribe the event handler\r
-          * Key signal is emitted is emitted when key event is received.\r
-          *\r
-          */\r
-        public event EventHandler<KeyEventArgs> Key\r
-        {\r
-            add\r
-            {\r
-                if (_stageKeyHandler == null)\r
-                {\r
-                    _stageKeyCallbackDelegate = OnStageKey;\r
-                    KeyEventSignal().Connect(_stageKeyCallbackDelegate);\r
-                }\r
-                _stageKeyHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _stageKeyHandler -= value;\r
-                if (_stageKeyHandler == null && _stageKeyCallbackDelegate != null)\r
-                {\r
-                    KeyEventSignal().Disconnect(_stageKeyCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Stage KeyEventsignal\r
-        private void OnStageKey(IntPtr data)\r
-        {\r
-            KeyEventArgs e = new KeyEventArgs();\r
-\r
-            if (data != null)\r
-            {\r
-                e.Key = Tizen.NUI.Key.GetKeyFromPtr(data);\r
-            }\r
-\r
-            if (_stageKeyHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _stageKeyHandler(this, e);\r
-            }\r
-        }\r
-\r
-\r
-        private event EventHandler _stageEventProcessingFinishedEventHandler;\r
-        private EventCallbackDelegateType0 _stageEventProcessingFinishedEventCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for EventProcessingFinished signal which can be used to subscribe/unsubscribe the event handler\r
-          * provided by the user. EventProcessingFinished signal is emitted just after the event processing is finished.\r
-          *\r
-          */\r
-        internal event EventHandler EventProcessingFinished\r
-        {\r
-            add\r
-            {\r
-                if (_stageEventProcessingFinishedEventHandler == null)\r
-                {\r
-                    _stageEventProcessingFinishedEventCallbackDelegate = OnEventProcessingFinished;\r
-                    EventProcessingFinishedSignal().Connect(_stageEventProcessingFinishedEventCallbackDelegate);\r
-                }\r
-                _stageEventProcessingFinishedEventHandler += value;\r
-\r
-            }\r
-            remove\r
-            {\r
-                _stageEventProcessingFinishedEventHandler -= value;\r
-                if (_stageEventProcessingFinishedEventHandler == null && _stageEventProcessingFinishedEventCallbackDelegate != null)\r
-                {\r
-                    EventProcessingFinishedSignal().Disconnect(_stageEventProcessingFinishedEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Stage EventProcessingFinishedSignal\r
-        private void OnEventProcessingFinished()\r
-        {\r
-            if (_stageEventProcessingFinishedEventHandler != null)\r
-            {\r
-                _stageEventProcessingFinishedEventHandler(this, null);\r
-            }\r
-        }\r
-\r
-\r
-        private EventHandler _stageContextLostEventHandler;\r
-        private EventCallbackDelegateType0 _stageContextLostEventCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for ContextLost signal which can be used to subscribe/unsubscribe the event handler\r
-          * ContextLost signal is emitted when the GL context is lost (Platform specific behaviour).\r
-          *\r
-          */\r
-        internal event EventHandler ContextLost\r
-        {\r
-            add\r
-            {\r
-                if (_stageContextLostEventHandler == null)\r
-                {\r
-                    _stageContextLostEventCallbackDelegate = OnContextLost;\r
-                    ContextLostSignal().Connect(_stageContextLostEventCallbackDelegate);\r
-                }\r
-                _stageContextLostEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _stageContextLostEventHandler -= value;\r
-                if (_stageContextLostEventHandler == null && _stageContextLostEventCallbackDelegate != null)\r
-                {\r
-                    ContextLostSignal().Disconnect(_stageContextLostEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Stage ContextLostSignal\r
-        private void OnContextLost()\r
-        {\r
-            if (_stageContextLostEventHandler != null)\r
-            {\r
-                _stageContextLostEventHandler(this, null);\r
-            }\r
-        }\r
-\r
-\r
-        private EventHandler _stageContextRegainedEventHandler;\r
-        private EventCallbackDelegateType0 _stageContextRegainedEventCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for ContextRegained signal which can be used to subscribe/unsubscribe the event handler\r
-          * provided by the user. ContextRegained signal is emitted when the GL context is regained (Platform specific\r
-          * behaviour).\r
-          *\r
-          */\r
-        internal event EventHandler ContextRegained\r
-        {\r
-            add\r
-            {\r
-                if (_stageContextRegainedEventHandler == null)\r
-                {\r
-                    _stageContextRegainedEventCallbackDelegate = OnContextRegained;\r
-                    ContextRegainedSignal().Connect(_stageContextRegainedEventCallbackDelegate);\r
-                }\r
-                _stageContextRegainedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _stageContextRegainedEventHandler -= value;\r
-                if (_stageContextRegainedEventHandler == null && _stageContextRegainedEventCallbackDelegate != null)\r
-                {\r
-                    this.ContextRegainedSignal().Disconnect(_stageContextRegainedEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Stage ContextRegainedSignal\r
-        private void OnContextRegained()\r
-        {\r
-            if (_stageContextRegainedEventHandler != null)\r
-            {\r
-                _stageContextRegainedEventHandler(this, null);\r
-            }\r
-        }\r
-\r
-\r
-        private EventHandler _stageSceneCreatedEventHandler;\r
-        private EventCallbackDelegateType0 _stageSceneCreatedEventCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for SceneCreated signal which can be used to subscribe/unsubscribe the event handler\r
-          * SceneCreated signal is emitted after the initial scene is created.\r
-          *\r
-          */\r
-        internal event EventHandler SceneCreated\r
-        {\r
-            add\r
-            {\r
-                if (_stageSceneCreatedEventHandler == null)\r
-                {\r
-                    _stageSceneCreatedEventCallbackDelegate = OnSceneCreated;\r
-                    SceneCreatedSignal().Connect(_stageSceneCreatedEventCallbackDelegate);\r
-                }\r
-                _stageSceneCreatedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _stageSceneCreatedEventHandler -= value;\r
-                if (_stageSceneCreatedEventHandler == null && _stageSceneCreatedEventCallbackDelegate != null)\r
-                {\r
-                    SceneCreatedSignal().Disconnect(_stageSceneCreatedEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Stage SceneCreatedSignal\r
-        private void OnSceneCreated()\r
-        {\r
-            if (_stageSceneCreatedEventHandler != null)\r
-            {\r
-                _stageSceneCreatedEventHandler(this, null);\r
-            }\r
-        }\r
-\r
-\r
-        public Size2D Size\r
-        {\r
-            get\r
-            {\r
-                Size2D ret = GetSize();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public Color BackgroundColor\r
-        {\r
-            set\r
-            {\r
-                SetBackgroundColor(value);\r
-            }\r
-            get\r
-            {\r
-                Color ret = GetBackgroundColor();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public Vector2 Dpi\r
-        {\r
-            get\r
-            {\r
-                return GetDpi();\r
-            }\r
-        }\r
-\r
-        public uint LayerCount\r
-        {\r
-            get\r
-            {\r
-                return GetLayerCount();\r
-            }\r
-        }\r
-\r
-        private static readonly Stage instance = Stage.GetCurrent();\r
-\r
-        public static Stage Instance\r
-        {\r
-            get\r
-            {\r
-                return instance;\r
-            }\r
-        }\r
-\r
-        public Layer GetDefaultLayer()\r
-        {\r
-            return this.GetRootLayer();\r
-        }\r
-\r
-        public void AddLayer(Layer layer)\r
-        {\r
-            this.Add((Actor)layer);\r
-        }\r
-\r
-        public void RemoveLayer(Layer layer)\r
-        {\r
-            this.Remove((Actor)layer);\r
-        }\r
-\r
-\r
-\r
-        internal static Vector4 DEFAULT_BACKGROUND_COLOR\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Stage_DEFAULT_BACKGROUND_COLOR_get();\r
-                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        internal static Vector4 DEBUG_BACKGROUND_COLOR\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Stage_DEBUG_BACKGROUND_COLOR_get();\r
-                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        internal Stage() : this(NDalicPINVOKE.new_Stage__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal static Stage GetCurrent()\r
-        {\r
-            Stage ret = new Stage(NDalicPINVOKE.Stage_GetCurrent(), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal static bool IsInstalled()\r
-        {\r
-            bool ret = NDalicPINVOKE.Stage_IsInstalled();\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Stage(Stage handle) : this(NDalicPINVOKE.new_Stage__SWIG_1(Stage.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Stage Assign(Stage rhs)\r
-        {\r
-            Stage ret = new Stage(NDalicPINVOKE.Stage_Assign(swigCPtr, Stage.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void Add(Actor actor)\r
-        {\r
-            NDalicPINVOKE.Stage_Add(swigCPtr, Actor.getCPtr(actor));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void Remove(Actor actor)\r
-        {\r
-            NDalicPINVOKE.Stage_Remove(swigCPtr, Actor.getCPtr(actor));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Size2D GetSize()\r
-        {\r
-            Size2D ret = new Size2D(NDalicPINVOKE.Stage_GetSize(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal RenderTaskList GetRenderTaskList()\r
-        {\r
-            RenderTaskList ret = new RenderTaskList(NDalicPINVOKE.Stage_GetRenderTaskList(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal uint GetLayerCount()\r
-        {\r
-            uint ret = NDalicPINVOKE.Stage_GetLayerCount(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Layer GetLayer(uint depth)\r
-        {\r
-            Layer ret = new Layer(NDalicPINVOKE.Stage_GetLayer(swigCPtr, depth), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Layer GetRootLayer()\r
-        {\r
-            Layer ret = new Layer(NDalicPINVOKE.Stage_GetRootLayer(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetBackgroundColor(Color color)\r
-        {\r
-            NDalicPINVOKE.Stage_SetBackgroundColor(swigCPtr, Color.getCPtr(color));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Color GetBackgroundColor()\r
-        {\r
-            Color ret = new Color(NDalicPINVOKE.Stage_GetBackgroundColor(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 GetDpi()\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Stage_GetDpi(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal ObjectRegistry GetObjectRegistry()\r
-        {\r
-            ObjectRegistry ret = new ObjectRegistry(NDalicPINVOKE.Stage_GetObjectRegistry(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void KeepRendering(float durationSeconds)\r
-        {\r
-            NDalicPINVOKE.Stage_KeepRendering(swigCPtr, durationSeconds);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal KeyEventSignal KeyEventSignal()\r
-        {\r
-            KeyEventSignal ret = new KeyEventSignal(NDalicPINVOKE.Stage_KeyEventSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VoidSignal EventProcessingFinishedSignal()\r
-        {\r
-            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_EventProcessingFinishedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal TouchSignal TouchSignal()\r
-        {\r
-            TouchSignal ret = new TouchSignal(NDalicPINVOKE.Stage_TouchSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal StageWheelSignal WheelEventSignal()\r
-        {\r
-            StageWheelSignal ret = new StageWheelSignal(NDalicPINVOKE.Stage_WheelEventSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VoidSignal ContextLostSignal()\r
-        {\r
-            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_ContextLostSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VoidSignal ContextRegainedSignal()\r
-        {\r
-            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_ContextRegainedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VoidSignal SceneCreatedSignal()\r
-        {\r
-            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_SceneCreatedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class Stage : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Stage(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Stage_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Stage obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Stage()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Stage(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+
+        /**
+          * @brief Event arguments that passed via Touch signal
+          *
+          */
+        public class TouchEventArgs : EventArgs
+        {
+            private Touch _touch;
+
+            /**
+              * @brief Touch - contains the information of touch points
+              *
+              */
+            public Touch Touch
+            {
+                get
+                {
+                    return _touch;
+                }
+                set
+                {
+                    _touch = value;
+                }
+            }
+        }
+
+        private event EventHandler<TouchEventArgs> _stageTouchHandler;
+        private EventCallbackDelegateType1 _stageTouchCallbackDelegate;
+
+        /**
+          * @brief Event for TouchEvent signal which can be used to subscribe/unsubscribe the event handler
+          * TouchEvent signal is emitted when the screen is touched and when the touch ends
+          * (i.e. the down & up touch events only).
+          *
+          */
+        public event EventHandler<TouchEventArgs> Touch
+        {
+            add
+            {
+                if (_stageTouchHandler == null)
+                {
+                    _stageTouchCallbackDelegate = OnStageTouch;
+                    TouchSignal().Connect(_stageTouchCallbackDelegate);
+                }
+                _stageTouchHandler += value;
+            }
+            remove
+            {
+                _stageTouchHandler -= value;
+                if (_stageTouchHandler == null && _stageTouchCallbackDelegate != null)
+                {
+                    TouchSignal().Disconnect(_stageTouchCallbackDelegate);
+                }
+            }
+        }
+
+        private void OnStageTouch(IntPtr data)
+        {
+            TouchEventArgs e = new TouchEventArgs();
+
+            if (data != null)
+            {
+                e.Touch = Tizen.NUI.Touch.GetTouchFromPtr(data);
+            }
+
+            if (_stageTouchHandler != null)
+            {
+                _stageTouchHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Wheel arguments that passed via Wheel signal
+          *
+          */
+        public class WheelEventArgs : EventArgs
+        {
+            private Wheel _wheel;
+
+            /**
+              * @brief Wheel - store a wheel rolling type MOUSE_WHEEL or CUSTOM_WHEEL
+              *
+              */
+            public Wheel Wheel
+            {
+                get
+                {
+                    return _wheel;
+                }
+                set
+                {
+                    _wheel = value;
+                }
+            }
+        }
+
+        private event EventHandler<WheelEventArgs> _stageWheelHandler;
+        private EventCallbackDelegateType1 _stageWheelCallbackDelegate;
+
+        /**
+          * @brief Event for Wheel signal which can be used to subscribe/unsubscribe the event handler
+          * Wheel signal is emitted is emitted when wheel event is received.
+          *
+          */
+        public event EventHandler<WheelEventArgs> Wheel
+        {
+            add
+            {
+                if (_stageWheelHandler == null)
+                {
+                    _stageWheelCallbackDelegate = OnStageWheel;
+                    WheelEventSignal().Connect(_stageWheelCallbackDelegate);
+                }
+                _stageWheelHandler += value;
+            }
+            remove
+            {
+                _stageWheelHandler -= value;
+                if (_stageWheelHandler == null && _stageWheelCallbackDelegate != null)
+                {
+                    WheelEventSignal().Disconnect(_stageWheelCallbackDelegate);
+                }
+            }
+        }
+
+        private void OnStageWheel(IntPtr data)
+        {
+            WheelEventArgs e = new WheelEventArgs();
+
+            if (data != null)
+            {
+                e.Wheel = Tizen.NUI.Wheel.GetWheelFromPtr(data);
+            }
+
+            if (_stageWheelHandler != null)
+            {
+                _stageWheelHandler(this, e);
+            }
+        }
+
+        /**
+          * @brief Event arguments that passed via Key signal
+          *
+          */
+        public class KeyEventArgs : EventArgs
+        {
+            private Key _key;
+
+            /**
+              * @brief Key - is the keyevent sent to Stage.
+              *
+              */
+            public Key Key
+            {
+                get
+                {
+                    return _key;
+                }
+                set
+                {
+                    _key = value;
+                }
+            }
+        }
+
+        private event EventHandler<KeyEventArgs> _stageKeyHandler;
+        private EventCallbackDelegateType1 _stageKeyCallbackDelegate;
+
+        /**
+          * @brief Event for Key signal which can be used to subscribe/unsubscribe the event handler
+          * Key signal is emitted is emitted when key event is received.
+          *
+          */
+        public event EventHandler<KeyEventArgs> Key
+        {
+            add
+            {
+                if (_stageKeyHandler == null)
+                {
+                    _stageKeyCallbackDelegate = OnStageKey;
+                    KeyEventSignal().Connect(_stageKeyCallbackDelegate);
+                }
+                _stageKeyHandler += value;
+            }
+            remove
+            {
+                _stageKeyHandler -= value;
+                if (_stageKeyHandler == null && _stageKeyCallbackDelegate != null)
+                {
+                    KeyEventSignal().Disconnect(_stageKeyCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Stage KeyEventsignal
+        private void OnStageKey(IntPtr data)
+        {
+            KeyEventArgs e = new KeyEventArgs();
+
+            if (data != null)
+            {
+                e.Key = Tizen.NUI.Key.GetKeyFromPtr(data);
+            }
+
+            if (_stageKeyHandler != null)
+            {
+                //here we send all data to user event handlers
+                _stageKeyHandler(this, e);
+            }
+        }
+
+
+        private event EventHandler _stageEventProcessingFinishedEventHandler;
+        private EventCallbackDelegateType0 _stageEventProcessingFinishedEventCallbackDelegate;
+
+        /**
+          * @brief Event for EventProcessingFinished signal which can be used to subscribe/unsubscribe the event handler
+          * provided by the user. EventProcessingFinished signal is emitted just after the event processing is finished.
+          *
+          */
+        internal event EventHandler EventProcessingFinished
+        {
+            add
+            {
+                if (_stageEventProcessingFinishedEventHandler == null)
+                {
+                    _stageEventProcessingFinishedEventCallbackDelegate = OnEventProcessingFinished;
+                    EventProcessingFinishedSignal().Connect(_stageEventProcessingFinishedEventCallbackDelegate);
+                }
+                _stageEventProcessingFinishedEventHandler += value;
+
+            }
+            remove
+            {
+                _stageEventProcessingFinishedEventHandler -= value;
+                if (_stageEventProcessingFinishedEventHandler == null && _stageEventProcessingFinishedEventCallbackDelegate != null)
+                {
+                    EventProcessingFinishedSignal().Disconnect(_stageEventProcessingFinishedEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Stage EventProcessingFinishedSignal
+        private void OnEventProcessingFinished()
+        {
+            if (_stageEventProcessingFinishedEventHandler != null)
+            {
+                _stageEventProcessingFinishedEventHandler(this, null);
+            }
+        }
+
+
+        private EventHandler _stageContextLostEventHandler;
+        private EventCallbackDelegateType0 _stageContextLostEventCallbackDelegate;
+
+        /**
+          * @brief Event for ContextLost signal which can be used to subscribe/unsubscribe the event handler
+          * ContextLost signal is emitted when the GL context is lost (Platform specific behaviour).
+          *
+          */
+        internal event EventHandler ContextLost
+        {
+            add
+            {
+                if (_stageContextLostEventHandler == null)
+                {
+                    _stageContextLostEventCallbackDelegate = OnContextLost;
+                    ContextLostSignal().Connect(_stageContextLostEventCallbackDelegate);
+                }
+                _stageContextLostEventHandler += value;
+            }
+            remove
+            {
+                _stageContextLostEventHandler -= value;
+                if (_stageContextLostEventHandler == null && _stageContextLostEventCallbackDelegate != null)
+                {
+                    ContextLostSignal().Disconnect(_stageContextLostEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Stage ContextLostSignal
+        private void OnContextLost()
+        {
+            if (_stageContextLostEventHandler != null)
+            {
+                _stageContextLostEventHandler(this, null);
+            }
+        }
+
+
+        private EventHandler _stageContextRegainedEventHandler;
+        private EventCallbackDelegateType0 _stageContextRegainedEventCallbackDelegate;
+
+        /**
+          * @brief Event for ContextRegained signal which can be used to subscribe/unsubscribe the event handler
+          * provided by the user. ContextRegained signal is emitted when the GL context is regained (Platform specific
+          * behaviour).
+          *
+          */
+        internal event EventHandler ContextRegained
+        {
+            add
+            {
+                if (_stageContextRegainedEventHandler == null)
+                {
+                    _stageContextRegainedEventCallbackDelegate = OnContextRegained;
+                    ContextRegainedSignal().Connect(_stageContextRegainedEventCallbackDelegate);
+                }
+                _stageContextRegainedEventHandler += value;
+            }
+            remove
+            {
+                _stageContextRegainedEventHandler -= value;
+                if (_stageContextRegainedEventHandler == null && _stageContextRegainedEventCallbackDelegate != null)
+                {
+                    this.ContextRegainedSignal().Disconnect(_stageContextRegainedEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Stage ContextRegainedSignal
+        private void OnContextRegained()
+        {
+            if (_stageContextRegainedEventHandler != null)
+            {
+                _stageContextRegainedEventHandler(this, null);
+            }
+        }
+
+
+        private EventHandler _stageSceneCreatedEventHandler;
+        private EventCallbackDelegateType0 _stageSceneCreatedEventCallbackDelegate;
+
+        /**
+          * @brief Event for SceneCreated signal which can be used to subscribe/unsubscribe the event handler
+          * SceneCreated signal is emitted after the initial scene is created.
+          *
+          */
+        internal event EventHandler SceneCreated
+        {
+            add
+            {
+                if (_stageSceneCreatedEventHandler == null)
+                {
+                    _stageSceneCreatedEventCallbackDelegate = OnSceneCreated;
+                    SceneCreatedSignal().Connect(_stageSceneCreatedEventCallbackDelegate);
+                }
+                _stageSceneCreatedEventHandler += value;
+            }
+            remove
+            {
+                _stageSceneCreatedEventHandler -= value;
+                if (_stageSceneCreatedEventHandler == null && _stageSceneCreatedEventCallbackDelegate != null)
+                {
+                    SceneCreatedSignal().Disconnect(_stageSceneCreatedEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Stage SceneCreatedSignal
+        private void OnSceneCreated()
+        {
+            if (_stageSceneCreatedEventHandler != null)
+            {
+                _stageSceneCreatedEventHandler(this, null);
+            }
+        }
+
+
+        public Size2D Size
+        {
+            get
+            {
+                Size2D ret = GetSize();
+                return ret;
+            }
+        }
+
+        public Color BackgroundColor
+        {
+            set
+            {
+                SetBackgroundColor(value);
+            }
+            get
+            {
+                Color ret = GetBackgroundColor();
+                return ret;
+            }
+        }
+
+        public Vector2 Dpi
+        {
+            get
+            {
+                return GetDpi();
+            }
+        }
+
+        public uint LayerCount
+        {
+            get
+            {
+                return GetLayerCount();
+            }
+        }
+
+        private static readonly Stage instance = Stage.GetCurrent();
+
+        public static Stage Instance
+        {
+            get
+            {
+                return instance;
+            }
+        }
+
+        public Layer GetDefaultLayer()
+        {
+            return this.GetRootLayer();
+        }
+
+        public void AddLayer(Layer layer)
+        {
+            this.Add((Actor)layer);
+        }
+
+        public void RemoveLayer(Layer layer)
+        {
+            this.Remove((Actor)layer);
+        }
+
+
+
+        internal static Vector4 DEFAULT_BACKGROUND_COLOR
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Stage_DEFAULT_BACKGROUND_COLOR_get();
+                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        internal static Vector4 DEBUG_BACKGROUND_COLOR
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Stage_DEBUG_BACKGROUND_COLOR_get();
+                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        internal Stage() : this(NDalicPINVOKE.new_Stage__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal static Stage GetCurrent()
+        {
+            Stage ret = new Stage(NDalicPINVOKE.Stage_GetCurrent(), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal static bool IsInstalled()
+        {
+            bool ret = NDalicPINVOKE.Stage_IsInstalled();
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Stage(Stage handle) : this(NDalicPINVOKE.new_Stage__SWIG_1(Stage.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Stage Assign(Stage rhs)
+        {
+            Stage ret = new Stage(NDalicPINVOKE.Stage_Assign(swigCPtr, Stage.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void Add(Actor actor)
+        {
+            NDalicPINVOKE.Stage_Add(swigCPtr, Actor.getCPtr(actor));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Remove(Actor actor)
+        {
+            NDalicPINVOKE.Stage_Remove(swigCPtr, Actor.getCPtr(actor));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Size2D GetSize()
+        {
+            Size2D ret = new Size2D(NDalicPINVOKE.Stage_GetSize(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal RenderTaskList GetRenderTaskList()
+        {
+            RenderTaskList ret = new RenderTaskList(NDalicPINVOKE.Stage_GetRenderTaskList(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal uint GetLayerCount()
+        {
+            uint ret = NDalicPINVOKE.Stage_GetLayerCount(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Layer GetLayer(uint depth)
+        {
+            Layer ret = new Layer(NDalicPINVOKE.Stage_GetLayer(swigCPtr, depth), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Layer GetRootLayer()
+        {
+            Layer ret = new Layer(NDalicPINVOKE.Stage_GetRootLayer(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetBackgroundColor(Color color)
+        {
+            NDalicPINVOKE.Stage_SetBackgroundColor(swigCPtr, Color.getCPtr(color));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Color GetBackgroundColor()
+        {
+            Color ret = new Color(NDalicPINVOKE.Stage_GetBackgroundColor(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 GetDpi()
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Stage_GetDpi(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ObjectRegistry GetObjectRegistry()
+        {
+            ObjectRegistry ret = new ObjectRegistry(NDalicPINVOKE.Stage_GetObjectRegistry(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void KeepRendering(float durationSeconds)
+        {
+            NDalicPINVOKE.Stage_KeepRendering(swigCPtr, durationSeconds);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal KeyEventSignal KeyEventSignal()
+        {
+            KeyEventSignal ret = new KeyEventSignal(NDalicPINVOKE.Stage_KeyEventSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal EventProcessingFinishedSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_EventProcessingFinishedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal TouchSignal TouchSignal()
+        {
+            TouchSignal ret = new TouchSignal(NDalicPINVOKE.Stage_TouchSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal StageWheelSignal WheelEventSignal()
+        {
+            StageWheelSignal ret = new StageWheelSignal(NDalicPINVOKE.Stage_WheelEventSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal ContextLostSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_ContextLostSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal ContextRegainedSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_ContextRegainedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal SceneCreatedSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_SceneCreatedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+    }
+
+}
index 26d2beaf552e81847c3ec9c976a1b5678e2fcbc4..dd9868191ac68d57fb0904c8167739afedd7903c 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-    public class StyleManager : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal StyleManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.StyleManager_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StyleManager obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~StyleManager()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_StyleManager(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-\r
-        /**\r
-          * @brief Event arguments that passed via StyleChanged signal\r
-          *\r
-          */\r
-        public class StyleChangedEventArgs : EventArgs\r
-        {\r
-            private StyleManager _styleManager;\r
-            private StyleChangeType _styleChange;\r
-\r
-            /**\r
-              * @brief StyleManager - is the StyleManager that informs applications of system theme change,\r
-              * and supports application theme change at runtime.\r
-              *\r
-              */\r
-            public StyleManager StyleManager\r
-            {\r
-                get\r
-                {\r
-                    return _styleManager;\r
-                }\r
-                set\r
-                {\r
-                    _styleManager = value;\r
-                }\r
-            }\r
-\r
-            /**\r
-              * @brief StyleChange - contains Style change information (default font changed or\r
-              * default font size changed or theme has changed)\r
-              *\r
-              */\r
-            public StyleChangeType StyleChange\r
-            {\r
-                get\r
-                {\r
-                    return _styleChange;\r
-                }\r
-                set\r
-                {\r
-                    _styleChange = value;\r
-                }\r
-            }\r
-\r
-        }\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void StyleChangedCallbackDelegate(IntPtr styleManager, Tizen.NUI.StyleChangeType styleChange);\r
-        private EventHandler<StyleChangedEventArgs> _styleManagerStyleChangedEventHandler;\r
-        private StyleChangedCallbackDelegate _styleManagerStyleChangedCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for StyleChanged signal which can be used to subscribe/unsubscribe the\r
-          * event handler (in the type of StyleChangedEventHandler-DaliEventHandler<object,StyleChangedEventArgs>) \r
-          * provided by the user. StyleChanged signal is is emitted after the style (e.g. theme/font change) has changed\r
-          * and the controls have been informed.\r
-          */\r
-        public event EventHandler<StyleChangedEventArgs> StyleChanged\r
-        {\r
-            add\r
-            {\r
-                if (_styleManagerStyleChangedEventHandler == null)\r
-                {\r
-                    _styleManagerStyleChangedCallbackDelegate = (OnStyleChanged);\r
-                    StyleChangedSignal().Connect(_styleManagerStyleChangedCallbackDelegate);\r
-                }\r
-                _styleManagerStyleChangedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _styleManagerStyleChangedEventHandler -= value;\r
-                if (_styleManagerStyleChangedEventHandler == null && _styleManagerStyleChangedCallbackDelegate != null)\r
-                {\r
-                    StyleChangedSignal().Disconnect(_styleManagerStyleChangedCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for StyleManager StyleChangedsignal\r
-        private void OnStyleChanged(IntPtr styleManager, StyleChangeType styleChange)\r
-        {\r
-            StyleChangedEventArgs e = new StyleChangedEventArgs();\r
-\r
-            // Populate all members of "e" (StyleChangedEventArgs) with real data\r
-            e.StyleManager = StyleManager.GetStyleManagerFromPtr(styleManager);\r
-            e.StyleChange = styleChange;\r
-\r
-            if (_styleManagerStyleChangedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _styleManagerStyleChangedEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        internal static StyleManager GetStyleManagerFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            StyleManager ret = new StyleManager(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        public StyleManager() : this(NDalicPINVOKE.new_StyleManager(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public static StyleManager Get()\r
-        {\r
-            StyleManager ret = new StyleManager(NDalicPINVOKE.StyleManager_Get(), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void ApplyTheme(string themeFile)\r
-        {\r
-            NDalicPINVOKE.StyleManager_ApplyTheme(swigCPtr, themeFile);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void ApplyDefaultTheme()\r
-        {\r
-            NDalicPINVOKE.StyleManager_ApplyDefaultTheme(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void SetStyleConstant(string key, PropertyValue value)\r
-        {\r
-            NDalicPINVOKE.StyleManager_SetStyleConstant(swigCPtr, key, PropertyValue.getCPtr(value));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool GetStyleConstant(string key, PropertyValue valueOut)\r
-        {\r
-            bool ret = NDalicPINVOKE.StyleManager_GetStyleConstant(swigCPtr, key, PropertyValue.getCPtr(valueOut));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void ApplyStyle(View control, string jsonFileName, string styleName)\r
-        {\r
-            NDalicPINVOKE.StyleManager_ApplyStyle(swigCPtr, View.getCPtr(control), jsonFileName, styleName);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal StyleChangedSignal StyleChangedSignal()\r
-        {\r
-            StyleChangedSignal ret = new StyleChangedSignal(NDalicPINVOKE.StyleManager_StyleChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-    }\r
-\r
-    public enum StyleChangeType\r
-    {\r
-        DefaultFontChange,\r
-        DefaultFontSizeChange,\r
-        ThemeChange\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+    public class StyleManager : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal StyleManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.StyleManager_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StyleManager obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~StyleManager()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_StyleManager(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+
+        /**
+          * @brief Event arguments that passed via StyleChanged signal
+          *
+          */
+        public class StyleChangedEventArgs : EventArgs
+        {
+            private StyleManager _styleManager;
+            private StyleChangeType _styleChange;
+
+            /**
+              * @brief StyleManager - is the StyleManager that informs applications of system theme change,
+              * and supports application theme change at runtime.
+              *
+              */
+            public StyleManager StyleManager
+            {
+                get
+                {
+                    return _styleManager;
+                }
+                set
+                {
+                    _styleManager = value;
+                }
+            }
+
+            /**
+              * @brief StyleChange - contains Style change information (default font changed or
+              * default font size changed or theme has changed)
+              *
+              */
+            public StyleChangeType StyleChange
+            {
+                get
+                {
+                    return _styleChange;
+                }
+                set
+                {
+                    _styleChange = value;
+                }
+            }
+
+        }
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void StyleChangedCallbackDelegate(IntPtr styleManager, Tizen.NUI.StyleChangeType styleChange);
+        private EventHandler<StyleChangedEventArgs> _styleManagerStyleChangedEventHandler;
+        private StyleChangedCallbackDelegate _styleManagerStyleChangedCallbackDelegate;
+
+        /**
+          * @brief Event for StyleChanged signal which can be used to subscribe/unsubscribe the
+          * event handler (in the type of StyleChangedEventHandler-DaliEventHandler<object,StyleChangedEventArgs>) 
+          * provided by the user. StyleChanged signal is is emitted after the style (e.g. theme/font change) has changed
+          * and the controls have been informed.
+          */
+        public event EventHandler<StyleChangedEventArgs> StyleChanged
+        {
+            add
+            {
+                if (_styleManagerStyleChangedEventHandler == null)
+                {
+                    _styleManagerStyleChangedCallbackDelegate = (OnStyleChanged);
+                    StyleChangedSignal().Connect(_styleManagerStyleChangedCallbackDelegate);
+                }
+                _styleManagerStyleChangedEventHandler += value;
+            }
+            remove
+            {
+                _styleManagerStyleChangedEventHandler -= value;
+                if (_styleManagerStyleChangedEventHandler == null && _styleManagerStyleChangedCallbackDelegate != null)
+                {
+                    StyleChangedSignal().Disconnect(_styleManagerStyleChangedCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for StyleManager StyleChangedsignal
+        private void OnStyleChanged(IntPtr styleManager, StyleChangeType styleChange)
+        {
+            StyleChangedEventArgs e = new StyleChangedEventArgs();
+
+            // Populate all members of "e" (StyleChangedEventArgs) with real data
+            e.StyleManager = StyleManager.GetStyleManagerFromPtr(styleManager);
+            e.StyleChange = styleChange;
+
+            if (_styleManagerStyleChangedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _styleManagerStyleChangedEventHandler(this, e);
+            }
+        }
+
+        internal static StyleManager GetStyleManagerFromPtr(global::System.IntPtr cPtr)
+        {
+            StyleManager ret = new StyleManager(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        public StyleManager() : this(NDalicPINVOKE.new_StyleManager(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public static StyleManager Get()
+        {
+            StyleManager ret = new StyleManager(NDalicPINVOKE.StyleManager_Get(), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void ApplyTheme(string themeFile)
+        {
+            NDalicPINVOKE.StyleManager_ApplyTheme(swigCPtr, themeFile);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void ApplyDefaultTheme()
+        {
+            NDalicPINVOKE.StyleManager_ApplyDefaultTheme(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void SetStyleConstant(string key, PropertyValue value)
+        {
+            NDalicPINVOKE.StyleManager_SetStyleConstant(swigCPtr, key, PropertyValue.getCPtr(value));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool GetStyleConstant(string key, PropertyValue valueOut)
+        {
+            bool ret = NDalicPINVOKE.StyleManager_GetStyleConstant(swigCPtr, key, PropertyValue.getCPtr(valueOut));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void ApplyStyle(View control, string jsonFileName, string styleName)
+        {
+            NDalicPINVOKE.StyleManager_ApplyStyle(swigCPtr, View.getCPtr(control), jsonFileName, styleName);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal StyleChangedSignal StyleChangedSignal()
+        {
+            StyleChangedSignal ret = new StyleChangedSignal(NDalicPINVOKE.StyleManager_StyleChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+    }
+
+    public enum StyleChangeType
+    {
+        DefaultFontChange,
+        DefaultFontSizeChange,
+        ThemeChange
+    }
+
+}
index eaca8a798bada6f500a13bb08265225f961cad9a..73b732193a6d5971311f0b52a4248245da288871 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class TableView : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal TableView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TableView_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TableView obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~TableView()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_TableView(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_TableView_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            public Property() : this(NDalicPINVOKE.new_TableView_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int ROWS = NDalicPINVOKE.TableView_Property_ROWS_get();\r
-            internal static readonly int COLUMNS = NDalicPINVOKE.TableView_Property_COLUMNS_get();\r
-            internal static readonly int CELL_PADDING = NDalicPINVOKE.TableView_Property_CELL_PADDING_get();\r
-            internal static readonly int LAYOUT_ROWS = NDalicPINVOKE.TableView_Property_LAYOUT_ROWS_get();\r
-            internal static readonly int LAYOUT_COLUMNS = NDalicPINVOKE.TableView_Property_LAYOUT_COLUMNS_get();\r
-\r
-        }\r
-\r
-        internal class ChildProperty : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal ChildProperty(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ChildProperty obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~ChildProperty()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_TableView_ChildProperty(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            public ChildProperty() : this(NDalicPINVOKE.new_TableView_ChildProperty(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int CELL_INDEX = NDalicPINVOKE.TableView_ChildProperty_CELL_INDEX_get();\r
-            internal static readonly int ROW_SPAN = NDalicPINVOKE.TableView_ChildProperty_ROW_SPAN_get();\r
-            internal static readonly int COLUMN_SPAN = NDalicPINVOKE.TableView_ChildProperty_COLUMN_SPAN_get();\r
-            internal static readonly int CELL_HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TableView_ChildProperty_CELL_HORIZONTAL_ALIGNMENT_get();\r
-            internal static readonly int CELL_VERTICAL_ALIGNMENT = NDalicPINVOKE.TableView_ChildProperty_CELL_VERTICAL_ALIGNMENT_get();\r
-\r
-        }\r
-\r
-        public class CellPosition : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal CellPosition(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CellPosition obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~CellPosition()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_TableView_CellPosition(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan, uint columnSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_0(rowIndex, columnIndex, rowSpan, columnSpan), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_1(rowIndex, columnIndex, rowSpan), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            public CellPosition(uint rowIndex, uint columnIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_2(rowIndex, columnIndex), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            public CellPosition(uint rowIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_3(rowIndex), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            public CellPosition() : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_4(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            public uint rowIndex\r
-            {\r
-                set\r
-                {\r
-                    NDalicPINVOKE.TableView_CellPosition_rowIndex_set(swigCPtr, value);\r
-                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                }\r
-                get\r
-                {\r
-                    uint ret = NDalicPINVOKE.TableView_CellPosition_rowIndex_get(swigCPtr);\r
-                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                    return ret;\r
-                }\r
-            }\r
-\r
-            public uint columnIndex\r
-            {\r
-                set\r
-                {\r
-                    NDalicPINVOKE.TableView_CellPosition_columnIndex_set(swigCPtr, value);\r
-                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                }\r
-                get\r
-                {\r
-                    uint ret = NDalicPINVOKE.TableView_CellPosition_columnIndex_get(swigCPtr);\r
-                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                    return ret;\r
-                }\r
-            }\r
-\r
-            public uint rowSpan\r
-            {\r
-                set\r
-                {\r
-                    NDalicPINVOKE.TableView_CellPosition_rowSpan_set(swigCPtr, value);\r
-                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                }\r
-                get\r
-                {\r
-                    uint ret = NDalicPINVOKE.TableView_CellPosition_rowSpan_get(swigCPtr);\r
-                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                    return ret;\r
-                }\r
-            }\r
-\r
-            public uint columnSpan\r
-            {\r
-                set\r
-                {\r
-                    NDalicPINVOKE.TableView_CellPosition_columnSpan_set(swigCPtr, value);\r
-                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                }\r
-                get\r
-                {\r
-                    uint ret = NDalicPINVOKE.TableView_CellPosition_columnSpan_get(swigCPtr);\r
-                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                    return ret;\r
-                }\r
-            }\r
-\r
-        }\r
-\r
-        public TableView(uint initialRows, uint initialColumns) : this(NDalicPINVOKE.TableView_New(initialRows, initialColumns), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public TableView(TableView handle) : this(NDalicPINVOKE.new_TableView__SWIG_1(TableView.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public TableView Assign(TableView handle)\r
-        {\r
-            TableView ret = new TableView(NDalicPINVOKE.TableView_Assign(swigCPtr, TableView.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static TableView DownCast(BaseHandle handle)\r
-        {\r
-            TableView ret = new TableView(NDalicPINVOKE.TableView_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool AddChild(Actor child, TableView.CellPosition position)\r
-        {\r
-            bool ret = NDalicPINVOKE.TableView_AddChild(swigCPtr, Actor.getCPtr(child), TableView.CellPosition.getCPtr(position));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Actor GetChildAt(TableView.CellPosition position)\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.TableView_GetChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Actor RemoveChildAt(TableView.CellPosition position)\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.TableView_RemoveChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool FindChildPosition(Actor child, TableView.CellPosition position)\r
-        {\r
-            bool ret = NDalicPINVOKE.TableView_FindChildPosition(swigCPtr, Actor.getCPtr(child), TableView.CellPosition.getCPtr(position));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void InsertRow(uint rowIndex)\r
-        {\r
-            NDalicPINVOKE.TableView_InsertRow(swigCPtr, rowIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void DeleteRow(uint rowIndex)\r
-        {\r
-            NDalicPINVOKE.TableView_DeleteRow__SWIG_0(swigCPtr, rowIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void DeleteRow(uint rowIndex, ActorContainer removed)\r
-        {\r
-            NDalicPINVOKE.TableView_DeleteRow__SWIG_1(swigCPtr, rowIndex, ActorContainer.getCPtr(removed));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void InsertColumn(uint columnIndex)\r
-        {\r
-            NDalicPINVOKE.TableView_InsertColumn(swigCPtr, columnIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void DeleteColumn(uint columnIndex)\r
-        {\r
-            NDalicPINVOKE.TableView_DeleteColumn__SWIG_0(swigCPtr, columnIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void DeleteColumn(uint columnIndex, ActorContainer removed)\r
-        {\r
-            NDalicPINVOKE.TableView_DeleteColumn__SWIG_1(swigCPtr, columnIndex, ActorContainer.getCPtr(removed));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Resize(uint rows, uint columns)\r
-        {\r
-            NDalicPINVOKE.TableView_Resize__SWIG_0(swigCPtr, rows, columns);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void Resize(uint rows, uint columns, ActorContainer removed)\r
-        {\r
-            NDalicPINVOKE.TableView_Resize__SWIG_1(swigCPtr, rows, columns, ActorContainer.getCPtr(removed));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void SetCellPadding(Size2D padding)\r
-        {\r
-            NDalicPINVOKE.TableView_SetCellPadding(swigCPtr, Size2D.getCPtr(padding));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector2 GetCellPadding()\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.TableView_GetCellPadding(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetFitHeight(uint rowIndex)\r
-        {\r
-            NDalicPINVOKE.TableView_SetFitHeight(swigCPtr, rowIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool IsFitHeight(uint rowIndex)\r
-        {\r
-            bool ret = NDalicPINVOKE.TableView_IsFitHeight(swigCPtr, rowIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetFitWidth(uint columnIndex)\r
-        {\r
-            NDalicPINVOKE.TableView_SetFitWidth(swigCPtr, columnIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool IsFitWidth(uint columnIndex)\r
-        {\r
-            bool ret = NDalicPINVOKE.TableView_IsFitWidth(swigCPtr, columnIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetFixedHeight(uint rowIndex, float height)\r
-        {\r
-            NDalicPINVOKE.TableView_SetFixedHeight(swigCPtr, rowIndex, height);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public float GetFixedHeight(uint rowIndex)\r
-        {\r
-            float ret = NDalicPINVOKE.TableView_GetFixedHeight(swigCPtr, rowIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetRelativeHeight(uint rowIndex, float heightPercentage)\r
-        {\r
-            NDalicPINVOKE.TableView_SetRelativeHeight(swigCPtr, rowIndex, heightPercentage);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public float GetRelativeHeight(uint rowIndex)\r
-        {\r
-            float ret = NDalicPINVOKE.TableView_GetRelativeHeight(swigCPtr, rowIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetFixedWidth(uint columnIndex, float width)\r
-        {\r
-            NDalicPINVOKE.TableView_SetFixedWidth(swigCPtr, columnIndex, width);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public float GetFixedWidth(uint columnIndex)\r
-        {\r
-            float ret = NDalicPINVOKE.TableView_GetFixedWidth(swigCPtr, columnIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetRelativeWidth(uint columnIndex, float widthPercentage)\r
-        {\r
-            NDalicPINVOKE.TableView_SetRelativeWidth(swigCPtr, columnIndex, widthPercentage);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public float GetRelativeWidth(uint columnIndex)\r
-        {\r
-            float ret = NDalicPINVOKE.TableView_GetRelativeWidth(swigCPtr, columnIndex);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint GetRows()\r
-        {\r
-            uint ret = NDalicPINVOKE.TableView_GetRows(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint GetColumns()\r
-        {\r
-            uint ret = NDalicPINVOKE.TableView_GetColumns(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetCellAlignment(TableView.CellPosition position, HorizontalAlignmentType horizontal, VerticalAlignmentType vertical)\r
-        {\r
-            NDalicPINVOKE.TableView_SetCellAlignment(swigCPtr, TableView.CellPosition.getCPtr(position), (int)horizontal, (int)vertical);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000,\r
-            CHILD_PROPERTY_START_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX,\r
-            CHILD_PROPERTY_END_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX + 1000\r
-        }\r
-\r
-        public enum LayoutPolicy\r
-        {\r
-            Fixed,\r
-            Relative,\r
-            Fill,\r
-            Fit\r
-        }\r
-\r
-        public int Rows\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TableView.Property.ROWS).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TableView.Property.ROWS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public int Columns\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TableView.Property.COLUMNS).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TableView.Property.COLUMNS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector2 CellPadding\r
-        {\r
-            get\r
-            {\r
-                Vector2 temp = new Vector2(0.0f, 0.0f);\r
-                GetProperty(TableView.Property.CELL_PADDING).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TableView.Property.CELL_PADDING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap LayoutRows\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TableView.Property.LAYOUT_ROWS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TableView.Property.LAYOUT_ROWS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap LayoutColumns\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TableView.Property.LAYOUT_COLUMNS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TableView.Property.LAYOUT_COLUMNS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-    public enum HorizontalAlignmentType\r
-    {\r
-        Left,\r
-        Center,\r
-        Right\r
-    }\r
-    public enum VerticalAlignmentType\r
-    {\r
-        Top,\r
-        Center,\r
-        Bottom\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class TableView : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal TableView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TableView_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TableView obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~TableView()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_TableView(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_TableView_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            public Property() : this(NDalicPINVOKE.new_TableView_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int ROWS = NDalicPINVOKE.TableView_Property_ROWS_get();
+            internal static readonly int COLUMNS = NDalicPINVOKE.TableView_Property_COLUMNS_get();
+            internal static readonly int CELL_PADDING = NDalicPINVOKE.TableView_Property_CELL_PADDING_get();
+            internal static readonly int LAYOUT_ROWS = NDalicPINVOKE.TableView_Property_LAYOUT_ROWS_get();
+            internal static readonly int LAYOUT_COLUMNS = NDalicPINVOKE.TableView_Property_LAYOUT_COLUMNS_get();
+
+        }
+
+        internal class ChildProperty : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal ChildProperty(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ChildProperty obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~ChildProperty()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_TableView_ChildProperty(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            public ChildProperty() : this(NDalicPINVOKE.new_TableView_ChildProperty(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int CELL_INDEX = NDalicPINVOKE.TableView_ChildProperty_CELL_INDEX_get();
+            internal static readonly int ROW_SPAN = NDalicPINVOKE.TableView_ChildProperty_ROW_SPAN_get();
+            internal static readonly int COLUMN_SPAN = NDalicPINVOKE.TableView_ChildProperty_COLUMN_SPAN_get();
+            internal static readonly int CELL_HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TableView_ChildProperty_CELL_HORIZONTAL_ALIGNMENT_get();
+            internal static readonly int CELL_VERTICAL_ALIGNMENT = NDalicPINVOKE.TableView_ChildProperty_CELL_VERTICAL_ALIGNMENT_get();
+
+        }
+
+        public class CellPosition : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal CellPosition(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CellPosition obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~CellPosition()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_TableView_CellPosition(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan, uint columnSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_0(rowIndex, columnIndex, rowSpan, columnSpan), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_1(rowIndex, columnIndex, rowSpan), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            public CellPosition(uint rowIndex, uint columnIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_2(rowIndex, columnIndex), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            public CellPosition(uint rowIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_3(rowIndex), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            public CellPosition() : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_4(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            public uint rowIndex
+            {
+                set
+                {
+                    NDalicPINVOKE.TableView_CellPosition_rowIndex_set(swigCPtr, value);
+                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                }
+                get
+                {
+                    uint ret = NDalicPINVOKE.TableView_CellPosition_rowIndex_get(swigCPtr);
+                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                    return ret;
+                }
+            }
+
+            public uint columnIndex
+            {
+                set
+                {
+                    NDalicPINVOKE.TableView_CellPosition_columnIndex_set(swigCPtr, value);
+                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                }
+                get
+                {
+                    uint ret = NDalicPINVOKE.TableView_CellPosition_columnIndex_get(swigCPtr);
+                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                    return ret;
+                }
+            }
+
+            public uint rowSpan
+            {
+                set
+                {
+                    NDalicPINVOKE.TableView_CellPosition_rowSpan_set(swigCPtr, value);
+                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                }
+                get
+                {
+                    uint ret = NDalicPINVOKE.TableView_CellPosition_rowSpan_get(swigCPtr);
+                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                    return ret;
+                }
+            }
+
+            public uint columnSpan
+            {
+                set
+                {
+                    NDalicPINVOKE.TableView_CellPosition_columnSpan_set(swigCPtr, value);
+                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                }
+                get
+                {
+                    uint ret = NDalicPINVOKE.TableView_CellPosition_columnSpan_get(swigCPtr);
+                    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                    return ret;
+                }
+            }
+
+        }
+
+        public TableView(uint initialRows, uint initialColumns) : this(NDalicPINVOKE.TableView_New(initialRows, initialColumns), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public TableView(TableView handle) : this(NDalicPINVOKE.new_TableView__SWIG_1(TableView.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public TableView Assign(TableView handle)
+        {
+            TableView ret = new TableView(NDalicPINVOKE.TableView_Assign(swigCPtr, TableView.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static TableView DownCast(BaseHandle handle)
+        {
+            TableView ret = new TableView(NDalicPINVOKE.TableView_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool AddChild(Actor child, TableView.CellPosition position)
+        {
+            bool ret = NDalicPINVOKE.TableView_AddChild(swigCPtr, Actor.getCPtr(child), TableView.CellPosition.getCPtr(position));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Actor GetChildAt(TableView.CellPosition position)
+        {
+            Actor ret = new Actor(NDalicPINVOKE.TableView_GetChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Actor RemoveChildAt(TableView.CellPosition position)
+        {
+            Actor ret = new Actor(NDalicPINVOKE.TableView_RemoveChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool FindChildPosition(Actor child, TableView.CellPosition position)
+        {
+            bool ret = NDalicPINVOKE.TableView_FindChildPosition(swigCPtr, Actor.getCPtr(child), TableView.CellPosition.getCPtr(position));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void InsertRow(uint rowIndex)
+        {
+            NDalicPINVOKE.TableView_InsertRow(swigCPtr, rowIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void DeleteRow(uint rowIndex)
+        {
+            NDalicPINVOKE.TableView_DeleteRow__SWIG_0(swigCPtr, rowIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void DeleteRow(uint rowIndex, ActorContainer removed)
+        {
+            NDalicPINVOKE.TableView_DeleteRow__SWIG_1(swigCPtr, rowIndex, ActorContainer.getCPtr(removed));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void InsertColumn(uint columnIndex)
+        {
+            NDalicPINVOKE.TableView_InsertColumn(swigCPtr, columnIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void DeleteColumn(uint columnIndex)
+        {
+            NDalicPINVOKE.TableView_DeleteColumn__SWIG_0(swigCPtr, columnIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void DeleteColumn(uint columnIndex, ActorContainer removed)
+        {
+            NDalicPINVOKE.TableView_DeleteColumn__SWIG_1(swigCPtr, columnIndex, ActorContainer.getCPtr(removed));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Resize(uint rows, uint columns)
+        {
+            NDalicPINVOKE.TableView_Resize__SWIG_0(swigCPtr, rows, columns);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Resize(uint rows, uint columns, ActorContainer removed)
+        {
+            NDalicPINVOKE.TableView_Resize__SWIG_1(swigCPtr, rows, columns, ActorContainer.getCPtr(removed));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void SetCellPadding(Size2D padding)
+        {
+            NDalicPINVOKE.TableView_SetCellPadding(swigCPtr, Size2D.getCPtr(padding));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector2 GetCellPadding()
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.TableView_GetCellPadding(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetFitHeight(uint rowIndex)
+        {
+            NDalicPINVOKE.TableView_SetFitHeight(swigCPtr, rowIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool IsFitHeight(uint rowIndex)
+        {
+            bool ret = NDalicPINVOKE.TableView_IsFitHeight(swigCPtr, rowIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetFitWidth(uint columnIndex)
+        {
+            NDalicPINVOKE.TableView_SetFitWidth(swigCPtr, columnIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool IsFitWidth(uint columnIndex)
+        {
+            bool ret = NDalicPINVOKE.TableView_IsFitWidth(swigCPtr, columnIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetFixedHeight(uint rowIndex, float height)
+        {
+            NDalicPINVOKE.TableView_SetFixedHeight(swigCPtr, rowIndex, height);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public float GetFixedHeight(uint rowIndex)
+        {
+            float ret = NDalicPINVOKE.TableView_GetFixedHeight(swigCPtr, rowIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetRelativeHeight(uint rowIndex, float heightPercentage)
+        {
+            NDalicPINVOKE.TableView_SetRelativeHeight(swigCPtr, rowIndex, heightPercentage);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public float GetRelativeHeight(uint rowIndex)
+        {
+            float ret = NDalicPINVOKE.TableView_GetRelativeHeight(swigCPtr, rowIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetFixedWidth(uint columnIndex, float width)
+        {
+            NDalicPINVOKE.TableView_SetFixedWidth(swigCPtr, columnIndex, width);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public float GetFixedWidth(uint columnIndex)
+        {
+            float ret = NDalicPINVOKE.TableView_GetFixedWidth(swigCPtr, columnIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetRelativeWidth(uint columnIndex, float widthPercentage)
+        {
+            NDalicPINVOKE.TableView_SetRelativeWidth(swigCPtr, columnIndex, widthPercentage);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public float GetRelativeWidth(uint columnIndex)
+        {
+            float ret = NDalicPINVOKE.TableView_GetRelativeWidth(swigCPtr, columnIndex);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint GetRows()
+        {
+            uint ret = NDalicPINVOKE.TableView_GetRows(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint GetColumns()
+        {
+            uint ret = NDalicPINVOKE.TableView_GetColumns(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetCellAlignment(TableView.CellPosition position, HorizontalAlignmentType horizontal, VerticalAlignmentType vertical)
+        {
+            NDalicPINVOKE.TableView_SetCellAlignment(swigCPtr, TableView.CellPosition.getCPtr(position), (int)horizontal, (int)vertical);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000,
+            CHILD_PROPERTY_START_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX,
+            CHILD_PROPERTY_END_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX + 1000
+        }
+
+        public enum LayoutPolicy
+        {
+            Fixed,
+            Relative,
+            Fill,
+            Fit
+        }
+
+        public int Rows
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TableView.Property.ROWS).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TableView.Property.ROWS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public int Columns
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TableView.Property.COLUMNS).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TableView.Property.COLUMNS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector2 CellPadding
+        {
+            get
+            {
+                Vector2 temp = new Vector2(0.0f, 0.0f);
+                GetProperty(TableView.Property.CELL_PADDING).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TableView.Property.CELL_PADDING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap LayoutRows
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TableView.Property.LAYOUT_ROWS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TableView.Property.LAYOUT_ROWS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap LayoutColumns
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TableView.Property.LAYOUT_COLUMNS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TableView.Property.LAYOUT_COLUMNS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+    public enum HorizontalAlignmentType
+    {
+        Left,
+        Center,
+        Right
+    }
+    public enum VerticalAlignmentType
+    {
+        Top,
+        Center,
+        Bottom
+    }
+
+}
index 05b7304d43088d4363641be6bb99df45908a3038..00011cf7d214a1e7e93bcfef1fb368a75661a63f 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class TapGesture : Gesture\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal TapGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TapGesture_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TapGesture obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~TapGesture()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_TapGesture(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        public static TapGesture GetTapGestureFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            TapGesture ret = new TapGesture(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint NumberOfTaps\r
-        {\r
-            get\r
-            {\r
-                return numberOfTaps;\r
-            }\r
-        }\r
-\r
-        public uint NumberOfTouches\r
-        {\r
-            get\r
-            {\r
-                return numberOfTouches;\r
-            }\r
-        }\r
-\r
-        public Vector2 ScreenPoint\r
-        {\r
-            get\r
-            {\r
-                return screenPoint;\r
-            }\r
-        }\r
-\r
-        public Vector2 LocalPoint\r
-        {\r
-            get\r
-            {\r
-                return localPoint;\r
-            }\r
-        }\r
-\r
-        public TapGesture() : this(NDalicPINVOKE.new_TapGesture__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public TapGesture(TapGesture rhs) : this(NDalicPINVOKE.new_TapGesture__SWIG_1(TapGesture.getCPtr(rhs)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public TapGesture Assign(TapGesture rhs)\r
-        {\r
-            TapGesture ret = new TapGesture(NDalicPINVOKE.TapGesture_Assign(swigCPtr, TapGesture.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private uint numberOfTaps\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.TapGesture_numberOfTaps_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                uint ret = NDalicPINVOKE.TapGesture_numberOfTaps_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private uint numberOfTouches\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.TapGesture_numberOfTouches_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                uint ret = NDalicPINVOKE.TapGesture_numberOfTouches_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 screenPoint\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.TapGesture_screenPoint_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.TapGesture_screenPoint_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 localPoint\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.TapGesture_localPoint_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.TapGesture_localPoint_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class TapGesture : Gesture
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal TapGesture(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TapGesture_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TapGesture obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~TapGesture()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_TapGesture(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        public static TapGesture GetTapGestureFromPtr(global::System.IntPtr cPtr)
+        {
+            TapGesture ret = new TapGesture(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint NumberOfTaps
+        {
+            get
+            {
+                return numberOfTaps;
+            }
+        }
+
+        public uint NumberOfTouches
+        {
+            get
+            {
+                return numberOfTouches;
+            }
+        }
+
+        public Vector2 ScreenPoint
+        {
+            get
+            {
+                return screenPoint;
+            }
+        }
+
+        public Vector2 LocalPoint
+        {
+            get
+            {
+                return localPoint;
+            }
+        }
+
+        public TapGesture() : this(NDalicPINVOKE.new_TapGesture__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public TapGesture(TapGesture rhs) : this(NDalicPINVOKE.new_TapGesture__SWIG_1(TapGesture.getCPtr(rhs)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public TapGesture Assign(TapGesture rhs)
+        {
+            TapGesture ret = new TapGesture(NDalicPINVOKE.TapGesture_Assign(swigCPtr, TapGesture.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private uint numberOfTaps
+        {
+            set
+            {
+                NDalicPINVOKE.TapGesture_numberOfTaps_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                uint ret = NDalicPINVOKE.TapGesture_numberOfTaps_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private uint numberOfTouches
+        {
+            set
+            {
+                NDalicPINVOKE.TapGesture_numberOfTouches_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                uint ret = NDalicPINVOKE.TapGesture_numberOfTouches_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 screenPoint
+        {
+            set
+            {
+                NDalicPINVOKE.TapGesture_screenPoint_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.TapGesture_screenPoint_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 localPoint
+        {
+            set
+            {
+                NDalicPINVOKE.TapGesture_localPoint_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.TapGesture_localPoint_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+    }
+
+}
index 25f5c2401908d07f1e48755c6e3d1628f6d41c1d..f4ff655223d2095e4761c5cdd2e9c0bbfe2a8ae4 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class TextEditor : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal TextEditor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextEditor_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextEditor obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~TextEditor()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_TextEditor(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-        /**\r
-          * @brief Event arguments that passed via TextChanged signal\r
-          *\r
-          */\r
-        public class TextChangedEventArgs : EventArgs\r
-        {\r
-            private TextEditor _textEditor;\r
-            /**\r
-              * @brief TextEditor - is the texteditor control which has the text contents changed.\r
-              *\r
-              */\r
-            public TextEditor TextEditor\r
-            {\r
-                get\r
-                {\r
-                    return _textEditor;\r
-                }\r
-                set\r
-                {\r
-                    _textEditor = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void TextChangedCallbackDelegate(IntPtr textEditor);\r
-        private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;\r
-        private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of TextChangedEventHandler-DaliEventHandler<object,TextChangedEventArgs>) \r
-          * provided by the user. TextChanged signal is emitted when the text changes.\r
-          */\r
-        public event EventHandler<TextChangedEventArgs> TextChanged\r
-        {\r
-            add\r
-            {\r
-                if (_textEditorTextChangedEventHandler == null)\r
-                {\r
-                    _textEditorTextChangedCallbackDelegate = (OnTextChanged);\r
-                    TextChangedSignal().Connect(_textEditorTextChangedCallbackDelegate);\r
-                }\r
-                _textEditorTextChangedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _textEditorTextChangedEventHandler -= value;\r
-                if (_textEditorTextChangedEventHandler == null && _textEditorTextChangedCallbackDelegate != null)\r
-                {\r
-                    TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        private void OnTextChanged(IntPtr textEditor)\r
-        {\r
-            TextChangedEventArgs e = new TextChangedEventArgs();\r
-\r
-            // Populate all members of "e" (TextChangedEventArgs) with real data\r
-            e.TextEditor = Tizen.NUI.TextEditor.GetTextEditorFromPtr(textEditor);\r
-\r
-            if (_textEditorTextChangedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _textEditorTextChangedEventHandler(this, e);\r
-            }\r
-\r
-        }\r
-\r
-        internal static TextEditor GetTextEditorFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            TextEditor ret = new TextEditor(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_TextEditor_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_TextEditor_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();\r
-            internal static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();\r
-            internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();\r
-            internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_FONT_FAMILY_get();\r
-            internal static readonly int FONT_STYLE = NDalicPINVOKE.TextEditor_Property_FONT_STYLE_get();\r
-            internal static readonly int POINT_SIZE = NDalicPINVOKE.TextEditor_Property_POINT_SIZE_get();\r
-            internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextEditor_Property_HORIZONTAL_ALIGNMENT_get();\r
-            internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextEditor_Property_SCROLL_THRESHOLD_get();\r
-            internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextEditor_Property_SCROLL_SPEED_get();\r
-            internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_PRIMARY_CURSOR_COLOR_get();\r
-            internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_SECONDARY_CURSOR_COLOR_get();\r
-            internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextEditor_Property_ENABLE_CURSOR_BLINK_get();\r
-            internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_INTERVAL_get();\r
-            internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_DURATION_get();\r
-            internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextEditor_Property_CURSOR_WIDTH_get();\r
-            internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_IMAGE_get();\r
-            internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get();\r
-            internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get();\r
-            internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();\r
-            internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();\r
-            internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();\r
-            internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();\r
-            internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();\r
-            internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get();\r
-            internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextEditor_Property_DECORATION_BOUNDING_BOX_get();\r
-            internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextEditor_Property_ENABLE_MARKUP_get();\r
-            internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextEditor_Property_INPUT_COLOR_get();\r
-            internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_FAMILY_get();\r
-            internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_STYLE_get();\r
-            internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextEditor_Property_INPUT_POINT_SIZE_get();\r
-            internal static readonly int LINE_SPACING = NDalicPINVOKE.TextEditor_Property_LINE_SPACING_get();\r
-            internal static readonly int INPUT_LINE_SPACING = NDalicPINVOKE.TextEditor_Property_INPUT_LINE_SPACING_get();\r
-            internal static readonly int UNDERLINE = NDalicPINVOKE.TextEditor_Property_UNDERLINE_get();\r
-            internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextEditor_Property_INPUT_UNDERLINE_get();\r
-            internal static readonly int SHADOW = NDalicPINVOKE.TextEditor_Property_SHADOW_get();\r
-            internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextEditor_Property_INPUT_SHADOW_get();\r
-            internal static readonly int EMBOSS = NDalicPINVOKE.TextEditor_Property_EMBOSS_get();\r
-            internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();\r
-            internal static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();\r
-            internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();\r
-\r
-        }\r
-\r
-        internal class InputStyle : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~InputStyle()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_TextEditor_InputStyle(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal InputStyle() : this(NDalicPINVOKE.new_TextEditor_InputStyle(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal enum Mask\r
-            {\r
-                None = 0x0000,\r
-                Color = 0x0001,\r
-                FontFamily = 0x0002,\r
-                PointSize = 0x0004,\r
-                FontStyle = 0x0008,\r
-                LineSpacing = 0x0010,\r
-                Underline = 0x0020,\r
-                Shadow = 0x0040,\r
-                Emboss = 0x0080,\r
-                Outline = 0x0100\r
-            }\r
-\r
-        }\r
-\r
-        public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal TextEditor Assign(TextEditor handle)\r
-        {\r
-            TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_Assign(swigCPtr, TextEditor.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static TextEditor DownCast(BaseHandle handle)\r
-        {\r
-            TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal TextEditorSignal TextChangedSignal()\r
-        {\r
-            TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal()\r
-        {\r
-            SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t(NDalicPINVOKE.TextEditor_InputStyleChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000\r
-        }\r
-\r
-        public int RenderingBackend\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TextEditor.Property.RENDERING_BACKEND).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string Text\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextEditor.Property.TEXT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 TextColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextEditor.Property.TEXT_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string FontFamily\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextEditor.Property.FONT_FAMILY).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap FontStyle\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.FONT_STYLE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float PointSize\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextEditor.Property.POINT_SIZE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string HorizontalAlignment\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ScrollThreshold\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextEditor.Property.SCROLL_THRESHOLD).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ScrollSpeed\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextEditor.Property.SCROLL_SPEED).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 PrimaryCursorColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 SecondaryCursorColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool EnableCursorBlink\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float CursorBlinkInterval\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float CursorBlinkDuration\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextEditor.Property.CURSOR_BLINK_DURATION).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public int CursorWidth\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TextEditor.Property.CURSOR_WIDTH).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string GrabHandleImage\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string GrabHandlePressedImage\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandleImageLeft\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandleImageRight\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandlePressedImageLeft\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandlePressedImageRight\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandleMarkerImageLeft\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandleMarkerImageRight\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 SelectionHighlightColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Rectangle DecorationBoundingBox\r
-        {\r
-            get\r
-            {\r
-                Rectangle temp = new Rectangle(0, 0, 0, 0);\r
-                GetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool EnableMarkup\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(TextEditor.Property.ENABLE_MARKUP).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 InputColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextEditor.Property.INPUT_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string InputFontFamily\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputFontStyle\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.INPUT_FONT_STYLE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float InputPointSize\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextEditor.Property.INPUT_POINT_SIZE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float LineSpacing\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextEditor.Property.LINE_SPACING).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float InputLineSpacing\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextEditor.Property.INPUT_LINE_SPACING).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Underline\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.UNDERLINE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputUnderline\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.INPUT_UNDERLINE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Shadow\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.SHADOW).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputShadow\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.INPUT_SHADOW).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Emboss\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.EMBOSS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputEmboss\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.INPUT_EMBOSS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Outline\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.OUTLINE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputOutline\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextEditor.Property.INPUT_OUTLINE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class TextEditor : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal TextEditor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextEditor_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextEditor obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~TextEditor()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_TextEditor(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+        /**
+          * @brief Event arguments that passed via TextChanged signal
+          *
+          */
+        public class TextChangedEventArgs : EventArgs
+        {
+            private TextEditor _textEditor;
+            /**
+              * @brief TextEditor - is the texteditor control which has the text contents changed.
+              *
+              */
+            public TextEditor TextEditor
+            {
+                get
+                {
+                    return _textEditor;
+                }
+                set
+                {
+                    _textEditor = value;
+                }
+            }
+        }
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void TextChangedCallbackDelegate(IntPtr textEditor);
+        private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;
+        private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;
+
+        /**
+          * @brief Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of TextChangedEventHandler-DaliEventHandler<object,TextChangedEventArgs>) 
+          * provided by the user. TextChanged signal is emitted when the text changes.
+          */
+        public event EventHandler<TextChangedEventArgs> TextChanged
+        {
+            add
+            {
+                if (_textEditorTextChangedEventHandler == null)
+                {
+                    _textEditorTextChangedCallbackDelegate = (OnTextChanged);
+                    TextChangedSignal().Connect(_textEditorTextChangedCallbackDelegate);
+                }
+                _textEditorTextChangedEventHandler += value;
+            }
+            remove
+            {
+                _textEditorTextChangedEventHandler -= value;
+                if (_textEditorTextChangedEventHandler == null && _textEditorTextChangedCallbackDelegate != null)
+                {
+                    TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);
+                }
+            }
+        }
+
+        private void OnTextChanged(IntPtr textEditor)
+        {
+            TextChangedEventArgs e = new TextChangedEventArgs();
+
+            // Populate all members of "e" (TextChangedEventArgs) with real data
+            e.TextEditor = Tizen.NUI.TextEditor.GetTextEditorFromPtr(textEditor);
+
+            if (_textEditorTextChangedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _textEditorTextChangedEventHandler(this, e);
+            }
+
+        }
+
+        internal static TextEditor GetTextEditorFromPtr(global::System.IntPtr cPtr)
+        {
+            TextEditor ret = new TextEditor(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_TextEditor_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_TextEditor_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
+            internal static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
+            internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();
+            internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_FONT_FAMILY_get();
+            internal static readonly int FONT_STYLE = NDalicPINVOKE.TextEditor_Property_FONT_STYLE_get();
+            internal static readonly int POINT_SIZE = NDalicPINVOKE.TextEditor_Property_POINT_SIZE_get();
+            internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextEditor_Property_HORIZONTAL_ALIGNMENT_get();
+            internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextEditor_Property_SCROLL_THRESHOLD_get();
+            internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextEditor_Property_SCROLL_SPEED_get();
+            internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_PRIMARY_CURSOR_COLOR_get();
+            internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_SECONDARY_CURSOR_COLOR_get();
+            internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextEditor_Property_ENABLE_CURSOR_BLINK_get();
+            internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_INTERVAL_get();
+            internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_DURATION_get();
+            internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextEditor_Property_CURSOR_WIDTH_get();
+            internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_IMAGE_get();
+            internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
+            internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
+            internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
+            internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
+            internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
+            internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
+            internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
+            internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get();
+            internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextEditor_Property_DECORATION_BOUNDING_BOX_get();
+            internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextEditor_Property_ENABLE_MARKUP_get();
+            internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextEditor_Property_INPUT_COLOR_get();
+            internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_FAMILY_get();
+            internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_STYLE_get();
+            internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextEditor_Property_INPUT_POINT_SIZE_get();
+            internal static readonly int LINE_SPACING = NDalicPINVOKE.TextEditor_Property_LINE_SPACING_get();
+            internal static readonly int INPUT_LINE_SPACING = NDalicPINVOKE.TextEditor_Property_INPUT_LINE_SPACING_get();
+            internal static readonly int UNDERLINE = NDalicPINVOKE.TextEditor_Property_UNDERLINE_get();
+            internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextEditor_Property_INPUT_UNDERLINE_get();
+            internal static readonly int SHADOW = NDalicPINVOKE.TextEditor_Property_SHADOW_get();
+            internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextEditor_Property_INPUT_SHADOW_get();
+            internal static readonly int EMBOSS = NDalicPINVOKE.TextEditor_Property_EMBOSS_get();
+            internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
+            internal static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
+            internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
+
+        }
+
+        internal class InputStyle : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~InputStyle()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_TextEditor_InputStyle(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal InputStyle() : this(NDalicPINVOKE.new_TextEditor_InputStyle(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal enum Mask
+            {
+                None = 0x0000,
+                Color = 0x0001,
+                FontFamily = 0x0002,
+                PointSize = 0x0004,
+                FontStyle = 0x0008,
+                LineSpacing = 0x0010,
+                Underline = 0x0020,
+                Shadow = 0x0040,
+                Emboss = 0x0080,
+                Outline = 0x0100
+            }
+
+        }
+
+        public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal TextEditor Assign(TextEditor handle)
+        {
+            TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_Assign(swigCPtr, TextEditor.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static TextEditor DownCast(BaseHandle handle)
+        {
+            TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal TextEditorSignal TextChangedSignal()
+        {
+            TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal()
+        {
+            SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t(NDalicPINVOKE.TextEditor_InputStyleChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
+        }
+
+        public int RenderingBackend
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TextEditor.Property.RENDERING_BACKEND).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string Text
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextEditor.Property.TEXT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 TextColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextEditor.Property.TEXT_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string FontFamily
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextEditor.Property.FONT_FAMILY).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap FontStyle
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.FONT_STYLE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float PointSize
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.POINT_SIZE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string HorizontalAlignment
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ScrollThreshold
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.SCROLL_THRESHOLD).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ScrollSpeed
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.SCROLL_SPEED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 PrimaryCursorColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 SecondaryCursorColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool EnableCursorBlink
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float CursorBlinkInterval
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float CursorBlinkDuration
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.CURSOR_BLINK_DURATION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public int CursorWidth
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TextEditor.Property.CURSOR_WIDTH).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string GrabHandleImage
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string GrabHandlePressedImage
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandleImageLeft
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandleImageRight
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandlePressedImageLeft
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandlePressedImageRight
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandleMarkerImageLeft
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandleMarkerImageRight
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 SelectionHighlightColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Rectangle DecorationBoundingBox
+        {
+            get
+            {
+                Rectangle temp = new Rectangle(0, 0, 0, 0);
+                GetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool EnableMarkup
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextEditor.Property.ENABLE_MARKUP).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 InputColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextEditor.Property.INPUT_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string InputFontFamily
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputFontStyle
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.INPUT_FONT_STYLE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float InputPointSize
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.INPUT_POINT_SIZE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float LineSpacing
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.LINE_SPACING).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float InputLineSpacing
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.INPUT_LINE_SPACING).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Underline
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.UNDERLINE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputUnderline
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.INPUT_UNDERLINE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Shadow
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.SHADOW).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputShadow
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.INPUT_SHADOW).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Emboss
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.EMBOSS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputEmboss
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.INPUT_EMBOSS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Outline
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.OUTLINE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputOutline
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextEditor.Property.INPUT_OUTLINE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
+}
index 9b187dbb659643e50389c75548bc570d6ab2b8a4..e0a75bb771228b9477899c01c3fdb18269efe907 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class TextField : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal TextField(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextField_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextField obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~TextField()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_TextField(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-        public class TextChangedEventArgs : EventArgs\r
-        {\r
-            private TextField _textField;\r
-\r
-            public TextField TextField\r
-            {\r
-                get\r
-                {\r
-                    return _textField;\r
-                }\r
-                set\r
-                {\r
-                    _textField = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        public class MaxLengthReachedEventArgs : EventArgs\r
-        {\r
-            private TextField _textField;\r
-\r
-            public TextField TextField\r
-            {\r
-                get\r
-                {\r
-                    return _textField;\r
-                }\r
-                set\r
-                {\r
-                    _textField = value;\r
-                }\r
-            }\r
-        }\r
-\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void TextChangedCallbackDelegate(IntPtr textField);\r
-        private EventHandler<TextChangedEventArgs> _textFieldTextChangedEventHandler;\r
-        private TextChangedCallbackDelegate _textFieldTextChangedCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void MaxLengthReachedCallbackDelegate(IntPtr textField);\r
-        private EventHandler<MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;\r
-        private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;\r
-\r
-        public event EventHandler<TextChangedEventArgs> TextChanged\r
-        {\r
-            add\r
-            {\r
-                if (_textFieldTextChangedEventHandler == null)\r
-                {\r
-                    _textFieldTextChangedCallbackDelegate = (OnTextChanged);\r
-                    TextChangedSignal().Connect(_textFieldTextChangedCallbackDelegate);\r
-                }\r
-                _textFieldTextChangedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _textFieldTextChangedEventHandler -= value;\r
-                if (_textFieldTextChangedEventHandler == null && _textFieldTextChangedCallbackDelegate != null)\r
-                {\r
-                    TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        private void OnTextChanged(IntPtr textField)\r
-        {\r
-            TextChangedEventArgs e = new TextChangedEventArgs();\r
-\r
-            // Populate all members of "e" (TextChangedEventArgs) with real data\r
-            e.TextField = Tizen.NUI.TextField.GetTextFieldFromPtr(textField);\r
-\r
-            if (_textFieldTextChangedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _textFieldTextChangedEventHandler(this, e);\r
-            }\r
-\r
-        }\r
-\r
-        public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached\r
-        {\r
-            add\r
-            {\r
-                if (_textFieldMaxLengthReachedEventHandler == null)\r
-                {\r
-                    _textFieldMaxLengthReachedCallbackDelegate = (OnMaxLengthReached);\r
-                    MaxLengthReachedSignal().Connect(_textFieldMaxLengthReachedCallbackDelegate);\r
-                }\r
-                _textFieldMaxLengthReachedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                if (_textFieldMaxLengthReachedEventHandler == null && _textFieldMaxLengthReachedCallbackDelegate != null)\r
-                {\r
-                    this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);\r
-                }\r
-                _textFieldMaxLengthReachedEventHandler -= value;\r
-            }\r
-        }\r
-\r
-        private void OnMaxLengthReached(IntPtr textField)\r
-        {\r
-            MaxLengthReachedEventArgs e = new MaxLengthReachedEventArgs();\r
-\r
-            // Populate all members of "e" (MaxLengthReachedEventArgs) with real data\r
-            e.TextField = Tizen.NUI.TextField.GetTextFieldFromPtr(textField);\r
-\r
-            if (_textFieldMaxLengthReachedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _textFieldMaxLengthReachedEventHandler(this, e);\r
-            }\r
-\r
-        }\r
-\r
-        internal static TextField GetTextFieldFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            TextField ret = new TextField(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_TextField_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_TextField_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();\r
-            internal static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();\r
-            internal static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();\r
-            internal static readonly int PLACEHOLDER_TEXT_FOCUSED = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_FOCUSED_get();\r
-            internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextField_Property_FONT_FAMILY_get();\r
-            internal static readonly int FONT_STYLE = NDalicPINVOKE.TextField_Property_FONT_STYLE_get();\r
-            internal static readonly int POINT_SIZE = NDalicPINVOKE.TextField_Property_POINT_SIZE_get();\r
-            internal static readonly int MAX_LENGTH = NDalicPINVOKE.TextField_Property_MAX_LENGTH_get();\r
-            internal static readonly int EXCEED_POLICY = NDalicPINVOKE.TextField_Property_EXCEED_POLICY_get();\r
-            internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_HORIZONTAL_ALIGNMENT_get();\r
-            internal static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_VERTICAL_ALIGNMENT_get();\r
-            internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextField_Property_TEXT_COLOR_get();\r
-            internal static readonly int PLACEHOLDER_TEXT_COLOR = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_COLOR_get();\r
-            internal static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextField_Property_SHADOW_OFFSET_get();\r
-            internal static readonly int SHADOW_COLOR = NDalicPINVOKE.TextField_Property_SHADOW_COLOR_get();\r
-            internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_PRIMARY_CURSOR_COLOR_get();\r
-            internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_SECONDARY_CURSOR_COLOR_get();\r
-            internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextField_Property_ENABLE_CURSOR_BLINK_get();\r
-            internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_INTERVAL_get();\r
-            internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_DURATION_get();\r
-            internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextField_Property_CURSOR_WIDTH_get();\r
-            internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_IMAGE_get();\r
-            internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_PRESSED_IMAGE_get();\r
-            internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextField_Property_SCROLL_THRESHOLD_get();\r
-            internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextField_Property_SCROLL_SPEED_get();\r
-            internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_LEFT_get();\r
-            internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();\r
-            internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();\r
-            internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();\r
-            internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();\r
-            internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();\r
-            internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextField_Property_SELECTION_HIGHLIGHT_COLOR_get();\r
-            internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextField_Property_DECORATION_BOUNDING_BOX_get();\r
-            internal static readonly int INPUT_METHOD_SETTINGS = NDalicPINVOKE.TextField_Property_INPUT_METHOD_SETTINGS_get();\r
-            internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextField_Property_INPUT_COLOR_get();\r
-            internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextField_Property_ENABLE_MARKUP_get();\r
-            internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextField_Property_INPUT_FONT_FAMILY_get();\r
-            internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextField_Property_INPUT_FONT_STYLE_get();\r
-            internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextField_Property_INPUT_POINT_SIZE_get();\r
-            internal static readonly int UNDERLINE = NDalicPINVOKE.TextField_Property_UNDERLINE_get();\r
-            internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextField_Property_INPUT_UNDERLINE_get();\r
-            internal static readonly int SHADOW = NDalicPINVOKE.TextField_Property_SHADOW_get();\r
-            internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextField_Property_INPUT_SHADOW_get();\r
-            internal static readonly int EMBOSS = NDalicPINVOKE.TextField_Property_EMBOSS_get();\r
-            internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();\r
-            internal static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();\r
-            internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();\r
-\r
-        }\r
-\r
-        internal class InputStyle : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~InputStyle()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_TextField_InputStyle(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal InputStyle() : this(NDalicPINVOKE.new_TextField_InputStyle(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal enum Mask\r
-            {\r
-                None = 0x0000,\r
-                Color = 0x0001,\r
-                FontFamily = 0x0002,\r
-                PointSize = 0x0004,\r
-                FontStyle = 0x0008,\r
-                Underline = 0x0010,\r
-                Shadow = 0x0020,\r
-                Emboss = 0x0040,\r
-                Outline = 0x0080\r
-            }\r
-\r
-        }\r
-\r
-        public TextField() : this(NDalicPINVOKE.TextField_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal TextField Assign(TextField handle)\r
-        {\r
-            TextField ret = new TextField(NDalicPINVOKE.TextField_Assign(swigCPtr, TextField.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static TextField DownCast(BaseHandle handle)\r
-        {\r
-            TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal TextFieldSignal TextChangedSignal()\r
-        {\r
-            TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal TextFieldSignal MaxLengthReachedSignal()\r
-        {\r
-            TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal()\r
-        {\r
-            SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t(NDalicPINVOKE.TextField_InputStyleChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000\r
-        }\r
-\r
-        internal enum ExceedPolicyType\r
-        {\r
-            ExceedPolicyOriginal,\r
-            ExceedPolicyClip\r
-        }\r
-\r
-        public int RenderingBackend\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TextField.Property.RENDERING_BACKEND).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string Text\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextField.Property.TEXT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.TEXT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string PlaceholderText\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextField.Property.PLACEHOLDER_TEXT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string PlaceholderTextFocused\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string FontFamily\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextField.Property.FONT_FAMILY).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap FontStyle\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.FONT_STYLE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float PointSize\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextField.Property.POINT_SIZE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public int MaxLength\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TextField.Property.MAX_LENGTH).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.MAX_LENGTH, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public int ExceedPolicy\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TextField.Property.EXCEED_POLICY).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.EXCEED_POLICY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string HorizontalAlignment\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextField.Property.HORIZONTAL_ALIGNMENT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string VerticalAlignment\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextField.Property.VERTICAL_ALIGNMENT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Color TextColor\r
-        {\r
-            get\r
-            {\r
-                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextField.Property.TEXT_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 PlaceholderTextColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector2 ShadowOffset\r
-        {\r
-            get\r
-            {\r
-                Vector2 temp = new Vector2(0.0f, 0.0f);\r
-                GetProperty(TextField.Property.SHADOW_OFFSET).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 ShadowColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextField.Property.SHADOW_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 PrimaryCursorColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextField.Property.PRIMARY_CURSOR_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 SecondaryCursorColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextField.Property.SECONDARY_CURSOR_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool EnableCursorBlink\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(TextField.Property.ENABLE_CURSOR_BLINK).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float CursorBlinkInterval\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextField.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float CursorBlinkDuration\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextField.Property.CURSOR_BLINK_DURATION).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public int CursorWidth\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TextField.Property.CURSOR_WIDTH).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string GrabHandleImage\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextField.Property.GRAB_HANDLE_IMAGE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string GrabHandlePressedImage\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ScrollThreshold\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextField.Property.SCROLL_THRESHOLD).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float ScrollSpeed\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextField.Property.SCROLL_SPEED).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandleImageLeft\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandleImageRight\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandlePressedImageLeft\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandlePressedImageRight\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandleMarkerImageLeft\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap SelectionHandleMarkerImageRight\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 SelectionHighlightColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Rectangle DecorationBoundingBox\r
-        {\r
-            get\r
-            {\r
-                Rectangle temp = new Rectangle(0, 0, 0, 0);\r
-                GetProperty(TextField.Property.DECORATION_BOUNDING_BOX).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputMethodSettings\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.INPUT_METHOD_SETTINGS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.INPUT_METHOD_SETTINGS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 InputColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextField.Property.INPUT_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool EnableMarkup\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(TextField.Property.ENABLE_MARKUP).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string InputFontFamily\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextField.Property.INPUT_FONT_FAMILY).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputFontStyle\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.INPUT_FONT_STYLE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float InputPointSize\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextField.Property.INPUT_POINT_SIZE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Underline\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.UNDERLINE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputUnderline\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.INPUT_UNDERLINE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Shadow\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.SHADOW).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.SHADOW, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputShadow\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.INPUT_SHADOW).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Emboss\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.EMBOSS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputEmboss\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.INPUT_EMBOSS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Outline\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.OUTLINE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap InputOutline\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextField.Property.INPUT_OUTLINE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextField.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class TextField : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal TextField(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextField_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextField obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~TextField()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_TextField(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+        public class TextChangedEventArgs : EventArgs
+        {
+            private TextField _textField;
+
+            public TextField TextField
+            {
+                get
+                {
+                    return _textField;
+                }
+                set
+                {
+                    _textField = value;
+                }
+            }
+        }
+
+        public class MaxLengthReachedEventArgs : EventArgs
+        {
+            private TextField _textField;
+
+            public TextField TextField
+            {
+                get
+                {
+                    return _textField;
+                }
+                set
+                {
+                    _textField = value;
+                }
+            }
+        }
+
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void TextChangedCallbackDelegate(IntPtr textField);
+        private EventHandler<TextChangedEventArgs> _textFieldTextChangedEventHandler;
+        private TextChangedCallbackDelegate _textFieldTextChangedCallbackDelegate;
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void MaxLengthReachedCallbackDelegate(IntPtr textField);
+        private EventHandler<MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;
+        private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;
+
+        public event EventHandler<TextChangedEventArgs> TextChanged
+        {
+            add
+            {
+                if (_textFieldTextChangedEventHandler == null)
+                {
+                    _textFieldTextChangedCallbackDelegate = (OnTextChanged);
+                    TextChangedSignal().Connect(_textFieldTextChangedCallbackDelegate);
+                }
+                _textFieldTextChangedEventHandler += value;
+            }
+            remove
+            {
+                _textFieldTextChangedEventHandler -= value;
+                if (_textFieldTextChangedEventHandler == null && _textFieldTextChangedCallbackDelegate != null)
+                {
+                    TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);
+                }
+            }
+        }
+
+        private void OnTextChanged(IntPtr textField)
+        {
+            TextChangedEventArgs e = new TextChangedEventArgs();
+
+            // Populate all members of "e" (TextChangedEventArgs) with real data
+            e.TextField = Tizen.NUI.TextField.GetTextFieldFromPtr(textField);
+
+            if (_textFieldTextChangedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _textFieldTextChangedEventHandler(this, e);
+            }
+
+        }
+
+        public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
+        {
+            add
+            {
+                if (_textFieldMaxLengthReachedEventHandler == null)
+                {
+                    _textFieldMaxLengthReachedCallbackDelegate = (OnMaxLengthReached);
+                    MaxLengthReachedSignal().Connect(_textFieldMaxLengthReachedCallbackDelegate);
+                }
+                _textFieldMaxLengthReachedEventHandler += value;
+            }
+            remove
+            {
+                if (_textFieldMaxLengthReachedEventHandler == null && _textFieldMaxLengthReachedCallbackDelegate != null)
+                {
+                    this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);
+                }
+                _textFieldMaxLengthReachedEventHandler -= value;
+            }
+        }
+
+        private void OnMaxLengthReached(IntPtr textField)
+        {
+            MaxLengthReachedEventArgs e = new MaxLengthReachedEventArgs();
+
+            // Populate all members of "e" (MaxLengthReachedEventArgs) with real data
+            e.TextField = Tizen.NUI.TextField.GetTextFieldFromPtr(textField);
+
+            if (_textFieldMaxLengthReachedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _textFieldMaxLengthReachedEventHandler(this, e);
+            }
+
+        }
+
+        internal static TextField GetTextFieldFromPtr(global::System.IntPtr cPtr)
+        {
+            TextField ret = new TextField(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_TextField_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_TextField_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
+            internal static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
+            internal static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();
+            internal static readonly int PLACEHOLDER_TEXT_FOCUSED = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_FOCUSED_get();
+            internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextField_Property_FONT_FAMILY_get();
+            internal static readonly int FONT_STYLE = NDalicPINVOKE.TextField_Property_FONT_STYLE_get();
+            internal static readonly int POINT_SIZE = NDalicPINVOKE.TextField_Property_POINT_SIZE_get();
+            internal static readonly int MAX_LENGTH = NDalicPINVOKE.TextField_Property_MAX_LENGTH_get();
+            internal static readonly int EXCEED_POLICY = NDalicPINVOKE.TextField_Property_EXCEED_POLICY_get();
+            internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_HORIZONTAL_ALIGNMENT_get();
+            internal static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_VERTICAL_ALIGNMENT_get();
+            internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextField_Property_TEXT_COLOR_get();
+            internal static readonly int PLACEHOLDER_TEXT_COLOR = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_COLOR_get();
+            internal static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextField_Property_SHADOW_OFFSET_get();
+            internal static readonly int SHADOW_COLOR = NDalicPINVOKE.TextField_Property_SHADOW_COLOR_get();
+            internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_PRIMARY_CURSOR_COLOR_get();
+            internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_SECONDARY_CURSOR_COLOR_get();
+            internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextField_Property_ENABLE_CURSOR_BLINK_get();
+            internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_INTERVAL_get();
+            internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_DURATION_get();
+            internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextField_Property_CURSOR_WIDTH_get();
+            internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_IMAGE_get();
+            internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
+            internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextField_Property_SCROLL_THRESHOLD_get();
+            internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextField_Property_SCROLL_SPEED_get();
+            internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
+            internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
+            internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
+            internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
+            internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
+            internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
+            internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextField_Property_SELECTION_HIGHLIGHT_COLOR_get();
+            internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextField_Property_DECORATION_BOUNDING_BOX_get();
+            internal static readonly int INPUT_METHOD_SETTINGS = NDalicPINVOKE.TextField_Property_INPUT_METHOD_SETTINGS_get();
+            internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextField_Property_INPUT_COLOR_get();
+            internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextField_Property_ENABLE_MARKUP_get();
+            internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextField_Property_INPUT_FONT_FAMILY_get();
+            internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextField_Property_INPUT_FONT_STYLE_get();
+            internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextField_Property_INPUT_POINT_SIZE_get();
+            internal static readonly int UNDERLINE = NDalicPINVOKE.TextField_Property_UNDERLINE_get();
+            internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextField_Property_INPUT_UNDERLINE_get();
+            internal static readonly int SHADOW = NDalicPINVOKE.TextField_Property_SHADOW_get();
+            internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextField_Property_INPUT_SHADOW_get();
+            internal static readonly int EMBOSS = NDalicPINVOKE.TextField_Property_EMBOSS_get();
+            internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();
+            internal static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();
+            internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();
+
+        }
+
+        internal class InputStyle : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~InputStyle()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_TextField_InputStyle(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal InputStyle() : this(NDalicPINVOKE.new_TextField_InputStyle(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal enum Mask
+            {
+                None = 0x0000,
+                Color = 0x0001,
+                FontFamily = 0x0002,
+                PointSize = 0x0004,
+                FontStyle = 0x0008,
+                Underline = 0x0010,
+                Shadow = 0x0020,
+                Emboss = 0x0040,
+                Outline = 0x0080
+            }
+
+        }
+
+        public TextField() : this(NDalicPINVOKE.TextField_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal TextField Assign(TextField handle)
+        {
+            TextField ret = new TextField(NDalicPINVOKE.TextField_Assign(swigCPtr, TextField.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static TextField DownCast(BaseHandle handle)
+        {
+            TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal TextFieldSignal TextChangedSignal()
+        {
+            TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal TextFieldSignal MaxLengthReachedSignal()
+        {
+            TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal()
+        {
+            SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t(NDalicPINVOKE.TextField_InputStyleChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
+        }
+
+        internal enum ExceedPolicyType
+        {
+            ExceedPolicyOriginal,
+            ExceedPolicyClip
+        }
+
+        public int RenderingBackend
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TextField.Property.RENDERING_BACKEND).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string Text
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextField.Property.TEXT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.TEXT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string PlaceholderText
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextField.Property.PLACEHOLDER_TEXT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string PlaceholderTextFocused
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string FontFamily
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextField.Property.FONT_FAMILY).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap FontStyle
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.FONT_STYLE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float PointSize
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextField.Property.POINT_SIZE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public int MaxLength
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TextField.Property.MAX_LENGTH).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.MAX_LENGTH, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public int ExceedPolicy
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TextField.Property.EXCEED_POLICY).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.EXCEED_POLICY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string HorizontalAlignment
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextField.Property.HORIZONTAL_ALIGNMENT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string VerticalAlignment
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextField.Property.VERTICAL_ALIGNMENT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Color TextColor
+        {
+            get
+            {
+                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextField.Property.TEXT_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 PlaceholderTextColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector2 ShadowOffset
+        {
+            get
+            {
+                Vector2 temp = new Vector2(0.0f, 0.0f);
+                GetProperty(TextField.Property.SHADOW_OFFSET).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 ShadowColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextField.Property.SHADOW_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 PrimaryCursorColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextField.Property.PRIMARY_CURSOR_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 SecondaryCursorColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextField.Property.SECONDARY_CURSOR_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool EnableCursorBlink
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextField.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float CursorBlinkInterval
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextField.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float CursorBlinkDuration
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextField.Property.CURSOR_BLINK_DURATION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public int CursorWidth
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TextField.Property.CURSOR_WIDTH).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string GrabHandleImage
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextField.Property.GRAB_HANDLE_IMAGE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string GrabHandlePressedImage
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ScrollThreshold
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextField.Property.SCROLL_THRESHOLD).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float ScrollSpeed
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextField.Property.SCROLL_SPEED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandleImageLeft
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandleImageRight
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandlePressedImageLeft
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandlePressedImageRight
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandleMarkerImageLeft
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap SelectionHandleMarkerImageRight
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 SelectionHighlightColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Rectangle DecorationBoundingBox
+        {
+            get
+            {
+                Rectangle temp = new Rectangle(0, 0, 0, 0);
+                GetProperty(TextField.Property.DECORATION_BOUNDING_BOX).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputMethodSettings
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.INPUT_METHOD_SETTINGS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.INPUT_METHOD_SETTINGS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 InputColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextField.Property.INPUT_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool EnableMarkup
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextField.Property.ENABLE_MARKUP).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string InputFontFamily
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextField.Property.INPUT_FONT_FAMILY).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputFontStyle
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.INPUT_FONT_STYLE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float InputPointSize
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextField.Property.INPUT_POINT_SIZE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Underline
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.UNDERLINE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputUnderline
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.INPUT_UNDERLINE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Shadow
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.SHADOW).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputShadow
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.INPUT_SHADOW).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Emboss
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.EMBOSS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputEmboss
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.INPUT_EMBOSS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Outline
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.OUTLINE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap InputOutline
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextField.Property.INPUT_OUTLINE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+    }
+
+}
index bf201ea2d73b3920bc2edc5cba2afa1fcff4d10d..3c6fb1991e0324f8135046c7f97afecfdd380c34 100755 (executable)
 // the SWIG interface file instead.
 //------------------------------------------------------------------------------
 
-namespace Tizen.NUI\r
-{\r
-\r
-    public class TextLabel : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal TextLabel(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextLabel_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextLabel obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~TextLabel()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_TextLabel(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_TextLabel_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_TextLabel_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextLabel_Property_RENDERING_BACKEND_get();\r
-            internal static readonly int TEXT = NDalicPINVOKE.TextLabel_Property_TEXT_get();\r
-            internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextLabel_Property_FONT_FAMILY_get();\r
-            internal static readonly int FONT_STYLE = NDalicPINVOKE.TextLabel_Property_FONT_STYLE_get();\r
-            internal static readonly int POINT_SIZE = NDalicPINVOKE.TextLabel_Property_POINT_SIZE_get();\r
-            internal static readonly int MULTI_LINE = NDalicPINVOKE.TextLabel_Property_MULTI_LINE_get();\r
-            internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextLabel_Property_HORIZONTAL_ALIGNMENT_get();\r
-            internal static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextLabel_Property_VERTICAL_ALIGNMENT_get();\r
-            internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextLabel_Property_TEXT_COLOR_get();\r
-            internal static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextLabel_Property_SHADOW_OFFSET_get();\r
-            internal static readonly int SHADOW_COLOR = NDalicPINVOKE.TextLabel_Property_SHADOW_COLOR_get();\r
-            internal static readonly int UNDERLINE_ENABLED = NDalicPINVOKE.TextLabel_Property_UNDERLINE_ENABLED_get();\r
-            internal static readonly int UNDERLINE_COLOR = NDalicPINVOKE.TextLabel_Property_UNDERLINE_COLOR_get();\r
-            internal static readonly int UNDERLINE_HEIGHT = NDalicPINVOKE.TextLabel_Property_UNDERLINE_HEIGHT_get();\r
-            internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextLabel_Property_ENABLE_MARKUP_get();\r
-            internal static readonly int ENABLE_AUTO_SCROLL = NDalicPINVOKE.TextLabel_Property_ENABLE_AUTO_SCROLL_get();\r
-            internal static readonly int AUTO_SCROLL_SPEED = NDalicPINVOKE.TextLabel_Property_AUTO_SCROLL_SPEED_get();\r
-            internal static readonly int AUTO_SCROLL_LOOP_COUNT = NDalicPINVOKE.TextLabel_Property_AUTO_SCROLL_LOOP_COUNT_get();\r
-            internal static readonly int AUTO_SCROLL_GAP = NDalicPINVOKE.TextLabel_Property_AUTO_SCROLL_GAP_get();\r
-            internal static readonly int LINE_SPACING = NDalicPINVOKE.TextLabel_Property_LINE_SPACING_get();\r
-            internal static readonly int UNDERLINE = NDalicPINVOKE.TextLabel_Property_UNDERLINE_get();\r
-            internal static readonly int SHADOW = NDalicPINVOKE.TextLabel_Property_SHADOW_get();\r
-            internal static readonly int EMBOSS = NDalicPINVOKE.TextLabel_Property_EMBOSS_get();\r
-            internal static readonly int OUTLINE = NDalicPINVOKE.TextLabel_Property_OUTLINE_get();\r
-\r
-        }\r
-\r
-        public TextLabel() : this(NDalicPINVOKE.TextLabel_New__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public TextLabel(string text) : this(NDalicPINVOKE.TextLabel_New__SWIG_1(text), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal TextLabel(TextLabel handle) : this(NDalicPINVOKE.new_TextLabel__SWIG_1(TextLabel.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal TextLabel Assign(TextLabel handle)\r
-        {\r
-            TextLabel ret = new TextLabel(NDalicPINVOKE.TextLabel_Assign(swigCPtr, TextLabel.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static TextLabel DownCast(BaseHandle handle)\r
-        {\r
-            TextLabel ret = new TextLabel(NDalicPINVOKE.TextLabel_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000\r
-        }\r
-\r
-        public int RenderingBackend\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TextLabel.Property.RENDERING_BACKEND).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string Text\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextLabel.Property.TEXT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.TEXT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string FontFamily\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextLabel.Property.FONT_FAMILY).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap FontStyle\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextLabel.Property.FONT_STYLE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float PointSize\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextLabel.Property.POINT_SIZE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool MultiLine\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(TextLabel.Property.MULTI_LINE).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.MULTI_LINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string HorizontalAlignment\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextLabel.Property.HORIZONTAL_ALIGNMENT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public string VerticalAlignment\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TextLabel.Property.VERTICAL_ALIGNMENT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Color TextColor\r
-        {\r
-            get\r
-            {\r
-                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextLabel.Property.TEXT_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector2 ShadowOffset\r
-        {\r
-            get\r
-            {\r
-                Vector2 temp = new Vector2(0.0f, 0.0f);\r
-                GetProperty(TextLabel.Property.SHADOW_OFFSET).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 ShadowColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextLabel.Property.SHADOW_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool UnderlineEnabled\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(TextLabel.Property.UNDERLINE_ENABLED).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.UNDERLINE_ENABLED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public Vector4 UnderlineColor\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(TextLabel.Property.UNDERLINE_COLOR).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.UNDERLINE_COLOR, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float UnderlineHeight\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextLabel.Property.UNDERLINE_HEIGHT).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.UNDERLINE_HEIGHT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool EnableMarkup\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(TextLabel.Property.ENABLE_MARKUP).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool EnableAutoScroll\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(TextLabel.Property.ENABLE_AUTO_SCROLL).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.ENABLE_AUTO_SCROLL, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public int AutoScrollSpeed\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TextLabel.Property.AUTO_SCROLL_SPEED).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.AUTO_SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public int AutoScrollLoopCount\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(TextLabel.Property.AUTO_SCROLL_LOOP_COUNT).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.AUTO_SCROLL_LOOP_COUNT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float AutoScrollGap\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextLabel.Property.AUTO_SCROLL_GAP).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.AUTO_SCROLL_GAP, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public float LineSpacing\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TextLabel.Property.LINE_SPACING).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Underline\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextLabel.Property.UNDERLINE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Shadow\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextLabel.Property.SHADOW).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.SHADOW, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Emboss\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextLabel.Property.EMBOSS).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Outline\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(TextLabel.Property.OUTLINE).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TextLabel.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
+namespace Tizen.NUI
+{
+
+    public class TextLabel : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal TextLabel(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextLabel_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextLabel obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~TextLabel()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_TextLabel(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_TextLabel_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_TextLabel_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextLabel_Property_RENDERING_BACKEND_get();
+            internal static readonly int TEXT = NDalicPINVOKE.TextLabel_Property_TEXT_get();
+            internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextLabel_Property_FONT_FAMILY_get();
+            internal static readonly int FONT_STYLE = NDalicPINVOKE.TextLabel_Property_FONT_STYLE_get();
+            internal static readonly int POINT_SIZE = NDalicPINVOKE.TextLabel_Property_POINT_SIZE_get();
+            internal static readonly int MULTI_LINE = NDalicPINVOKE.TextLabel_Property_MULTI_LINE_get();
+            internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextLabel_Property_HORIZONTAL_ALIGNMENT_get();
+            internal static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextLabel_Property_VERTICAL_ALIGNMENT_get();
+            internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextLabel_Property_TEXT_COLOR_get();
+            internal static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextLabel_Property_SHADOW_OFFSET_get();
+            internal static readonly int SHADOW_COLOR = NDalicPINVOKE.TextLabel_Property_SHADOW_COLOR_get();
+            internal static readonly int UNDERLINE_ENABLED = NDalicPINVOKE.TextLabel_Property_UNDERLINE_ENABLED_get();
+            internal static readonly int UNDERLINE_COLOR = NDalicPINVOKE.TextLabel_Property_UNDERLINE_COLOR_get();
+            internal static readonly int UNDERLINE_HEIGHT = NDalicPINVOKE.TextLabel_Property_UNDERLINE_HEIGHT_get();
+            internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextLabel_Property_ENABLE_MARKUP_get();
+            internal static readonly int ENABLE_AUTO_SCROLL = NDalicPINVOKE.TextLabel_Property_ENABLE_AUTO_SCROLL_get();
+            internal static readonly int AUTO_SCROLL_SPEED = NDalicPINVOKE.TextLabel_Property_AUTO_SCROLL_SPEED_get();
+            internal static readonly int AUTO_SCROLL_LOOP_COUNT = NDalicPINVOKE.TextLabel_Property_AUTO_SCROLL_LOOP_COUNT_get();
+            internal static readonly int AUTO_SCROLL_GAP = NDalicPINVOKE.TextLabel_Property_AUTO_SCROLL_GAP_get();
+            internal static readonly int LINE_SPACING = NDalicPINVOKE.TextLabel_Property_LINE_SPACING_get();
+            internal static readonly int UNDERLINE = NDalicPINVOKE.TextLabel_Property_UNDERLINE_get();
+            internal static readonly int SHADOW = NDalicPINVOKE.TextLabel_Property_SHADOW_get();
+            internal static readonly int EMBOSS = NDalicPINVOKE.TextLabel_Property_EMBOSS_get();
+            internal static readonly int OUTLINE = NDalicPINVOKE.TextLabel_Property_OUTLINE_get();
+
+        }
+
+        public TextLabel() : this(NDalicPINVOKE.TextLabel_New__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public TextLabel(string text) : this(NDalicPINVOKE.TextLabel_New__SWIG_1(text), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal TextLabel(TextLabel handle) : this(NDalicPINVOKE.new_TextLabel__SWIG_1(TextLabel.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal TextLabel Assign(TextLabel handle)
+        {
+            TextLabel ret = new TextLabel(NDalicPINVOKE.TextLabel_Assign(swigCPtr, TextLabel.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static TextLabel DownCast(BaseHandle handle)
+        {
+            TextLabel ret = new TextLabel(NDalicPINVOKE.TextLabel_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
+        }
+
+        public int RenderingBackend
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TextLabel.Property.RENDERING_BACKEND).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string Text
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextLabel.Property.TEXT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.TEXT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string FontFamily
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextLabel.Property.FONT_FAMILY).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap FontStyle
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextLabel.Property.FONT_STYLE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float PointSize
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextLabel.Property.POINT_SIZE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool MultiLine
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextLabel.Property.MULTI_LINE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.MULTI_LINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string HorizontalAlignment
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextLabel.Property.HORIZONTAL_ALIGNMENT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public string VerticalAlignment
+        {
+            get
+            {
+                string temp;
+                GetProperty(TextLabel.Property.VERTICAL_ALIGNMENT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Color TextColor
+        {
+            get
+            {
+                Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextLabel.Property.TEXT_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector2 ShadowOffset
+        {
+            get
+            {
+                Vector2 temp = new Vector2(0.0f, 0.0f);
+                GetProperty(TextLabel.Property.SHADOW_OFFSET).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 ShadowColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextLabel.Property.SHADOW_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool UnderlineEnabled
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextLabel.Property.UNDERLINE_ENABLED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.UNDERLINE_ENABLED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public Vector4 UnderlineColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(TextLabel.Property.UNDERLINE_COLOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.UNDERLINE_COLOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float UnderlineHeight
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextLabel.Property.UNDERLINE_HEIGHT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.UNDERLINE_HEIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool EnableMarkup
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextLabel.Property.ENABLE_MARKUP).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool EnableAutoScroll
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextLabel.Property.ENABLE_AUTO_SCROLL).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.ENABLE_AUTO_SCROLL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public int AutoScrollSpeed
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TextLabel.Property.AUTO_SCROLL_SPEED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.AUTO_SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public int AutoScrollLoopCount
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(TextLabel.Property.AUTO_SCROLL_LOOP_COUNT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.AUTO_SCROLL_LOOP_COUNT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float AutoScrollGap
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextLabel.Property.AUTO_SCROLL_GAP).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.AUTO_SCROLL_GAP, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public float LineSpacing
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextLabel.Property.LINE_SPACING).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Underline
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextLabel.Property.UNDERLINE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Shadow
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextLabel.Property.SHADOW).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Emboss
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextLabel.Property.EMBOSS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Outline
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(TextLabel.Property.OUTLINE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
     }
 
 }
index 7b50a7e1080326d98426bc202eca68b7f39d32ff..23e56948ecf642a0b2da4dab83becc9958507d70 100755 (executable)
 // the SWIG interface file instead.
 //------------------------------------------------------------------------------
 
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class Timer : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Timer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Timer_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Timer obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Timer()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Timer(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class Timer : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Timer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Timer_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Timer obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Timer()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Timer(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
         /**
           * @brief Event arguments that passed via Tick signal
           *
-          */\r
-        public class TickEventArgs : EventArgs\r
-        {\r
-        }\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool TickCallbackDelegate(IntPtr data);\r
-        private EventHandlerWithReturnType<object, TickEventArgs, bool> _timerTickEventHandler;\r
-        private TickCallbackDelegate _timerTickCallbackDelegate;\r
-\r
+          */
+        public class TickEventArgs : EventArgs
+        {
+        }
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool TickCallbackDelegate(IntPtr data);
+        private EventHandlerWithReturnType<object, TickEventArgs, bool> _timerTickEventHandler;
+        private TickCallbackDelegate _timerTickCallbackDelegate;
+
         /**
           * @brief Event for Ticked signal which can be used to subscribe/unsubscribe the event handler
           * (in the type of TickEventHandler-DaliEventHandlerWithReturnType<object,TickEventArgs,bool>) 
           * provided by the user. Ticked signal is emitted after specified time interval.
-          */\r
-        public event EventHandlerWithReturnType<object, TickEventArgs, bool> Tick\r
-        {\r
-            add\r
-            {\r
-                if (_timerTickEventHandler == null)\r
-                {\r
-                    _timerTickCallbackDelegate = (OnTick);\r
-                    TickSignal().Connect(_timerTickCallbackDelegate);\r
-                }\r
-                _timerTickEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _timerTickEventHandler -= value;\r
-                if (_timerTickEventHandler == null && _timerTickCallbackDelegate != null)\r
-                {\r
-                    TickSignal().Disconnect(_timerTickCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for Timer Tick signal\r
-        private bool OnTick(IntPtr data)\r
-        {\r
-            TickEventArgs e = new TickEventArgs();\r
-\r
-            if (_timerTickEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                return _timerTickEventHandler(this, e);\r
-            }\r
-            return false;\r
-        }\r
-\r
-\r
-        public Timer(uint milliSec) : this(NDalicPINVOKE.Timer_New(milliSec), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal Timer(Timer timer) : this(NDalicPINVOKE.new_Timer__SWIG_1(Timer.getCPtr(timer)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Timer Assign(Timer timer)\r
-        {\r
-            Timer ret = new Timer(NDalicPINVOKE.Timer_Assign(swigCPtr, Timer.getCPtr(timer)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static Timer DownCast(BaseHandle handle)\r
-        {\r
-            Timer ret = new Timer(NDalicPINVOKE.Timer_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Start()\r
-        {\r
-            NDalicPINVOKE.Timer_Start(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Stop()\r
-        {\r
-            NDalicPINVOKE.Timer_Stop(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetInterval(uint milliSec)\r
-        {\r
-            NDalicPINVOKE.Timer_SetInterval(swigCPtr, milliSec);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal uint GetInterval()\r
-        {\r
-            uint ret = NDalicPINVOKE.Timer_GetInterval(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool IsRunning()\r
-        {\r
-            bool ret = NDalicPINVOKE.Timer_IsRunning(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal TimerSignalType TickSignal()\r
-        {\r
-            TimerSignalType ret = new TimerSignalType(NDalicPINVOKE.Timer_TickSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
+          */
+        public event EventHandlerWithReturnType<object, TickEventArgs, bool> Tick
+        {
+            add
+            {
+                if (_timerTickEventHandler == null)
+                {
+                    _timerTickCallbackDelegate = (OnTick);
+                    TickSignal().Connect(_timerTickCallbackDelegate);
+                }
+                _timerTickEventHandler += value;
+            }
+            remove
+            {
+                _timerTickEventHandler -= value;
+                if (_timerTickEventHandler == null && _timerTickCallbackDelegate != null)
+                {
+                    TickSignal().Disconnect(_timerTickCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Timer Tick signal
+        private bool OnTick(IntPtr data)
+        {
+            TickEventArgs e = new TickEventArgs();
+
+            if (_timerTickEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                return _timerTickEventHandler(this, e);
+            }
+            return false;
+        }
+
+
+        public Timer(uint milliSec) : this(NDalicPINVOKE.Timer_New(milliSec), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal Timer(Timer timer) : this(NDalicPINVOKE.new_Timer__SWIG_1(Timer.getCPtr(timer)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Timer Assign(Timer timer)
+        {
+            Timer ret = new Timer(NDalicPINVOKE.Timer_Assign(swigCPtr, Timer.getCPtr(timer)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static Timer DownCast(BaseHandle handle)
+        {
+            Timer ret = new Timer(NDalicPINVOKE.Timer_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Start()
+        {
+            NDalicPINVOKE.Timer_Start(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Stop()
+        {
+            NDalicPINVOKE.Timer_Stop(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetInterval(uint milliSec)
+        {
+            NDalicPINVOKE.Timer_SetInterval(swigCPtr, milliSec);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal uint GetInterval()
+        {
+            uint ret = NDalicPINVOKE.Timer_GetInterval(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool IsRunning()
+        {
+            bool ret = NDalicPINVOKE.Timer_IsRunning(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal TimerSignalType TickSignal()
+        {
+            TimerSignalType ret = new TimerSignalType(NDalicPINVOKE.Timer_TickSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
     }
 
 }
index fe76d4adda59962a1df3a32b746fe80950aa81b7..c93706b2f5ddc361fc0a04eff2a948c2d8c35a3d 100755 (executable)
 // the SWIG interface file instead.
 //------------------------------------------------------------------------------
 
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Touch : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Touch(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Touch_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Touch obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Touch()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Touch(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        internal static Touch GetTouchFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Touch ret = new Touch(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Touch() : this(NDalicPINVOKE.new_Touch__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Touch(Touch other) : this(NDalicPINVOKE.new_Touch__SWIG_1(Touch.getCPtr(other)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Touch Assign(Touch other)\r
-        {\r
-            Touch ret = new Touch(NDalicPINVOKE.Touch_Assign(swigCPtr, Touch.getCPtr(other)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint GetTime()\r
-        {\r
-            uint ret = NDalicPINVOKE.Touch_GetTime(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public uint GetPointCount()\r
-        {\r
-            uint ret = NDalicPINVOKE.Touch_GetPointCount(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public int GetDeviceId(uint point)\r
-        {\r
-            int ret = NDalicPINVOKE.Touch_GetDeviceId(swigCPtr, point);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PointStateType GetState(uint point)\r
-        {\r
-            PointStateType ret = (PointStateType)NDalicPINVOKE.Touch_GetState(swigCPtr, point);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Actor GetHitActor(uint point)\r
-        {\r
-            Actor ret = new Actor(NDalicPINVOKE.Touch_GetHitActor(swigCPtr, point), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Vector2 GetLocalPosition(uint point)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetLocalPosition(swigCPtr, point), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Vector2 GetScreenPosition(uint point)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetScreenPosition(swigCPtr, point), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float GetRadius(uint point)\r
-        {\r
-            float ret = NDalicPINVOKE.Touch_GetRadius(swigCPtr, point);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Vector2 GetEllipseRadius(uint point)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetEllipseRadius(swigCPtr, point), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float GetPressure(uint point)\r
-        {\r
-            float ret = NDalicPINVOKE.Touch_GetPressure(swigCPtr, point);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Degree GetAngle(uint point)\r
-        {\r
-            Degree ret = new Degree(NDalicPINVOKE.Touch_GetAngle(swigCPtr, point), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
+namespace Tizen.NUI
+{
+
+    public class Touch : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Touch(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Touch_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Touch obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Touch()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Touch(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        internal static Touch GetTouchFromPtr(global::System.IntPtr cPtr)
+        {
+            Touch ret = new Touch(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Touch() : this(NDalicPINVOKE.new_Touch__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Touch(Touch other) : this(NDalicPINVOKE.new_Touch__SWIG_1(Touch.getCPtr(other)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Touch Assign(Touch other)
+        {
+            Touch ret = new Touch(NDalicPINVOKE.Touch_Assign(swigCPtr, Touch.getCPtr(other)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint GetTime()
+        {
+            uint ret = NDalicPINVOKE.Touch_GetTime(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public uint GetPointCount()
+        {
+            uint ret = NDalicPINVOKE.Touch_GetPointCount(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public int GetDeviceId(uint point)
+        {
+            int ret = NDalicPINVOKE.Touch_GetDeviceId(swigCPtr, point);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PointStateType GetState(uint point)
+        {
+            PointStateType ret = (PointStateType)NDalicPINVOKE.Touch_GetState(swigCPtr, point);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Actor GetHitActor(uint point)
+        {
+            Actor ret = new Actor(NDalicPINVOKE.Touch_GetHitActor(swigCPtr, point), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Vector2 GetLocalPosition(uint point)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetLocalPosition(swigCPtr, point), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Vector2 GetScreenPosition(uint point)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetScreenPosition(swigCPtr, point), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float GetRadius(uint point)
+        {
+            float ret = NDalicPINVOKE.Touch_GetRadius(swigCPtr, point);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Vector2 GetEllipseRadius(uint point)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Touch_GetEllipseRadius(swigCPtr, point), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float GetPressure(uint point)
+        {
+            float ret = NDalicPINVOKE.Touch_GetPressure(swigCPtr, point);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Degree GetAngle(uint point)
+        {
+            Degree ret = new Degree(NDalicPINVOKE.Touch_GetAngle(swigCPtr, point), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
     }
 
-    public enum PointStateType\r
-    {\r
-        Started,\r
-        Finished,\r
-        Down = Started,\r
-        Up = Finished,\r
-        Motion,\r
-        Leave,\r
-        Stationary,\r
-        Interrupted\r
-    }\r
+    public enum PointStateType
+    {
+        Started,
+        Finished,
+        Down = Started,
+        Up = Finished,
+        Motion,
+        Leave,
+        Stationary,
+        Interrupted
+    }
 
 }
index 3ef812e2c1df8be10b396f61b2a7d920e54113d4..8156332bd73fc49d46e9aaa2fe65626bfa3f472f 100755 (executable)
 // the SWIG interface file instead.
 //------------------------------------------------------------------------------
 
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Vector2 : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Vector2(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Vector2 obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Vector2()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Vector2(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public static Vector2 operator +(Vector2 arg1, Vector2 arg2)\r
-        {\r
-            return arg1.Add(arg2);\r
-        }\r
-\r
-        public static Vector2 operator -(Vector2 arg1, Vector2 arg2)\r
-        {\r
-            return arg1.Subtract(arg2);\r
-        }\r
-\r
-        public static Vector2 operator -(Vector2 arg1)\r
-        {\r
-            return arg1.Subtract();\r
-        }\r
-\r
-        public static Vector2 operator *(Vector2 arg1, Vector2 arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Vector2 operator *(Vector2 arg1, float arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Vector2 operator /(Vector2 arg1, Vector2 arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public static Vector2 operator /(Vector2 arg1, float arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public float this[uint index]\r
-        {\r
-            get\r
-            {\r
-                return ValueOfIndex(index);\r
-            }\r
-        }\r
-\r
-        internal static Vector2 GetVector2FromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Vector2 ret = new Vector2(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        public Vector2() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector2(float x, float y) : this(NDalicPINVOKE.new_Vector2__SWIG_1(x, y), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector2(float[] array) : this(NDalicPINVOKE.new_Vector2__SWIG_2(array), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector2(Vector3 vec3) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Vector3.getCPtr(vec3)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector2(Vector4 vec4) : this(NDalicPINVOKE.new_Vector2__SWIG_4(Vector4.getCPtr(vec4)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public static Vector2 One\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_ONE_get();\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector2 XAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_XAXIS_get();\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector2 YAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_YAXIS_get();\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector2 NegativeXAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_NEGATIVE_XAXIS_get();\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector2 NegativeYAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_NEGATIVE_YAXIS_get();\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector2 Zero\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_ZERO_get();\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        internal Vector2 Assign(float[] array)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Assign__SWIG_0(swigCPtr, array), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 Assign(Vector3 rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Assign__SWIG_1(swigCPtr, Vector3.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 Assign(Vector4 rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Assign__SWIG_2(swigCPtr, Vector4.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 Add(Vector2 rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Add(swigCPtr, Vector2.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 AddAssign(Vector2 rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_AddAssign(swigCPtr, Vector2.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 Subtract(Vector2 rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Subtract__SWIG_0(swigCPtr, Vector2.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 SubtractAssign(Vector2 rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_SubtractAssign(swigCPtr, Vector2.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 Multiply(Vector2 rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Multiply__SWIG_0(swigCPtr, Vector2.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 Multiply(float rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Multiply__SWIG_1(swigCPtr, rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 MultiplyAssign(Vector2 rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_MultiplyAssign__SWIG_0(swigCPtr, Vector2.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 MultiplyAssign(float rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 Divide(Vector2 rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Divide__SWIG_0(swigCPtr, Vector2.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 Divide(float rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Divide__SWIG_1(swigCPtr, rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 DivideAssign(Vector2 rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_DivideAssign__SWIG_0(swigCPtr, Vector2.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 DivideAssign(float rhs)\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_DivideAssign__SWIG_1(swigCPtr, rhs), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector2 Subtract()\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Subtract__SWIG_1(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool EqualTo(Vector2 rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Vector2.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool NotEqualTo(Vector2 rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Vector2.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal float ValueOfIndex(uint index)\r
-        {\r
-            float ret = NDalicPINVOKE.Vector2_ValueOfIndex__SWIG_0(swigCPtr, index);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float Length()\r
-        {\r
-            float ret = NDalicPINVOKE.Vector2_Length(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float LengthSquared()\r
-        {\r
-            float ret = NDalicPINVOKE.Vector2_LengthSquared(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Normalize()\r
-        {\r
-            NDalicPINVOKE.Vector2_Normalize(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Clamp(Vector2 min, Vector2 max)\r
-        {\r
-            NDalicPINVOKE.Vector2_Clamp(swigCPtr, Vector2.getCPtr(min), Vector2.getCPtr(max));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal SWIGTYPE_p_float AsFloat()\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_AsFloat__SWIG_0(swigCPtr);\r
-            SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float X\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector2_X_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector2_X_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Width\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector2_Width_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector2_Width_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Y\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector2_Y_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector2_Y_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Height\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector2_Height_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector2_Height_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
+namespace Tizen.NUI
+{
+
+    public class Vector2 : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Vector2(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Vector2 obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Vector2()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Vector2(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public static Vector2 operator +(Vector2 arg1, Vector2 arg2)
+        {
+            return arg1.Add(arg2);
+        }
+
+        public static Vector2 operator -(Vector2 arg1, Vector2 arg2)
+        {
+            return arg1.Subtract(arg2);
+        }
+
+        public static Vector2 operator -(Vector2 arg1)
+        {
+            return arg1.Subtract();
+        }
+
+        public static Vector2 operator *(Vector2 arg1, Vector2 arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Vector2 operator *(Vector2 arg1, float arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Vector2 operator /(Vector2 arg1, Vector2 arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public static Vector2 operator /(Vector2 arg1, float arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public float this[uint index]
+        {
+            get
+            {
+                return ValueOfIndex(index);
+            }
+        }
+
+        internal static Vector2 GetVector2FromPtr(global::System.IntPtr cPtr)
+        {
+            Vector2 ret = new Vector2(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        public Vector2() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector2(float x, float y) : this(NDalicPINVOKE.new_Vector2__SWIG_1(x, y), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector2(float[] array) : this(NDalicPINVOKE.new_Vector2__SWIG_2(array), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector2(Vector3 vec3) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Vector3.getCPtr(vec3)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector2(Vector4 vec4) : this(NDalicPINVOKE.new_Vector2__SWIG_4(Vector4.getCPtr(vec4)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public static Vector2 One
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_ONE_get();
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector2 XAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_XAXIS_get();
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector2 YAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_YAXIS_get();
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector2 NegativeXAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_NEGATIVE_XAXIS_get();
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector2 NegativeYAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_NEGATIVE_YAXIS_get();
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector2 Zero
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_ZERO_get();
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        internal Vector2 Assign(float[] array)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Assign__SWIG_0(swigCPtr, array), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 Assign(Vector3 rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Assign__SWIG_1(swigCPtr, Vector3.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 Assign(Vector4 rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Assign__SWIG_2(swigCPtr, Vector4.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 Add(Vector2 rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Add(swigCPtr, Vector2.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 AddAssign(Vector2 rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_AddAssign(swigCPtr, Vector2.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 Subtract(Vector2 rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Subtract__SWIG_0(swigCPtr, Vector2.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 SubtractAssign(Vector2 rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_SubtractAssign(swigCPtr, Vector2.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 Multiply(Vector2 rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Multiply__SWIG_0(swigCPtr, Vector2.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 Multiply(float rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Multiply__SWIG_1(swigCPtr, rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 MultiplyAssign(Vector2 rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_MultiplyAssign__SWIG_0(swigCPtr, Vector2.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 MultiplyAssign(float rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 Divide(Vector2 rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Divide__SWIG_0(swigCPtr, Vector2.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 Divide(float rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Divide__SWIG_1(swigCPtr, rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 DivideAssign(Vector2 rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_DivideAssign__SWIG_0(swigCPtr, Vector2.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 DivideAssign(float rhs)
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_DivideAssign__SWIG_1(swigCPtr, rhs), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 Subtract()
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector2_Subtract__SWIG_1(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool EqualTo(Vector2 rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Vector2.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool NotEqualTo(Vector2 rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Vector2.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal float ValueOfIndex(uint index)
+        {
+            float ret = NDalicPINVOKE.Vector2_ValueOfIndex__SWIG_0(swigCPtr, index);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float Length()
+        {
+            float ret = NDalicPINVOKE.Vector2_Length(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float LengthSquared()
+        {
+            float ret = NDalicPINVOKE.Vector2_LengthSquared(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Normalize()
+        {
+            NDalicPINVOKE.Vector2_Normalize(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Clamp(Vector2 min, Vector2 max)
+        {
+            NDalicPINVOKE.Vector2_Clamp(swigCPtr, Vector2.getCPtr(min), Vector2.getCPtr(max));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal SWIGTYPE_p_float AsFloat()
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.Vector2_AsFloat__SWIG_0(swigCPtr);
+            SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float X
+        {
+            set
+            {
+                NDalicPINVOKE.Vector2_X_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector2_X_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Width
+        {
+            set
+            {
+                NDalicPINVOKE.Vector2_Width_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector2_Width_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Y
+        {
+            set
+            {
+                NDalicPINVOKE.Vector2_Y_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector2_Y_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Height
+        {
+            set
+            {
+                NDalicPINVOKE.Vector2_Height_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector2_Height_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
     }
 
 }
index 195adb3d7d9790cd04c13f19fc49781f09849236..08dd60ba54c5254205f38bec4c54059d9a3a7368 100755 (executable)
 // the SWIG interface file instead.
 //------------------------------------------------------------------------------
 
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Vector3 : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Vector3(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Vector3 obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Vector3()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Vector3(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public static Vector3 operator +(Vector3 arg1, Vector3 arg2)\r
-        {\r
-            return arg1.Add(arg2);\r
-        }\r
-\r
-        public static Vector3 operator -(Vector3 arg1, Vector3 arg2)\r
-        {\r
-            return arg1.Subtract(arg2);\r
-        }\r
-\r
-        public static Vector3 operator -(Vector3 arg1)\r
-        {\r
-            return arg1.Subtract();\r
-        }\r
-\r
-        public static Vector3 operator *(Vector3 arg1, Vector3 arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Vector3 operator *(Vector3 arg1, float arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Vector3 operator /(Vector3 arg1, Vector3 arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public static Vector3 operator /(Vector3 arg1, float arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public float this[uint index]\r
-        {\r
-            get\r
-            {\r
-                return ValueOfIndex(index);\r
-            }\r
-        }\r
-\r
-        internal static Vector3 GetVector3FromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Vector3 ret = new Vector3(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        public Vector3() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector3(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector3(float[] array) : this(NDalicPINVOKE.new_Vector3__SWIG_2(array), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector3(Vector2 vec2) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Vector2.getCPtr(vec2)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector3(Vector4 vec4) : this(NDalicPINVOKE.new_Vector3__SWIG_4(Vector4.getCPtr(vec4)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public static Vector3 One\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ONE_get();\r
-                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector3 XAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();\r
-                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector3 YAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();\r
-                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector3 ZAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();\r
-                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector3 NegativeXAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();\r
-                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector3 NegativeYAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();\r
-                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector3 NegativeZAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();\r
-                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector3 Zero\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZERO_get();\r
-                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        internal Vector3 Assign(float[] array)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_0(swigCPtr, array), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 Assign(Vector2 rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_1(swigCPtr, Vector2.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 Assign(Vector4 rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_2(swigCPtr, Vector4.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 Add(Vector3 rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Add(swigCPtr, Vector3.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 AddAssign(Vector3 rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_AddAssign(swigCPtr, Vector3.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 Subtract(Vector3 rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Subtract__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 SubtractAssign(Vector3 rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_SubtractAssign(swigCPtr, Vector3.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 Multiply(Vector3 rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Multiply__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 Multiply(float rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Multiply__SWIG_1(swigCPtr, rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 MultiplyAssign(Vector3 rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 MultiplyAssign(float rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 MultiplyAssign(Rotation rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_2(swigCPtr, Rotation.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 Divide(Vector3 rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Divide__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 Divide(float rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Divide__SWIG_1(swigCPtr, rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 DivideAssign(Vector3 rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_DivideAssign__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 DivideAssign(float rhs)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_DivideAssign__SWIG_1(swigCPtr, rhs), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 Subtract()\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Subtract__SWIG_1(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool EqualTo(Vector3 rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Vector3.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool NotEqualTo(Vector3 rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Vector3.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal float ValueOfIndex(uint index)\r
-        {\r
-            float ret = NDalicPINVOKE.Vector3_ValueOfIndex__SWIG_0(swigCPtr, index);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal float Dot(Vector3 other)\r
-        {\r
-            float ret = NDalicPINVOKE.Vector3_Dot(swigCPtr, Vector3.getCPtr(other));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector3 Cross(Vector3 other)\r
-        {\r
-            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Cross(swigCPtr, Vector3.getCPtr(other)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float Length()\r
-        {\r
-            float ret = NDalicPINVOKE.Vector3_Length(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float LengthSquared()\r
-        {\r
-            float ret = NDalicPINVOKE.Vector3_LengthSquared(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Normalize()\r
-        {\r
-            NDalicPINVOKE.Vector3_Normalize(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Clamp(Vector3 min, Vector3 max)\r
-        {\r
-            NDalicPINVOKE.Vector3_Clamp(swigCPtr, Vector3.getCPtr(min), Vector3.getCPtr(max));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal SWIGTYPE_p_float AsFloat()\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_AsFloat__SWIG_0(swigCPtr);\r
-            SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Vector2 GetVectorXY()\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorXY__SWIG_0(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Vector2 GetVectorYZ()\r
-        {\r
-            Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorYZ__SWIG_0(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float X\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_X_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_X_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Width\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_Width_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_Width_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float R\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_r_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_r_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Y\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_Y_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_Y_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Height\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_Height_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_Height_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float G\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_g_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_g_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Z\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_Z_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_Z_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Depth\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_Depth_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_Depth_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float B\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector3_b_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector3_b_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
+namespace Tizen.NUI
+{
+
+    public class Vector3 : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Vector3(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Vector3 obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Vector3()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Vector3(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public static Vector3 operator +(Vector3 arg1, Vector3 arg2)
+        {
+            return arg1.Add(arg2);
+        }
+
+        public static Vector3 operator -(Vector3 arg1, Vector3 arg2)
+        {
+            return arg1.Subtract(arg2);
+        }
+
+        public static Vector3 operator -(Vector3 arg1)
+        {
+            return arg1.Subtract();
+        }
+
+        public static Vector3 operator *(Vector3 arg1, Vector3 arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Vector3 operator *(Vector3 arg1, float arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Vector3 operator /(Vector3 arg1, Vector3 arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public static Vector3 operator /(Vector3 arg1, float arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public float this[uint index]
+        {
+            get
+            {
+                return ValueOfIndex(index);
+            }
+        }
+
+        internal static Vector3 GetVector3FromPtr(global::System.IntPtr cPtr)
+        {
+            Vector3 ret = new Vector3(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        public Vector3() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector3(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector3(float[] array) : this(NDalicPINVOKE.new_Vector3__SWIG_2(array), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector3(Vector2 vec2) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Vector2.getCPtr(vec2)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector3(Vector4 vec4) : this(NDalicPINVOKE.new_Vector3__SWIG_4(Vector4.getCPtr(vec4)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public static Vector3 One
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ONE_get();
+                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector3 XAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
+                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector3 YAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
+                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector3 ZAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
+                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector3 NegativeXAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
+                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector3 NegativeYAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
+                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector3 NegativeZAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
+                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector3 Zero
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZERO_get();
+                Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        internal Vector3 Assign(float[] array)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_0(swigCPtr, array), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 Assign(Vector2 rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_1(swigCPtr, Vector2.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 Assign(Vector4 rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Assign__SWIG_2(swigCPtr, Vector4.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 Add(Vector3 rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Add(swigCPtr, Vector3.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 AddAssign(Vector3 rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_AddAssign(swigCPtr, Vector3.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 Subtract(Vector3 rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Subtract__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 SubtractAssign(Vector3 rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_SubtractAssign(swigCPtr, Vector3.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 Multiply(Vector3 rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Multiply__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 Multiply(float rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Multiply__SWIG_1(swigCPtr, rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 MultiplyAssign(Vector3 rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 MultiplyAssign(float rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 MultiplyAssign(Rotation rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_MultiplyAssign__SWIG_2(swigCPtr, Rotation.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 Divide(Vector3 rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Divide__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 Divide(float rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Divide__SWIG_1(swigCPtr, rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 DivideAssign(Vector3 rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_DivideAssign__SWIG_0(swigCPtr, Vector3.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 DivideAssign(float rhs)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_DivideAssign__SWIG_1(swigCPtr, rhs), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 Subtract()
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Subtract__SWIG_1(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool EqualTo(Vector3 rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Vector3.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool NotEqualTo(Vector3 rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Vector3.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal float ValueOfIndex(uint index)
+        {
+            float ret = NDalicPINVOKE.Vector3_ValueOfIndex__SWIG_0(swigCPtr, index);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal float Dot(Vector3 other)
+        {
+            float ret = NDalicPINVOKE.Vector3_Dot(swigCPtr, Vector3.getCPtr(other));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector3 Cross(Vector3 other)
+        {
+            Vector3 ret = new Vector3(NDalicPINVOKE.Vector3_Cross(swigCPtr, Vector3.getCPtr(other)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float Length()
+        {
+            float ret = NDalicPINVOKE.Vector3_Length(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float LengthSquared()
+        {
+            float ret = NDalicPINVOKE.Vector3_LengthSquared(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Normalize()
+        {
+            NDalicPINVOKE.Vector3_Normalize(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Clamp(Vector3 min, Vector3 max)
+        {
+            NDalicPINVOKE.Vector3_Clamp(swigCPtr, Vector3.getCPtr(min), Vector3.getCPtr(max));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal SWIGTYPE_p_float AsFloat()
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_AsFloat__SWIG_0(swigCPtr);
+            SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Vector2 GetVectorXY()
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorXY__SWIG_0(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Vector2 GetVectorYZ()
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Vector3_GetVectorYZ__SWIG_0(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float X
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_X_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_X_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Width
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_Width_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_Width_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float R
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_r_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_r_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Y
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_Y_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_Y_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Height
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_Height_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_Height_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float G
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_g_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_g_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Z
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_Z_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_Z_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Depth
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_Depth_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_Depth_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float B
+        {
+            set
+            {
+                NDalicPINVOKE.Vector3_b_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector3_b_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
     }
 
 }
index 709be6098adef55a2cfad0a700240f871d7f8439..be1ab18922059332b574a578e641cce8b42f4ae5 100755 (executable)
 // the SWIG interface file instead.
 //------------------------------------------------------------------------------
 
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Vector4 : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Vector4(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Vector4 obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Vector4()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Vector4(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        public static Vector4 operator +(Vector4 arg1, Vector4 arg2)\r
-        {\r
-            return arg1.Add(arg2);\r
-        }\r
-\r
-        public static Vector4 operator -(Vector4 arg1, Vector4 arg2)\r
-        {\r
-            return arg1.Subtract(arg2);\r
-        }\r
-\r
-        public static Vector4 operator -(Vector4 arg1)\r
-        {\r
-            return arg1.Subtract();\r
-        }\r
-\r
-        public static Vector4 operator *(Vector4 arg1, Vector4 arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Vector4 operator *(Vector4 arg1, float arg2)\r
-        {\r
-            return arg1.Multiply(arg2);\r
-        }\r
-\r
-        public static Vector4 operator /(Vector4 arg1, Vector4 arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public static Vector4 operator /(Vector4 arg1, float arg2)\r
-        {\r
-            return arg1.Divide(arg2);\r
-        }\r
-\r
-        public float this[uint index]\r
-        {\r
-            get\r
-            {\r
-                return ValueOfIndex(index);\r
-            }\r
-        }\r
-\r
-        internal static Vector4 GetVector4FromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Vector4 ret = new Vector4(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        public Vector4() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector4(float x, float y, float z, float w) : this(NDalicPINVOKE.new_Vector4__SWIG_1(x, y, z, w), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector4(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector4(Vector2 vec2) : this(NDalicPINVOKE.new_Vector4__SWIG_3(Vector2.getCPtr(vec2)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Vector4(Vector3 vec3) : this(NDalicPINVOKE.new_Vector4__SWIG_4(Vector3.getCPtr(vec3)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public static Vector4 One\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ONE_get();\r
-                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector4 XAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_XAXIS_get();\r
-                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector4 YAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_YAXIS_get();\r
-                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector4 ZAxis\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ZAXIS_get();\r
-                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public static Vector4 Zero\r
-        {\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ZERO_get();\r
-                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        internal Vector4 Assign(float[] array)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_0(swigCPtr, array), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 Assign(Vector2 vec2)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_1(swigCPtr, Vector2.getCPtr(vec2)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 Assign(Vector3 vec3)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_2(swigCPtr, Vector3.getCPtr(vec3)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 Add(Vector4 rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Add(swigCPtr, Vector4.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 AddAssign(Vector4 rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_AddAssign(swigCPtr, Vector4.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 Subtract(Vector4 rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Subtract__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 SubtractAssign(Vector4 rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_SubtractAssign(swigCPtr, Vector4.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 Multiply(Vector4 rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Multiply__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 Multiply(float rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Multiply__SWIG_1(swigCPtr, rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 MultiplyAssign(Vector4 rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 MultiplyAssign(float rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 Divide(Vector4 rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Divide__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 Divide(float rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Divide__SWIG_1(swigCPtr, rhs), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 DivideAssign(Vector4 rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_DivideAssign__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 DivideAssign(float rhs)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_DivideAssign__SWIG_1(swigCPtr, rhs), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 Subtract()\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Subtract__SWIG_1(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool EqualTo(Vector4 rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, Vector4.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal bool NotEqualTo(Vector4 rhs)\r
-        {\r
-            bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, Vector4.getCPtr(rhs));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal float ValueOfIndex(uint index)\r
-        {\r
-            float ret = NDalicPINVOKE.Vector4_ValueOfIndex__SWIG_0(swigCPtr, index);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal float Dot(Vector3 other)\r
-        {\r
-            float ret = NDalicPINVOKE.Vector4_Dot__SWIG_0(swigCPtr, Vector3.getCPtr(other));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal float Dot(Vector4 other)\r
-        {\r
-            float ret = NDalicPINVOKE.Vector4_Dot__SWIG_1(swigCPtr, Vector4.getCPtr(other));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal float Dot4(Vector4 other)\r
-        {\r
-            float ret = NDalicPINVOKE.Vector4_Dot4(swigCPtr, Vector4.getCPtr(other));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Vector4 Cross(Vector4 other)\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Cross(swigCPtr, Vector4.getCPtr(other)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float Length()\r
-        {\r
-            float ret = NDalicPINVOKE.Vector4_Length(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float LengthSquared()\r
-        {\r
-            float ret = NDalicPINVOKE.Vector4_LengthSquared(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Normalize()\r
-        {\r
-            NDalicPINVOKE.Vector4_Normalize(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Clamp(Vector4 min, Vector4 max)\r
-        {\r
-            NDalicPINVOKE.Vector4_Clamp(swigCPtr, Vector4.getCPtr(min), Vector4.getCPtr(max));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal SWIGTYPE_p_float AsFloat()\r
-        {\r
-            global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_AsFloat__SWIG_0(swigCPtr);\r
-            SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float X\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_X_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_X_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float R\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_r_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_r_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float S\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_s_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_s_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Y\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_Y_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_Y_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float G\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_g_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_g_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float T\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_t_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_t_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Z\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_Z_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_Z_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float B\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_b_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_b_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float P\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_p_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_p_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float W\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_W_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_W_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float A\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_a_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_a_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public float Q\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Vector4_q_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                float ret = NDalicPINVOKE.Vector4_q_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
+namespace Tizen.NUI
+{
+
+    public class Vector4 : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Vector4(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Vector4 obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Vector4()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Vector4(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        public static Vector4 operator +(Vector4 arg1, Vector4 arg2)
+        {
+            return arg1.Add(arg2);
+        }
+
+        public static Vector4 operator -(Vector4 arg1, Vector4 arg2)
+        {
+            return arg1.Subtract(arg2);
+        }
+
+        public static Vector4 operator -(Vector4 arg1)
+        {
+            return arg1.Subtract();
+        }
+
+        public static Vector4 operator *(Vector4 arg1, Vector4 arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Vector4 operator *(Vector4 arg1, float arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        public static Vector4 operator /(Vector4 arg1, Vector4 arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public static Vector4 operator /(Vector4 arg1, float arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        public float this[uint index]
+        {
+            get
+            {
+                return ValueOfIndex(index);
+            }
+        }
+
+        internal static Vector4 GetVector4FromPtr(global::System.IntPtr cPtr)
+        {
+            Vector4 ret = new Vector4(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        public Vector4() : this(NDalicPINVOKE.new_Vector4__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector4(float x, float y, float z, float w) : this(NDalicPINVOKE.new_Vector4__SWIG_1(x, y, z, w), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector4(float[] array) : this(NDalicPINVOKE.new_Vector4__SWIG_2(array), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector4(Vector2 vec2) : this(NDalicPINVOKE.new_Vector4__SWIG_3(Vector2.getCPtr(vec2)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Vector4(Vector3 vec3) : this(NDalicPINVOKE.new_Vector4__SWIG_4(Vector3.getCPtr(vec3)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public static Vector4 One
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ONE_get();
+                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector4 XAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_XAXIS_get();
+                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector4 YAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_YAXIS_get();
+                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector4 ZAxis
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ZAXIS_get();
+                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public static Vector4 Zero
+        {
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_ZERO_get();
+                Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        internal Vector4 Assign(float[] array)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_0(swigCPtr, array), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 Assign(Vector2 vec2)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_1(swigCPtr, Vector2.getCPtr(vec2)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 Assign(Vector3 vec3)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Assign__SWIG_2(swigCPtr, Vector3.getCPtr(vec3)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 Add(Vector4 rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Add(swigCPtr, Vector4.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 AddAssign(Vector4 rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_AddAssign(swigCPtr, Vector4.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 Subtract(Vector4 rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Subtract__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 SubtractAssign(Vector4 rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_SubtractAssign(swigCPtr, Vector4.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 Multiply(Vector4 rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Multiply__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 Multiply(float rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Multiply__SWIG_1(swigCPtr, rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 MultiplyAssign(Vector4 rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 MultiplyAssign(float rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_MultiplyAssign__SWIG_1(swigCPtr, rhs), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 Divide(Vector4 rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Divide__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 Divide(float rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Divide__SWIG_1(swigCPtr, rhs), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 DivideAssign(Vector4 rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_DivideAssign__SWIG_0(swigCPtr, Vector4.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 DivideAssign(float rhs)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_DivideAssign__SWIG_1(swigCPtr, rhs), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 Subtract()
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Subtract__SWIG_1(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool EqualTo(Vector4 rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector4_EqualTo(swigCPtr, Vector4.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal bool NotEqualTo(Vector4 rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector4_NotEqualTo(swigCPtr, Vector4.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal float ValueOfIndex(uint index)
+        {
+            float ret = NDalicPINVOKE.Vector4_ValueOfIndex__SWIG_0(swigCPtr, index);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal float Dot(Vector3 other)
+        {
+            float ret = NDalicPINVOKE.Vector4_Dot__SWIG_0(swigCPtr, Vector3.getCPtr(other));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal float Dot(Vector4 other)
+        {
+            float ret = NDalicPINVOKE.Vector4_Dot__SWIG_1(swigCPtr, Vector4.getCPtr(other));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal float Dot4(Vector4 other)
+        {
+            float ret = NDalicPINVOKE.Vector4_Dot4(swigCPtr, Vector4.getCPtr(other));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector4 Cross(Vector4 other)
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Vector4_Cross(swigCPtr, Vector4.getCPtr(other)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float Length()
+        {
+            float ret = NDalicPINVOKE.Vector4_Length(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float LengthSquared()
+        {
+            float ret = NDalicPINVOKE.Vector4_LengthSquared(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Normalize()
+        {
+            NDalicPINVOKE.Vector4_Normalize(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Clamp(Vector4 min, Vector4 max)
+        {
+            NDalicPINVOKE.Vector4_Clamp(swigCPtr, Vector4.getCPtr(min), Vector4.getCPtr(max));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal SWIGTYPE_p_float AsFloat()
+        {
+            global::System.IntPtr cPtr = NDalicPINVOKE.Vector4_AsFloat__SWIG_0(swigCPtr);
+            SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float X
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_X_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_X_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float R
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_r_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_r_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float S
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_s_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_s_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Y
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_Y_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_Y_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float G
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_g_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_g_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float T
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_t_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_t_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Z
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_Z_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_Z_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float B
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_b_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_b_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float P
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_p_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_p_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float W
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_W_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_W_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float A
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_a_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_a_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public float Q
+        {
+            set
+            {
+                NDalicPINVOKE.Vector4_q_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                float ret = NDalicPINVOKE.Vector4_q_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
     }
 
 }
index 0f7fbb58fface014085140f0dda4c76c86b1568b..9dd3a86226caec5d690295c111d90143353d44ee 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class VideoView : View\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal VideoView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VideoView_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VideoView obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~VideoView()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_VideoView(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-\r
-        /**\r
-          * @brief Event arguments that passed via Finished signal\r
-          *\r
-          */\r
-        public class FinishedEventArgs : EventArgs\r
-        {\r
-            private VideoView _videoView;\r
-\r
-            /**\r
-              * @brief VideoView - VideoView is a control for video playback and display.\r
-              *\r
-              */\r
-            public VideoView VideoView\r
-            {\r
-                get\r
-                {\r
-                    return _videoView;\r
-                }\r
-                set\r
-                {\r
-                    _videoView = value;\r
-                }\r
-            }\r
-        }\r
-\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void FinishedCallbackDelegate(IntPtr data);\r
-        private EventHandler<FinishedEventArgs> _videoViewFinishedEventHandler;\r
-        private FinishedCallbackDelegate _videoViewFinishedCallbackDelegate;\r
-\r
-        /**\r
-          * @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler\r
-          * (in the type of FinishedEventHandler-DaliEventHandler<object,FinishedEventArgs>) provided by the user.\r
-          * Finished signal is emitted when a video playback have finished.\r
-          */\r
-        public event EventHandler<FinishedEventArgs> Finished\r
-        {\r
-            add\r
-            {\r
-                if (_videoViewFinishedEventHandler == null)\r
-                {\r
-                    _videoViewFinishedCallbackDelegate = (OnFinished);\r
-                    FinishedSignal().Connect(_videoViewFinishedCallbackDelegate);\r
-                }\r
-                _videoViewFinishedEventHandler += value;\r
-            }\r
-            remove\r
-            {\r
-                _videoViewFinishedEventHandler -= value;\r
-                if (_videoViewFinishedEventHandler == null && _videoViewFinishedCallbackDelegate != null)\r
-                {\r
-                    FinishedSignal().Disconnect(_videoViewFinishedCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for VideoView Finished signal\r
-        private void OnFinished(IntPtr data)\r
-        {\r
-            FinishedEventArgs e = new FinishedEventArgs();\r
-\r
-            // Populate all members of "e" (FinishedEventArgs) with real data\r
-            e.VideoView = VideoView.GetVideoViewFromPtr(data);\r
-\r
-            if (_videoViewFinishedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _videoViewFinishedEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        internal static VideoView GetVideoViewFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            VideoView ret = new VideoView(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_VideoView_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_VideoView_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int VIDEO = NDalicPINVOKE.VideoView_Property_VIDEO_get();\r
-            internal static readonly int LOOPING = NDalicPINVOKE.VideoView_Property_LOOPING_get();\r
-            internal static readonly int MUTED = NDalicPINVOKE.VideoView_Property_MUTED_get();\r
-            internal static readonly int VOLUME = NDalicPINVOKE.VideoView_Property_VOLUME_get();\r
-\r
-        }\r
-\r
-        public VideoView() : this(NDalicPINVOKE.VideoView_New__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public VideoView(string url) : this(NDalicPINVOKE.VideoView_New__SWIG_1(url), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal VideoView(VideoView videoView) : this(NDalicPINVOKE.new_VideoView__SWIG_1(VideoView.getCPtr(videoView)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal VideoView Assign(VideoView videoView)\r
-        {\r
-            VideoView ret = new VideoView(NDalicPINVOKE.VideoView_Assign(swigCPtr, VideoView.getCPtr(videoView)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static VideoView DownCast(BaseHandle handle)\r
-        {\r
-            VideoView ret = new VideoView(NDalicPINVOKE.VideoView_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void Play()\r
-        {\r
-            NDalicPINVOKE.VideoView_Play(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Pause()\r
-        {\r
-            NDalicPINVOKE.VideoView_Pause(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Stop()\r
-        {\r
-            NDalicPINVOKE.VideoView_Stop(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Forward(int millisecond)\r
-        {\r
-            NDalicPINVOKE.VideoView_Forward(swigCPtr, millisecond);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Backward(int millisecond)\r
-        {\r
-            NDalicPINVOKE.VideoView_Backward(swigCPtr, millisecond);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal VideoViewSignal FinishedSignal()\r
-        {\r
-            VideoViewSignal ret = new VideoViewSignal(NDalicPINVOKE.VideoView_FinishedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX\r
-        }\r
-\r
-        public PropertyMap Video\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(VideoView.Property.VIDEO).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(VideoView.Property.VIDEO, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool Looping\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(VideoView.Property.LOOPING).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(VideoView.Property.LOOPING, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public bool Muted\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(VideoView.Property.MUTED).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(VideoView.Property.MUTED, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-        public PropertyMap Volume\r
-        {\r
-            get\r
-            {\r
-                PropertyMap temp = new PropertyMap();\r
-                GetProperty(VideoView.Property.VOLUME).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(VideoView.Property.VOLUME, new PropertyValue(value));\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class VideoView : View
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal VideoView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VideoView_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VideoView obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~VideoView()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_VideoView(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+        /**
+          * @brief Event arguments that passed via Finished signal
+          *
+          */
+        public class FinishedEventArgs : EventArgs
+        {
+            private VideoView _videoView;
+
+            /**
+              * @brief VideoView - VideoView is a control for video playback and display.
+              *
+              */
+            public VideoView VideoView
+            {
+                get
+                {
+                    return _videoView;
+                }
+                set
+                {
+                    _videoView = value;
+                }
+            }
+        }
+
+
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void FinishedCallbackDelegate(IntPtr data);
+        private EventHandler<FinishedEventArgs> _videoViewFinishedEventHandler;
+        private FinishedCallbackDelegate _videoViewFinishedCallbackDelegate;
+
+        /**
+          * @brief Event for Finished signal which can be used to subscribe/unsubscribe the event handler
+          * (in the type of FinishedEventHandler-DaliEventHandler<object,FinishedEventArgs>) provided by the user.
+          * Finished signal is emitted when a video playback have finished.
+          */
+        public event EventHandler<FinishedEventArgs> Finished
+        {
+            add
+            {
+                if (_videoViewFinishedEventHandler == null)
+                {
+                    _videoViewFinishedCallbackDelegate = (OnFinished);
+                    FinishedSignal().Connect(_videoViewFinishedCallbackDelegate);
+                }
+                _videoViewFinishedEventHandler += value;
+            }
+            remove
+            {
+                _videoViewFinishedEventHandler -= value;
+                if (_videoViewFinishedEventHandler == null && _videoViewFinishedCallbackDelegate != null)
+                {
+                    FinishedSignal().Disconnect(_videoViewFinishedCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for VideoView Finished signal
+        private void OnFinished(IntPtr data)
+        {
+            FinishedEventArgs e = new FinishedEventArgs();
+
+            // Populate all members of "e" (FinishedEventArgs) with real data
+            e.VideoView = VideoView.GetVideoViewFromPtr(data);
+
+            if (_videoViewFinishedEventHandler != null)
+            {
+                //here we send all data to user event handlers
+                _videoViewFinishedEventHandler(this, e);
+            }
+        }
+
+        internal static VideoView GetVideoViewFromPtr(global::System.IntPtr cPtr)
+        {
+            VideoView ret = new VideoView(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_VideoView_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal Property() : this(NDalicPINVOKE.new_VideoView_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int VIDEO = NDalicPINVOKE.VideoView_Property_VIDEO_get();
+            internal static readonly int LOOPING = NDalicPINVOKE.VideoView_Property_LOOPING_get();
+            internal static readonly int MUTED = NDalicPINVOKE.VideoView_Property_MUTED_get();
+            internal static readonly int VOLUME = NDalicPINVOKE.VideoView_Property_VOLUME_get();
+
+        }
+
+        public VideoView() : this(NDalicPINVOKE.VideoView_New__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public VideoView(string url) : this(NDalicPINVOKE.VideoView_New__SWIG_1(url), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal VideoView(VideoView videoView) : this(NDalicPINVOKE.new_VideoView__SWIG_1(VideoView.getCPtr(videoView)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal VideoView Assign(VideoView videoView)
+        {
+            VideoView ret = new VideoView(NDalicPINVOKE.VideoView_Assign(swigCPtr, VideoView.getCPtr(videoView)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static VideoView DownCast(BaseHandle handle)
+        {
+            VideoView ret = new VideoView(NDalicPINVOKE.VideoView_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Play()
+        {
+            NDalicPINVOKE.VideoView_Play(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Pause()
+        {
+            NDalicPINVOKE.VideoView_Pause(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Stop()
+        {
+            NDalicPINVOKE.VideoView_Stop(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Forward(int millisecond)
+        {
+            NDalicPINVOKE.VideoView_Forward(swigCPtr, millisecond);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Backward(int millisecond)
+        {
+            NDalicPINVOKE.VideoView_Backward(swigCPtr, millisecond);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal VideoViewSignal FinishedSignal()
+        {
+            VideoViewSignal ret = new VideoViewSignal(NDalicPINVOKE.VideoView_FinishedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX
+        }
+
+        public PropertyMap Video
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(VideoView.Property.VIDEO).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(VideoView.Property.VIDEO, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool Looping
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(VideoView.Property.LOOPING).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(VideoView.Property.LOOPING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public bool Muted
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(VideoView.Property.MUTED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(VideoView.Property.MUTED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+        public PropertyMap Volume
+        {
+            get
+            {
+                PropertyMap temp = new PropertyMap();
+                GetProperty(VideoView.Property.VOLUME).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(VideoView.Property.VOLUME, new PropertyValue(value));
+            }
+        }
+
+    }
+
+}
index f7292ddc0495938a34c41f263bbccbe19e2338fa..91733319da53cd5b2f13d672368af577d93ba1d6 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    using System;\r
-    using System.Runtime.InteropServices;\r
-\r
-\r
-    public class View : CustomActor\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal View(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.View_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-\r
-            // Register this instance of view in the view registry.\r
-            ViewRegistry.RegisterView(this);\r
-\r
-            // By default, we do not want the position to use the anchor point\r
-            //this.PositionUsesAnchorPoint = false;\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(View obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~View()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-\r
-            // Unregister this instance of view from the view registry.\r
-            ViewRegistry.UnregisterView(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_View(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event arguments that passed via KeyInputFocusGained signal\r
-         *\r
-         */\r
-        public class KeyInputFocusGainedEventArgs : EventArgs\r
-        {\r
-            private View _view;\r
-\r
-            /**\r
-             * @brief View - is the view that gets Key Input Focus\r
-             *\r
-             */\r
-            public View View\r
-            {\r
-                get\r
-                {\r
-                    return _view;\r
-                }\r
-                set\r
-                {\r
-                    _view = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event arguments that passed via KeyInputFocusLost signal\r
-         *\r
-         */\r
-        public class KeyInputFocusLostEventArgs : EventArgs\r
-        {\r
-            private View _view;\r
-\r
-            /**\r
-             * @brief View - is the view that loses Key Input Focus\r
-             *\r
-             */\r
-            public View View\r
-            {\r
-                get\r
-                {\r
-                    return _view;\r
-                }\r
-                set\r
-                {\r
-                    _view = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event arguments that passed via Key signal\r
-         *\r
-         */\r
-        public class KeyEventArgs : EventArgs\r
-        {\r
-            private View _view;\r
-            private Key _key;\r
-\r
-            /**\r
-             * @brief View - is the view that recieves the key.\r
-             *\r
-             */\r
-            public View View\r
-            {\r
-                get\r
-                {\r
-                    return _view;\r
-                }\r
-                set\r
-                {\r
-                    _view = value;\r
-                }\r
-            }\r
-\r
-            /**\r
-             * @brief Key - is the key sent to the View.\r
-             *\r
-             */\r
-            public Key Key\r
-            {\r
-                get\r
-                {\r
-                    return _key;\r
-                }\r
-                set\r
-                {\r
-                    _key = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event arguments that passed via OnRelayout signal\r
-         *\r
-         */\r
-        public class OnRelayoutEventArgs : EventArgs\r
-        {\r
-            private View _view;\r
-\r
-            /**\r
-             * @brief View - is the view that is being resized upon relayout\r
-             *\r
-             */\r
-            public View View\r
-            {\r
-                get\r
-                {\r
-                    return _view;\r
-                }\r
-                set\r
-                {\r
-                    _view = value;\r
-                }\r
-            }\r
-        }\r
-\r
-\r
-        /**\r
-         * @brief Event arguments that passed via Touch signal\r
-         *\r
-         */\r
-        public class TouchEventArgs : EventArgs\r
-        {\r
-            private View _view;\r
-            private Touch _touch;\r
-\r
-            /**\r
-             * @brief View - is the view that is being touched\r
-             *\r
-             */\r
-            public View View\r
-            {\r
-                get\r
-                {\r
-                    return _view;\r
-                }\r
-                set\r
-                {\r
-                    _view = value;\r
-                }\r
-            }\r
-\r
-            /**\r
-             * @brief Touch - contains the information of touch points\r
-             *\r
-             */\r
-            public Touch Touch\r
-            {\r
-                get\r
-                {\r
-                    return _touch;\r
-                }\r
-                set\r
-                {\r
-                    _touch = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event arguments that passed via Hover signal\r
-         *\r
-         */\r
-        public class HoverEventArgs : EventArgs\r
-        {\r
-            private View _view;\r
-            private Hover _hover;\r
-\r
-            /**\r
-             * @brief View - is the view that is being hovered\r
-             *\r
-             */\r
-            public View View\r
-            {\r
-                get\r
-                {\r
-                    return _view;\r
-                }\r
-                set\r
-                {\r
-                    _view = value;\r
-                }\r
-            }\r
-\r
-            /**\r
-             * @brief Hover - contains touch points that represent the points\r
-             * that are currently being hovered or the points where a hover has stopped\r
-             *\r
-             */\r
-            public Hover Hover\r
-            {\r
-                get\r
-                {\r
-                    return _hover;\r
-                }\r
-                set\r
-                {\r
-                    _hover = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event arguments that passed via Wheel signal\r
-         *\r
-         */\r
-        public class WheelEventArgs : EventArgs\r
-        {\r
-            private View _view;\r
-            private Wheel _wheel;\r
-\r
-            /**\r
-             * @brief View - is the view that is being wheeled\r
-             *\r
-             */\r
-            public View View\r
-            {\r
-                get\r
-                {\r
-                    return _view;\r
-                }\r
-                set\r
-                {\r
-                    _view = value;\r
-                }\r
-            }\r
-\r
-            /**\r
-             * @brief Wheel - store a wheel rolling type : MOUSE_WHEEL or CUSTOM_WHEEL\r
-             *\r
-             */\r
-            public Wheel Wheel\r
-            {\r
-                get\r
-                {\r
-                    return _wheel;\r
-                }\r
-                set\r
-                {\r
-                    _wheel = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event arguments that passed via OnStage signal\r
-         *\r
-         */\r
-        public class OnStageEventArgs : EventArgs\r
-        {\r
-            private View _view;\r
-\r
-            /**\r
-             * @brief View - is the view that is being connected to the stage\r
-             *\r
-             */\r
-            public View View\r
-            {\r
-                get\r
-                {\r
-                    return _view;\r
-                }\r
-                set\r
-                {\r
-                    _view = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event arguments that passed via OffStage signal\r
-         *\r
-         */\r
-        public class OffStageEventArgs : EventArgs\r
-        {\r
-            private View _view;\r
-\r
-            /**\r
-             * @brief View - is the view that is being disconnected from the stage\r
-             *\r
-             */\r
-            public View View\r
-            {\r
-                get\r
-                {\r
-                    return _view;\r
-                }\r
-                set\r
-                {\r
-                    _view = value;\r
-                }\r
-            }\r
-        }\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void KeyInputFocusGainedCallbackDelegate(IntPtr control);\r
-        private EventHandler<KeyInputFocusGainedEventArgs> _KeyInputFocusGainedEventHandler;\r
-        private KeyInputFocusGainedCallbackDelegate _KeyInputFocusGainedCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void KeyInputFocusLostCallbackDelegate(IntPtr control);\r
-        private EventHandler<KeyInputFocusLostEventArgs> _KeyInputFocusLostEventHandler;\r
-        private KeyInputFocusLostCallbackDelegate _KeyInputFocusLostCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool KeyCallbackDelegate(IntPtr control, IntPtr key);\r
-        private EventHandlerWithReturnType<object, KeyEventArgs, bool> _KeyHandler;\r
-        private KeyCallbackDelegate _KeyCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void OnRelayoutEventCallbackDelegate(IntPtr control);\r
-        private EventHandler<OnRelayoutEventArgs> _viewOnRelayoutEventHandler;\r
-        private OnRelayoutEventCallbackDelegate _viewOnRelayoutEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool TouchCallbackDelegate(IntPtr view, IntPtr touch);\r
-        private EventHandlerWithReturnType<object, TouchEventArgs, bool> _viewTouchHandler;\r
-        private TouchCallbackDelegate _viewTouchCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool HoverCallbackDelegate(IntPtr view, IntPtr hover);\r
-        private EventHandlerWithReturnType<object, HoverEventArgs, bool> _viewHoverHandler;\r
-        private HoverCallbackDelegate _viewHoverCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate bool WheelCallbackDelegate(IntPtr view, IntPtr wheel);\r
-        private EventHandlerWithReturnType<object, WheelEventArgs, bool> _viewWheelHandler;\r
-        private WheelCallbackDelegate _viewWheelCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void OnStageEventCallbackDelegate(IntPtr control);\r
-        private EventHandler<OnStageEventArgs> _viewOnStageEventHandler;\r
-        private OnStageEventCallbackDelegate _viewOnStageEventCallbackDelegate;\r
-\r
-        [UnmanagedFunctionPointer(CallingConvention.StdCall)]\r
-        private delegate void OffStageEventCallbackDelegate(IntPtr control);\r
-        private EventHandler<OffStageEventArgs> _viewOffStageEventHandler;\r
-        private OffStageEventCallbackDelegate _viewOffStageEventCallbackDelegate;\r
-\r
-        /**\r
-         * @brief Event for KeyInputFocusGained signal which can be used to subscribe/unsubscribe the event handler\r
-         * (in the type of KeyInputFocusGainedEventHandler-DaliEventHandler<object,KeyInputFocusGainedEventArgs>)\r
-         * provided by the user. KeyInputFocusGained signal is emitted when the control gets Key Input Focus.\r
-         */\r
-        public event EventHandler<KeyInputFocusGainedEventArgs> KeyInputFocusGained\r
-        {\r
-            add\r
-            {\r
-                if (_KeyInputFocusGainedEventHandler == null)\r
-                {\r
-                    //Console.WriteLine("View Key EVENT Locked....");\r
-                    _KeyInputFocusGainedCallbackDelegate = (OnKeyInputFocusGained);\r
-                    KeyInputFocusGainedSignal().Connect(_KeyInputFocusGainedCallbackDelegate);\r
-                }\r
-                _KeyInputFocusGainedEventHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _KeyInputFocusGainedEventHandler -= value;\r
-\r
-                if (_KeyInputFocusGainedEventHandler == null && _KeyInputFocusGainedCallbackDelegate != null)\r
-                {\r
-                    KeyInputFocusGainedSignal().Disconnect(_KeyInputFocusGainedCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        private void OnKeyInputFocusGained(IntPtr view)\r
-        {\r
-            KeyInputFocusGainedEventArgs e = new KeyInputFocusGainedEventArgs();\r
-            Console.WriteLine("View Key ....");\r
-            // Populate all members of "e" (KeyInputFocusGainedEventArgs) with real data\r
-            e.View = Tizen.NUI.View.GetViewFromPtr(view);\r
-\r
-            if (_KeyInputFocusGainedEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _KeyInputFocusGainedEventHandler(this, e);\r
-            }\r
-\r
-        }\r
-\r
-        /**\r
-         * @brief Event for KeyInputFocusLost signal which can be used to subscribe/unsubscribe the event handler\r
-         * (in the type of KeyInputFocusLostEventHandler-DaliEventHandler<object,KeyInputFocusLostEventArgs>)\r
-         * provided by the user. KeyInputFocusLost signal is emitted when the control loses Key Input Focus.\r
-         */\r
-        public event EventHandler<KeyInputFocusLostEventArgs> KeyInputFocusLost\r
-        {\r
-            add\r
-            {\r
-                if (_KeyInputFocusLostEventHandler == null)\r
-                {\r
-                    _KeyInputFocusLostCallbackDelegate = (OnKeyInputFocusLost);\r
-                    KeyInputFocusLostSignal().Connect(_KeyInputFocusLostCallbackDelegate);\r
-                }\r
-                _KeyInputFocusLostEventHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _KeyInputFocusLostEventHandler -= value;\r
-\r
-                if (_KeyInputFocusLostEventHandler == null && _KeyInputFocusLostCallbackDelegate != null)\r
-                {\r
-                    KeyInputFocusLostSignal().Disconnect(_KeyInputFocusLostCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        private void OnKeyInputFocusLost(IntPtr view)\r
-        {\r
-            KeyInputFocusLostEventArgs e = new KeyInputFocusLostEventArgs();\r
-\r
-            // Populate all members of "e" (KeyInputFocusLostEventArgs) with real data\r
-            e.View = Tizen.NUI.View.GetViewFromPtr(view);\r
-\r
-            if (_KeyInputFocusLostEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _KeyInputFocusLostEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event for KeyPressed signal which can be used to subscribe/unsubscribe the event handler\r
-         * (in the type of KeyHandler-EventHandlerWithReturnType<object,KeyEventArgs,bool>)\r
-         * provided by the user. KeyPressed signal is emitted when key event is received.\r
-         */\r
-        public event EventHandlerWithReturnType<object, KeyEventArgs, bool> KeyPressed\r
-        {\r
-            add\r
-            {\r
-                if (_KeyHandler == null)\r
-                {\r
-                    _KeyCallbackDelegate = (OnKey);\r
-                    KeyEventSignal().Connect(_KeyCallbackDelegate);\r
-                }\r
-                _KeyHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _KeyHandler -= value;\r
-                if (_KeyHandler == null && _KeyCallbackDelegate != null)\r
-                {\r
-                    KeyEventSignal().Disconnect(_KeyCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        private bool OnKey(IntPtr view, IntPtr key)\r
-        {\r
-            KeyEventArgs e = new KeyEventArgs();\r
-\r
-            // Populate all members of "e" (KeyEventArgs) with real data\r
-            e.View = Tizen.NUI.View.GetViewFromPtr(view);\r
-            e.Key = Tizen.NUI.Key.GetKeyFromPtr(key);\r
-\r
-            if (_KeyHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                return _KeyHandler(this, e);\r
-            }\r
-            return false;\r
-\r
-        }\r
-\r
-        /**\r
-         * @brief Event for OnRelayout signal which can be used to subscribe/unsubscribe the event handler\r
-         * (in the type of OnRelayoutEventHandler) provided by the user.\r
-         * OnRelayout signal is emitted after the size has been set on the view during relayout.\r
-         */\r
-        public event EventHandler<OnRelayoutEventArgs> OnRelayoutEvent\r
-        {\r
-            add\r
-            {\r
-                if (_viewOnRelayoutEventHandler == null)\r
-                {\r
-                    //Console.WriteLine("View OnRelayoutEventArgs Locked....");\r
-                    _viewOnRelayoutEventCallbackDelegate = (OnRelayout);\r
-                    OnRelayoutSignal().Connect(_viewOnRelayoutEventCallbackDelegate);\r
-                }\r
-                _viewOnRelayoutEventHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _viewOnRelayoutEventHandler -= value;\r
-                if (_viewOnRelayoutEventHandler == null && _viewOnRelayoutEventCallbackDelegate != null)\r
-                {\r
-                    OnRelayoutSignal().Disconnect(_viewOnRelayoutEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for View OnRelayout signal\r
-        private void OnRelayout(IntPtr data)\r
-        {\r
-            OnRelayoutEventArgs e = new OnRelayoutEventArgs();\r
-            Console.WriteLine("View OnRelayoutEventArgs....");\r
-            // Populate all members of "e" (OnRelayoutEventArgs) with real data\r
-            e.View = View.GetViewFromPtr(data);\r
-\r
-            if (_viewOnRelayoutEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _viewOnRelayoutEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event for Touched signal which can be used to subscribe/unsubscribe the event handler\r
-         * (in the type of TouchHandler-EventHandlerWithReturnType<object,TouchEventArgs,bool>)\r
-         * provided by the user. Touched signal is emitted when touch input is received.\r
-         */\r
-        public event EventHandlerWithReturnType<object, TouchEventArgs, bool> Touched\r
-        {\r
-            add\r
-            {\r
-                if (_viewTouchHandler == null)\r
-                {\r
-                    //Console.WriteLine("View Touch EVENT LOCKED....");\r
-                    _viewTouchCallbackDelegate = (OnTouch);\r
-                    TouchSignal().Connect(_viewTouchCallbackDelegate);\r
-                }\r
-                _viewTouchHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _viewTouchHandler -= value;\r
-                if (_viewTouchHandler == null && _viewTouchCallbackDelegate != null)\r
-                {\r
-                    TouchSignal().Disconnect(_viewTouchCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for View TouchSignal\r
-        private bool OnTouch(IntPtr view, IntPtr touch)\r
-        {\r
-            TouchEventArgs e = new TouchEventArgs();\r
-            Console.WriteLine("View Touch EVENT....");\r
-            // Populate all members of "e" (TouchEventArgs) with real data\r
-            e.View = View.GetViewFromPtr(view);\r
-            e.Touch = Tizen.NUI.Touch.GetTouchFromPtr(touch);\r
-\r
-            if (_viewTouchHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                return _viewTouchHandler(this, e);\r
-            }\r
-\r
-            return false;\r
-        }\r
-\r
-        /**\r
-         * @brief Event for Hovered signal which can be used to subscribe/unsubscribe the event handler\r
-         * (in the type of HoverHandler-EventHandlerWithReturnType<object,HoverEventArgs,bool>)\r
-         * provided by the user. Hovered signal is emitted when hover input is received.\r
-         */\r
-        public event EventHandlerWithReturnType<object, HoverEventArgs, bool> Hovered\r
-        {\r
-            add\r
-            {\r
-                if (_viewHoverHandler == null)\r
-                {\r
-                    _viewHoverCallbackDelegate = (OnHover);\r
-                    HoveredSignal().Connect(_viewHoverCallbackDelegate);\r
-                }\r
-                _viewHoverHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _viewHoverHandler -= value;\r
-                if (_viewHoverHandler == null && _viewHoverCallbackDelegate != null)\r
-                {\r
-                    HoveredSignal().Disconnect(_viewHoverCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for View Hover signal\r
-        private bool OnHover(IntPtr view, IntPtr hover)\r
-        {\r
-            HoverEventArgs e = new HoverEventArgs();\r
-\r
-            // Populate all members of "e" (HoverEventArgs) with real data\r
-            e.View = View.GetViewFromPtr(view);\r
-            e.Hover = Tizen.NUI.Hover.GetHoverFromPtr(hover);\r
-\r
-            if (_viewHoverHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                return _viewHoverHandler(this, e);\r
-            }\r
-\r
-            return false;\r
-        }\r
-\r
-        /**\r
-         * @brief Event for WheelMoved signal which can be used to subscribe/unsubscribe the event handler\r
-         * (in the type of WheelHandler-EventHandlerWithReturnType<object,WheelEventArgs,bool>)\r
-         * provided by the user. WheelMoved signal is emitted when wheel event is received.\r
-         */\r
-        public event EventHandlerWithReturnType<object, WheelEventArgs, bool> WheelMoved\r
-        {\r
-            add\r
-            {\r
-                if (_viewWheelHandler == null)\r
-                {\r
-                    //Console.WriteLine("View Wheel EVENT LOCKED....");\r
-                    _viewWheelCallbackDelegate = (OnWheel);\r
-                    WheelEventSignal().Connect(_viewWheelCallbackDelegate);\r
-                }\r
-                _viewWheelHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _viewWheelHandler -= value;\r
-                if (_viewWheelHandler == null && _viewWheelCallbackDelegate != null)\r
-                {\r
-                    WheelEventSignal().Disconnect(_viewWheelCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for View Wheel signal\r
-        private bool OnWheel(IntPtr view, IntPtr wheel)\r
-        {\r
-            WheelEventArgs e = new WheelEventArgs();\r
-            Console.WriteLine("View Wheel EVENT ....");\r
-            // Populate all members of "e" (WheelEventArgs) with real data\r
-            e.View = View.GetViewFromPtr(view);\r
-            e.Wheel = Tizen.NUI.Wheel.GetWheelFromPtr(wheel);\r
-\r
-            if (_viewWheelHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                return _viewWheelHandler(this, e);\r
-            }\r
-\r
-            return false;\r
-        }\r
-\r
-        /**\r
-         * @brief Event for OnStage signal which can be used to subscribe/unsubscribe the event handler\r
-         * (in the type of OnStageEventHandler) provided by the user.\r
-         * OnStage signal is emitted after the view has been connected to the stage.\r
-         */\r
-        public event EventHandler<OnStageEventArgs> OnStageEvent\r
-        {\r
-            add\r
-            {\r
-                if (_viewOnStageEventHandler == null)\r
-                {\r
-                    _viewOnStageEventCallbackDelegate = (OnStage);\r
-                    OnStageSignal().Connect(_viewOnStageEventCallbackDelegate);\r
-                }\r
-                _viewOnStageEventHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _viewOnStageEventHandler -= value;\r
-                if (_viewOnStageEventHandler == null && _viewOnStageEventCallbackDelegate != null)\r
-                {\r
-                    OnStageSignal().Disconnect(_viewOnStageEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for View OnStage signal\r
-        private void OnStage(IntPtr data)\r
-        {\r
-            OnStageEventArgs e = new OnStageEventArgs();\r
-\r
-            // Populate all members of "e" (OnStageEventArgs) with real data\r
-            e.View = View.GetViewFromPtr(data);\r
-\r
-            //Console.WriteLine("############# OnStage()! e.View.Name=" + e.View.Name);\r
-\r
-            if (_viewOnStageEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _viewOnStageEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief Event for OffStage signal which can be used to subscribe/unsubscribe the event handler\r
-         * (in the type of OffStageEventHandler) provided by the user.\r
-         * OffStage signal is emitted after the view has been disconnected from the stage.\r
-         */\r
-        public event EventHandler<OffStageEventArgs> OffStageEvent\r
-        {\r
-            add\r
-            {\r
-                if (_viewOffStageEventHandler == null)\r
-                {\r
-                    _viewOffStageEventCallbackDelegate = (OffStage);\r
-                    OnStageSignal().Connect(_viewOffStageEventCallbackDelegate);\r
-                }\r
-                _viewOffStageEventHandler += value;\r
-            }\r
-\r
-            remove\r
-            {\r
-                _viewOffStageEventHandler -= value;\r
-                if (_viewOffStageEventHandler == null && _viewOffStageEventCallbackDelegate != null)\r
-                {\r
-                    OnStageSignal().Disconnect(_viewOffStageEventCallbackDelegate);\r
-                }\r
-            }\r
-        }\r
-\r
-        // Callback for View OffStage signal\r
-        private void OffStage(IntPtr data)\r
-        {\r
-            OffStageEventArgs e = new OffStageEventArgs();\r
-\r
-            // Populate all members of "e" (OffStageEventArgs) with real data\r
-            e.View = View.GetViewFromPtr(data);\r
-\r
-            if (_viewOffStageEventHandler != null)\r
-            {\r
-                //here we send all data to user event handlers\r
-                _viewOffStageEventHandler(this, e);\r
-            }\r
-        }\r
-\r
-        public static View GetViewFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            View ret = new View(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal class Property : global::System.IDisposable\r
-        {\r
-            private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-            protected bool swigCMemOwn;\r
-\r
-            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-            {\r
-                swigCMemOwn = cMemoryOwn;\r
-                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-            }\r
-\r
-            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
-            {\r
-                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-            }\r
-\r
-            ~Property()\r
-            {\r
-                Dispose();\r
-            }\r
-\r
-            public virtual void Dispose()\r
-            {\r
-                lock (this)\r
-                {\r
-                    if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                    {\r
-                        if (swigCMemOwn)\r
-                        {\r
-                            swigCMemOwn = false;\r
-                            NDalicPINVOKE.delete_View_Property(swigCPtr);\r
-                        }\r
-                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                    }\r
-                    global::System.GC.SuppressFinalize(this);\r
-                }\r
-            }\r
-\r
-            internal static readonly int TOOLTIP = NDalicManualPINVOKE.View_Property_TOOLTIP_get();\r
-            internal static readonly int STATE = NDalicManualPINVOKE.View_Property_STATE_get();\r
-            internal static readonly int SUB_STATE = NDalicManualPINVOKE.View_Property_SUB_STATE_get();\r
-            internal static readonly int LEFT_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_LEFT_FOCUSABLE_ACTOR_ID_get();\r
-            internal static readonly int RIGHT_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get();\r
-            internal static readonly int UP_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_UP_FOCUSABLE_ACTOR_ID_get();\r
-            internal static readonly int DOWN_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_DOWN_FOCUSABLE_ACTOR_ID_get();\r
-\r
-            internal Property() : this(NDalicPINVOKE.new_View_Property(), true)\r
-            {\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-\r
-            internal static readonly int STYLE_NAME = NDalicPINVOKE.View_Property_STYLE_NAME_get();\r
-            internal static readonly int BACKGROUND_COLOR = NDalicPINVOKE.View_Property_BACKGROUND_COLOR_get();\r
-            internal static readonly int BACKGROUND_IMAGE = NDalicPINVOKE.View_Property_BACKGROUND_IMAGE_get();\r
-            internal static readonly int KEY_INPUT_FOCUS = NDalicPINVOKE.View_Property_KEY_INPUT_FOCUS_get();\r
-            internal static readonly int BACKGROUND = NDalicPINVOKE.View_Property_BACKGROUND_get();\r
-\r
-        }\r
-\r
-\r
-        public enum FocusDirection\r
-        {\r
-            Left,\r
-            Right,\r
-            Up,\r
-            Down,\r
-            PageUp,\r
-            PageDown\r
-        }\r
-\r
-\r
-        public View() : this(NDalicPINVOKE.View_New(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal View(View uiControl) : this(NDalicPINVOKE.new_View__SWIG_1(View.getCPtr(uiControl)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal View Assign(View handle)\r
-        {\r
-            View ret = new View(NDalicPINVOKE.View_Assign(swigCPtr, View.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public new static View DownCast(BaseHandle handle)\r
-        {\r
-            View ret = new View(NDalicPINVOKE.View_DownCast(BaseHandle.getCPtr(handle)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public static T DownCast<T>(Actor actor) where T : View\r
-        {\r
-            return (T)(ViewRegistry.GetViewFromActor(actor));\r
-        }\r
-\r
-        private View ConvertIdToView(uint id)\r
-        {\r
-            Actor actor = null;\r
-\r
-            if (Parent)\r
-            {\r
-                actor = Parent.FindChildById(id);\r
-            }\r
-\r
-            if (!actor)\r
-            {\r
-                actor = Stage.Instance.GetRootLayer().FindChildById(id);\r
-            }\r
-\r
-            return View.DownCast<View>(actor);\r
-        }\r
-\r
-        internal void SetKeyInputFocus()\r
-        {\r
-            NDalicPINVOKE.View_SetKeyInputFocus(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool HasKeyInputFocus()\r
-        {\r
-            bool ret = NDalicPINVOKE.View_HasKeyInputFocus(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void ClearKeyInputFocus()\r
-        {\r
-            NDalicPINVOKE.View_ClearKeyInputFocus(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal PinchGestureDetector GetPinchGestureDetector()\r
-        {\r
-            PinchGestureDetector ret = new PinchGestureDetector(NDalicPINVOKE.View_GetPinchGestureDetector(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal PanGestureDetector GetPanGestureDetector()\r
-        {\r
-            PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.View_GetPanGestureDetector(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal TapGestureDetector GetTapGestureDetector()\r
-        {\r
-            TapGestureDetector ret = new TapGestureDetector(NDalicPINVOKE.View_GetTapGestureDetector(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal LongPressGestureDetector GetLongPressGestureDetector()\r
-        {\r
-            LongPressGestureDetector ret = new LongPressGestureDetector(NDalicPINVOKE.View_GetLongPressGestureDetector(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetStyleName(string styleName)\r
-        {\r
-            NDalicPINVOKE.View_SetStyleName(swigCPtr, styleName);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public string GetStyleName()\r
-        {\r
-            string ret = NDalicPINVOKE.View_GetStyleName(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetBackgroundColor(Vector4 color)\r
-        {\r
-            NDalicPINVOKE.View_SetBackgroundColor(swigCPtr, Vector4.getCPtr(color));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Vector4 GetBackgroundColor()\r
-        {\r
-            Vector4 ret = new Vector4(NDalicPINVOKE.View_GetBackgroundColor(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal void SetBackgroundImage(Image image)\r
-        {\r
-            NDalicPINVOKE.View_SetBackgroundImage(swigCPtr, Image.getCPtr(image));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void ClearBackground()\r
-        {\r
-            NDalicPINVOKE.View_ClearBackground(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal ControlKeySignal KeyEventSignal()\r
-        {\r
-            ControlKeySignal ret = new ControlKeySignal(NDalicPINVOKE.View_KeyEventSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal KeyInputFocusSignal KeyInputFocusGainedSignal()\r
-        {\r
-            KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.View_KeyInputFocusGainedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal KeyInputFocusSignal KeyInputFocusLostSignal()\r
-        {\r
-            KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.View_KeyInputFocusLostSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal View(ViewImpl implementation) : this(NDalicPINVOKE.new_View__SWIG_2(ViewImpl.getCPtr(implementation)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal enum PropertyRange\r
-        {\r
-            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,\r
-            CONTROL_PROPERTY_START_INDEX = PROPERTY_START_INDEX,\r
-            CONTROL_PROPERTY_END_INDEX = CONTROL_PROPERTY_START_INDEX + 1000\r
-        }\r
-\r
-        public string StyleName\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(View.Property.STYLE_NAME).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.STYLE_NAME, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Color BackgroundColor\r
-        {\r
-            get\r
-            {\r
-                Color backgroundColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);\r
-\r
-                Tizen.NUI.PropertyMap background = Background;\r
-                int visualType = 0;\r
-                background.Find(Tizen.NUI.Constants.Visual.Property.Type).Get(ref visualType);\r
-                if (visualType == (int)Tizen.NUI.Constants.Visual.Type.Color)\r
-                {\r
-                    background.Find(Tizen.NUI.Constants.ColorVisualProperty.MixColor).Get(backgroundColor);\r
-                }\r
-\r
-                return backgroundColor;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.BACKGROUND, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public string BackgroundImage\r
-        {\r
-            get\r
-            {\r
-                string backgroundImage = "";\r
-\r
-                Tizen.NUI.PropertyMap background = Background;\r
-                int visualType = 0;\r
-                background.Find(Tizen.NUI.Constants.Visual.Property.Type).Get(ref visualType);\r
-                if (visualType == (int)Tizen.NUI.Constants.Visual.Type.Image)\r
-                {\r
-                    background.Find(Tizen.NUI.Constants.ImageVisualProperty.URL).Get(out backgroundImage);\r
-                }\r
-\r
-                return backgroundImage;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.BACKGROUND, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        internal bool KeyInputFocus\r
-        {\r
-            get\r
-            {\r
-                bool temp = false;\r
-                GetProperty(View.Property.KEY_INPUT_FOCUS).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.KEY_INPUT_FOCUS, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Tizen.NUI.PropertyMap Background\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(View.Property.BACKGROUND).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.BACKGROUND, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public string State\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(View.Property.STATE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.STATE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public string SubState\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(View.Property.SUB_STATE).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.SUB_STATE, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Tizen.NUI.PropertyMap Tooltip\r
-        {\r
-            get\r
-            {\r
-                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
-                GetProperty(View.Property.TOOLTIP).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.TOOLTIP, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public string TooltipText\r
-        {\r
-            set\r
-            {\r
-                SetProperty(View.Property.TOOLTIP, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        private int LeftFocusableActorId\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(View.Property.LEFT_FOCUSABLE_ACTOR_ID).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.LEFT_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        private int RightFocusableActorId\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(View.Property.RIGHT_FOCUSABLE_ACTOR_ID).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.RIGHT_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        private int UpFocusableActorId\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(View.Property.UP_FOCUSABLE_ACTOR_ID).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.UP_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        private int DownFocusableActorId\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(View.Property.DOWN_FOCUSABLE_ACTOR_ID).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(View.Property.DOWN_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        /// <summary>\r
-        /// Child Property of FlexContainer\r
-        /// The proportion of the free space in the container the flex item will receive. \r
-        /// If all items in the container set this property, their sizes will be proportional to the specified flex factor\r
-        /// </summary> \r
-        public float Flex\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(FlexContainer.ChildProperty.FLEX).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(FlexContainer.ChildProperty.FLEX, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        /// <summary>\r
-        /// Child Property of FlexContainer\r
-        /// The alignment of the flex item along the cross axis, which, if set, overides the default alignment for all items in the container\r
-        /// </summary> \r
-        public int AlignSelf\r
-        {\r
-            get\r
-            {\r
-                int temp = 0;\r
-                GetProperty(FlexContainer.ChildProperty.ALIGN_SELF).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(FlexContainer.ChildProperty.ALIGN_SELF, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        /// <summary>\r
-        /// Child Property of FlexContainer\r
-        /// The space around the flex item\r
-        /// </summary> \r
-        public Vector4 FlexMargin\r
-        {\r
-            get\r
-            {\r
-                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);\r
-                GetProperty(FlexContainer.ChildProperty.FLEX_MARGIN).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(FlexContainer.ChildProperty.FLEX_MARGIN, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public Vector2 CellIndex\r
-        {\r
-            get\r
-            {\r
-                Vector2 temp = new Vector2(0.0f, 0.0f);\r
-                GetProperty(TableView.ChildProperty.CELL_INDEX).Get(temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TableView.ChildProperty.CELL_INDEX, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public float RowSpan\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TableView.ChildProperty.ROW_SPAN).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TableView.ChildProperty.ROW_SPAN, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public float ColumnSpan\r
-        {\r
-            get\r
-            {\r
-                float temp = 0.0f;\r
-                GetProperty(TableView.ChildProperty.COLUMN_SPAN).Get(ref temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TableView.ChildProperty.COLUMN_SPAN, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public string CellHorizontalAlignment\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        public string CellVerticalAlignment\r
-        {\r
-            get\r
-            {\r
-                string temp;\r
-                GetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT).Get(out temp);\r
-                return temp;\r
-            }\r
-            set\r
-            {\r
-                SetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief The left focusable view.\r
-         * @note This will return NULL if not set.\r
-         * This will also return NULL if the specified left focusable view is not on stage.\r
-         *\r
-         */\r
-        public View LeftFocusableView\r
-        {\r
-            // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.\r
-            get\r
-            {\r
-                if (LeftFocusableActorId >= 0)\r
-                {\r
-                    return ConvertIdToView((uint)LeftFocusableActorId);\r
-                }\r
-                return null;\r
-            }\r
-            set\r
-            {\r
-                LeftFocusableActorId = (int)value.GetId();\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief The right focusable view.\r
-         * @note This will return NULL if not set.\r
-         * This will also return NULL if the specified right focusable view is not on stage.\r
-         *\r
-         */\r
-        public View RightFocusableView\r
-        {\r
-            // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.\r
-            get\r
-            {\r
-                if (RightFocusableActorId >= 0)\r
-                {\r
-                    return ConvertIdToView((uint)RightFocusableActorId);\r
-                }\r
-                return null;\r
-            }\r
-            set\r
-            {\r
-                RightFocusableActorId = (int)value.GetId();\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief The up focusable view.\r
-         * @note This will return NULL if not set.\r
-         * This will also return NULL if the specified up focusable view is not on stage.\r
-         *\r
-         */\r
-        public View UpFocusableView\r
-        {\r
-            // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.\r
-            get\r
-            {\r
-                if (UpFocusableActorId >= 0)\r
-                {\r
-                    return ConvertIdToView((uint)UpFocusableActorId);\r
-                }\r
-                return null;\r
-            }\r
-            set\r
-            {\r
-                UpFocusableActorId = (int)value.GetId();\r
-            }\r
-        }\r
-\r
-        /**\r
-         * @brief The down focusable view.\r
-         * @note This will return NULL if not set.\r
-         * This will also return NULL if the specified down focusable view is not on stage.\r
-         *\r
-         */\r
-        public View DownFocusableView\r
-        {\r
-            // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.\r
-            get\r
-            {\r
-                if (DownFocusableActorId >= 0)\r
-                {\r
-                    return ConvertIdToView((uint)DownFocusableActorId);\r
-                }\r
-                return null;\r
-            }\r
-            set\r
-            {\r
-                DownFocusableActorId = (int)value.GetId();\r
-            }\r
-        }\r
-\r
-        public bool Focusable\r
-        {\r
-            set\r
-            {\r
-                SetKeyboardFocusable(value);\r
-            }\r
-            get\r
-            {\r
-                return IsKeyboardFocusable();\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+
+namespace Tizen.NUI
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+
+
+    public class View : CustomActor
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal View(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.View_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+
+            // Register this instance of view in the view registry.
+            ViewRegistry.RegisterView(this);
+
+            // By default, we do not want the position to use the anchor point
+            //this.PositionUsesAnchorPoint = false;
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(View obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~View()
+        {
+            DisposeQueue.Instance.Add(this);
+
+            // Unregister this instance of view from the view registry.
+            ViewRegistry.UnregisterView(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_View(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+
+        private EventHandler _keyInputFocusGainedEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void KeyInputFocusGainedCallbackType(IntPtr control);
+        private KeyInputFocusGainedCallbackType _keyInputFocusGainedCallback;
+
+        /**
+          * @brief Event for KeyInputFocusGained signal which can be used to subscribe/unsubscribe the event handler
+          * provided by the user. KeyInputFocusGained signal is emitted when the control gets Key Input Focus.
+          */
+        public event EventHandler FocusGained
+        {
+            add
+            {
+                if (_keyInputFocusGainedEventHandler == null)
+                {
+                    _keyInputFocusGainedCallback = OnKeyInputFocusGained;
+                    this.KeyInputFocusGainedSignal().Connect(_keyInputFocusGainedCallback);
+                }
+
+                _keyInputFocusGainedEventHandler += value;
+            }
+
+            remove
+            {
+                _keyInputFocusGainedEventHandler -= value;
+
+                if (_keyInputFocusGainedEventHandler == null && _keyInputFocusGainedCallback != null)
+                {
+                    this.KeyInputFocusGainedSignal().Disconnect(_keyInputFocusGainedCallback);
+                }
+            }
+        }
+
+        private void OnKeyInputFocusGained(IntPtr view)
+        {
+            if (_keyInputFocusGainedEventHandler != null)
+            {
+                _keyInputFocusGainedEventHandler(this, null);
+            }
+        }
+
+
+        private EventHandler _keyInputFocusLostEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void KeyInputFocusLostCallbackType(IntPtr control);
+        private KeyInputFocusLostCallbackType _keyInputFocusLostCallback;
+
+        /**
+          * @brief Event for KeyInputFocusLost signal which can be used to subscribe/unsubscribe the event handler
+          * provided by the user. KeyInputFocusLost signal is emitted when the control loses Key Input Focus.
+          */
+        public event EventHandler FocusLost
+        {
+            add
+            {
+                if (_keyInputFocusLostEventHandler == null)
+                {
+                    _keyInputFocusLostCallback = OnKeyInputFocusLost;
+                    this.KeyInputFocusLostSignal().Connect(_keyInputFocusLostCallback);
+                }
+
+                _keyInputFocusLostEventHandler += value;
+            }
+
+            remove
+            {
+                _keyInputFocusLostEventHandler -= value;
+
+                if (_keyInputFocusLostEventHandler == null && _keyInputFocusLostCallback != null)
+                {
+                    this.KeyInputFocusLostSignal().Disconnect(_keyInputFocusLostCallback);
+                }
+            }
+        }
+
+        private void OnKeyInputFocusLost(IntPtr view)
+        {
+            if (_keyInputFocusLostEventHandler != null)
+            {
+                _keyInputFocusLostEventHandler(this, null);
+            }
+        }
+
+
+        /**
+          * @brief Event arguments that passed via KeyEvent signal
+          *
+          */
+        public class KeyEventArgs : EventArgs
+        {
+            private Key _key;
+
+            /**
+              * @brief KeyEvent - is the keyevent sent to the View.
+              *
+              */
+            public Key Key
+            {
+                get
+                {
+                    return _key;
+                }
+                set
+                {
+                    _key = value;
+                }
+            }
+        }
+
+        private EventHandlerWithReturnType<object, KeyEventArgs, bool> _keyEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool KeyCallbackType(IntPtr control, IntPtr keyEvent);
+        private KeyCallbackType _keyCallback;
+
+        /**
+          * @brief Event for KeyPressed signal which can be used to subscribe/unsubscribe the event handler
+          * provided by the user. KeyPressed signal is emitted when key event is received.
+          */
+        public event EventHandlerWithReturnType<object, KeyEventArgs, bool> KeyEvent
+        {
+            add
+            {
+                if (_keyEventHandler == null)
+                {
+                    _keyCallback = OnKeyEvent;
+                    this.KeyEventSignal().Connect(_keyCallback);
+                }
+
+                _keyEventHandler += value;
+            }
+
+            remove
+            {
+                _keyEventHandler -= value;
+
+                if (_keyEventHandler == null && _keyCallback != null)
+                {
+                    this.KeyEventSignal().Disconnect(_keyCallback);
+                }
+            }
+        }
+
+        private bool OnKeyEvent(IntPtr view, IntPtr keyEvent)
+        {
+            KeyEventArgs e = new KeyEventArgs();
+
+            e.Key = Tizen.NUI.Key.GetKeyFromPtr(keyEvent);
+
+            if (_keyEventHandler != null)
+            {
+                return _keyEventHandler(this, e);
+            }
+            return false;
+        }
+
+
+        private EventHandler _onRelayoutEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void OnRelayoutEventCallbackType(IntPtr control);
+        private OnRelayoutEventCallbackType _onRelayoutEventCallback;
+
+        /**
+          * @brief Event for OnRelayout signal which can be used to subscribe/unsubscribe the event handler
+          * OnRelayout signal is emitted after the size has been set on the view during relayout.
+          */
+        public event EventHandler OnRelayoutEvent
+        {
+            add
+            {
+                if (_onRelayoutEventHandler == null)
+                {
+                    _onRelayoutEventCallback = OnRelayout;
+                    this.OnRelayoutSignal().Connect(_onRelayoutEventCallback);
+                }
+
+                _onRelayoutEventHandler += value;
+            }
+
+            remove
+            {
+                _onRelayoutEventHandler -= value;
+
+                if (_onRelayoutEventHandler == null && _onRelayoutEventCallback != null)
+                {
+                    this.OnRelayoutSignal().Disconnect(_onRelayoutEventCallback);
+                }
+
+            }
+        }
+
+        // Callback for View OnRelayout signal
+        private void OnRelayout(IntPtr data)
+        {
+            if (_onRelayoutEventHandler != null)
+            {
+                _onRelayoutEventHandler(this, null);
+            }
+        }
+
+
+        /**
+          * @brief Event arguments that passed via Touch signal
+          *
+          */
+        public class TouchEventArgs : EventArgs
+        {
+            private Touch _touch;
+
+            /**
+              * @brief TouchData - contains the information of touch points
+              *
+              */
+            public Touch Touch
+            {
+                get
+                {
+                    return _touch;
+                }
+                set
+                {
+                    _touch = value;
+                }
+            }
+        }
+
+        private EventHandlerWithReturnType<object, TouchEventArgs, bool> _touchDataEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool TouchDataCallbackType(IntPtr view, IntPtr touchData);
+        private TouchDataCallbackType _touchDataCallback;
+
+        /**
+          * @brief Event for Touched signal which can be used to subscribe/unsubscribe the event handler
+          * provided by the user. Touched signal is emitted when touch input is received.
+          */
+        public event EventHandlerWithReturnType<object, TouchEventArgs, bool> Touched
+        {
+            add
+            {
+                if (_touchDataEventHandler == null)
+                {
+                    _touchDataCallback = OnTouch;
+                    this.TouchSignal().Connect(_touchDataCallback);
+                }
+
+                _touchDataEventHandler += value;
+            }
+
+            remove
+            {
+                _touchDataEventHandler -= value;
+
+                if (_touchDataEventHandler == null && _touchDataCallback != null)
+                {
+                    this.TouchSignal().Disconnect(_touchDataCallback);
+                }
+
+            }
+        }
+
+        // Callback for View TouchSignal
+        private bool OnTouch(IntPtr view, IntPtr touchData)
+        {
+            TouchEventArgs e = new TouchEventArgs();
+
+            e.Touch = Tizen.NUI.Touch.GetTouchFromPtr(touchData);
+
+            if (_touchDataEventHandler != null)
+            {
+                return _touchDataEventHandler(this, e);
+            }
+            return false;
+        }
+
+
+        /**
+          * @brief Event arguments that passed via Hover signal
+          *
+          */
+        public class HoverEventArgs : EventArgs
+        {
+            private Hover _hover;
+            /**
+              * @brief HoverEvent - contains touch points that represent the points
+              * that are currently being hovered or the points where a hover has stopped
+              *
+              */
+            public Hover Hover
+            {
+                get
+                {
+                    return _hover;
+                }
+                set
+                {
+                    _hover = value;
+                }
+            }
+        }
+
+        private EventHandlerWithReturnType<object, HoverEventArgs, bool> _hoverEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool HoverEventCallbackType(IntPtr view, IntPtr hoverEvent);
+        private HoverEventCallbackType _hoverEventCallback;
+
+        /**
+          * @brief Event for Hovered signal which can be used to subscribe/unsubscribe the event handler
+          * provided by the user. Hovered signal is emitted when hover input is received.
+          */
+        public event EventHandlerWithReturnType<object, HoverEventArgs, bool> Hovered
+        {
+            add
+            {
+                if (_hoverEventHandler == null)
+                {
+                    _hoverEventCallback = OnHoverEvent;
+                    this.HoveredSignal().Connect(_hoverEventCallback);
+                }
+
+                _hoverEventHandler += value;
+            }
+
+            remove
+            {
+                _hoverEventHandler -= value;
+
+                if (_hoverEventHandler == null && _hoverEventCallback != null)
+                {
+                    this.HoveredSignal().Disconnect(_hoverEventCallback);
+                }
+
+            }
+        }
+
+        // Callback for View Hover signal
+        private bool OnHoverEvent(IntPtr view, IntPtr hoverEvent)
+        {
+            HoverEventArgs e = new HoverEventArgs();
+
+            e.Hover = Tizen.NUI.Hover.GetHoverFromPtr(hoverEvent);
+
+            if (_hoverEventHandler != null)
+            {
+                return _hoverEventHandler(this, e);
+            }
+            return false;
+        }
+
+
+        /**
+          * @brief Event arguments that passed via Wheel signal
+          *
+          */
+        public class WheelEventArgs : EventArgs
+        {
+            private Wheel _wheel;
+            /**
+              * @brief WheelEvent - store a wheel rolling type : MOUSE_WHEEL or CUSTOM_WHEEL
+              *
+              */
+            public Wheel Wheel
+            {
+                get
+                {
+                    return _wheel;
+                }
+                set
+                {
+                    _wheel = value;
+                }
+            }
+        }
+
+        private EventHandlerWithReturnType<object, WheelEventArgs, bool> _wheelEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate bool WheelEventCallbackType(IntPtr view, IntPtr wheelEvent);
+        private WheelEventCallbackType _wheelEventCallback;
+
+        /**
+          * @brief Event for WheelMoved signal which can be used to subscribe/unsubscribe the event handler
+          * provided by the user. WheelMoved signal is emitted when wheel event is received.
+          */
+        public event EventHandlerWithReturnType<object, WheelEventArgs, bool> WheelMoved
+        {
+            add
+            {
+                if (_wheelEventHandler == null)
+                {
+                    _wheelEventCallback = OnWheelEvent;
+                    this.WheelEventSignal().Connect(_wheelEventCallback);
+                }
+
+                _wheelEventHandler += value;
+            }
+
+            remove
+            {
+                _wheelEventHandler -= value;
+
+                if (_wheelEventHandler == null && _wheelEventCallback != null)
+                {
+                    this.WheelEventSignal().Disconnect(_wheelEventCallback);
+                }
+
+            }
+        }
+
+        // Callback for View Wheel signal
+        private bool OnWheelEvent(IntPtr view, IntPtr wheelEvent)
+        {
+            WheelEventArgs e = new WheelEventArgs();
+
+            e.Wheel = Tizen.NUI.Wheel.GetWheelFromPtr(wheelEvent);
+
+            if (_wheelEventHandler != null)
+            {
+                return _wheelEventHandler(this, e);
+            }
+            return false;
+        }
+
+
+        private EventHandler _onStageEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void OnStageEventCallbackType(IntPtr control);
+        private OnStageEventCallbackType _onStageEventCallback;
+
+        /**
+          * @brief Event for OnStage signal which can be used to subscribe/unsubscribe the event handler
+          * OnStage signal is emitted after the view has been connected to the stage.
+          */
+        public event EventHandler OnStageEvent
+        {
+            add
+            {
+                if (_onStageEventHandler == null)
+                {
+                    _onStageEventCallback = OnStage;
+                    this.OnStageSignal().Connect(_onStageEventCallback);
+                }
+
+                _onStageEventHandler += value;
+            }
+
+            remove
+            {
+                _onStageEventHandler -= value;
+
+                if (_onStageEventHandler == null && _onStageEventCallback != null)
+                {
+                    this.OnStageSignal().Disconnect(_onStageEventCallback);
+                }
+            }
+        }
+
+        // Callback for View OnStage signal
+        private void OnStage(IntPtr data)
+        {
+            if (_onStageEventHandler != null)
+            {
+                _onStageEventHandler(this, null);
+            }
+        }
+
+
+        private EventHandler _offStageEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void OffStageEventCallbackType(IntPtr control);
+        private OffStageEventCallbackType _offStageEventCallback;
+
+        /**
+          * @brief Event for OffStage signal which can be used to subscribe/unsubscribe the event handler
+          * OffStage signal is emitted after the view has been disconnected from the stage.
+          */
+        public event EventHandler OffStageEvent
+        {
+            add
+            {
+                if (_offStageEventHandler == null)
+                {
+                    _offStageEventCallback = OffStage;
+                    this.OnStageSignal().Connect(_offStageEventCallback);
+                }
+
+                _offStageEventHandler += value;
+            }
+
+            remove
+            {
+                _offStageEventHandler -= value;
+
+                if (_offStageEventHandler == null && _offStageEventCallback != null)
+                {
+                    this.OnStageSignal().Disconnect(_offStageEventCallback);
+                }
+            }
+        }
+
+        // Callback for View OffStage signal
+        private void OffStage(IntPtr data)
+        {
+            if (_offStageEventHandler != null)
+            {
+                _offStageEventHandler(this, null);
+            }
+        }
+
+
+
+
+
+
+        public static View GetViewFromPtr(global::System.IntPtr cPtr)
+        {
+            View ret = new View(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal class Property : global::System.IDisposable
+        {
+            private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+            protected bool swigCMemOwn;
+
+            internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
+            {
+                swigCMemOwn = cMemoryOwn;
+                swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            }
+
+            internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
+            {
+                return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+            }
+
+            ~Property()
+            {
+                Dispose();
+            }
+
+            public virtual void Dispose()
+            {
+                lock (this)
+                {
+                    if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                    {
+                        if (swigCMemOwn)
+                        {
+                            swigCMemOwn = false;
+                            NDalicPINVOKE.delete_View_Property(swigCPtr);
+                        }
+                        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                    }
+                    global::System.GC.SuppressFinalize(this);
+                }
+            }
+
+            internal static readonly int TOOLTIP = NDalicManualPINVOKE.View_Property_TOOLTIP_get();
+            internal static readonly int STATE = NDalicManualPINVOKE.View_Property_STATE_get();
+            internal static readonly int SUB_STATE = NDalicManualPINVOKE.View_Property_SUB_STATE_get();
+            internal static readonly int LEFT_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_LEFT_FOCUSABLE_ACTOR_ID_get();
+            internal static readonly int RIGHT_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get();
+            internal static readonly int UP_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_UP_FOCUSABLE_ACTOR_ID_get();
+            internal static readonly int DOWN_FOCUSABLE_ACTOR_ID = NDalicManualPINVOKE.View_Property_DOWN_FOCUSABLE_ACTOR_ID_get();
+
+            internal Property() : this(NDalicPINVOKE.new_View_Property(), true)
+            {
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+
+            internal static readonly int STYLE_NAME = NDalicPINVOKE.View_Property_STYLE_NAME_get();
+            internal static readonly int BACKGROUND_COLOR = NDalicPINVOKE.View_Property_BACKGROUND_COLOR_get();
+            internal static readonly int BACKGROUND_IMAGE = NDalicPINVOKE.View_Property_BACKGROUND_IMAGE_get();
+            internal static readonly int KEY_INPUT_FOCUS = NDalicPINVOKE.View_Property_KEY_INPUT_FOCUS_get();
+            internal static readonly int BACKGROUND = NDalicPINVOKE.View_Property_BACKGROUND_get();
+
+        }
+
+
+        public enum FocusDirection
+        {
+            Left,
+            Right,
+            Up,
+            Down,
+            PageUp,
+            PageDown
+        }
+
+
+        public View() : this(NDalicPINVOKE.View_New(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal View(View uiControl) : this(NDalicPINVOKE.new_View__SWIG_1(View.getCPtr(uiControl)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal View Assign(View handle)
+        {
+            View ret = new View(NDalicPINVOKE.View_Assign(swigCPtr, View.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public new static View DownCast(BaseHandle handle)
+        {
+            View ret = new View(NDalicPINVOKE.View_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public static T DownCast<T>(Actor actor) where T : View
+        {
+            return (T)(ViewRegistry.GetViewFromActor(actor));
+        }
+
+        private View ConvertIdToView(uint id)
+        {
+            Actor actor = null;
+
+            if (Parent)
+            {
+                actor = Parent.FindChildById(id);
+            }
+
+            if (!actor)
+            {
+                actor = Stage.Instance.GetRootLayer().FindChildById(id);
+            }
+
+            return View.DownCast<View>(actor);
+        }
+
+        internal void SetKeyInputFocus()
+        {
+            NDalicPINVOKE.View_SetKeyInputFocus(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool HasKeyInputFocus()
+        {
+            bool ret = NDalicPINVOKE.View_HasKeyInputFocus(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void ClearKeyInputFocus()
+        {
+            NDalicPINVOKE.View_ClearKeyInputFocus(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal PinchGestureDetector GetPinchGestureDetector()
+        {
+            PinchGestureDetector ret = new PinchGestureDetector(NDalicPINVOKE.View_GetPinchGestureDetector(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal PanGestureDetector GetPanGestureDetector()
+        {
+            PanGestureDetector ret = new PanGestureDetector(NDalicPINVOKE.View_GetPanGestureDetector(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal TapGestureDetector GetTapGestureDetector()
+        {
+            TapGestureDetector ret = new TapGestureDetector(NDalicPINVOKE.View_GetTapGestureDetector(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal LongPressGestureDetector GetLongPressGestureDetector()
+        {
+            LongPressGestureDetector ret = new LongPressGestureDetector(NDalicPINVOKE.View_GetLongPressGestureDetector(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetStyleName(string styleName)
+        {
+            NDalicPINVOKE.View_SetStyleName(swigCPtr, styleName);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public string GetStyleName()
+        {
+            string ret = NDalicPINVOKE.View_GetStyleName(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetBackgroundColor(Vector4 color)
+        {
+            NDalicPINVOKE.View_SetBackgroundColor(swigCPtr, Vector4.getCPtr(color));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector4 GetBackgroundColor()
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.View_GetBackgroundColor(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetBackgroundImage(Image image)
+        {
+            NDalicPINVOKE.View_SetBackgroundImage(swigCPtr, Image.getCPtr(image));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void ClearBackground()
+        {
+            NDalicPINVOKE.View_ClearBackground(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal ControlKeySignal KeyEventSignal()
+        {
+            ControlKeySignal ret = new ControlKeySignal(NDalicPINVOKE.View_KeyEventSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal KeyInputFocusSignal KeyInputFocusGainedSignal()
+        {
+            KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.View_KeyInputFocusGainedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal KeyInputFocusSignal KeyInputFocusLostSignal()
+        {
+            KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.View_KeyInputFocusLostSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal View(ViewImpl implementation) : this(NDalicPINVOKE.new_View__SWIG_2(ViewImpl.getCPtr(implementation)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal enum PropertyRange
+        {
+            PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
+            CONTROL_PROPERTY_START_INDEX = PROPERTY_START_INDEX,
+            CONTROL_PROPERTY_END_INDEX = CONTROL_PROPERTY_START_INDEX + 1000
+        }
+
+        public string StyleName
+        {
+            get
+            {
+                string temp;
+                GetProperty(View.Property.STYLE_NAME).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.STYLE_NAME, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Color BackgroundColor
+        {
+            get
+            {
+                Color backgroundColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);
+
+                Tizen.NUI.PropertyMap background = Background;
+                int visualType = 0;
+                background.Find(Tizen.NUI.Constants.Visual.Property.Type).Get(ref visualType);
+                if (visualType == (int)Tizen.NUI.Constants.Visual.Type.Color)
+                {
+                    background.Find(Tizen.NUI.Constants.ColorVisualProperty.MixColor).Get(backgroundColor);
+                }
+
+                return backgroundColor;
+            }
+            set
+            {
+                SetProperty(View.Property.BACKGROUND, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public string BackgroundImage
+        {
+            get
+            {
+                string backgroundImage = "";
+
+                Tizen.NUI.PropertyMap background = Background;
+                int visualType = 0;
+                background.Find(Tizen.NUI.Constants.Visual.Property.Type).Get(ref visualType);
+                if (visualType == (int)Tizen.NUI.Constants.Visual.Type.Image)
+                {
+                    background.Find(Tizen.NUI.Constants.ImageVisualProperty.URL).Get(out backgroundImage);
+                }
+
+                return backgroundImage;
+            }
+            set
+            {
+                SetProperty(View.Property.BACKGROUND, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        internal bool KeyInputFocus
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(View.Property.KEY_INPUT_FOCUS).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.KEY_INPUT_FOCUS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Tizen.NUI.PropertyMap Background
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(View.Property.BACKGROUND).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.BACKGROUND, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public string State
+        {
+            get
+            {
+                string temp;
+                GetProperty(View.Property.STATE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.STATE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public string SubState
+        {
+            get
+            {
+                string temp;
+                GetProperty(View.Property.SUB_STATE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SUB_STATE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Tizen.NUI.PropertyMap Tooltip
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(View.Property.TOOLTIP).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.TOOLTIP, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public string TooltipText
+        {
+            set
+            {
+                SetProperty(View.Property.TOOLTIP, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        private int LeftFocusableActorId
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(View.Property.LEFT_FOCUSABLE_ACTOR_ID).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.LEFT_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        private int RightFocusableActorId
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(View.Property.RIGHT_FOCUSABLE_ACTOR_ID).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.RIGHT_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        private int UpFocusableActorId
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(View.Property.UP_FOCUSABLE_ACTOR_ID).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.UP_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        private int DownFocusableActorId
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(View.Property.DOWN_FOCUSABLE_ACTOR_ID).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.DOWN_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Child Property of FlexContainer
+        /// The proportion of the free space in the container the flex item will receive. 
+        /// If all items in the container set this property, their sizes will be proportional to the specified flex factor
+        /// </summary> 
+        public float Flex
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(FlexContainer.ChildProperty.FLEX).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(FlexContainer.ChildProperty.FLEX, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Child Property of FlexContainer
+        /// The alignment of the flex item along the cross axis, which, if set, overides the default alignment for all items in the container
+        /// </summary> 
+        public int AlignSelf
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(FlexContainer.ChildProperty.ALIGN_SELF).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(FlexContainer.ChildProperty.ALIGN_SELF, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Child Property of FlexContainer
+        /// The space around the flex item
+        /// </summary> 
+        public Vector4 FlexMargin
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(FlexContainer.ChildProperty.FLEX_MARGIN).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(FlexContainer.ChildProperty.FLEX_MARGIN, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public Vector2 CellIndex
+        {
+            get
+            {
+                Vector2 temp = new Vector2(0.0f, 0.0f);
+                GetProperty(TableView.ChildProperty.CELL_INDEX).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TableView.ChildProperty.CELL_INDEX, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public float RowSpan
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TableView.ChildProperty.ROW_SPAN).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TableView.ChildProperty.ROW_SPAN, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public float ColumnSpan
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TableView.ChildProperty.COLUMN_SPAN).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TableView.ChildProperty.COLUMN_SPAN, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public string CellHorizontalAlignment
+        {
+            get
+            {
+                string temp;
+                GetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TableView.ChildProperty.CELL_HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public string CellVerticalAlignment
+        {
+            get
+            {
+                string temp;
+                GetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TableView.ChildProperty.CELL_VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /**
+         * @brief The left focusable view.
+         * @note This will return NULL if not set.
+         * This will also return NULL if the specified left focusable view is not on stage.
+         *
+         */
+        public View LeftFocusableView
+        {
+            // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
+            get
+            {
+                if (LeftFocusableActorId >= 0)
+                {
+                    return ConvertIdToView((uint)LeftFocusableActorId);
+                }
+                return null;
+            }
+            set
+            {
+                LeftFocusableActorId = (int)value.GetId();
+            }
+        }
+
+        /**
+         * @brief The right focusable view.
+         * @note This will return NULL if not set.
+         * This will also return NULL if the specified right focusable view is not on stage.
+         *
+         */
+        public View RightFocusableView
+        {
+            // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
+            get
+            {
+                if (RightFocusableActorId >= 0)
+                {
+                    return ConvertIdToView((uint)RightFocusableActorId);
+                }
+                return null;
+            }
+            set
+            {
+                RightFocusableActorId = (int)value.GetId();
+            }
+        }
+
+        /**
+         * @brief The up focusable view.
+         * @note This will return NULL if not set.
+         * This will also return NULL if the specified up focusable view is not on stage.
+         *
+         */
+        public View UpFocusableView
+        {
+            // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
+            get
+            {
+                if (UpFocusableActorId >= 0)
+                {
+                    return ConvertIdToView((uint)UpFocusableActorId);
+                }
+                return null;
+            }
+            set
+            {
+                UpFocusableActorId = (int)value.GetId();
+            }
+        }
+
+        /**
+         * @brief The down focusable view.
+         * @note This will return NULL if not set.
+         * This will also return NULL if the specified down focusable view is not on stage.
+         *
+         */
+        public View DownFocusableView
+        {
+            // As native side will be only storing IDs so need a logic to convert View to ID and vice-versa.
+            get
+            {
+                if (DownFocusableActorId >= 0)
+                {
+                    return ConvertIdToView((uint)DownFocusableActorId);
+                }
+                return null;
+            }
+            set
+            {
+                DownFocusableActorId = (int)value.GetId();
+            }
+        }
+
+        public bool Focusable
+        {
+            set
+            {
+                SetKeyboardFocusable(value);
+            }
+            get
+            {
+                return IsKeyboardFocusable();
+            }
+        }
+
+    }
+
+}
index dbf3e3c00ad2daae2ebebb9e8c5dffba4c1eb671..2b1a43a7bb3020a6a36d9c9c2e0f8f98e1a4c7e6 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class VisualBase : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal VisualBase(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VisualBase_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VisualBase obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~VisualBase()\r
-        {\r
-            Dispose();\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_VisualBase(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-        public VisualBase() : this(NDalicPINVOKE.new_VisualBase__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal VisualBase(VisualBase handle) : this(NDalicPINVOKE.new_VisualBase__SWIG_1(VisualBase.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal VisualBase Assign(VisualBase handle)\r
-        {\r
-            VisualBase ret = new VisualBase(NDalicPINVOKE.VisualBase_Assign(swigCPtr, VisualBase.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public string Name\r
-        {\r
-            set\r
-            {\r
-                SetName(value);\r
-            }\r
-            get\r
-            {\r
-                return GetName();\r
-            }\r
-        }\r
-\r
-        internal void SetName(string name)\r
-        {\r
-            NDalicPINVOKE.VisualBase_SetName(swigCPtr, name);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal string GetName()\r
-        {\r
-            string ret = NDalicPINVOKE.VisualBase_GetName(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void SetTransformAndSize(PropertyMap transform, Vector2 controlSize)\r
-        {\r
-            NDalicPINVOKE.VisualBase_SetTransformAndSize(swigCPtr, PropertyMap.getCPtr(transform), Vector2.getCPtr(controlSize));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public float GetHeightForWidth(float width)\r
-        {\r
-            float ret = NDalicPINVOKE.VisualBase_GetHeightForWidth(swigCPtr, width);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public float GetWidthForHeight(float height)\r
-        {\r
-            float ret = NDalicPINVOKE.VisualBase_GetWidthForHeight(swigCPtr, height);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void GetNaturalSize(Size2D naturalSize)\r
-        {\r
-            NDalicPINVOKE.VisualBase_GetNaturalSize(swigCPtr, Size2D.getCPtr(naturalSize));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public float DepthIndex\r
-        {\r
-            set\r
-            {\r
-                SetDepthIndex(value);\r
-            }\r
-            get\r
-            {\r
-                return GetDepthIndex();\r
-            }\r
-        }\r
-        internal void SetDepthIndex(float index)\r
-        {\r
-            NDalicPINVOKE.VisualBase_SetDepthIndex(swigCPtr, index);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal float GetDepthIndex()\r
-        {\r
-            float ret = NDalicPINVOKE.VisualBase_GetDepthIndex(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public PropertyMap Creation\r
-        {\r
-            set\r
-            {\r
-                CreatePropertyMap(value);\r
-            }\r
-        }\r
-        internal void CreatePropertyMap(PropertyMap map)\r
-        {\r
-            NDalicPINVOKE.VisualBase_CreatePropertyMap(swigCPtr, PropertyMap.getCPtr(map));\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal VisualBase(SWIGTYPE_p_Dali__Toolkit__Internal__Visual__Base impl) : this(NDalicPINVOKE.new_VisualBase__SWIG_2(SWIGTYPE_p_Dali__Toolkit__Internal__Visual__Base.getCPtr(impl)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class VisualBase : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal VisualBase(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VisualBase_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VisualBase obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~VisualBase()
+        {
+            Dispose();
+        }
+
+        public override void Dispose()
+        {
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_VisualBase(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+        public VisualBase() : this(NDalicPINVOKE.new_VisualBase__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal VisualBase(VisualBase handle) : this(NDalicPINVOKE.new_VisualBase__SWIG_1(VisualBase.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal VisualBase Assign(VisualBase handle)
+        {
+            VisualBase ret = new VisualBase(NDalicPINVOKE.VisualBase_Assign(swigCPtr, VisualBase.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public string Name
+        {
+            set
+            {
+                SetName(value);
+            }
+            get
+            {
+                return GetName();
+            }
+        }
+
+        internal void SetName(string name)
+        {
+            NDalicPINVOKE.VisualBase_SetName(swigCPtr, name);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal string GetName()
+        {
+            string ret = NDalicPINVOKE.VisualBase_GetName(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void SetTransformAndSize(PropertyMap transform, Vector2 controlSize)
+        {
+            NDalicPINVOKE.VisualBase_SetTransformAndSize(swigCPtr, PropertyMap.getCPtr(transform), Vector2.getCPtr(controlSize));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public float GetHeightForWidth(float width)
+        {
+            float ret = NDalicPINVOKE.VisualBase_GetHeightForWidth(swigCPtr, width);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public float GetWidthForHeight(float height)
+        {
+            float ret = NDalicPINVOKE.VisualBase_GetWidthForHeight(swigCPtr, height);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void GetNaturalSize(Size2D naturalSize)
+        {
+            NDalicPINVOKE.VisualBase_GetNaturalSize(swigCPtr, Size2D.getCPtr(naturalSize));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public float DepthIndex
+        {
+            set
+            {
+                SetDepthIndex(value);
+            }
+            get
+            {
+                return GetDepthIndex();
+            }
+        }
+        internal void SetDepthIndex(float index)
+        {
+            NDalicPINVOKE.VisualBase_SetDepthIndex(swigCPtr, index);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal float GetDepthIndex()
+        {
+            float ret = NDalicPINVOKE.VisualBase_GetDepthIndex(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public PropertyMap Creation
+        {
+            set
+            {
+                CreatePropertyMap(value);
+            }
+        }
+        internal void CreatePropertyMap(PropertyMap map)
+        {
+            NDalicPINVOKE.VisualBase_CreatePropertyMap(swigCPtr, PropertyMap.getCPtr(map));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal VisualBase(SWIGTYPE_p_Dali__Toolkit__Internal__Visual__Base impl) : this(NDalicPINVOKE.new_VisualBase__SWIG_2(SWIGTYPE_p_Dali__Toolkit__Internal__Visual__Base.getCPtr(impl)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+    }
+
+}
index 62ae30384891f0e0eb961975a7f15f7629305038..26d576e9327cffc7f150db7121a144a03fdce4ed 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class VisualFactory : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal VisualFactory(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VisualFactory_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VisualFactory obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~VisualFactory()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_VisualFactory(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        public static VisualFactory Get()\r
-        {\r
-            VisualFactory ret = new VisualFactory(NDalicPINVOKE.VisualFactory_Get(), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VisualFactory() : this(NDalicPINVOKE.new_VisualFactory__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal VisualFactory(VisualFactory handle) : this(NDalicPINVOKE.new_VisualFactory__SWIG_1(VisualFactory.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal VisualFactory Assign(VisualFactory handle)\r
-        {\r
-            VisualFactory ret = new VisualFactory(NDalicPINVOKE.VisualFactory_Assign(swigCPtr, VisualFactory.getCPtr(handle)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public VisualBase CreateVisual(PropertyMap propertyMap)\r
-        {\r
-            VisualBase ret = new VisualBase(NDalicPINVOKE.VisualFactory_CreateVisual__SWIG_0(swigCPtr, PropertyMap.getCPtr(propertyMap)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VisualBase CreateVisual(Image image)\r
-        {\r
-            VisualBase ret = new VisualBase(NDalicPINVOKE.VisualFactory_CreateVisual__SWIG_1(swigCPtr, Image.getCPtr(image)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal VisualBase CreateVisual(string url, Uint16Pair size)\r
-        {\r
-            VisualBase ret = new VisualBase(NDalicPINVOKE.VisualFactory_CreateVisual__SWIG_2(swigCPtr, url, Uint16Pair.getCPtr(size)), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-        private static readonly VisualFactory instance = VisualFactory.Get();\r
-\r
-        public static VisualFactory Instance\r
-        {\r
-            get\r
-            {\r
-                return instance;\r
-            }\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class VisualFactory : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal VisualFactory(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.VisualFactory_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VisualFactory obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~VisualFactory()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_VisualFactory(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        public static VisualFactory Get()
+        {
+            VisualFactory ret = new VisualFactory(NDalicPINVOKE.VisualFactory_Get(), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VisualFactory() : this(NDalicPINVOKE.new_VisualFactory__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal VisualFactory(VisualFactory handle) : this(NDalicPINVOKE.new_VisualFactory__SWIG_1(VisualFactory.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal VisualFactory Assign(VisualFactory handle)
+        {
+            VisualFactory ret = new VisualFactory(NDalicPINVOKE.VisualFactory_Assign(swigCPtr, VisualFactory.getCPtr(handle)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public VisualBase CreateVisual(PropertyMap propertyMap)
+        {
+            VisualBase ret = new VisualBase(NDalicPINVOKE.VisualFactory_CreateVisual__SWIG_0(swigCPtr, PropertyMap.getCPtr(propertyMap)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VisualBase CreateVisual(Image image)
+        {
+            VisualBase ret = new VisualBase(NDalicPINVOKE.VisualFactory_CreateVisual__SWIG_1(swigCPtr, Image.getCPtr(image)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VisualBase CreateVisual(string url, Uint16Pair size)
+        {
+            VisualBase ret = new VisualBase(NDalicPINVOKE.VisualFactory_CreateVisual__SWIG_2(swigCPtr, url, Uint16Pair.getCPtr(size)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+        private static readonly VisualFactory instance = VisualFactory.Get();
+
+        public static VisualFactory Instance
+        {
+            get
+            {
+                return instance;
+            }
+        }
+
+    }
+
+}
diff --git a/src/Tizen.NUI/src/public/VisualMaps.cs b/src/Tizen.NUI/src/public/VisualMaps.cs
new file mode 100755 (executable)
index 0000000..68fd46b
--- /dev/null
@@ -0,0 +1,1355 @@
+// Copyright (c) 2017 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+namespace Tizen.NUI
+{
+    using System;
+    using System.Runtime.InteropServices;
+
+    /// <summary>
+    /// A class encapsulating the transform map of visual.
+    /// </summary>
+    public class VisualMap
+    {
+        private Vector2 _visualSize = Vector2.Zero;
+        private Vector2 _visualOffset = Vector2.Zero;
+        private Vector4 _visualOffsetSizeMode = new Vector4(1.0f, 1.0f, 1.0f, 1.0f); // default absolute
+        private AlignType _visualOrigin = AlignType.TOP_BEGIN;
+        private AlignType _visualAnchorPoint = AlignType.TOP_BEGIN;
+
+        private PropertyMap _visualTransformMap = null;
+
+        private float _depthIndex = 0.0f;
+        protected PropertyMap _outputVisualMap = null;
+
+        public VisualMap()
+        {
+        }
+
+        /// <summary>
+        /// Get or set size of the visual.
+        /// It can be either relative (percentage of the parent)
+        /// or absolute (in world units).
+        /// </summary>
+        public Vector2 VisualSize
+        {
+            get
+            {
+                return _visualSize;
+            }
+            set
+            {
+                _visualSize = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set offset of the visual.
+        /// It can be either relative (percentage of the parent)
+        /// or absolute (in world units).
+        /// </summary>
+        public Vector2 Offset
+        {
+            get
+            {
+                return _visualOffset;
+            }
+            set
+            {
+                _visualOffset = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set offset/size mode of the visual.
+        /// Indicates which components of the offset and size are relative
+        /// (percentage of the parent) or absolute (in world units).
+        /// 0 indicates the component is relative, and 1 absolute.
+        /// </summary>
+        public Vector4 OffsetSizeMode
+        {
+            get
+            {
+                return _visualOffsetSizeMode;
+            }
+            set
+            {
+                _visualOffsetSizeMode = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the origin of the visual within its control area.
+        /// </summary>
+        public AlignType Origin
+        {
+            get
+            {
+                return _visualOrigin;
+            }
+            set
+            {
+                _visualOrigin = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the anchor-point of the visual.
+        /// </summary>
+        public AlignType AnchorPoint
+        {
+            get
+            {
+                return _visualAnchorPoint;
+            }
+            set
+            {
+                _visualAnchorPoint = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the depth index of the visual.
+        /// </summary>
+        public float DepthIndex
+        {
+            get
+            {
+                return _depthIndex;
+            }
+            set
+            {
+                _depthIndex = value;
+            }
+        }
+
+        private void ComposingTransformMap()
+        {
+            if (_visualSize != Vector2.Zero)
+            {
+                _visualTransformMap = new PropertyMap();
+                _visualTransformMap.Add((int)VisualTransformPropertyType.SIZE, new PropertyValue(_visualSize));
+                _visualTransformMap.Add((int)VisualTransformPropertyType.OFFSET, new PropertyValue(_visualOffset));
+                _visualTransformMap.Add((int)VisualTransformPropertyType.OFFSET_SIZE_MODE, new PropertyValue(_visualOffsetSizeMode));
+                _visualTransformMap.Add((int)VisualTransformPropertyType.ORIGIN, new PropertyValue((int)_visualOrigin));
+                _visualTransformMap.Add((int)VisualTransformPropertyType.ANCHOR_POINT, new PropertyValue((int)_visualAnchorPoint));
+            }
+        }
+
+        /// <summary>
+        /// Get the transform map used by the visual.
+        /// </summary>
+        public PropertyMap OutputTransformMap
+        {
+            get
+            {
+                ComposingTransformMap();
+                return _visualTransformMap;
+            }
+        }
+
+        protected virtual void ComposingPropertyMap()
+        {
+            _outputVisualMap = new PropertyMap();
+        }
+
+        /// <summary>
+        /// Get the property map to create the visual.
+        /// </summary>
+        public PropertyMap OutputVisualMap
+        {
+            get
+            {
+                ComposingPropertyMap();
+                return _outputVisualMap;
+            }
+        }
+    }
+
+    /// <summary>
+    /// A class encapsulating the property map of a image visual.
+    /// </summary>
+    public class ImageVisualMap : VisualMap
+    {
+        public ImageVisualMap() : base()
+        {
+        }
+
+        private string _url = "";
+        private FittingModeType _fittingMode = FittingModeType.ShrinkToFit;
+        private SamplingModeType _samplingMode = SamplingModeType.Box;
+        private int _desiredWidth = 0;
+        private int _desiredHeight = 0;
+        private bool _synchronousLoading = false;
+        private bool _borderOnly = false;
+        private Vector4 _pixelArea = new Vector4(0.0f, 0.0f, 1.0f, 1.0f);
+        private WrapModeType _wrapModeU = WrapModeType.ClampToEdge;
+        private WrapModeType _wrapModeV = WrapModeType.ClampToEdge;
+
+        /// <summary>
+        /// Get or set the URL of the image.
+        /// </summary>
+        public string URL
+        {
+            get
+            {
+                return _url;
+            }
+            set
+            {
+                _url = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set fitting options, used when resizing images to fit desired dimensions.
+        /// If not supplied, default is FittingMode::SHRINK_TO_FIT.
+        /// For Normal Quad images only.
+        /// </summary>
+        public FittingModeType FittingMode
+        {
+            get
+            {
+                return _fittingMode;
+            }
+            set
+            {
+                _fittingMode = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set filtering options, used when resizing images to sample original pixels.
+        /// If not supplied, default is SamplingMode::BOX.
+        /// For Normal Quad images only.
+        /// </summary>
+        public SamplingModeType SamplingMode
+        {
+            get
+            {
+                return _samplingMode;
+            }
+            set
+            {
+                _samplingMode = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the desired image width.
+        /// If not specified, the actual image width is used.
+        /// For Normal Quad images only.
+        /// </summary>
+        public int DesiredWidth
+        {
+            get
+            {
+                return _desiredWidth;
+            }
+            set
+            {
+                _desiredWidth = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the desired image height.
+        /// If not specified, the actual image height is used.
+        /// For Normal Quad images only.
+        /// </summary>
+        public int DesiredHeight
+        {
+            get
+            {
+                return _desiredHeight;
+            }
+            set
+            {
+                _desiredHeight = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set whether to load the image synchronously.
+        /// If not specified, the default is false, i.e. the image is loaded asynchronously.
+        /// For Normal Quad images only.
+        /// </summary>
+        public bool SynchronousLoading
+        {
+            get
+            {
+                return _synchronousLoading;
+            }
+            set
+            {
+                _synchronousLoading = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set whether to draws the borders only(If true).
+        /// If not specified, the default is false.
+        /// For N-Patch images only.
+        /// </summary>
+        public bool BorderOnly
+        {
+            get
+            {
+                return _borderOnly;
+            }
+            set
+            {
+                _borderOnly = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the image area to be displayed.
+        /// It is a rectangular area.
+        /// The first two elements indicate the top-left position of the area, and the last two elements are the area width and height respectively.
+        /// If not specified, the default value is [0.0, 0.0, 1.0, 1.0], i.e. the entire area of the image.
+        /// For For Normal QUAD image only.
+        /// </summary>
+        public Vector4 PixelArea
+        {
+            get
+            {
+                return _pixelArea;
+            }
+            set
+            {
+                _pixelArea = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the wrap mode for u coordinate.
+        /// It decides how the texture should be sampled when the u coordinate exceeds the range of 0.0 to 1.0.
+        /// If not specified, the default is CLAMP.
+        /// For Normal QUAD image only.
+        /// </summary>
+        public WrapModeType WrapModeU
+        {
+            get
+            {
+                return _wrapModeU;
+            }
+            set
+            {
+                _wrapModeU = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the wrap mode for v coordinate.
+        /// It decides how the texture should be sampled when the v coordinate exceeds the range of 0.0 to 1.0.
+        /// The first two elements indicate the top-left position of the area, and the last two elements are the area width and height respectively.
+        /// If not specified, the default is CLAMP.
+        /// For Normal QUAD image only.
+        /// </summary>
+        public WrapModeType WrapModeV
+        {
+            get
+            {
+                return _wrapModeV;
+            }
+            set
+            {
+                _wrapModeV = value;
+            }
+        }
+
+        protected override void ComposingPropertyMap()
+        {
+            if (_url != "")
+            {
+                _outputVisualMap = new PropertyMap();
+                _outputVisualMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.Image));
+                _outputVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.URL, new PropertyValue(_url));
+                _outputVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.FittingMode, new PropertyValue((int)_fittingMode));
+                _outputVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.SamplingMode, new PropertyValue((int)_samplingMode));
+
+                if (_desiredWidth != 0)
+                {
+                    _outputVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.DesiredWidth, new PropertyValue(_desiredWidth));
+                }
+
+                if (_desiredHeight != 0)
+                {
+                    _outputVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.DesiredHeight, new PropertyValue(_desiredHeight));
+                }
+
+                _outputVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.SynchronousLoading, new PropertyValue(_synchronousLoading));
+                _outputVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.BorderOnly, new PropertyValue(_borderOnly));
+                _outputVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.PixelArea, new PropertyValue(_pixelArea));
+                _outputVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.WrapModeU, new PropertyValue((int)_wrapModeU));
+                _outputVisualMap.Add(Tizen.NUI.Constants.ImageVisualProperty.WrapModeV, new PropertyValue((int)_wrapModeV));
+            }
+        }
+    }
+
+    /// <summary>
+    /// A class encapsulating the property map of a text visual.
+    /// </summary>
+    public class TextVisualMap : VisualMap
+    {
+        public TextVisualMap() : base()
+        {
+        }
+
+        private string _text = "";
+        private string _fontFamily = "";
+        private PropertyMap _fontStyle = null;
+        private float _pointSize = 0.0f;
+        private bool _multiLine = false;
+        private string _horizontalAlignment = "BEGIN";
+        private string _verticalAlignment = "TOP";
+        private Color _textColor = Color.Black;
+        private bool _enableMarkup = false;
+
+        /// <summary>
+        /// Get or set the text to display in UTF-8 format.
+        /// </summary>
+        public string Text
+        {
+            get
+            {
+                return _text;
+            }
+            set
+            {
+                _text = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the requested font family to use.
+        /// </summary>
+        public string FontFamily
+        {
+            get
+            {
+                return _fontFamily;
+            }
+            set
+            {
+                _fontFamily = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the requested font style to use.
+        /// </summary>
+        public PropertyMap FontStyle
+        {
+            get
+            {
+                return _fontStyle;
+            }
+            set
+            {
+                _fontStyle = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the size of font in points.
+        /// </summary>
+        public float PointSize
+        {
+            get
+            {
+                return _pointSize;
+            }
+            set
+            {
+                _pointSize = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the single-line or multi-line layout option.
+        /// </summary>
+        public bool MultiLine
+        {
+            get
+            {
+                return _multiLine;
+            }
+            set
+            {
+                _multiLine = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the line horizontal alignment.
+        /// If not specified, the default is BEGIN.
+        /// </summary>
+        public string HorizontalAlignment
+        {
+            get
+            {
+                return _horizontalAlignment;
+            }
+            set
+            {
+                _horizontalAlignment = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the line vertical alignment.
+        /// If not specified, the default is TOP.
+        /// </summary>
+        public string VerticalAlignment
+        {
+            get
+            {
+                return _verticalAlignment;
+            }
+            set
+            {
+                _verticalAlignment = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the color of the text.
+        /// </summary>
+        public Color TextColor
+        {
+            get
+            {
+                return _textColor;
+            }
+            set
+            {
+                _textColor = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set whether the mark-up processing is enabled.
+        /// </summary>
+        public bool EnableMarkup
+        {
+            get
+            {
+                return _enableMarkup;
+            }
+            set
+            {
+                _enableMarkup = value;
+            }
+        }
+
+        protected override void ComposingPropertyMap()
+        {
+            if (_text != "")
+            {
+                _outputVisualMap = new PropertyMap();
+                _outputVisualMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.Text));
+                _outputVisualMap.Add(Tizen.NUI.Constants.TextVisualProperty.Text, new PropertyValue(_text));
+
+                if (_fontFamily != "")
+                {
+                    _outputVisualMap.Add(Tizen.NUI.Constants.TextVisualProperty.FontFamily, new PropertyValue(_fontFamily));
+                }
+
+                if (_fontStyle != null)
+                {
+                    _outputVisualMap.Add(Tizen.NUI.Constants.TextVisualProperty.FontStyle, new PropertyValue(_fontStyle));
+                }
+
+                if (_pointSize != 0)
+                {
+                    _outputVisualMap.Add(Tizen.NUI.Constants.TextVisualProperty.PointSize, new PropertyValue(_pointSize));
+                }
+
+                _outputVisualMap.Add(Tizen.NUI.Constants.TextVisualProperty.MultiLine, new PropertyValue(_multiLine));
+                _outputVisualMap.Add(Tizen.NUI.Constants.TextVisualProperty.HorizontalAlignment, new PropertyValue(_horizontalAlignment));
+                _outputVisualMap.Add(Tizen.NUI.Constants.TextVisualProperty.VerticalAlignment, new PropertyValue(_verticalAlignment));
+                _outputVisualMap.Add(Tizen.NUI.Constants.TextVisualProperty.TextColor, new PropertyValue(_textColor));
+                _outputVisualMap.Add(Tizen.NUI.Constants.TextVisualProperty.EnableMarkup, new PropertyValue(_enableMarkup));
+            }
+        }
+    }
+
+    /// <summary>
+    /// A class encapsulating the property map of a border visual.
+    /// </summary>
+    public class BorderVisualMap : VisualMap
+    {
+        public BorderVisualMap() : base()
+        {
+        }
+
+        private Color _color = Color.Black;
+        private float _size = 0.000001f;
+        private bool _antiAliasing = false;
+
+        /// <summary>
+        /// Get or set the color of the border.
+        /// </summary>
+        public Color Color
+        {
+            get
+            {
+                return _color;
+            }
+            set
+            {
+                _color = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the width of the border (in pixels).
+        /// </summary>
+        public float Size
+        {
+            get
+            {
+                return _size;
+            }
+            set
+            {
+                _size = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set whether anti-aliasing of the border is required.
+        /// If not supplied, default is false.
+        /// </summary>
+        public bool AntiAliasing
+        {
+            get
+            {
+                return _antiAliasing;
+            }
+            set
+            {
+                _antiAliasing = value;
+            }
+        }
+
+        protected override void ComposingPropertyMap()
+        {
+            if (_size > 0.000001f)
+            {
+                _outputVisualMap = new PropertyMap();
+                _outputVisualMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.Border));
+                _outputVisualMap.Add(Tizen.NUI.Constants.BorderVisualProperty.Color, new PropertyValue(_color));
+                _outputVisualMap.Add(Tizen.NUI.Constants.BorderVisualProperty.Size, new PropertyValue(_size));
+                _outputVisualMap.Add(Tizen.NUI.Constants.BorderVisualProperty.AntiAliasing, new PropertyValue(_antiAliasing));
+            }
+        }
+    }
+
+    /// <summary>
+    /// A class encapsulating the property map of a color visual.
+    /// </summary>
+    public class ColorVisualMap : VisualMap
+    {
+        public ColorVisualMap() : base()
+        {
+        }
+
+        private Color _mixColor = Color.Black;
+
+        /// <summary>
+        /// Get or set the solid color required.
+        /// </summary>
+        public Color MixColor
+        {
+            get
+            {
+                return _mixColor;
+            }
+            set
+            {
+                _mixColor = value;
+            }
+        }
+
+        protected override void ComposingPropertyMap()
+        {
+            _outputVisualMap = new PropertyMap();
+            _outputVisualMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.Color));
+            _outputVisualMap.Add(Tizen.NUI.Constants.ColorVisualProperty.MixColor, new PropertyValue(_mixColor));
+        }
+    }
+
+    /// <summary>
+    /// A class encapsulating the property map of a gradient visual.
+    /// </summary>
+    public class GradientVisualMap : VisualMap
+    {
+        public GradientVisualMap() : base()
+        {
+        }
+
+        private Vector2 _startPosition = Vector2.Zero;
+        private Vector2 _endPosition = Vector2.Zero;
+        private Vector2 _center = Vector2.Zero;
+        private float _radius = 0.000001f;
+        private PropertyArray _stopOffset = null; //0.0, 1.0
+        private PropertyArray _stopColor = null; // Color.Black, Color.Blue
+        private GradientVisualUnitsType _units = GradientVisualUnitsType.ObjectBoundingBox;
+        private GradientVisualSpreadMethodType _spreadMethod = GradientVisualSpreadMethodType.Pad;
+
+        /// <summary>
+        /// Get or set the start position of a linear gradient.
+        /// Mandatory for Linear.
+        /// </summary>
+        public Vector2 StartPosition
+        {
+            get
+            {
+                return _startPosition;
+            }
+            set
+            {
+                _startPosition = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the end position of a linear gradient.
+        /// Mandatory for Linear.
+        /// </summary>
+        public Vector2 EndPosition
+        {
+            get
+            {
+                return _endPosition;
+            }
+            set
+            {
+                _endPosition = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the center point of a radial gradient.
+        /// Mandatory for Radial.
+        /// </summary>
+        public Vector2 Center
+        {
+            get
+            {
+                return _center;
+            }
+            set
+            {
+                _center = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the size of the radius of a radial gradient.
+        /// Mandatory for Radial.
+        /// </summary>
+        public float Radius
+        {
+            get
+            {
+                return _radius;
+            }
+            set
+            {
+                _radius = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set all the stop offsets.
+        /// A PropertyArray of float.
+        /// If not supplied, default is 0.0f and 1.0f.
+        /// </summary>
+        public PropertyArray StopOffset
+        {
+            get
+            {
+                return _stopOffset;
+            }
+            set
+            {
+                _stopOffset = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the color at the stop offsets.
+        /// A PropertyArray of Color.
+        /// At least 2 values required to show a gradient.
+        /// </summary>
+        public PropertyArray StopColor
+        {
+            get
+            {
+                return _stopColor;
+            }
+            set
+            {
+                _stopColor = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set defines the coordinate system for certain attributes of the points in a gradient.
+        /// If not supplied, default is GradientVisualUnitsType.OBJECT_BOUNDING_BOX.
+        /// </summary>
+        public GradientVisualUnitsType Units
+        {
+            get
+            {
+                return _units;
+            }
+            set
+            {
+                _units = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
+        /// If not supplied, default is GradientVisualSpreadMethodType.PAD.
+        /// </summary>
+        public GradientVisualSpreadMethodType SpreadMethod
+        {
+            get
+            {
+                return _spreadMethod;
+            }
+            set
+            {
+                _spreadMethod = value;
+            }
+        }
+
+        protected override void ComposingPropertyMap()
+        {
+            if (_startPosition != Vector2.Zero && _endPosition != Vector2.Zero && _center != Vector2.Zero
+                && _radius > 0.000001f && _stopColor != null)
+            {
+                _outputVisualMap = new PropertyMap();
+                _outputVisualMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.Gradient));
+                _outputVisualMap.Add(Tizen.NUI.Constants.GradientVisualProperty.StartPosition, new PropertyValue(_startPosition));
+                _outputVisualMap.Add(Tizen.NUI.Constants.GradientVisualProperty.EndPosition, new PropertyValue(_endPosition));
+                _outputVisualMap.Add(Tizen.NUI.Constants.GradientVisualProperty.Center, new PropertyValue(_center));
+                _outputVisualMap.Add(Tizen.NUI.Constants.GradientVisualProperty.Radius, new PropertyValue(_radius));
+
+                if (_stopOffset != null)
+                {
+                    _outputVisualMap.Add(Tizen.NUI.Constants.GradientVisualProperty.StopOffset, new PropertyValue(_stopOffset));
+                }
+
+                _outputVisualMap.Add(Tizen.NUI.Constants.GradientVisualProperty.StopColor, new PropertyValue(_stopColor));
+                _outputVisualMap.Add(Tizen.NUI.Constants.GradientVisualProperty.Units, new PropertyValue((int)_units));
+                _outputVisualMap.Add(Tizen.NUI.Constants.GradientVisualProperty.SpreadMethod, new PropertyValue((int)_spreadMethod));
+            }
+        }
+    }
+
+    /// <summary>
+    /// A class encapsulating the property map of a mesh visual.
+    /// </summary>
+    public class MeshVisualMap : VisualMap
+    {
+        public MeshVisualMap() : base()
+        {
+        }
+
+        private string _objectURL = "";
+        private string _materialtURL = "";
+        private string _texturesPath = "";
+        private MeshVisualShadingModeValue _shadingMode = MeshVisualShadingModeValue.TexturedWithDetailedSpecularLighting;
+        private bool _useMipmapping = true;
+        private bool _useSoftNormals = true;
+        private Vector3 _lightPosition = null; //default center of screen
+
+        /// <summary>
+        /// Get or set the location of the ".obj" file.
+        /// </summary>
+        public string ObjectURL
+        {
+            get
+            {
+                return _objectURL;
+            }
+            set
+            {
+                _objectURL = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the location of the ".mtl" file.
+        /// If not specified, then a textureless object is assumed.
+        /// </summary>
+        public string MaterialtURL
+        {
+            get
+            {
+                return _materialtURL;
+            }
+            set
+            {
+                _materialtURL = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set path to the directory the textures (including gloss and normal) are stored in.
+        /// Mandatory if using material.
+        /// </summary>
+        public string TexturesPath
+        {
+            get
+            {
+                return _texturesPath;
+            }
+            set
+            {
+                _texturesPath = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the type of shading mode that the mesh will use.
+        /// If anything the specified shading mode requires is missing, a simpler mode that can be handled with what has been supplied will be used instead.
+        /// If not specified, it will use the best it can support (will try MeshVisualShadingModeValue.TEXTURED_WITH_DETAILED_SPECULAR_LIGHTING first).
+        /// </summary>
+        public MeshVisualShadingModeValue ShadingMode
+        {
+            get
+            {
+                return _shadingMode;
+            }
+            set
+            {
+                _shadingMode = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set whether to use mipmaps for textures or not.
+        /// If not specified, the default is true.
+        /// </summary>
+        public bool UseMipmapping
+        {
+            get
+            {
+                return _useMipmapping;
+            }
+            set
+            {
+                _useMipmapping = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set whether to average normals at each point to smooth textures or not.
+        /// If not specified, the default is true.
+        /// </summary>
+        public bool UseSoftNormals
+        {
+            get
+            {
+                return _useSoftNormals;
+            }
+            set
+            {
+                _useSoftNormals = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the position, in stage space, of the point light that applies lighting to the model.
+        /// This is based off the stage's dimensions, so using the width and height of the stage halved will correspond to the center,
+        /// and using all zeroes will place the light at the top left corner.
+        /// If not specified, the default is an offset outwards from the center of the screen.
+        /// </summary>
+        public Vector3 LightPosition
+        {
+            get
+            {
+                return _lightPosition;
+            }
+            set
+            {
+                _lightPosition = value;
+            }
+        }
+
+        protected override void ComposingPropertyMap()
+        {
+            if (_objectURL != "")
+            {
+                _outputVisualMap = new PropertyMap();
+                _outputVisualMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.Mesh));
+                _outputVisualMap.Add(Tizen.NUI.Constants.MeshVisualProperty.ObjectURL, new PropertyValue(_objectURL));
+
+                if (_materialtURL != "" && _texturesPath != "")
+                {
+                    _outputVisualMap.Add(Tizen.NUI.Constants.MeshVisualProperty.MaterialtURL, new PropertyValue(_materialtURL));
+                    _outputVisualMap.Add(Tizen.NUI.Constants.MeshVisualProperty.TexturesPath, new PropertyValue(_texturesPath));
+                }
+
+                _outputVisualMap.Add(Tizen.NUI.Constants.MeshVisualProperty.ShadingMode, new PropertyValue((int)_shadingMode));
+                _outputVisualMap.Add(Tizen.NUI.Constants.MeshVisualProperty.UseMipmapping, new PropertyValue(_useMipmapping));
+                _outputVisualMap.Add(Tizen.NUI.Constants.MeshVisualProperty.UseSoftNormals, new PropertyValue(_useSoftNormals));
+
+                if (_lightPosition != null)
+                {
+                    _outputVisualMap.Add(Tizen.NUI.Constants.MeshVisualProperty.LightPosition, new PropertyValue(_lightPosition));
+                }
+            }
+        }
+    }
+
+    /// <summary>
+    /// A class encapsulating the property map of a primetive visual.
+    /// </summary>
+    public class PrimitiveVisualMap : VisualMap
+    {
+        public PrimitiveVisualMap() : base()
+        {
+        }
+
+        private PrimitiveVisualShapeType _shape = PrimitiveVisualShapeType.Sphere;
+        private Color _mixColor = new Color(0.5f, 0.5f, 0.5f, 1.0f);
+        private int _slices = 128;
+        private int _stacks = 128;
+        private float _scaleTopRadius = 1.0f;
+        private float _scaleBottomRadius = 1.5f;
+        private float _scaleHeight = 3.0f;
+        private float _scaleRadius = 1.0f;
+        private Vector3 _scaleDimensions = Vector3.One;
+        private float _bevelPercentage = 0.0f;
+        private float _bevelSmoothness = 0.0f;
+        private Vector3 _lightPosition = null; // default ?? center of screen
+
+        /// <summary>
+        /// Get or set the specific shape to render.
+        /// If not specified, the default is PrimitiveVisualShapeType.SPHERE.
+        /// </summary>
+        public PrimitiveVisualShapeType Shape
+        {
+            get
+            {
+                return _shape;
+            }
+            set
+            {
+                _shape = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the color of the shape.
+        /// If not specified, the default is Color(0.5, 0.5, 0.5, 1.0).
+        /// Applies to ALL shapes.
+        /// </summary>
+        public Color MixColor
+        {
+            get
+            {
+                return _mixColor;
+            }
+            set
+            {
+                _mixColor = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the number of slices as you go around the shape.
+        /// For spheres and conical frustrums, this determines how many divisions there are as you go around the object.
+        /// If not specified, the default is 128.
+        /// The range is from 1 to 255.
+        /// </summary>
+        public int Slices
+        {
+            get
+            {
+                return _slices;
+            }
+            set
+            {
+                _slices = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the number of stacks as you go down the shape.
+        /// For spheres, 'stacks' determines how many layers there are as you go down the object.
+        /// If not specified, the default is 128.
+        /// The range is from 1 to 255.
+        /// </summary>
+        public int Stacks
+        {
+            get
+            {
+                return _stacks;
+            }
+            set
+            {
+                _stacks = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the scale of the radius of the top circle of a conical frustrum.
+        /// If not specified, the default is 1.0f.
+        /// Applies to: - PrimitiveVisualShapeType.CONICAL_FRUSTRUM
+        /// Only values greater than or equal to 0.0f are accepted.
+        /// </summary>
+        public float ScaleTopRadius
+        {
+            get
+            {
+                return _scaleTopRadius;
+            }
+            set
+            {
+                _scaleTopRadius = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the scale of the radius of the bottom circle of a conical frustrum.
+        /// If not specified, the default is 1.5f.
+        /// Applies to:  - PrimitiveVisualShapeType.CONICAL_FRUSTRUM
+        ///              - PrimitiveVisualShapeType.CONE
+        /// Only values greater than or equal to 0.0f are accepted.
+        /// </summary>
+        public float ScaleBottomRadius
+        {
+            get
+            {
+                return _scaleBottomRadius;
+            }
+            set
+            {
+                _scaleBottomRadius = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the scale of the height of a conic.
+        /// If not specified, the default is 3.0f.
+        /// Applies to:
+        ///      - Shape::CONICAL_FRUSTRUM
+        ///      - Shape::CONE
+        ///      - Shape::CYLINDER
+        /// Only values greater than or equal to 0.0f are accepted.
+        /// </summary>
+        public float ScaleHeight
+        {
+            get
+            {
+                return _scaleHeight;
+            }
+            set
+            {
+                _scaleHeight = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the scale of the radius of a cylinder.
+        /// If not specified, the default is 1.0f.
+        /// Applies to:
+        ///      - Shape::CYLINDER
+        /// Only values greater than or equal to 0.0f are accepted.
+        /// </summary>
+        public float ScaleRadius
+        {
+            get
+            {
+                return _scaleRadius;
+            }
+            set
+            {
+                _scaleRadius = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
+        /// If not specified, the default is Vector3.One.
+        /// Applies to:
+        ///      - Shape::CUBE
+        ///      - Shape::OCTAHEDRON
+        ///      - Shape::BEVELLED_CUBE
+        /// Each vector3 parameter should be greater than or equal to 0.0f.
+        /// </summary>
+        public Vector3 ScaleDimensions
+        {
+            get
+            {
+                return _scaleDimensions;
+            }
+            set
+            {
+                _scaleDimensions = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set determines how bevelled the cuboid should be, based off the smallest dimension.
+        /// Bevel percentage ranges from 0.0 to 1.0. It affects the ratio of the outer face widths to the width of the overall cube.
+        /// If not specified, the default is 0.0f (no bevel).
+        /// Applies to:
+        ///      - Shape::BEVELLED_CUBE
+        /// The range is from 0.0f to 1.0f.
+        /// </summary>
+        public float BevelPercentage
+        {
+            get
+            {
+                return _bevelPercentage;
+            }
+            set
+            {
+                _bevelPercentage = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set defines how smooth the bevelled edges should be.
+        /// If not specified, the default is 0.0f (sharp edges).
+        /// Applies to:
+        ///      - Shape::BEVELLED_CUBE
+        /// The range is from 0.0f to 1.0f.
+        /// </summary>
+        public float BevelSmoothness
+        {
+            get
+            {
+                return _bevelSmoothness;
+            }
+            set
+            {
+                _bevelSmoothness = value;
+            }
+        }
+
+        /// <summary>
+        /// Get or set the position, in stage space, of the point light that applies lighting to the model.
+        /// This is based off the stage's dimensions, so using the width and height of the stage halved will correspond to the center,
+        /// and using all zeroes will place the light at the top left corner.
+        /// If not specified, the default is an offset outwards from the center of the screen.
+        /// Applies to ALL shapes.
+        /// </summary>
+        public Vector3 LightPosition
+        {
+            get
+            {
+                return _lightPosition;
+            }
+            set
+            {
+                _lightPosition = value;
+            }
+        }
+
+        protected override void ComposingPropertyMap()
+        {
+            _outputVisualMap = new PropertyMap(); ;
+            _outputVisualMap.Add(Tizen.NUI.Constants.Visual.Property.Type, new PropertyValue((int)Tizen.NUI.Constants.Visual.Type.Primitive));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.Shape, new PropertyValue((int)_shape));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.MixColor, new PropertyValue(_mixColor));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.Slices, new PropertyValue(_slices));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.Stacks, new PropertyValue(_stacks));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.ScaleTopRadius, new PropertyValue(_scaleTopRadius));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.ScaleBottomRadius, new PropertyValue(_scaleBottomRadius));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.ScaleHeight, new PropertyValue(_scaleHeight));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.ScaleRadius, new PropertyValue(_scaleRadius));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.ScaleDimensions, new PropertyValue(_scaleDimensions));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.BevelPercentage, new PropertyValue(_bevelPercentage));
+            _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.BevelSmoothness, new PropertyValue(_bevelSmoothness));
+
+            if (_lightPosition != null)
+            {
+                _outputVisualMap.Add(Tizen.NUI.Constants.PrimitiveVisualProperty.LightPosition, new PropertyValue(_lightPosition));
+            }
+        }
+    }
+
+
+    public enum WrapModeType
+    {
+        Default = 0,
+        ClampToEdge,
+        Repeat,
+        MirroredRepeat
+    }
+
+    public enum GradientVisualUnitsType
+    {
+        ObjectBoundingBox,
+        UserSpace
+    }
+
+    public enum GradientVisualSpreadMethodType
+    {
+        Pad,
+        Reflect,
+        Repeat
+    }
+
+    public enum MeshVisualShadingModeValue
+    {
+        TexturelessWithDiffuseLighting,
+        TexturedWithSpecularLighting,
+        TexturedWithDetailedSpecularLighting
+    }
+
+    public enum PrimitiveVisualShapeType
+    {
+        Sphere,
+        ConicalFrustrum,
+        Cone,
+        Cylinder,
+        Cube,
+        Octahedron,
+        BevelledCube
+    }
+
+    public enum FittingModeType
+    {
+        ShrinkToFit,
+        ScaleToFill,
+        FitWidth,
+        FitHeight
+    }
+
+    public enum SamplingModeType
+    {
+        Box,
+        Nearest,
+        Linear,
+        BoxThenNearest,
+        BoxThenLinear,
+        NoFilter,
+        DontCare
+    }
+
+}
index bb71f838e2f26f0552e8fd4e5082dfab6a6ce862..2c122d17d9812cf89b3170766f22b5e39457819a 100755 (executable)
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Wheel : global::System.IDisposable\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-        protected bool swigCMemOwn;\r
-\r
-        internal Wheel(global::System.IntPtr cPtr, bool cMemoryOwn)\r
-        {\r
-            swigCMemOwn = cMemoryOwn;\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Wheel obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Wheel()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public virtual void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Wheel(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-            }\r
-        }\r
-\r
-\r
-        internal static Wheel GetWheelFromPtr(global::System.IntPtr cPtr)\r
-        {\r
-            Wheel ret = new Wheel(cPtr, false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public Wheel.WheelType Type\r
-        {\r
-            get\r
-            {\r
-                return type;\r
-            }\r
-        }\r
-\r
-        public int Direction\r
-        {\r
-            get\r
-            {\r
-                return direction;\r
-            }\r
-        }\r
-\r
-        public uint Modifiers\r
-        {\r
-            get\r
-            {\r
-                return modifiers;\r
-            }\r
-        }\r
-\r
-        public Vector2 Point\r
-        {\r
-            get\r
-            {\r
-                return point;\r
-            }\r
-        }\r
-\r
-        public int Z\r
-        {\r
-            get\r
-            {\r
-                return z;\r
-            }\r
-        }\r
-\r
-        public uint TimeStamp\r
-        {\r
-            get\r
-            {\r
-                return timeStamp;\r
-            }\r
-        }\r
-\r
-        public Wheel() : this(NDalicPINVOKE.new_Wheel__SWIG_0(), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public Wheel(Wheel.WheelType type, int direction, uint modifiers, Vector2 point, int z, uint timeStamp) : this(NDalicPINVOKE.new_Wheel__SWIG_1((int)type, direction, modifiers, Vector2.getCPtr(point), z, timeStamp), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public bool IsShiftModifier()\r
-        {\r
-            bool ret = NDalicPINVOKE.Wheel_IsShiftModifier(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool IsCtrlModifier()\r
-        {\r
-            bool ret = NDalicPINVOKE.Wheel_IsCtrlModifier(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public bool IsAltModifier()\r
-        {\r
-            bool ret = NDalicPINVOKE.Wheel_IsAltModifier(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        private Wheel.WheelType type\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Wheel_type_set(swigCPtr, (int)value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                Wheel.WheelType ret = (Wheel.WheelType)NDalicPINVOKE.Wheel_type_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int direction\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Wheel_direction_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Wheel_direction_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private uint modifiers\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Wheel_modifiers_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                uint ret = NDalicPINVOKE.Wheel_modifiers_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private Vector2 point\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Wheel_point_set(swigCPtr, Vector2.getCPtr(value));\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                global::System.IntPtr cPtr = NDalicPINVOKE.Wheel_point_get(swigCPtr);\r
-                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private int z\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Wheel_z_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                int ret = NDalicPINVOKE.Wheel_z_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        private uint timeStamp\r
-        {\r
-            set\r
-            {\r
-                NDalicPINVOKE.Wheel_timeStamp_set(swigCPtr, value);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            }\r
-            get\r
-            {\r
-                uint ret = NDalicPINVOKE.Wheel_timeStamp_get(swigCPtr);\r
-                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-                return ret;\r
-            }\r
-        }\r
-\r
-        public enum WheelType\r
-        {\r
-            MouseWheel,\r
-            CustomWheel\r
-        }\r
-\r
-    }\r
-\r
-}\r
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Wheel : global::System.IDisposable
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        protected bool swigCMemOwn;
+
+        internal Wheel(global::System.IntPtr cPtr, bool cMemoryOwn)
+        {
+            swigCMemOwn = cMemoryOwn;
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Wheel obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Wheel()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public virtual void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Wheel(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+            }
+        }
+
+
+        internal static Wheel GetWheelFromPtr(global::System.IntPtr cPtr)
+        {
+            Wheel ret = new Wheel(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Wheel.WheelType Type
+        {
+            get
+            {
+                return type;
+            }
+        }
+
+        public int Direction
+        {
+            get
+            {
+                return direction;
+            }
+        }
+
+        public uint Modifiers
+        {
+            get
+            {
+                return modifiers;
+            }
+        }
+
+        public Vector2 Point
+        {
+            get
+            {
+                return point;
+            }
+        }
+
+        public int Z
+        {
+            get
+            {
+                return z;
+            }
+        }
+
+        public uint TimeStamp
+        {
+            get
+            {
+                return timeStamp;
+            }
+        }
+
+        public Wheel() : this(NDalicPINVOKE.new_Wheel__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public Wheel(Wheel.WheelType type, int direction, uint modifiers, Vector2 point, int z, uint timeStamp) : this(NDalicPINVOKE.new_Wheel__SWIG_1((int)type, direction, modifiers, Vector2.getCPtr(point), z, timeStamp), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public bool IsShiftModifier()
+        {
+            bool ret = NDalicPINVOKE.Wheel_IsShiftModifier(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool IsCtrlModifier()
+        {
+            bool ret = NDalicPINVOKE.Wheel_IsCtrlModifier(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public bool IsAltModifier()
+        {
+            bool ret = NDalicPINVOKE.Wheel_IsAltModifier(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private Wheel.WheelType type
+        {
+            set
+            {
+                NDalicPINVOKE.Wheel_type_set(swigCPtr, (int)value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                Wheel.WheelType ret = (Wheel.WheelType)NDalicPINVOKE.Wheel_type_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int direction
+        {
+            set
+            {
+                NDalicPINVOKE.Wheel_direction_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Wheel_direction_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private uint modifiers
+        {
+            set
+            {
+                NDalicPINVOKE.Wheel_modifiers_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                uint ret = NDalicPINVOKE.Wheel_modifiers_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private Vector2 point
+        {
+            set
+            {
+                NDalicPINVOKE.Wheel_point_set(swigCPtr, Vector2.getCPtr(value));
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                global::System.IntPtr cPtr = NDalicPINVOKE.Wheel_point_get(swigCPtr);
+                Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private int z
+        {
+            set
+            {
+                NDalicPINVOKE.Wheel_z_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                int ret = NDalicPINVOKE.Wheel_z_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        private uint timeStamp
+        {
+            set
+            {
+                NDalicPINVOKE.Wheel_timeStamp_set(swigCPtr, value);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            }
+            get
+            {
+                uint ret = NDalicPINVOKE.Wheel_timeStamp_get(swigCPtr);
+                if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                return ret;
+            }
+        }
+
+        public enum WheelType
+        {
+            MouseWheel,
+            CustomWheel
+        }
+
+    }
+
+}
index 1f9005a878cc2e3fad27599a9d367c87049f8964..e8b335e1a64a76d67bb08e4ac225707c75d9b539 100755 (executable)
-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
-*\r
-* Licensed under the Apache License, Version 2.0 (the "License");\r
-* you may not use this file except in compliance with the License.\r
-* You may obtain a copy of the License at\r
-*\r
-* http://www.apache.org/licenses/LICENSE-2.0\r
-*\r
-* Unless required by applicable law or agreed to in writing, software\r
-* distributed under the License is distributed on an "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* See the License for the specific language governing permissions and\r
-* limitations under the License.\r
-*\r
-*/\r
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
-//------------------------------------------------------------------------------\r
-// <auto-generated />\r
-//\r
-// This file was automatically generated by SWIG (http://www.swig.org).\r
-// Version 3.0.9\r
-//\r
-// Do not make changes to this file unless you know what you are doing--modify\r
-// the SWIG interface file instead.\r
-//------------------------------------------------------------------------------\r
-\r
-namespace Tizen.NUI\r
-{\r
-\r
-    public class Window : BaseHandle\r
-    {\r
-        private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
-\r
-        internal Window(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Window_SWIGUpcast(cPtr), cMemoryOwn)\r
-        {\r
-            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
-        }\r
-\r
-        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Window obj)\r
-        {\r
-            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
-        }\r
-\r
-        ~Window()\r
-        {\r
-            DisposeQueue.Instance.Add(this);\r
-        }\r
-\r
-        public override void Dispose()\r
-        {\r
-            if (!Stage.IsInstalled())\r
-            {\r
-                DisposeQueue.Instance.Add(this);\r
-                return;\r
-            }\r
-\r
-            lock (this)\r
-            {\r
-                if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
-                {\r
-                    if (swigCMemOwn)\r
-                    {\r
-                        swigCMemOwn = false;\r
-                        NDalicPINVOKE.delete_Window(swigCPtr);\r
-                    }\r
-                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
-                }\r
-                global::System.GC.SuppressFinalize(this);\r
-                base.Dispose();\r
-            }\r
-        }\r
-\r
-\r
-        public Window(Rectangle windowPosition, string name, bool isTransparent) : this(NDalicPINVOKE.Window_New__SWIG_0(Rectangle.getCPtr(windowPosition), name, isTransparent), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public Window(Rectangle windowPosition, string name) : this(NDalicPINVOKE.Window_New__SWIG_1(Rectangle.getCPtr(windowPosition), name), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public Window(Rectangle windowPosition, string name, string className, bool isTransparent) : this(NDalicPINVOKE.Window_New__SWIG_2(Rectangle.getCPtr(windowPosition), name, className, isTransparent), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        public Window(Rectangle windowPosition, string name, string className) : this(NDalicPINVOKE.Window_New__SWIG_3(Rectangle.getCPtr(windowPosition), name, className), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-\r
-        }\r
-        internal Window(Window handle) : this(NDalicPINVOKE.new_Window__SWIG_1(Window.getCPtr(handle)), true)\r
-        {\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Window Assign(Window rhs)\r
-        {\r
-            Window ret = new Window(NDalicPINVOKE.Window_Assign(swigCPtr, Window.getCPtr(rhs)), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public void ShowIndicator(Window.IndicatorVisibleMode visibleMode)\r
-        {\r
-            NDalicPINVOKE.Window_ShowIndicator(swigCPtr, (int)visibleMode);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void SetIndicatorBgOpacity(Window.IndicatorBgOpacity opacity)\r
-        {\r
-            NDalicPINVOKE.Window_SetIndicatorBgOpacity(swigCPtr, (int)opacity);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void RotateIndicator(Window.WindowOrientation orientation)\r
-        {\r
-            NDalicPINVOKE.Window_RotateIndicator(swigCPtr, (int)orientation);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetClass(string name, string klass)\r
-        {\r
-            NDalicPINVOKE.Window_SetClass(swigCPtr, name, klass);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Raise()\r
-        {\r
-            NDalicPINVOKE.Window_Raise(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Lower()\r
-        {\r
-            NDalicPINVOKE.Window_Lower(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        public void Activate()\r
-        {\r
-            NDalicPINVOKE.Window_Activate(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void AddAvailableOrientation(Window.WindowOrientation orientation)\r
-        {\r
-            NDalicPINVOKE.Window_AddAvailableOrientation(swigCPtr, (int)orientation);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void RemoveAvailableOrientation(Window.WindowOrientation orientation)\r
-        {\r
-            NDalicPINVOKE.Window_RemoveAvailableOrientation(swigCPtr, (int)orientation);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal void SetPreferredOrientation(Window.WindowOrientation orientation)\r
-        {\r
-            NDalicPINVOKE.Window_SetPreferredOrientation(swigCPtr, (int)orientation);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-        }\r
-\r
-        internal Window.WindowOrientation GetPreferredOrientation()\r
-        {\r
-            Window.WindowOrientation ret = (Window.WindowOrientation)NDalicPINVOKE.Window_GetPreferredOrientation(swigCPtr);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal DragAndDropDetector GetDragAndDropDetector()\r
-        {\r
-            DragAndDropDetector ret = new DragAndDropDetector(NDalicPINVOKE.Window_GetDragAndDropDetector(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal Any GetNativeHandle()\r
-        {\r
-            Any ret = new Any(NDalicPINVOKE.Window_GetNativeHandle(swigCPtr), true);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        internal SWIGTYPE_p_Dali__SignalT_void_fboolF_t IndicatorVisibilityChangedSignal()\r
-        {\r
-            SWIGTYPE_p_Dali__SignalT_void_fboolF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fboolF_t(NDalicPINVOKE.Window_IndicatorVisibilityChangedSignal(swigCPtr), false);\r
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
-            return ret;\r
-        }\r
-\r
-        public enum WindowOrientation\r
-        {\r
-            Portrait = 0,\r
-            Landscape = 90,\r
-            PortraitInverse = 180,\r
-            LandscapeInverse = 270\r
-        }\r
-\r
-        public enum IndicatorBgOpacity\r
-        {\r
-            Opaque = 100,\r
-            Translucent = 50,\r
-            Transparent = 0\r
-        }\r
-\r
-        public enum IndicatorVisibleMode\r
-        {\r
-            Invisible = 0,\r
-            Visible = 1,\r
-            Auto = 2\r
-        }\r
-\r
-    }\r
-\r
-}\r
+/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+*/
+// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.9
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI
+{
+
+    public class Window : BaseHandle
+    {
+        private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+        internal Window(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Window_SWIGUpcast(cPtr), cMemoryOwn)
+        {
+            swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+        }
+
+        internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Window obj)
+        {
+            return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+        }
+
+        ~Window()
+        {
+            DisposeQueue.Instance.Add(this);
+        }
+
+        public override void Dispose()
+        {
+            if (!Stage.IsInstalled())
+            {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
+            lock (this)
+            {
+                if (swigCPtr.Handle != global::System.IntPtr.Zero)
+                {
+                    if (swigCMemOwn)
+                    {
+                        swigCMemOwn = false;
+                        NDalicPINVOKE.delete_Window(swigCPtr);
+                    }
+                    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+                }
+                global::System.GC.SuppressFinalize(this);
+                base.Dispose();
+            }
+        }
+
+
+        public Window(Rectangle windowPosition, string name, bool isTransparent) : this(NDalicPINVOKE.Window_New__SWIG_0(Rectangle.getCPtr(windowPosition), name, isTransparent), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public Window(Rectangle windowPosition, string name) : this(NDalicPINVOKE.Window_New__SWIG_1(Rectangle.getCPtr(windowPosition), name), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public Window(Rectangle windowPosition, string name, string className, bool isTransparent) : this(NDalicPINVOKE.Window_New__SWIG_2(Rectangle.getCPtr(windowPosition), name, className, isTransparent), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        public Window(Rectangle windowPosition, string name, string className) : this(NDalicPINVOKE.Window_New__SWIG_3(Rectangle.getCPtr(windowPosition), name, className), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+        internal Window(Window handle) : this(NDalicPINVOKE.new_Window__SWIG_1(Window.getCPtr(handle)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Window Assign(Window rhs)
+        {
+            Window ret = new Window(NDalicPINVOKE.Window_Assign(swigCPtr, Window.getCPtr(rhs)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void ShowIndicator(Window.IndicatorVisibleMode visibleMode)
+        {
+            NDalicPINVOKE.Window_ShowIndicator(swigCPtr, (int)visibleMode);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void SetIndicatorBgOpacity(Window.IndicatorBgOpacity opacity)
+        {
+            NDalicPINVOKE.Window_SetIndicatorBgOpacity(swigCPtr, (int)opacity);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void RotateIndicator(Window.WindowOrientation orientation)
+        {
+            NDalicPINVOKE.Window_RotateIndicator(swigCPtr, (int)orientation);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetClass(string name, string klass)
+        {
+            NDalicPINVOKE.Window_SetClass(swigCPtr, name, klass);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Raise()
+        {
+            NDalicPINVOKE.Window_Raise(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Lower()
+        {
+            NDalicPINVOKE.Window_Lower(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Activate()
+        {
+            NDalicPINVOKE.Window_Activate(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void AddAvailableOrientation(Window.WindowOrientation orientation)
+        {
+            NDalicPINVOKE.Window_AddAvailableOrientation(swigCPtr, (int)orientation);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void RemoveAvailableOrientation(Window.WindowOrientation orientation)
+        {
+            NDalicPINVOKE.Window_RemoveAvailableOrientation(swigCPtr, (int)orientation);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetPreferredOrientation(Window.WindowOrientation orientation)
+        {
+            NDalicPINVOKE.Window_SetPreferredOrientation(swigCPtr, (int)orientation);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Window.WindowOrientation GetPreferredOrientation()
+        {
+            Window.WindowOrientation ret = (Window.WindowOrientation)NDalicPINVOKE.Window_GetPreferredOrientation(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal DragAndDropDetector GetDragAndDropDetector()
+        {
+            DragAndDropDetector ret = new DragAndDropDetector(NDalicPINVOKE.Window_GetDragAndDropDetector(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Any GetNativeHandle()
+        {
+            Any ret = new Any(NDalicPINVOKE.Window_GetNativeHandle(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal SWIGTYPE_p_Dali__SignalT_void_fboolF_t IndicatorVisibilityChangedSignal()
+        {
+            SWIGTYPE_p_Dali__SignalT_void_fboolF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fboolF_t(NDalicPINVOKE.Window_IndicatorVisibilityChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public enum WindowOrientation
+        {
+            Portrait = 0,
+            Landscape = 90,
+            PortraitInverse = 180,
+            LandscapeInverse = 270
+        }
+
+        public enum IndicatorBgOpacity
+        {
+            Opaque = 100,
+            Translucent = 50,
+            Transparent = 0
+        }
+
+        public enum IndicatorVisibleMode
+        {
+            Invisible = 0,
+            Visible = 1,
+            Auto = 2
+        }
+
+    }
+
+}