nui 0.2.28 release
authordongsug.song <dongsug.song@samsung.com>
Tue, 9 May 2017 08:15:09 +0000 (17:15 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 9 May 2017 08:15:09 +0000 (17:15 +0900)
Change-Id: I0e15f213f8dbae1143fddab8031e79e8c43e06d9
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
269 files changed:
NUISamples/NUISamples/NUISamples.TizenTV/NUISamples.TizenTV.csproj
NUISamples/NUISamples/NUISamples.TizenTV/examples/control-dashboard.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/custom-control.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/dali-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker-using-json/date-picker-using-json.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/flex-container.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/gc-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/hello-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/hello-world.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/image-view.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/positionUsesAnchorPoint-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/relative-vector.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/scroll-view.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/test1.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/user-alphafunction.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/view-navi-property.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-animation-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-animation-test2.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test2.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test3.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-example.cs [new file with mode: 0755]
NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-using-custom-view/visuals-using-custom-view.cs
NUISamples/Tizen.NUI.Extension.Test/Tizen.NUI.Extension.Test.csproj
packaging/csapi-nui.spec
src/Tizen.NUI/Tizen.NUI.csproj
src/Tizen.NUI/src/internal/AccessibilityActionSignal.cs
src/Tizen.NUI/src/internal/AccessibilityFocusOvershotSignal.cs
src/Tizen.NUI/src/internal/AccessibilityManager.cs
src/Tizen.NUI/src/internal/ActorContainer.cs [deleted file]
src/Tizen.NUI/src/internal/ActorHoverSignal.cs [deleted file]
src/Tizen.NUI/src/internal/ActorSignal.cs [deleted file]
src/Tizen.NUI/src/internal/ActorTouchDataSignal.cs [deleted file]
src/Tizen.NUI/src/internal/ActorWheelSignal.cs [deleted file]
src/Tizen.NUI/src/internal/Alignment.cs
src/Tizen.NUI/src/internal/AngleAxis.cs
src/Tizen.NUI/src/internal/AngleThresholdPair.cs
src/Tizen.NUI/src/internal/Animatable.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/AnimatablePropertyComponentRegistration.cs
src/Tizen.NUI/src/internal/AnimatablePropertyRegistration.cs
src/Tizen.NUI/src/internal/AnimationSignal.cs
src/Tizen.NUI/src/internal/Any.cs
src/Tizen.NUI/src/internal/Application.cs
src/Tizen.NUI/src/internal/ApplicationControlSignal.cs
src/Tizen.NUI/src/internal/ApplicationExtensions.cs
src/Tizen.NUI/src/internal/ApplicationSignal.cs
src/Tizen.NUI/src/internal/AsyncImageLoader.cs
src/Tizen.NUI/src/internal/BaseHandle.cs
src/Tizen.NUI/src/internal/BaseObject.cs
src/Tizen.NUI/src/internal/BufferImage.cs
src/Tizen.NUI/src/internal/Builder.cs
src/Tizen.NUI/src/internal/Button.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/ButtonSignal.cs
src/Tizen.NUI/src/internal/Camera.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/ChildPropertyRegistration.cs
src/Tizen.NUI/src/internal/ClampState2D.cs
src/Tizen.NUI/src/internal/ConnectionTracker.cs
src/Tizen.NUI/src/internal/ConnectionTrackerInterface.cs
src/Tizen.NUI/src/internal/ControlKeySignal.cs
src/Tizen.NUI/src/internal/CustomActor.cs
src/Tizen.NUI/src/internal/CustomActorImpl.cs
src/Tizen.NUI/src/internal/CustomAlgorithmInterface.cs
src/Tizen.NUI/src/internal/DaliException.cs
src/Tizen.NUI/src/internal/DefaultRuler.cs
src/Tizen.NUI/src/internal/DisposeQueue.cs
src/Tizen.NUI/src/internal/DragAndDropDetector.cs
src/Tizen.NUI/src/internal/EncodedBufferImage.cs
src/Tizen.NUI/src/internal/EventThreadCallback.cs
src/Tizen.NUI/src/internal/FittingModeType.cs [deleted file]
src/Tizen.NUI/src/internal/FixedRuler.cs
src/Tizen.NUI/src/internal/FloatSignal.cs
src/Tizen.NUI/src/internal/FocusChangedSignal.cs
src/Tizen.NUI/src/internal/FocusGroupChangedSignal.cs
src/Tizen.NUI/src/internal/FrameBuffer.cs
src/Tizen.NUI/src/internal/FrameBufferImage.cs
src/Tizen.NUI/src/internal/GaussianBlurView.cs
src/Tizen.NUI/src/internal/GaussianBlurViewSignal.cs
src/Tizen.NUI/src/internal/Geometry.cs
src/Tizen.NUI/src/internal/GestureDetector.cs
src/Tizen.NUI/src/internal/GradientVisualSpreadMethodType.cs [deleted file]
src/Tizen.NUI/src/internal/GradientVisualUnitsType.cs [deleted file]
src/Tizen.NUI/src/internal/Handle.cs [deleted file]
src/Tizen.NUI/src/internal/HoverSignal.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/Image.cs
src/Tizen.NUI/src/internal/ImageSignal.cs
src/Tizen.NUI/src/internal/ImfManager.cs
src/Tizen.NUI/src/internal/Item.cs
src/Tizen.NUI/src/internal/ItemContainer.cs
src/Tizen.NUI/src/internal/ItemFactory.cs
src/Tizen.NUI/src/internal/ItemIdContainer.cs
src/Tizen.NUI/src/internal/ItemLayout.cs
src/Tizen.NUI/src/internal/ItemRange.cs
src/Tizen.NUI/src/internal/ItemView.cs
src/Tizen.NUI/src/internal/KeyEventSignal.cs
src/Tizen.NUI/src/internal/KeyInputFocusManager.cs
src/Tizen.NUI/src/internal/KeyInputFocusSignal.cs
src/Tizen.NUI/src/internal/KeyboardPreFocusChangeSignal.cs
src/Tizen.NUI/src/internal/LinearConstrainer.cs
src/Tizen.NUI/src/internal/LongPressGestureDetectedSignal.cs
src/Tizen.NUI/src/internal/LongPressGestureDetector.cs
src/Tizen.NUI/src/internal/Matrix.cs
src/Tizen.NUI/src/internal/Matrix3.cs
src/Tizen.NUI/src/internal/MeshVisualShadingModeValue.cs [deleted file]
src/Tizen.NUI/src/internal/Model3dView.cs
src/Tizen.NUI/src/internal/NDalic.cs
src/Tizen.NUI/src/internal/NDalicPINVOKE.cs
src/Tizen.NUI/src/internal/NativeImage.cs
src/Tizen.NUI/src/internal/NativeImageInterface.cs
src/Tizen.NUI/src/internal/NinePatchImage.cs
src/Tizen.NUI/src/internal/Object.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/ObjectCreatedSignal.cs
src/Tizen.NUI/src/internal/ObjectDestroyedSignal.cs
src/Tizen.NUI/src/internal/ObjectRegistry.cs
src/Tizen.NUI/src/internal/PaddingType.cs
src/Tizen.NUI/src/internal/PageFactory.cs
src/Tizen.NUI/src/internal/PagePanSignal.cs
src/Tizen.NUI/src/internal/PageTurnLandscapeView.cs
src/Tizen.NUI/src/internal/PageTurnPortraitView.cs
src/Tizen.NUI/src/internal/PageTurnSignal.cs
src/Tizen.NUI/src/internal/PageTurnView.cs
src/Tizen.NUI/src/internal/PanGestureDetectedSignal.cs
src/Tizen.NUI/src/internal/PanGestureDetector.cs
src/Tizen.NUI/src/internal/PathConstrainer.cs
src/Tizen.NUI/src/internal/PinchGestureDetectedSignal.cs
src/Tizen.NUI/src/internal/PinchGestureDetector.cs
src/Tizen.NUI/src/internal/PixelData.cs
src/Tizen.NUI/src/internal/Popup.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/PrimitiveVisualShapeType.cs [deleted file]
src/Tizen.NUI/src/internal/ProgressBar.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/ProgressBarValueChangedSignal.cs
src/Tizen.NUI/src/internal/PropertyBuffer.cs
src/Tizen.NUI/src/internal/PropertyCondition.cs
src/Tizen.NUI/src/internal/PropertyNotification.cs
src/Tizen.NUI/src/internal/PropertyNotifySignal.cs
src/Tizen.NUI/src/internal/PropertyRegistration.cs
src/Tizen.NUI/src/internal/RadioButton.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/RefObject.cs
src/Tizen.NUI/src/internal/RenderTask.cs
src/Tizen.NUI/src/internal/RenderTaskList.cs
src/Tizen.NUI/src/internal/RenderTaskSignal.cs
src/Tizen.NUI/src/internal/Renderer.cs
src/Tizen.NUI/src/internal/ResourceImage.cs
src/Tizen.NUI/src/internal/ResourceImageSignal.cs
src/Tizen.NUI/src/internal/Ruler.cs
src/Tizen.NUI/src/internal/RulerDomain.cs
src/Tizen.NUI/src/internal/RulerPtr.cs
src/Tizen.NUI/src/internal/Sampler.cs
src/Tizen.NUI/src/internal/SamplingModeType.cs [deleted file]
src/Tizen.NUI/src/internal/ScrollView.cs
src/Tizen.NUI/src/internal/ScrollViewEffect.cs
src/Tizen.NUI/src/internal/ScrollViewPagePathEffect.cs
src/Tizen.NUI/src/internal/ScrollViewSnapStartedSignal.cs
src/Tizen.NUI/src/internal/Scrollable.cs
src/Tizen.NUI/src/internal/ScrollableSignal.cs
src/Tizen.NUI/src/internal/Shader.cs
src/Tizen.NUI/src/internal/SignalConnectorType.cs
src/Tizen.NUI/src/internal/SignalObserver.cs
src/Tizen.NUI/src/internal/Size.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/Slider.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/SliderMarkReachedSignal.cs
src/Tizen.NUI/src/internal/SliderValueChangedSignal.cs
src/Tizen.NUI/src/internal/SlotObserver.cs
src/Tizen.NUI/src/internal/StageWheelSignal.cs
src/Tizen.NUI/src/internal/StringValuePair.cs
src/Tizen.NUI/src/internal/StyleChangedSignal.cs
src/Tizen.NUI/src/internal/TapGestureDetectedSignal.cs
src/Tizen.NUI/src/internal/TapGestureDetector.cs
src/Tizen.NUI/src/internal/TextEditorSignal.cs
src/Tizen.NUI/src/internal/TextFieldSignal.cs
src/Tizen.NUI/src/internal/Texture.cs
src/Tizen.NUI/src/internal/TextureSet.cs
src/Tizen.NUI/src/internal/TimePeriod.cs
src/Tizen.NUI/src/internal/TimerSignalType.cs
src/Tizen.NUI/src/internal/ToggleButton.cs
src/Tizen.NUI/src/internal/TouchDataSignal.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/TouchPoint.cs
src/Tizen.NUI/src/internal/TouchPointContainer.cs
src/Tizen.NUI/src/internal/TouchSignal.cs
src/Tizen.NUI/src/internal/TransitionData.cs
src/Tizen.NUI/src/internal/TypeAction.cs
src/Tizen.NUI/src/internal/TypeInfo.cs
src/Tizen.NUI/src/internal/TypeRegistration.cs
src/Tizen.NUI/src/internal/TypeRegistry.cs
src/Tizen.NUI/src/internal/Uint16Pair.cs
src/Tizen.NUI/src/internal/VectorBase.cs
src/Tizen.NUI/src/internal/VectorFloat.cs
src/Tizen.NUI/src/internal/VectorInteger.cs
src/Tizen.NUI/src/internal/VectorUint16Pair.cs
src/Tizen.NUI/src/internal/VectorUnsignedChar.cs
src/Tizen.NUI/src/internal/VideoViewSignal.cs
src/Tizen.NUI/src/internal/ViewContainer.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/ViewImpl.cs
src/Tizen.NUI/src/internal/ViewRegistry.cs
src/Tizen.NUI/src/internal/ViewResourceReadySignal.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/ViewSignal.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/ViewVisibilityChangedSignal.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/ViewWrapper.cs
src/Tizen.NUI/src/internal/ViewWrapperImpl.cs
src/Tizen.NUI/src/internal/VisualTransformPolicyType.cs [deleted file]
src/Tizen.NUI/src/internal/VisualTransformPropertyType.cs [deleted file]
src/Tizen.NUI/src/internal/VoidSignal.cs
src/Tizen.NUI/src/internal/WheelSignal.cs [new file with mode: 0755]
src/Tizen.NUI/src/internal/WindowFocusSignalType.cs
src/Tizen.NUI/src/internal/WrapModeType.cs [deleted file]
src/Tizen.NUI/src/internal/doublep.cs
src/Tizen.NUI/src/internal/floatp.cs
src/Tizen.NUI/src/internal/intp.cs
src/Tizen.NUI/src/internal/uintp.cs
src/Tizen.NUI/src/internal/ushortp.cs
src/Tizen.NUI/src/public/Actor.cs [deleted file]
src/Tizen.NUI/src/public/AlphaFunction.cs
src/Tizen.NUI/src/public/Animation.cs
src/Tizen.NUI/src/public/BaseComponents/CustomView.cs
src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/CameraActor.cs [deleted file]
src/Tizen.NUI/src/public/Color.cs
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/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/NUIConstants.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/Position.cs
src/Tizen.NUI/src/public/Position2D.cs
src/Tizen.NUI/src/public/Property.cs
src/Tizen.NUI/src/public/Radian.cs
src/Tizen.NUI/src/public/Rectangle.cs
src/Tizen.NUI/src/public/RelativeVector2.cs
src/Tizen.NUI/src/public/RelativeVector3.cs
src/Tizen.NUI/src/public/RelativeVector4.cs
src/Tizen.NUI/src/public/RelayoutContainer.cs
src/Tizen.NUI/src/public/Rotation.cs
src/Tizen.NUI/src/public/Size.cs [deleted file]
src/Tizen.NUI/src/public/Size2D.cs
src/Tizen.NUI/src/public/Stage.cs [deleted file]
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/Timer.cs
src/Tizen.NUI/src/public/Touch.cs
src/Tizen.NUI/src/public/UIComponents/Button.cs [deleted file]
src/Tizen.NUI/src/public/UIComponents/CheckBoxButton.cs
src/Tizen.NUI/src/public/UIComponents/Popup.cs [deleted file]
src/Tizen.NUI/src/public/UIComponents/ProgressBar.cs [deleted file]
src/Tizen.NUI/src/public/UIComponents/PushButton.cs
src/Tizen.NUI/src/public/UIComponents/RadioButton.cs [deleted file]
src/Tizen.NUI/src/public/UIComponents/ScrollBar.cs
src/Tizen.NUI/src/public/UIComponents/Slider.cs [deleted file]
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/VisualBase.cs
src/Tizen.NUI/src/public/VisualFactory.cs
src/Tizen.NUI/src/public/Wheel.cs
src/Tizen.NUI/src/public/Window.cs

index e122bf7e2d9552980620156c1332371ddb2513e0..506dba516c56b26fb62f1cfbe9c2a9670a518efc 100755 (executable)
     <Compile Include="examples\visuals-using-custom-view\ContactData.cs" />\r
     <Compile Include="examples\visuals-using-custom-view\ContactView.cs" />\r
     <Compile Include="examples\visuals-using-custom-view\visuals-using-custom-view.cs" />\r
-    <Compile Include="firstscreen\App.cs" />\r
-    <Compile Include="firstscreen\Constants.cs" />\r
-    <Compile Include="firstscreen\FocusData.cs" />\r
-    <Compile Include="firstscreen\FocusEffect.cs" />\r
-    <Compile Include="firstscreen\IFocusEffect.cs" />\r
-    <Compile Include="firstscreen\ScrollContainer.cs" />\r
     <Compile Include="Properties\AssemblyInfo.cs" />\r
   </ItemGroup>\r
   <ItemGroup>\r
       <Project>{f03a3b48-9d9b-4bf3-92ce-bd63cadc3cd3}</Project>\r
       <Name>Tizen.NUI</Name>\r
     </ProjectReference>\r
-    <ProjectReference Include="..\..\Tizen.NUI.Extension.Test\Tizen.NUI.Extension.Test.csproj">\r
-      <Project>{2def21e8-80d1-43b6-9e93-aef1d1be169b}</Project>\r
-      <Name>Tizen.NUI.Extension.Test</Name>\r
-    </ProjectReference>\r
     <ProjectReference Include="..\NUISamples\NUISamples-dummy.csproj">\r
       <Project>{56ca3b27-c662-4ac8-93ca-7acef926b2aa}</Project>\r
       <Name>NUISamples-dummy</Name>\r
index d0c9f66098f0b200aa899d21f6b97e2276e35763..5a203331891d9e272522f3c7c4d766c577b48c86 100755 (executable)
@@ -43,7 +43,7 @@ namespace ControlDashboard
 
         private TableView _contentContainer;
         private Timer _timer;
-        private Stage _stage;
+        private Window _window;
         private Popup _popup;
         private ProgressBar _progressBar;
         private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
@@ -78,8 +78,8 @@ namespace ControlDashboard
         public void Initialize()
         {
             Tizen.Log.Debug("NUI", "Customized Application Initialize event handler");
-            _stage = Stage.Instance;
-            _stage.BackgroundColor = Color.White;
+            _window = Window.Instance;
+            _window.BackgroundColor = Color.White;
 
             // Top label
             TextLabel topLabel = new TextLabel();
@@ -93,7 +93,7 @@ namespace ControlDashboard
             topLabel.HorizontalAlignment = HorizontalAlignment.Begin;
             topLabel.VerticalAlignment = VerticalAlignment.Center;
             topLabel.PointSize = 42.0f;
-            _stage.GetDefaultLayer().Add(topLabel);
+            _window.GetDefaultLayer().Add(topLabel);
             //StyleManager.Get().ApplyStyle(topLabel, _resPath + "/json/control-dashboard-theme.json", "TextFieldFontSize4");
             topLabel.SetStyleName("TextFieldFontSize4");
 
@@ -103,7 +103,7 @@ namespace ControlDashboard
             _contentContainer.HeightResizePolicy = ResizePolicyType.SizeRelativeToParent;
             _contentContainer.SetSizeModeFactor(new Vector3(0.0f, 0.9f, 0.0f));
             _contentContainer.AnchorPoint = AnchorPoint.BottomCenter;
-            _contentContainer.Position = new Position(0, _stage.Size.Height * 0.1f, 0);
+            _contentContainer.Position = new Position(0, _window.Size.Height * 0.1f, 0);
             _contentContainer.SetRelativeHeight(0, 0.07f);
             _contentContainer.SetRelativeHeight(1, 0.26f);
             _contentContainer.SetRelativeHeight(2, 0.07f);
@@ -111,7 +111,7 @@ namespace ControlDashboard
             _contentContainer.SetRelativeHeight(4, 0.07f);
             _contentContainer.SetRelativeHeight(5, 0.26f);
             _contentContainer.Focusable = (true);
-            _stage.GetDefaultLayer().Add(_contentContainer);
+            _window.GetDefaultLayer().Add(_contentContainer);
 
             CreateContent();
 
@@ -140,13 +140,13 @@ namespace ControlDashboard
         {
             // Make label for item
             TextLabel itemLabel = new TextLabel("    " + item.name);
-            itemLabel.Size = new Vector3(_stage.Size.Width * 0.2f, _stage.Size.Height * 0.05f, 0.0f);
+            itemLabel.Size = new Vector3(_window.Size.Width * 0.2f, _window.Size.Height * 0.05f, 0.0f);
             itemLabel.HorizontalAlignment = HorizontalAlignment.Begin;
             itemLabel.VerticalAlignment = VerticalAlignment.Bottom;
             //itemLabel.PointSize = 18.0f;
             _contentContainer.AddChild(itemLabel, new TableView.CellPosition(((uint)idx / 5) * 2, (uint)idx % 5));
 
-            // If item is implemented in public, attach it on stage
+            // If item is implemented in public, attach it on window
             if (item.isImplemented)
             {
                 if (item.name.CompareTo("PushButton") == 0)
@@ -334,7 +334,7 @@ namespace ControlDashboard
 
                     button.Clicked += (obj, ee) =>
                     {
-                        _stage.GetDefaultLayer().Add(_popup);
+                        _window.GetDefaultLayer().Add(_popup);
                         _popup.SetDisplayState(Popup.DisplayStateType.Shown);
                         FocusManager.Instance.SetCurrentFocusView(View.DownCast((_popup.FindChildByName("Footer")).FindChildByName("OKButton")));
                         return true;
@@ -360,7 +360,7 @@ namespace ControlDashboard
                                 text.MultiLine = true;
                                 text.HorizontalAlignment = HorizontalAlignment.Center;
                                 toast.SetTitle(text);
-                                _stage.GetDefaultLayer().Add(toast);
+                                _window.GetDefaultLayer().Add(toast);
                                 toast.SetDisplayState(Popup.DisplayStateType.Shown);
                             }
                         }
@@ -376,7 +376,7 @@ namespace ControlDashboard
             else
             {
                 ImageView notSupportView = new ImageView(_resPath + "/images/not_yet_sign.png");
-                notSupportView.Size = new Vector3(_stage.Size.Width * 0.2f, _stage.Size.Height * 0.25f, 0.0f);
+                notSupportView.Size = new Vector3(_window.Size.Width * 0.2f, _window.Size.Height * 0.25f, 0.0f);
                 notSupportView.Focusable = (true);
                 _contentContainer.AddChild(notSupportView, new TableView.CellPosition(((uint)idx / 5) * 2 + 1, (uint)idx % 5));
             }
@@ -385,7 +385,7 @@ namespace ControlDashboard
         {
             Popup confirmationPopup = new Popup();
 
-            Actor footer = new Actor();
+            View footer = new View();
             footer.Name = ("Footer");
             footer.WidthResizePolicy = ResizePolicyType.FillToParent;
             footer.HeightResizePolicy = ResizePolicyType.Fixed;
@@ -421,13 +421,13 @@ namespace ControlDashboard
             confirmationPopup.SetFooter(footer);
             return confirmationPopup;
         }
-        Actor CreateTitle(string title)
+        View CreateTitle(string title)
         {
-            TextLabel titleActor = new TextLabel(title);
-            titleActor.TextColor = Color.White;
-            titleActor.MultiLine = true;
-            titleActor.HorizontalAlignment = HorizontalAlignment.Center;
-            return titleActor;
+            TextLabel titleView = new TextLabel(title);
+            titleView.TextColor = Color.White;
+            titleView.MultiLine = true;
+            titleView.HorizontalAlignment = HorizontalAlignment.Center;
+            return titleView;
         }
 
         PushButton CreateOKButton()
@@ -477,6 +477,7 @@ namespace ControlDashboard
             Tizen.Log.Debug("NUI", "Hello Mono World");
 
             Example example = new Example("/home/owner/apps_rw/NUISamples.TizenTV/res/json/control-dashboard-theme.json");
+            
             example.Run(args);
         }
     }
index 8361b4e1f886750b075f3725ed8defd922ee5c08..2ffdbf735fea7531376cef5e8faa96681f97af87 100755 (executable)
@@ -195,8 +195,8 @@ namespace CustomControlTest
 
         public void Initialize()
         {
-            Stage stage = Stage.Instance;
-            stage.BackgroundColor = Color.White;
+            Window window = Window.Instance;
+            window.BackgroundColor = Color.White;
 
             // Create a container to layout the rows of image and rating vertically
             FlexContainer container = new FlexContainer();
@@ -207,7 +207,7 @@ namespace CustomControlTest
             container.WidthResizePolicy = ResizePolicyType.FillToParent;
             container.HeightResizePolicy = ResizePolicyType.FillToParent;
 
-            stage.GetDefaultLayer().Add(container);
+            window.GetDefaultLayer().Add(container);
 
             Random random = new Random();
 
index 70709e357e028944aedb20a157d2aa42ffff003c..abe525d6f7bcf09c1e2d3e2551c61810111bcd68 100755 (executable)
@@ -95,6 +95,8 @@ namespace DaliTest
 
     class Example : NUIApplication
     {
+        private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+
         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
         delegate void CallbackDelegate(IntPtr appPtr); // void, void delgate
 
@@ -126,7 +128,11 @@ namespace DaliTest
 
             CustomViewPropertyTest();
 
-            Handle handle = new Handle();
+            VisibilityChangeTest();
+
+            ResourceReadyTest();
+
+            Animatable handle = new Animatable();
             int myPropertyIndex = handle.RegisterProperty("myProperty", new PropertyValue(10.0f), PropertyAccessMode.ReadWrite);
             float myProperty = 0.0f;
             handle.GetProperty(myPropertyIndex).Get(ref myProperty);
@@ -137,24 +143,24 @@ namespace DaliTest
             handle.GetProperty(myPropertyIndex2).Get(myProperty2);
             Tizen.Log.Debug("NUI",  "myProperty2 value: " + myProperty2.Width + ", " + myProperty2.Height );
 
-            Actor actor = new Actor();
-            actor.Size = new Size(200.0f, 200.0f, 0.0f);
-            actor.Name = "MyActor";
-            //actor.MixColor = new Color(1.0f, 0.0f, 1.0f, 0.8f);
-            Tizen.Log.Debug("NUI", "Actor size: " + actor.Size.Width + ", " + actor.Size.Height);
-            Tizen.Log.Debug("NUI", "Actor name: " + actor.Name);
-
-            Stage stage = Stage.Instance;
-            stage.BackgroundColor = Color.White;
-            Size stageSize = new Size(stage.Size.Width, stage.Size.Height, 0.0f);
-            Tizen.Log.Debug("NUI", "Stage size: " + stageSize.Width + ", " + stageSize.Height);
-            stage.GetDefaultLayer().Add(actor);
+            View view = new View();
+            view.Size = new Size(200.0f, 200.0f, 0.0f);
+            view.Name = "MyView";
+            //view.MixColor = new Color(1.0f, 0.0f, 1.0f, 0.8f);
+            Tizen.Log.Debug("NUI", "View size: " + view.Size.Width + ", " + view.Size.Height);
+            Tizen.Log.Debug("NUI", "View name: " + view.Name);
+
+            Window window = Window.Instance;
+            window.BackgroundColor = Color.White;
+            Size windowSize = new Size(window.Size.Width, window.Size.Height, 0.0f);
+            Tizen.Log.Debug("NUI", "Window size: " + windowSize.Width + ", " + windowSize.Height);
+            window.GetDefaultLayer().Add(view);
 
             TextLabel text = new TextLabel("Hello Mono World");
             text.ParentOrigin = ParentOrigin.Center;
             text.AnchorPoint = AnchorPoint.Center;
             text.HorizontalAlignment = HorizontalAlignment.Center;
-            stage.GetDefaultLayer().Add(text);
+            window.GetDefaultLayer().Add(text);
 
             Tizen.Log.Debug("NUI",  "Text label text:  " + text.Text );
 
@@ -290,10 +296,10 @@ namespace DaliTest
             downView = new View();
             downView.Name = "downView";
 
-            Stage.Instance.GetDefaultLayer().Add(leftView);
-            Stage.Instance.GetDefaultLayer().Add(rightView);
-            Stage.Instance.GetDefaultLayer().Add(upView);
-            Stage.Instance.GetDefaultLayer().Add(downView);
+            Window.Instance.GetDefaultLayer().Add(leftView);
+            Window.Instance.GetDefaultLayer().Add(rightView);
+            Window.Instance.GetDefaultLayer().Add(upView);
+            Window.Instance.GetDefaultLayer().Add(downView);
 
             view.LeftFocusableView = leftView;
             tmpView = view.LeftFocusableView;
@@ -317,7 +323,7 @@ namespace DaliTest
                 Tizen.Log.Debug("NUI", "Failed: RightFocusedView = " + tmpView.Name);
             }
 
-            Stage.Instance.GetDefaultLayer().Add(view);
+            Window.Instance.GetDefaultLayer().Add(view);
 
             view.UpFocusableView = upView;
             tmpView = view.UpFocusableView;
@@ -341,7 +347,7 @@ namespace DaliTest
                 Tizen.Log.Debug("NUI", "Failed: DownFocusedView = " + tmpView.Name);
             }
 
-            Stage.Instance.GetDefaultLayer().Remove(leftView);
+            Window.Instance.GetDefaultLayer().Remove(leftView);
             tmpView = view.LeftFocusableView;
             if (!tmpView)
             {
@@ -355,22 +361,22 @@ namespace DaliTest
 
         public void OperatorTests()
         {
-            Actor actor = new Actor();
-            Actor differentActor = new Actor();
-            Actor actorSame = actor;
-            Actor nullActor = null;
+            View view = new View();
+            View differentView = new View();
+            View viewSame = view;
+            View nullView = null;
 
             // test the true operator
-            if ( actor )
+            if ( view )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator true (actor) : test passed ");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator true (view) : test passed ");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator true (actor): test failed ");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator true (view): test failed ");
             }
 
-            Actor parent = actor.Parent;
+            View parent = view.Parent;
 
             if ( parent )
             {
@@ -381,150 +387,205 @@ namespace DaliTest
                 Tizen.Log.Debug("NUI", "Valid with Empty body  :passed ");
             }
 
-            actor.Add( differentActor );
+            view.Add( differentView );
 
             // here we test two different C# objects, which on the native side have the same body/ ref-object
-            if ( actor == differentActor.Parent )
+            if ( view == differentView.Parent )
             {
-                Tizen.Log.Debug("NUI", "actor == differentActor.GetParent() :passed ");
+                Tizen.Log.Debug("NUI", "view == differentView.GetParent() :passed ");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "actor == differentActor.GetParent() :failed ");
+                Tizen.Log.Debug("NUI", "view == differentView.GetParent() :failed ");
             }
 
-            if ( differentActor == differentActor.Parent )
+            if ( differentView == differentView.Parent )
             {
-                Tizen.Log.Debug("NUI", "differentActor == differentActor.GetParent() :failed ");
+                Tizen.Log.Debug("NUI", "differentView == differentView.GetParent() :failed ");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "differentActor == differentActor.GetParent() :passed ");
+                Tizen.Log.Debug("NUI", "differentView == differentView.GetParent() :passed ");
             }
 
-            if ( nullActor )
+            if ( nullView )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator true (nullActor) : test failed ");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator true (nullView) : test failed ");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator true (nullActor): test passed ");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator true (nullView): test passed ");
             }
 
             // ! operator
-            if ( !actor )
+            if ( !view )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator !(actor) : test failed ");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator !(view) : test failed ");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator !(actor): test passed ");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator !(view): test passed ");
             }
 
-            if ( !nullActor )
+            if ( !nullView )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator !(nullActor) : test passed ");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator !(nullView) : test passed ");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator !(nullActor): test failed ");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator !(nullView): test failed ");
             }
 
             // Note: operator false only used inside & operator
             // test equality operator ==
-            if ( actor == actorSame )
+            if ( view == viewSame )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator  (actor == actorSame) : test passed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator  (view == viewSame) : test passed");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator  (actor == actorSame) : test failed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator  (view == viewSame) : test failed");
             }
 
-            if ( actor == differentActor )
+            if ( view == differentView )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor == differentActor) : test failed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view == differentView) : test failed");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor == differentActor) : test passed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view == differentView) : test passed");
             }
 
-            if ( actor == nullActor )
+            if ( view == nullView )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor == nullActor) : test failed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view == nullView) : test failed");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor == nullActor) : test passed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view == nullView) : test passed");
             }
 
-            if ( nullActor == nullActor )
+            if ( nullView == nullView )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullActor == nullActor) : test passed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullView == nullView) : test passed");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullActor == nullActor) : test failed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullView == nullView) : test failed");
             }
 
             // test || operator
-            if ( actor || actorSame )
+            if ( view || viewSame )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor || actorSame) : test passed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view || viewSame) : test passed");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor || actorSame) : test failed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view || viewSame) : test failed");
             }
 
-            if ( actor || nullActor )
+            if ( view || nullView )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor || nullActor) : test passed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view || nullView) : test passed");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor || nullActor) : test failed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view || nullView) : test failed");
             }
 
-            if ( nullActor || nullActor )
+            if ( nullView || nullView )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullActor || nullActor) : test failed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullView || nullView) : test failed");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullActor || nullActor) : test passed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullView || nullView) : test passed");
             }
 
             // test && operator
-            if ( actor && actorSame )
+            if ( view && viewSame )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor && actorSame) : test passed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view && viewSame) : test passed");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor && actorSame) : test failed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view && viewSame) : test failed");
             }
 
-            if ( actor && nullActor )
+            if ( view && nullView )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor && nullActor) : test failed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view && nullView) : test failed");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (actor && nullActor) : test passed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (view && nullView) : test passed");
             }
 
-            if ( nullActor && nullActor )
+            if ( nullView && nullView )
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullActor && nullActor) : test failed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullView && nullView) : test failed");
             }
             else
             {
-                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullActor && nullActor) : test passed");
+                Tizen.Log.Debug("NUI", "BaseHandle Operator (nullView && nullView) : test passed");
             }
         }
 
+
+        private TextLabel label;
+        public void VisibilityChangeTest()
+        {
+            label = new TextLabel();
+            label.Text = "Visibility";
+            label.TextColor = Color.Red;
+            label.PointSize = 30.0f;
+            label.ParentOrigin = ParentOrigin.TopLeft;
+            label.AnchorPoint = AnchorPoint.TopLeft;
+            label.Position = new Position(0.0f, 50.0f, 0.0f);
+            Window.GetDefaultLayer().Add(label);
+            label.VisibilityChanged += (sender, e) =>
+            {
+                if (e.Visibility)
+                    Console.WriteLine("VisibilityChanged, label show.");
+                else
+                    Console.WriteLine("VisibilityChanged, label hide.");
+            };
+
+            PushButton button = new PushButton();
+            button.LabelText = "Change Visibility";
+            button.ParentOrigin = ParentOrigin.TopLeft;
+            button.AnchorPoint = AnchorPoint.TopLeft;
+            Window.GetDefaultLayer().Add(button);
+            button.Clicked += (sender, e) =>
+            {
+                if (label.Visible)
+                {
+                    label.Hide();
+                }
+                else
+                {
+                    label.Show();
+                }
+
+                return true;
+            };
+        }
+
+        public void ResourceReadyTest()
+        {
+            ImageView image = new ImageView();
+            image.ResourceUrl = _resPath + "/images/dog-anim.gif";
+            image.Size2D = new Size2D(150, 150);
+            image.ParentOrigin = ParentOrigin.TopLeft;
+            image.AnchorPoint = AnchorPoint.TopLeft;
+            image.Position = new Position(0.0f, 150.0f, 0.0f);
+            image.ResourceReady += (sender, e) =>
+            {
+                Console.WriteLine("Resource is ready!");
+            };
+            Window.GetDefaultLayer().Add(image);
+        }
+
         public void CustomViewPropertyTest()
         {
             // Create a Spin control
@@ -586,7 +647,7 @@ namespace DaliTest
         {
           View container = new View();
           container.Position = new Position(-800.0f, -800.0f, 0.0f);
-          Stage.Instance.GetDefaultLayer().Add(container);
+          Window.Instance.GetDefaultLayer().Add(container);
 
           // Test downcast for native control
           TextLabel myLabel = new TextLabel();
@@ -597,10 +658,10 @@ namespace DaliTest
 
           container.Add(myLabel);
 
-          Actor myLabelActor  = container.FindChildByName("MyLabelName");
-          if(myLabelActor)
+          View myLabelView  = container.FindChildByName("MyLabelName");
+          if(myLabelView)
           {
-            TextLabel newLabel = View.DownCast<TextLabel>(myLabelActor);
+            TextLabel newLabel = View.DownCast<TextLabel>(myLabelView);
             if(newLabel)
             {
               Tizen.Log.Debug("NUI", "Downcast to TextLabel successful: newLabel Name = " + newLabel.Name + ", Text = " + newLabel.Text);
@@ -621,10 +682,10 @@ namespace DaliTest
 
           container.Add(myView);
 
-          Actor myViewActor  = container.FindChildByName("MyViewName");
-          if(myViewActor)
+          View myViewView  = container.FindChildByName("MyViewName");
+          if(myViewView)
           {
-            MyView newView = View.DownCast<MyView>(myViewActor);
+            MyView newView = View.DownCast<MyView>(myViewView);
             if(newView)
             {
               Tizen.Log.Debug("NUI", "Downcast to MyView successful: newView Name = " + newView.Name + ", MyOwnName = " + newView.MyOwnName + ", myCurrentValue = " + newView._myCurrentValue);
@@ -646,10 +707,10 @@ namespace DaliTest
 
           container.Add(myButton);
 
-          Actor myButtonActor  = container.FindChildByName("MyButtonName");
-          if(myButtonActor)
+          View myButtonView  = container.FindChildByName("MyButtonName");
+          if(myButtonView)
           {
-            MyButton newButton = View.DownCast<MyButton>(myButtonActor);
+            MyButton newButton = View.DownCast<MyButton>(myButtonView);
             if(newButton)
             {
               Tizen.Log.Debug("NUI", "Downcast to MyButton successful: newButton Name = " + newButton.Name + ", MyOwnName = " + newButton.MyOwnName + ", LabelText = " + myButton.LabelText + ", myCurrentValue = " + newButton._myCurrentValue);
@@ -669,10 +730,10 @@ namespace DaliTest
 
           container.Add(spin);
 
-          Actor spinActor  = container.FindChildByName("SpinName");
-          if(spinActor)
+          View spinView  = container.FindChildByName("SpinName");
+          if(spinView)
           {
-            Spin newSpin = View.DownCast<Spin>(spinActor);
+            Spin newSpin = View.DownCast<Spin>(spinView);
             if(newSpin)
             {
               Tizen.Log.Debug("NUI", "Downcast to Spin successful: newSpin Name = " + newSpin.Name + ", MaxValue = " + newSpin.MaxValue);
@@ -694,10 +755,10 @@ namespace DaliTest
 
           container.Add(mySpin);
 
-          Actor mySpinActor  = container.FindChildByName("MySpinName");
-          if(mySpinActor)
+          View mySpinView  = container.FindChildByName("MySpinName");
+          if(mySpinView)
           {
-            MySpin newSpin = View.DownCast<MySpin>(mySpinActor);
+            MySpin newSpin = View.DownCast<MySpin>(mySpinView);
             if(newSpin)
             {
               Tizen.Log.Debug("NUI", "Downcast to MySpin successful: newSpin Name = " + newSpin.Name + ", MyOwnName = " + newSpin.MyOwnName + ", MaxValue = " + newSpin.MaxValue + ", currentValue = " + newSpin._myCurrentValue);
@@ -727,7 +788,7 @@ namespace DaliTest
 
             for (uint i = 0; i < parent.GetChildCount(); i++)
             {
-                Actor child = parent.GetChildAt(i);
+                View child = parent.GetChildAt(i);
                 View childView = View.DownCast<View>(child);
                 if (childView)
                 {
index fcd1b290712e9aaf94f69a524eaa61669142efa0..21e40b323aad7238096d77880edf4c2105ac3e2e 100755 (executable)
@@ -43,8 +43,8 @@ namespace DatePickerUsingJson
 
         public void Initialize()
         {
-            Stage stage = Stage.Instance;
-            stage.BackgroundColor = Color.White;
+            Window window = Window.Instance;
+            window.BackgroundColor = Color.White;
 
             //This is required for the Application which uses JSON theme and style of Dali builder
             ViewRegistryHelper.Initialize();
@@ -63,13 +63,13 @@ namespace DatePickerUsingJson
             // create the date-picker from the template in the json file
             BaseHandle handle =  _builder.Create( "date-picker");
 
-            Actor actorTree =  Actor.DownCast( handle );
+            View actorTree =  View.DownCast( handle );
 
-            stage.GetDefaultLayer().Add( actorTree );
+            window.GetDefaultLayer().Add( actorTree );
 
-            Actor year  = actorTree.FindChildByName("Year");
-            Actor month  =  actorTree.FindChildByName("Month" );
-            Actor day  = actorTree.FindChildByName("Day");
+            View year  = actorTree.FindChildByName("Year");
+            View month  =  actorTree.FindChildByName("Month" );
+            View day  = actorTree.FindChildByName("Day");
 
             // need to get the actual C# Spin object associated with the actor,
             _spinYear = View.DownCast<Spin>( year );
index abf358505dd4fe260f5f174297a0b6103b43f664..43f82153af55c5503c2ec888a26baa5fa5f12d9e 100755 (executable)
@@ -51,8 +51,8 @@ namespace DatePickerTest
 
         public void Initialize()
         {
-            Stage stage = Stage.Instance;
-            stage.BackgroundColor = Color.White;
+            Window window = Window.Instance;
+            window.BackgroundColor = Color.White;
 
             // Create a container for the spins
             _container = new FlexContainer();
@@ -63,7 +63,7 @@ namespace DatePickerTest
             _container.Size = new Vector3(480.0f, 150.0f, 0.0f);
             _container.Position2D = new Position2D(400, 400);
 
-            stage.GetDefaultLayer().Add(_container);
+            window.GetDefaultLayer().Add(_container);
 
             // Create a Spin control for year
             _spinYear = new Spin();
@@ -130,7 +130,7 @@ namespace DatePickerTest
             _textField.Text = "imf manager test!";
             _textField.BackgroundColor = Color.Blue;
             _textField.TextColor = Color.White;
-            stage.GetDefaultLayer().Add(_textField);
+            window.GetDefaultLayer().Add(_textField);
 
             keyboardFocusManager.SetCurrentFocusView(_textField);
 
@@ -139,7 +139,7 @@ namespace DatePickerTest
             _pushButton.Size2D = new Size2D(900, 100);
             _pushButton.LabelText = "imf activate";
             _pushButton.Clicked += _pushButton_Clicked;
-            stage.GetDefaultLayer().Add(_pushButton);
+            window.GetDefaultLayer().Add(_pushButton);
         }
 
         private bool _pushButton_Clicked(object source, EventArgs e)
index dbc7d97ac2659cdba91854a66c230a7d7d2bbec7..209703c1c766a6c2c06b7cb6c0a3b0dc247bcd17 100755 (executable)
@@ -31,17 +31,17 @@ namespace FlexContainerTest
         {
             base.OnCreate();
 
-            Stage.Instance.BackgroundColor = new Color(0.1f, 0.8f, 0.1f, 1.0f);
+            Window.Instance.BackgroundColor = new Color(0.1f, 0.8f, 0.1f, 1.0f);
 
             container = new FlexContainer();
-            container.Size = new Size(Stage.Instance.Size.Width, Stage.Instance.Size.Height, 0);
+            container.Size = new Size(Window.Instance.Size.Width, Window.Instance.Size.Height, 0);
             container.AnchorPoint = AnchorPoint.TopLeft;
             container.Padding = new Vector4(100, 100, 100, 100);
 
             container.FlexWrap = FlexContainer.WrapType.Wrap;
             container.FlexDirection = FlexContainer.FlexDirectionType.Column;
 
-            Stage.Instance.GetDefaultLayer().Add(container);
+            Window.Instance.GetDefaultLayer().Add(container);
 
             numOfSamples = samples.GetLength(0);
             Tizen.Log.Debug("NUI", "NUM = " + numOfSamples);
@@ -79,9 +79,9 @@ namespace FlexContainerTest
             };
 
             //added
-            Stage.Instance.Touch += (sender, e) =>
+            Window.Instance.TouchEvent += (sender, e) =>
             {
-                Tizen.Log.Debug("NUI", "Stage Touch signal callback! To avoid crash, when losing key focus, set here again unless the NextView is null");
+                Tizen.Log.Debug("NUI", "Window Touch signal callback! To avoid crash, when losing key focus, set here again unless the NextView is null");
                 FocusManager.Instance.SetCurrentFocusView(label[3]);
             };
 
@@ -102,7 +102,7 @@ namespace FlexContainerTest
                 pushButton2.LabelText = "Remove Handler" + _cnt;
                 return true;
             };
-            Stage.Instance.GetDefaultLayer().Add(pushButton1);
+            Window.Instance.GetDefaultLayer().Add(pushButton1);
 
             pushButton2 = new PushButton();
             pushButton2.MinimumSize = new Size2D(400, 200);
@@ -120,7 +120,7 @@ namespace FlexContainerTest
                 pushButton2.LabelText = "Remove Handler" + _cnt;
                 return true;
             };
-            Stage.Instance.GetDefaultLayer().Add(pushButton2);
+            Window.Instance.GetDefaultLayer().Add(pushButton2);
 
             //added
             _ani = new Animation(2000);
index f7a5514b11fb75c6346527159cdab9d08cfb2cd3..e85018c2bc97e1d7bc2a6b45fe72684c85d9e3f7 100755 (executable)
@@ -19,7 +19,7 @@ namespace TizenVDUIApplication19
         {
             base.OnCreate();
 
-            Stage.Instance.BackgroundColor = Color.White;
+            Window.Instance.BackgroundColor = Color.White;
 
             myViewList = new List<View>();
 
@@ -37,7 +37,7 @@ namespace TizenVDUIApplication19
 
                 myViewList.Add(v);
 
-                Stage.Instance.GetDefaultLayer().Add(v);
+                Window.Instance.GetDefaultLayer().Add(v);
             }
 
             myTimer = new Timer(1000);
@@ -52,7 +52,7 @@ namespace TizenVDUIApplication19
             //Remove current Scene,
             foreach (View v in myViewList)
             {
-                Stage.Instance.GetDefaultLayer().Remove(v);
+                Window.Instance.GetDefaultLayer().Remove(v);
             }
 
             myViewList.Clear();
@@ -74,7 +74,7 @@ namespace TizenVDUIApplication19
 
                 myViewList.Add(v);
 
-                Stage.Instance.GetDefaultLayer().Add(v);
+                Window.Instance.GetDefaultLayer().Add(v);
             }
 
             return true;
index 7a6a9cb2102869505b85f4b0d5acea5982a14bd8..8f38bb8370da40d597951e212121e676b85ea6f9 100755 (executable)
@@ -35,7 +35,7 @@ namespace HelloTest
     {
         private Animation _animation;
         private TextLabel _text;
-        private Stage _stage;
+        private Window _window;
 
         public Example():base()
         {
@@ -57,18 +57,18 @@ namespace HelloTest
 
         private void Initialize()
         {
-            // Connect the signal callback for stage touched signal
-            _stage = Stage.Instance;
-            _stage.Touch += OnStageTouched;
+            // Connect the signal callback for window touched signal
+            _window = Window.Instance;
+            _window.TouchEvent += OnWindowTouched;
 
-            // Add a _text label to the stage
+            // Add a _text label to the window
             _text = new TextLabel("Hello Mono World");
             _text.ParentOrigin = ParentOrigin.Center;
             _text.AnchorPoint = AnchorPoint.Center;
             _text.HorizontalAlignment = HorizontalAlignment.Center;
             _text.PointSize = 32.0f;
 
-            _stage.GetDefaultLayer().Add(_text);
+            _window.GetDefaultLayer().Add(_text);
         }
 
         // Callback for _animation finished signal handling
@@ -81,8 +81,8 @@ namespace HelloTest
             }
         }
 
-        // Callback for stage touched signal handling
-        private void OnStageTouched(object sender, Stage.TouchEventArgs e)
+        // Callback for window touched signal handling
+        private void OnWindowTouched(object sender, Window.TouchEventArgs e)
         {
             // Only animate the _text label when touch down happens
             if (e.Touch.GetState(0) == PointStateType.Down)
index b52843f8575eb6078c8cbc5e3f7e6afe204e2931..63fb032149eb4472526348bfff7814f7633f01d4 100755 (executable)
@@ -21,7 +21,6 @@ using Tizen.NUI;
 using Tizen.NUI.UIComponents;
 using Tizen.NUI.BaseComponents;
 using Tizen.NUI.Constants;
-using Tizen.NUI.Extension.Test;
 
 namespace HelloWorldTest
 {
@@ -52,10 +51,10 @@ namespace HelloWorldTest
 
         public void Initialize()
         {
-            Stage stage = Stage.Instance;
-            stage.BackgroundColor = Color.White;
-            stage.Touch += OnStageTouched;
-            stage.Key += OnStageKeyEvent;
+            Window window = Window.Instance;
+            window.BackgroundColor = Color.White;
+            window.TouchEvent += OnWindowTouched;
+            window.KeyEvent += OnWindowKeyEvent;
 
             _text = new TextLabel("Hello NUI World");
             _text.ParentOrigin = ParentOrigin.Center;
@@ -63,7 +62,7 @@ namespace HelloWorldTest
             _text.HorizontalAlignment = HorizontalAlignment.Center;
             _text.PointSize = 32.0f;
             _text.TextColor = Color.Magenta;
-            stage.GetDefaultLayer().Add(_text);
+            window.GetDefaultLayer().Add(_text);
 
             _view = new View();
             _view.Size = new Size(100, 100, 100);
@@ -83,12 +82,6 @@ namespace HelloWorldTest
 
             _view.SizeWidth = 50;
             Tizen.Log.Debug("NUI", "[2]_view SizeWidth=" + _view.SizeWidth);
-
-            ActorTest _actorExt = new ActorTest();
-            Actor _actor1 = _actorExt.CreateActor();
-            if(_actor1) Tizen.Log.Debug("NUI", "FriendAssembly Test _actor1 name = " + _actor1.Name);
-            else Tizen.Log.Debug("NUI", "FriendAssembly Test _actor1 is NULL!");
-
         }
 
         public void AnimationFinished(object sender, EventArgs e)
@@ -102,7 +95,7 @@ namespace HelloWorldTest
             Tizen.Log.Debug("NUI", "[3]_view SizeWidth=" + _view.SizeWidth);
         }
 
-        public void OnStageKeyEvent(object sender, Stage.KeyEventArgs e)
+        public void OnWindowKeyEvent(object sender, Window.KeyEventArgs e)
         {
             if (e.Key.State == Key.StateType.Down)
             {
@@ -127,7 +120,7 @@ namespace HelloWorldTest
             }
         }
 
-        public void OnStageTouched(object sender, Stage.TouchEventArgs e)
+        public void OnWindowTouched(object sender, Window.TouchEventArgs e)
         {
             if (e.Touch.GetState(0) == PointStateType.Down)
             {
index 530d38b802d71ec3734cad81d1212267010cf3fd..4ac8d4694991fa404b7c49f7127c100af2360e53 100755 (executable)
@@ -38,7 +38,7 @@ namespace ImageViewTest
         private bool _isAniFinised = true;
         private Layer layer, _layer1, _layer2;
         private PushButton _pushButton1, _pushButton2;
-        private Stage stage;
+        private Window window;
 
         public Example() : base()
         {
@@ -61,29 +61,36 @@ namespace ImageViewTest
         public void Initialize()
         {
             Log("Customized Application Initialize event handler");
-            stage = Stage.Instance;
-            stage.BackgroundColor = Color.Cyan;
-            stage.Touch += OnStageTouched;
-            stage.Wheel += OnStageWheelMoved;
-            stage.Key += OnStageKeyPressed;
-            //stage.EventProcessingFinished += OnStageEventProcessingFinished;
-
-            layer = stage.GetDefaultLayer();
+            window = Window.Instance;
+            window.BackgroundColor = Color.Cyan;
+            window.TouchEvent += OnWindowTouched;
+            window.WheelEvent += OnWindowWheelMoved;
+            window.KeyEvent += OnWindowKeyPressed;
+            //window.EventProcessingFinished += OnWindowEventProcessingFinished;
+
+            layer = window.GetDefaultLayer();
             _layer1 = new Layer();
             _layer2 = new Layer();
-            stage.AddLayer(_layer1);
-            stage.AddLayer(_layer2);
+            window.AddLayer(_layer1);
+            window.AddLayer(_layer2);
             Log("_layer1.Behavior =" + _layer1.Behavior);
             if (_layer1.Behavior == Layer.LayerBehavior.LayerUI)
             {
                 _layer1.Behavior = Layer.LayerBehavior.Layer2D;
                 Log("again _layer1.Behavior =" + _layer1.Behavior);
             }
-            // Add a ImageView to the stage
+            // Add a ImageView to the window
+            // PropertyMap map = new PropertyMap();
+            // map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.NPatch));
+            // map.Add(NpatchImageVisualProperty.URL, new PropertyValue(resources+"/images/00_popup_bg.9.png"));
+            // map.Add(NpatchImageVisualProperty.Border, new PropertyValue(new Rectangle(100, 100, 100, 100)));
             _imageView = new ImageView();
-            _imageView.ResourceUrl = resources+"/images/gallery-3.jpg";
-            _imageView.ParentOrigin = ParentOrigin.Center;
-            _imageView.AnchorPoint = AnchorPoint.Center;
+            //_imageView.ImageMap = map;
+            _imageView.ResourceUrl = resources+"/images/00_popup_bg.9.png";
+            //_imageView.Border = new Rectangle(100, 100, 100, 100);
+            _imageView.ParentOrigin = ParentOrigin.TopLeft;
+            _imageView.AnchorPoint = AnchorPoint.TopLeft;
+            _imageView.Position = new Position(5.0f, 5.0f, 0.0f);
             _imageView.PixelArea = new Vector4(0.0f, 0.0f, 0.5f, 0.5f);
             //_imageView.SetResizePolicy(ResizePolicyType.USE_NATURAL_SIZE, DimensionType.ALL_DIMENSIONS);
             layer.Add(_imageView);
@@ -92,7 +99,7 @@ namespace ImageViewTest
             _pushButton1.ParentOrigin = ParentOrigin.BottomLeft;
             _pushButton1.AnchorPoint = AnchorPoint.BottomLeft;
             _pushButton1.LabelText = "start animation";
-            _pushButton1.Position = new Vector3(0.0f, stage.Size.Height * 0.1f, 0.0f);
+            _pushButton1.Position = new Vector3(0.0f, window.Size.Height * 0.1f, 0.0f);
             _pushButton1.Clicked += OnPushButtonClicked1;
             _layer1.Add(_pushButton1);
 
@@ -100,10 +107,21 @@ namespace ImageViewTest
             _pushButton2.ParentOrigin = ParentOrigin.BottomLeft;
             _pushButton2.AnchorPoint = AnchorPoint.BottomLeft;
             _pushButton2.LabelText = "reload image with same URL";
-            _pushButton2.Position = new Vector3(0.0f, stage.Size.Height * 0.2f, 0.0f);
+            _pushButton2.Position = new Vector3(0.0f, window.Size.Height * 0.2f, 0.0f);
             _pushButton2.Clicked += OnPushButtonClicked2;
             _layer2.Add(_pushButton2);
 
+            PropertyMap _map = new PropertyMap();
+            _map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.NPatch));
+            _map.Add(NpatchImageVisualProperty.URL, new PropertyValue(resources+"/images/00_popup_bg.9.png"));
+            _map.Add(NpatchImageVisualProperty.Border, new PropertyValue(new Rectangle(100, 100, 100, 100)));
+            ImageView nPatchImage = new ImageView();
+            nPatchImage.ParentOrigin = ParentOrigin.BottomLeft;
+            nPatchImage.AnchorPoint = AnchorPoint.BottomLeft;
+            nPatchImage.Size = new Size(300.0f, 512.0f, 0.0f);
+            nPatchImage.ImageMap = _map;
+            layer.Add(nPatchImage);
+
         }
 
         public bool OnPushButtonClicked2(object sender, EventArgs e)
@@ -146,8 +164,8 @@ namespace ImageViewTest
 
                 KeyFrames _keyFrames = new KeyFrames();
                 _keyFrames.Add(0.0f, new Size(0.0f, 0.0f, 0.0f));
-                _keyFrames.Add(0.3f, new Size(stage.Size.Width * 0.7f, stage.Size.Height * 0.7f, 0.0f));
-                _keyFrames.Add(1.0f, new Size(stage.Size));
+                _keyFrames.Add(0.3f, new Size(window.Size.Width * 0.7f, window.Size.Height * 0.7f, 0.0f));
+                _keyFrames.Add(1.0f, new Size(window.Size));
                 _animation.AnimateBetween(_imageView, "Size", _keyFrames, 4000, 6000, Animation.Interpolation.Linear);
 
                 _animation.EndAction = Animation.EndActions.Discard;
@@ -181,33 +199,33 @@ namespace ImageViewTest
             }
         }
 
-        public void OnStageEventProcessingFinished(object sender, EventArgs e)
+        public void OnWindowEventProcessingFinished(object sender, EventArgs e)
         {
-            Log("OnStageEventProcessingFinished()!");
+            Log("OnWindowEventProcessingFinished()!");
             if (e != null)
             {
                 Log("e != null !");
             }
         }
 
-        public void OnStageKeyPressed(object sender, Stage.KeyEventArgs e)
+        public void OnWindowKeyPressed(object sender, Window.KeyEventArgs e)
         {
-            Log("OnStageKeyEventOccured()!");
+            Log("OnWindowKeyEventOccured()!");
             Log("keyPressedName=" + e.Key.KeyPressedName);
             Log("state=" + e.Key.State);
         }
 
-        public void OnStageWheelMoved(object sender, Stage.WheelEventArgs e)
+        public void OnWindowWheelMoved(object sender, Window.WheelEventArgs e)
         {
-            Log("OnStageWheelEventOccured()!");
+            Log("OnWindowWheelEventOccured()!");
             Log("direction=" + e.Wheel.Direction);
             Log("type=" + e.Wheel.Type);
         }
 
-        // Callback for stage touched signal handling
-        public void OnStageTouched(object sender, Stage.TouchEventArgs e)
+        // Callback for window touched signal handling
+        public void OnWindowTouched(object sender, Window.TouchEventArgs e)
         {
-            Log("OnStageTouched()! e.TouchData.GetState(0)=" + e.Touch.GetState(0));
+            Log("OnWindowTouched()! e.TouchData.GetState(0)=" + e.Touch.GetState(0));
         }
 
         /// <summary>
index 24e3c2ac78338c3b0e0ec7d8f4e4565ff38c0672..89e7067424ee5788f25e448d1c51b45fb95fea29 100755 (executable)
@@ -35,7 +35,7 @@ namespace PositionUsesAnchorPointTest
     {
         private TextLabel _text1;
         private TextLabel _text2;
-        private Stage _stage;
+        private Window _window;
 
         public Example():base()
         {
@@ -57,8 +57,8 @@ namespace PositionUsesAnchorPointTest
 
         private void Initialize()
         {
-            // Connect the signal callback for stage touched signal
-            _stage = Stage.Instance;
+            // Connect the signal callback for window touched signal
+            _window = Window.Instance;
             _text1 = new TextLabel("PositionUsesAnchorPoint");
             _text1.ParentOrigin = ParentOrigin.Center;
             _text1.AnchorPoint = AnchorPoint.Center;
@@ -68,7 +68,7 @@ namespace PositionUsesAnchorPointTest
             _text1.Size2D = new Size2D(200, 100);
             _text1.PointSize = 10.0f;
             _text1.BackgroundColor = Color.Blue;
-            _stage.GetDefaultLayer().Add(_text1);
+            _window.GetDefaultLayer().Add(_text1);
 
             _text2 = new TextLabel("PositionNotUsesAnchorPoint");
             _text2.ParentOrigin = ParentOrigin.Center;
@@ -79,7 +79,7 @@ namespace PositionUsesAnchorPointTest
             _text2.Size2D = new Size2D(200, 100);
             _text2.PointSize = 10.0f;
             _text2.BackgroundColor = Color.Red;
-            _stage.GetDefaultLayer().Add(_text2);
+            _window.GetDefaultLayer().Add(_text2);
         }
 
 
index 81bb049875075a2c1f6375ec500bc41bc1690245..fdda0a64d4416d45875519d220d4c3c65cb6023b 100755 (executable)
@@ -34,7 +34,7 @@ namespace RelativeVectorTest
     {
         private Animation _animation;
         private ImageView _imageView;
-        private Stage _stage;
+        private Window _window;
         private const string resources = "/home/owner/apps_rw/NUISamples.TizenTV/res";
 
         public Example():base()
@@ -57,8 +57,8 @@ namespace RelativeVectorTest
 
         private void Initialize()
         {
-            _stage = Stage.Instance;
-            _stage.Touch += OnStageTouched;
+            _window = Window.Instance;
+            _window.TouchEvent += OnWindowTouched;
 
             _imageView = new ImageView();
             _imageView.ResourceUrl = resources+"/images/gallery-3.jpg";
@@ -66,11 +66,11 @@ namespace RelativeVectorTest
             _imageView.AnchorPoint = AnchorPoint.Center;
             _imageView.PixelArea = new RelativeVector4(0.0f, 0.0f, 0.0f, 0.0f);
 
-            _stage.GetDefaultLayer().Add(_imageView);
+            _window.GetDefaultLayer().Add(_imageView);
         }
 
-        // Callback for stage touched signal handling
-        private void OnStageTouched(object sender, Stage.TouchEventArgs e)
+        // Callback for window touched signal handling
+        private void OnWindowTouched(object sender, Window.TouchEventArgs e)
         {
             // Only animate the _text label when touch down happens
             if (e.Touch.GetState(0) == PointStateType.Down)
index 8f2c6120a3fbbc8123ec8c4631e6240fe6dd9ecd..7323297e5ae8f3d41069bb7675cad5959d09e696 100755 (executable)
@@ -64,16 +64,16 @@ namespace ScrollViewTest
 
     private void CreateScrollView()
     {
-      Stage stage = Stage.Instance;
-      stage.BackgroundColor = Color.White;
+      Window window = Window.Instance;
+      window.BackgroundColor = Color.White;
 
       // Create a scroll view
       _scrollView = new ScrollView();
-      Size stageSize = new Size(stage.Size.Width, stage.Size.Height, 0.0f);
-      _scrollView.Size = new Size(stageSize.Width, stageSize.Height, 0.0f);
+      Size windowSize = new Size(window.Size.Width, window.Size.Height, 0.0f);
+      _scrollView.Size = new Size(windowSize.Width, windowSize.Height, 0.0f);
       _scrollView.ParentOrigin = ParentOrigin.Center;
       _scrollView.AnchorPoint = AnchorPoint.Center;
-      stage.GetDefaultLayer().Add(_scrollView);
+      window.GetDefaultLayer().Add(_scrollView);
 
       // Add actors to a scroll view with 3 pages
       int pageRows = 1;
@@ -87,13 +87,13 @@ namespace ScrollViewTest
           pageActor.HeightResizePolicy = ResizePolicyType.FillToParent;
           pageActor.ParentOrigin = ParentOrigin.Center;
           pageActor.AnchorPoint = AnchorPoint.Center;
-          pageActor.Position = new Position(pageColumn * stageSize.Width, pageRow * stageSize.Height, 0.0f);
+          pageActor.Position = new Position(pageColumn * windowSize.Width, pageRow * windowSize.Height, 0.0f);
 
           // Add images in a 3x4 grid layout for each page
           int imageRows = 4;
           int imageColumns = 3;
           float margin = 10.0f;
-          Position imageSize = new Position((stageSize.Width / imageColumns) - margin, (stageSize.Height / imageRows) - margin, 0.0f);
+          Position imageSize = new Position((windowSize.Width / imageColumns) - margin, (windowSize.Height / imageRows) - margin, 0.0f);
 
           for(int row = 0; row < imageRows; row++)
           {
@@ -104,8 +104,8 @@ namespace ScrollViewTest
               imageView.ParentOrigin = ParentOrigin.Center;
               imageView.AnchorPoint = AnchorPoint.Center;
               imageView.Size = new Size(imageSize.X, imageSize.Y, imageSize.Z);
-              imageView.Position = new Position( margin * 0.5f + (imageSize.X + margin) * column - stageSize.Width * 0.5f + imageSize.X * 0.5f,
-                  margin * 0.5f + (imageSize.Y + margin) * row - stageSize.Height * 0.5f + imageSize.Y * 0.5f, 0.0f );
+              imageView.Position = new Position( margin * 0.5f + (imageSize.X + margin) * column - windowSize.Width * 0.5f + imageSize.X * 0.5f,
+                  margin * 0.5f + (imageSize.Y + margin) * row - windowSize.Height * 0.5f + imageSize.Y * 0.5f, 0.0f );
               pageActor.Add(imageView);
             }
           }
@@ -118,9 +118,9 @@ namespace ScrollViewTest
 
       // Set scroll view to have 3 pages in X axis and allow page snapping,
       // and also disable scrolling in Y axis.
-      RulerPtr scrollRulerX = new RulerPtr(new FixedRuler(stageSize.Width));
+      RulerPtr scrollRulerX = new RulerPtr(new FixedRuler(windowSize.Width));
       RulerPtr scrollRulerY = new RulerPtr(new DefaultRuler());
-      scrollRulerX.SetDomain(new RulerDomain(0.0f, stageSize.Width * pageColumns, true));
+      scrollRulerX.SetDomain(new RulerDomain(0.0f, windowSize.Width * pageColumns, true));
       scrollRulerY.Disable();
       _scrollView.SetRulerX(scrollRulerX);
       _scrollView.SetRulerY(scrollRulerY);
@@ -171,7 +171,7 @@ namespace ScrollViewTest
       // Only animate the _text label when touch down happens
       if( e.Touch.GetState(0) == PointStateType.Down )
       {
-        Tizen.Log.Debug("NUI", "Customized Stage Touch event handler");
+        Tizen.Log.Debug("NUI", "Customized Window Touch event handler");
         // Create a new _animation
         if( _animation )
         {
index 397f79751c51be0ef5fa1f3f25713d796627de3e..fcefdbb19c5fe3335041e6868fe9fb2b40216955 100755 (executable)
@@ -43,13 +43,13 @@ namespace Test1
             Initialize();
         }
 
-        Stage _stage;
+        Window _window;
         StyleManager _style;
 
         public void Initialize()
         {
-            _stage = Stage.Instance;
-            _stage.BackgroundColor = Color.White;
+            _window = Window.Instance;
+            _window.BackgroundColor = Color.White;
 
             // 1) sibling order test
             SiblingTest();
@@ -120,7 +120,7 @@ namespace Test1
 
             for (int i = 0; i < 10; i++)
             {
-                _stage.GetDefaultLayer().Add(list_view[i]);
+                _window.GetDefaultLayer().Add(list_view[i]);
                 Tizen.Log.Debug("NUI", list_view[i].Name + "'s sibling order=" + list_view[i].SiblingOrder);
             }
 
@@ -129,7 +129,7 @@ namespace Test1
             _txt.Text = "on top: sibling#, sibling order=?";
             _txt.Position2D = _myPos + new Position2D(-50, 200);
             _txt.TextColor = Color.Blue;
-            _stage.GetDefaultLayer().Add(_txt);
+            _window.GetDefaultLayer().Add(_txt);
 
         }
 
@@ -182,7 +182,7 @@ namespace Test1
                 _visualTest.Size2D = new Size2D(600, 200);
                 _visualTest.Position2D = new Position2D(50, 400);
                 _visualTest.BackgroundColor = Color.Yellow;
-                _stage.GetDefaultLayer().Add(_visualTest);
+                _window.GetDefaultLayer().Add(_visualTest);
             }
             catch (Exception e)
             {
@@ -226,7 +226,7 @@ namespace Test1
             view.AnchorPoint = AnchorPoint.TopLeft;
             view.MinimumSize = new Size2D(100, 100);
             view.BackgroundColor = Color.Red;
-            _stage.GetDefaultLayer().Add(view);
+            _window.GetDefaultLayer().Add(view);
 
             Position position0 = new Position(200.0f, 200.0f, 0.0f);
             Position position1 = new Position(300.0f, 300.0f, 0.0f);
index eb0c729d59f22de722c1333c8a2fc81cc107f0cb..b1b56830cb21c30099614684b89f494427a4a9b3 100755 (executable)
@@ -62,20 +62,20 @@ namespace UserAlphaFunctionTest
         public void Initialize()
         {
             Log("Initialize() is called!");
-            Stage stage = Stage.Instance;
-            stage.BackgroundColor = Color.White;
-            stage.Touch += OnStageTouched;
-            stage.Touch += OnStageTouched2;
-            //stage.EventProcessingFinished += OnEventProcessingFinished;
-            stage.Wheel += OnStageWheelEvent;
-
-            // Add a _text label to the stage
+            Window window = Window.Instance;
+            window.BackgroundColor = Color.White;
+            window.TouchEvent += OnWindowTouched;
+            window.TouchEvent += OnWindowTouched2;
+            //window.EventProcessingFinished += OnEventProcessingFinished;
+            window.WheelEvent += OnWindowWheelEvent;
+
+            // Add a _text label to the window
             _text = new TextLabel("Hello Mono World");
             _text.ParentOrigin = ParentOrigin.BottomCenter;
             _text.AnchorPoint = AnchorPoint.BottomCenter;
             _text.HorizontalAlignment = HorizontalAlignment.Center;
             _text.PointSize = 32.0f;
-            stage.GetDefaultLayer().Add(_text);
+            window.GetDefaultLayer().Add(_text);
 
             _view1 = new View();
             _view1.Size = new Vector3(200.0f, 200.0f, 0.0f);
@@ -84,8 +84,8 @@ namespace UserAlphaFunctionTest
             _view1.AnchorPoint = AnchorPoint.Center;
             _view1.WidthResizePolicy = ResizePolicyType.Fixed;
             _view1.HeightResizePolicy = ResizePolicyType.Fixed;
-            _view1.OnStageEvent += OnStage;
-            stage.GetDefaultLayer().Add(_view1);
+            _view1.OnWindowEvent += OnWindow;
+            window.GetDefaultLayer().Add(_view1);
 
             _view2 = new View();
             _view2.BackgroundColor = Color.Red;
@@ -149,13 +149,13 @@ namespace UserAlphaFunctionTest
             _animation.Play();
         }
 
-        // Callback for stage touched signal handling
-        public void OnStageTouched(object source, Stage.TouchEventArgs e)
+        // Callback for window touched signal handling
+        public void OnWindowTouched(object source, Window.TouchEventArgs e)
         {
             // Only animate the _text label when touch down happens
             if (e.Touch.GetState(0) == PointStateType.Down)
             {
-                Log("OnStageTouched() is called! PointStateType.DOWN came!");
+                Log("OnWindowTouched() is called! PointStateType.DOWN came!");
                 myCount++;
                 if (myCount > 1)
                 {
@@ -165,10 +165,10 @@ namespace UserAlphaFunctionTest
             }
         }
 
-        // Callback for stage touched signal handling
-        public void OnStageTouched2(object source, Stage.TouchEventArgs e)
+        // Callback for window touched signal handling
+        public void OnWindowTouched2(object source, Window.TouchEventArgs e)
         {
-            Log("OnStageTouched2() is called!state=" + e.Touch.GetState(0));
+            Log("OnWindowTouched2() is called!state=" + e.Touch.GetState(0));
         }
 
         public void OnEventProcessingFinished(object source)
@@ -176,16 +176,16 @@ namespace UserAlphaFunctionTest
             Log("OnEventProcessingFinished() is called!");
         }
 
-        public void OnStageWheelEvent(object source, Stage.WheelEventArgs e)
+        public void OnWindowWheelEvent(object source, Window.WheelEventArgs e)
         {
-            Log("OnStageWheelEvent() is called!");
-            //Log("OnStageWheelEvent() is called!direction="+ e.WheelEvent.direction + " timeStamp=" + e.WheelEvent.timeStamp );
+            Log("OnWindowWheelEvent() is called!");
+            //Log("OnWindowWheelEvent() is called!direction="+ e.WheelEvent.direction + " timeStamp=" + e.WheelEvent.timeStamp );
         }
 
 
-        public void OnStage(object source, EventArgs e)
+        public void OnWindow(object source, EventArgs e)
         {
-            Log("OnStage() is called!");
+            Log("OnWindow() is called!");
         }
 
         [STAThread]
index e9661db4315b592ace9e8f5aaf886918601c9886..7d3e30603eef9f787a5282f48130487caf6a0863 100755 (executable)
@@ -46,7 +46,7 @@ namespace MyCSharpExample
                 view[i].Position = new Position(300 + i * 300, 300, 0);
                 view[i].Name = "MyView" + i;
                 view[i].Focusable = true;
-                Stage.Instance.GetDefaultLayer().Add(view[i]);
+                Window.Instance.GetDefaultLayer().Add(view[i]);
                 view[i].FocusGained += FocusNavigationSample_FocusGained;
                 view[i].FocusLost += FocusNavigationSample_FocusLost;
                 view[i].KeyEvent += FocusNavigationSample_KeyEvent;
@@ -60,12 +60,12 @@ namespace MyCSharpExample
             FocusManager.Instance.SetCurrentFocusView(view[0]);
             FocusManager.Instance.PreFocusChange += Instance_PreFocusChange;
 
-            Stage.Instance.Touch += Instance_Touch;
+            Window.Instance.TouchEvent += Instance_Touch;
         }
 
-        private void Instance_Touch(object sender, Stage.TouchEventArgs e)
+        private void Instance_Touch(object sender, Window.TouchEventArgs e)
         {
-            Tizen.Log.Debug("NUI", "stage touched! set key focus as view[0]!");
+            Tizen.Log.Debug("NUI", "window touched! set key focus as view[0]!");
             FocusManager.Instance.SetCurrentFocusView(view[0]);
         }
 
index 448ea750feb080361648e4aa343c259672e56ab7..2165bc1e6c2103d97c39b64125407a5cdbfe3eff 100755 (executable)
@@ -59,17 +59,17 @@ namespace VisaulAnimationExample
 
         public void Initialize()
         {
-            Stage stage = Stage.Instance;
-            stage.BackgroundColor = Color.White;
+            Window window = Window.Instance;
+            window.BackgroundColor = Color.White;
 
             TableView titleLayout = new TableView(2, 1);
             titleLayout.Name = ("TitleLayout");
             titleLayout.AnchorPoint = AnchorPoint.TopLeft;
             titleLayout.Position2D = new Position2D(10, 10);
-            titleLayout.Size2D = new Size2D((int)(stage.Size.Width * 0.9f), (int)(stage.Size.Height * 0.9f));
+            titleLayout.Size2D = new Size2D((int)(window.Size.Width * 0.9f), (int)(window.Size.Height * 0.9f));
             titleLayout.SetCellPadding(new Size2D(10, 10));
             titleLayout.BackgroundColor = Color.Cyan;
-            stage.GetDefaultLayer().Add(titleLayout);
+            window.GetDefaultLayer().Add(titleLayout);
 
             _title = new TextLabel("Visual Transition / SVG / AGIF Example");
             _title.Name = ("Title");
index e3eaf445e97f7bc445c77cfba9ded643f55a074f..b8a95619fa82ca80c5868127c6eda9df891e742e 100755 (executable)
@@ -61,17 +61,17 @@ namespace VisaulAnimationExample
 
         public void Initialize()
         {
-            Stage stage = Stage.Instance;
-            stage.BackgroundColor = Color.White;
+            Window window = Window.Instance;
+            window.BackgroundColor = Color.White;
 
             TableView titleLayout = new TableView(2, 1);
             titleLayout.Name = ("TitleLayout");
             titleLayout.AnchorPoint = AnchorPoint.TopLeft;
             titleLayout.Position2D = new Position2D(10, 10);
-            titleLayout.Size2D = new Size2D((int)(stage.Size.Width * 0.9f), (int)(stage.Size.Height * 0.9f));
+            titleLayout.Size2D = new Size2D((int)(window.Size.Width * 0.9f), (int)(window.Size.Height * 0.9f));
             titleLayout.SetCellPadding(new Size2D(10, 10));
             titleLayout.BackgroundColor = Color.Cyan;
-            stage.GetDefaultLayer().Add(titleLayout);
+            window.GetDefaultLayer().Add(titleLayout);
 
             _title = new TextLabel("Visual Transition Example");
             _title.Name = ("Title");
index 4efe3d812a440e33bba3a2fb8eca165e7d76fd8f..f2fef89aa272b430c9a60f8e503fed7bebe3f24f 100755 (executable)
@@ -56,20 +56,20 @@ namespace VisualViewTest
 
         public void Initialize()
         {
-            Stage stage = Stage.Instance;
+            Window window = Window.Instance;
 
             /* Create a visual view. */
             _visualView = new VisualView();
             _visualView.ParentOrigin = ParentOrigin.TopLeft;
             _visualView.AnchorPoint = AnchorPoint.TopLeft;
-            _visualView.Size = new Size(stage.Size.Width, stage.Size.Height, 0.0f);
+            _visualView.Size = new Size(window.Size.Width, window.Size.Height, 0.0f);
 
             /* color visual */
             ColorVisual colorVisualMap1 = new ColorVisual();
             colorVisualMap1.Color = Color.Green;
             _visualView.Background = colorVisualMap1.OutputVisualMap;
 
-            stage.GetDefaultLayer().Add(_visualView);
+            window.GetDefaultLayer().Add(_visualView);
 
             /* image visual 1. */
             imageVisualMap1 = new ImageVisual();
@@ -83,6 +83,7 @@ namespace VisualViewTest
             imageVisualMap1.Origin = Visual.AlignType.TopBegin;
             imageVisualMap1.AnchorPoint = Visual.AlignType.TopBegin;
             _visualView.AddVisual("imageVisual1", imageVisualMap1);
+            imageVisualMap1.URL = resources + "/images/image-3.jpg";
 
             /* image visual 2. */
             ImageVisual imageVisualMap2 = new ImageVisual();
index 76f459e9c134b46834095d5ccdca9d35ca865f13..42bb3be45b343fcc08fa77649a7bc6e2e84a0c73 100755 (executable)
@@ -40,7 +40,7 @@ namespace VisualViewTest2
                 view[i].Position = new Position(400 + i * 800, 600, 0);
                 view[i].Focusable = true;
                 view[i].Name = "MyView" + i;
-                Stage.Instance.GetDefaultLayer().Add(view[i]);
+                Window.Instance.GetDefaultLayer().Add(view[i]);
                 view[i].FocusGained += VisualSample_FocusGained;
                 view[i].FocusLost += VisualSample_FocusLost;
                 view[i].KeyEvent += VisualSample_KeyEvent;
@@ -135,11 +135,11 @@ namespace VisualViewTest2
             guide.Text = "Left/Right - Move focus\n" +
                 "Up/Down - Change Text\n" +
                 "Enter - Change BG image\n";
-            Stage.Instance.GetDefaultLayer().Add(guide);
+            Window.Instance.GetDefaultLayer().Add(guide);
 
-            Stage.Instance.Key += Instance_Key;
+            Window.Instance.KeyEvent += Instance_Key;
             FocusManager.Instance.SetCurrentFocusView(view[0]);
-            Stage.Instance.Touch += Instance_Touch;
+            Window.Instance.TouchEvent += Instance_Touch;
             _window = this.Window;
             _window.WindowFocusChanged += _window_WindowFocusChanged;
 
@@ -150,7 +150,7 @@ namespace VisualViewTest2
             Tizen.Log.Fatal("NUI", "window focus changed!() focus gained=" + e.FocusGained);
         }
 
-        private void Instance_Touch(object sender, Stage.TouchEventArgs e)
+        private void Instance_Touch(object sender, Window.TouchEventArgs e)
         {
             FocusManager.Instance.SetCurrentFocusView(view[0]);
         }
@@ -228,11 +228,11 @@ namespace VisualViewTest2
             return false;
         }
 
-        private void Instance_Key(object sender, Stage.KeyEventArgs e)
+        private void Instance_Key(object sender, Window.KeyEventArgs e)
         {
             View currentFocusView = FocusManager.Instance.GetCurrentFocusView();
 
-            Tizen.Log.Fatal("NUI", "Stage_KeyEvent" + e.Key.State.ToString() + ", Pressed-" + e.Key.KeyPressedName);
+            Tizen.Log.Fatal("NUI", "Window_KeyEvent" + e.Key.State.ToString() + ", Pressed-" + e.Key.KeyPressedName);
             //Tizen.Log.Fatal("NUI", " CurrentFocusView : " + currentFocusView.HasBody() + currentFocusView?.Name);
         }
 
index 12da7d002fc843dc9572ae8c4611680d16b6388e..83d58df43cfa28349de5772376196f6686eb9e71 100755 (executable)
@@ -54,20 +54,20 @@ namespace VisualViewTest3
 
         public void Initialize()
         {
-            Stage stage = Stage.Instance;
+            Window window = Window.Instance;
 
             /* Create a visual view. */
             _visualView = new VisualView();
             _visualView.ParentOrigin = ParentOrigin.TopLeft;
             _visualView.AnchorPoint = AnchorPoint.TopLeft;
-            _visualView.Size = new Size(stage.Size.Width, stage.Size.Height, 0.0f);
+            _visualView.Size = new Size(window.Size.Width, window.Size.Height, 0.0f);
 
             /* color visual */
             ColorVisual colorVisualMap1 = new ColorVisual();
             colorVisualMap1.Color = Color.Green;
             _visualView.Background = colorVisualMap1.OutputVisualMap;
 
-            stage.GetDefaultLayer().Add(_visualView);
+            window.GetDefaultLayer().Add(_visualView);
 
             /* image visual 1. No transform setting case. */
             imageVisualMap1 = new ImageVisual();
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-example.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/visuals-example.cs
new file mode 100755 (executable)
index 0000000..5252d28
--- /dev/null
@@ -0,0 +1,153 @@
+/*
+ * 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.
+ *
+ */
+
+using System;
+using Tizen.NUI;
+using Tizen.NUI.Constants;
+using Tizen.NUI.BaseComponents;
+
+namespace VisualsExampleTest
+{
+    class Example : NUIApplication
+    {
+        private TextLabel _title;
+        private const string resources = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+
+        public Example() : base()
+        {
+        }
+
+        public Example(string stylesheet) : base(stylesheet)
+        {
+        }
+
+        public Example(string stylesheet, WindowMode windowMode) : base(stylesheet, windowMode)
+        {
+        }
+
+        protected override void OnCreate()
+        {
+            base.OnCreate();
+            Initialize();
+        }
+
+        public void Initialize()
+        {
+            Window window = Window.Instance;
+            window.BackgroundColor = Color.White;
+
+            TableView contentLayout = new TableView(4, 1);
+            contentLayout.Name = ("ContentLayout");
+            contentLayout.WidthResizePolicy = ResizePolicyType.FillToParent;
+            contentLayout.HeightResizePolicy = ResizePolicyType.FillToParent;
+            //contentLayout.ParentOrigin = ParentOrigin.Center;
+            //contentLayout.AnchorPoint = AnchorPoint.Center;
+            // contentLayout.Size = new Size(window.Size.Width, window.Size.Height, 0.0f);
+
+            contentLayout.SetCellPadding(new Size2D(0, 5));
+            contentLayout.BackgroundColor = Color.Red;//new Color(0.949f, 0.949f, 0.949f, 1.0f);
+
+            window.GetDefaultLayer().Add(contentLayout);
+
+            _title = new TextLabel("Visuals Example");
+            _title.Name = "Title";
+            _title.StyleName = "Title";
+            _title.WidthResizePolicy = ResizePolicyType.FillToParent;
+            _title.HeightResizePolicy = ResizePolicyType.UseNaturalSize;
+            _title.HorizontalAlignment = HorizontalAlignment.Center;
+            _title.BackgroundColor = Color.Yellow;
+            contentLayout.Add(_title);
+            contentLayout.SetFitHeight(0);
+
+            // Color Visual example
+            ImageView colorView = new ImageView();
+            //colorView.WidthResizePolicy = ResizePolicyType.SizeRelativeToParent;
+            //colorView.HeightResizePolicy = ResizePolicyType.SizeRelativeToParent;
+            // PropertyMap colorVisual = new PropertyMap();
+            // colorVisual.Add( Visual.Property.Type, new PropertyValue( (int)Visual.Type.Color ))
+            //            .Add( ColorVisualProperty.MixColor, new PropertyValue( Color.Green ));
+            //colorView.Background = colorVisual;
+            colorView.Size = new Size(500.0f, 200.0f, 0.0f);
+            colorView.ResourceUrl = resources+"/images/00_popup_bg.9.png";
+            colorView.Border = new Rectangle(100, 100, 100, 100);
+           // colorView.
+            // PropertyMap _map = new PropertyMap();
+            // _map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.NPatch));
+            // _map.Add(NpatchImageVisualProperty.URL, new PropertyValue(resources+"/images/00_popup_bg.9.png"));
+            // _map.Add(NpatchImageVisualProperty.Border, new PropertyValue(new Rectangle(100, 100, 100, 100)));
+             //_map.Add(NpatchImageVisualProperty.BorderOnly, new PropertyValue(true));
+            //colorView.Background = _map;
+            contentLayout.Add(colorView);
+
+            // Image Visual example
+            View imageView = new View();
+            imageView.WidthResizePolicy = ResizePolicyType.UseNaturalSize;
+            imageView.HeightResizePolicy = ResizePolicyType.UseNaturalSize;
+            PropertyMap imageVisual = new PropertyMap();
+            imageVisual.Add( Visual.Property.Type, new PropertyValue( (int)Visual.Type.Image ));
+            imageVisual.Add(ImageVisualProperty.URL,  new PropertyValue( resources + "/images/gallery-0.jpg" ));
+            imageView.Background = imageVisual;
+            contentLayout.SetCellAlignment(new TableView.CellPosition(2, 0), HorizontalAlignmentType.Center, VerticalAlignmentType.Center);
+            contentLayout.Add(imageView);
+            for(int i =1; i<=5; i++)
+            {
+                PropertyMap imageVisual1 = new PropertyMap();
+                imageVisual1.Add( Visual.Property.Type, new PropertyValue( (int)Visual.Type.Image ));
+                imageVisual1.Add(ImageVisualProperty.URL,  new PropertyValue( resources + "/images/gallery-"+i+".jpg" ));
+                imageView.Background = imageVisual1;
+            }
+
+            // Primitive Visual example
+            View primitiveView = new View();
+            primitiveView.WidthResizePolicy = ResizePolicyType.SizeRelativeToParent;
+            primitiveView.HeightResizePolicy = ResizePolicyType.SizeRelativeToParent;
+            PropertyMap primitiveVisual = new PropertyMap();
+            primitiveVisual.Add( Visual.Property.Type, new PropertyValue( (int)Visual.Type.Primitive ))
+                           .Add( PrimitiveVisualProperty.Shape, new PropertyValue((int)PrimitiveVisualShapeType.BevelledCube))
+                           .Add( PrimitiveVisualProperty.BevelPercentage, new PropertyValue(0.3f))
+                           .Add( PrimitiveVisualProperty.BevelSmoothness, new PropertyValue(0.0f))
+                           .Add( PrimitiveVisualProperty.ScaleDimensions, new PropertyValue(new Vector3(1.0f,1.0f,0.3f)))
+                           .Add( PrimitiveVisualProperty.MixColor, new PropertyValue(new Vector4(0.7f, 0.5f, 0.05f, 1.0f)));
+            primitiveView.Background = primitiveVisual;
+            Radian rad = new Radian(new Degree(45.0f));
+            primitiveView.Orientation = new Rotation(rad, Vector3.YAxis);
+            contentLayout.Add(primitiveView);
+
+            // Text Visual example
+            View textView = new View();
+            textView.WidthResizePolicy = ResizePolicyType.SizeRelativeToParent;
+            textView.HeightResizePolicy = ResizePolicyType.SizeRelativeToParent;
+            PropertyMap textVisual = new PropertyMap();
+            textVisual.Add( Visual.Property.Type, new PropertyValue( (int)Visual.Type.Text ))
+                      .Add( TextVisualProperty.Text, new PropertyValue("I am text visual"))
+                      .Add( TextVisualProperty.TextColor, new PropertyValue(Color.Blue))
+                      .Add( TextVisualProperty.PointSize, new PropertyValue(20));
+            textView.Background = textVisual;
+            contentLayout.Add(textView);
+        }
+
+        /// <summary>
+        /// The main entry point for the application.
+        /// </summary>
+        [STAThread]
+        static void _Main(string[] args)
+        {
+            Example example = new Example( resources + "/json/style-example-theme-one.json");
+            example.Run(args);
+        }
+    }
+}
index cb5cdbf170d43797253d6162032dd2daedcbcc02..2d82fa985f05a5a20f6e96a29dca8278d382fd03 100755 (executable)
@@ -45,8 +45,8 @@ namespace VisualsUsingCustomView
 
         private void Initialize()
         {
-            Stage stage = Stage.Instance;
-            stage.BackgroundColor = Color.White;
+            Window window = Window.Instance;
+            window.BackgroundColor = Color.White;
 
             TableView contentLayout = new TableView(14, 1);
             contentLayout.Name = "ContentLayout";
@@ -54,11 +54,11 @@ namespace VisualsUsingCustomView
             //contentLayout.HeightResizePolicy = ResizePolicyType.FillToParent;
             contentLayout.AnchorPoint = AnchorPoint.Center;
             contentLayout.ParentOrigin = ParentOrigin.Center;
-            contentLayout.Size = new Vector3(stage.Size.Width, stage.Size.Height, 0.0f);
+            contentLayout.Size = new Vector3(window.Size.Width, window.Size.Height, 0.0f);
             contentLayout.SetCellPadding(new Size2D(5, 5));
             contentLayout.BackgroundColor = new Color(0.949f, 0.949f, 0.949f, 1.0f);
 
-            stage.GetDefaultLayer().Add(contentLayout);
+            window.GetDefaultLayer().Add(contentLayout);
 
             TextLabel title = new TextLabel("Contacts List with Visuals");
             title.Name = "Title";
index 7db6230a33ee41d46af645beb8724a6e7db8a828..460deb7c064c8760b98a13da459e7434d295db3f 100755 (executable)
@@ -40,7 +40,6 @@
     <Reference Include="Microsoft.CSharp" />\r
   </ItemGroup>\r
   <ItemGroup>\r
-    <Compile Include="ActorTest.cs" />\r
     <Compile Include="Properties\AssemblyInfo.cs" />\r
   </ItemGroup>\r
   <ItemGroup>\r
index 5f2ca991bbbbc7708c2f529fcfcbf19e63e4d701..a3f9582a71462e43d723498fed6d544405b9428c 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       csapi-nui
 Summary:    dali-NUI
-Version:    0.2.37
+Version:    0.2.38
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0 and BSD-3-Clause and MIT
index d6cbe22da7ac4d06df2f7f223d59417ddfcadc5e..244d3f7e79e56668835216c71919ebe37c502055 100755 (executable)
     <None Include="Tizen.NUI.project.json" />\r
   </ItemGroup>\r
   <ItemGroup>\r
-    <Compile Include="Properties\AssemblyInfo.cs" />\r
     <Compile Include="src\internal\AccessibilityActionSignal.cs" />\r
     <Compile Include="src\internal\AccessibilityFocusOvershotSignal.cs" />\r
     <Compile Include="src\internal\AccessibilityManager.cs" />\r
-    <Compile Include="src\internal\ActorContainer.cs" />\r
-    <Compile Include="src\internal\ActorHoverSignal.cs" />\r
-    <Compile Include="src\internal\ActorSignal.cs" />\r
-    <Compile Include="src\internal\ActorTouchDataSignal.cs" />\r
-    <Compile Include="src\internal\ActorWheelSignal.cs" />\r
     <Compile Include="src\internal\Alignment.cs" />\r
     <Compile Include="src\internal\AlignType.cs" />\r
     <Compile Include="src\internal\AngleAxis.cs" />\r
     <Compile Include="src\internal\AngleThresholdPair.cs" />\r
+    <Compile Include="src\internal\Animatable.cs" />\r
     <Compile Include="src\internal\AnimatablePropertyComponentRegistration.cs" />\r
     <Compile Include="src\internal\AnimatablePropertyRegistration.cs" />\r
     <Compile Include="src\internal\AnimationSignal.cs" />\r
@@ -74,7 +69,9 @@
     <Compile Include="src\internal\BlendModeType.cs" />\r
     <Compile Include="src\internal\BufferImage.cs" />\r
     <Compile Include="src\internal\Builder.cs" />\r
+    <Compile Include="src\internal\Button.cs" />\r
     <Compile Include="src\internal\ButtonSignal.cs" />\r
+    <Compile Include="src\internal\Camera.cs" />\r
     <Compile Include="src\internal\ChildPropertyRegistration.cs" />\r
     <Compile Include="src\internal\ClampState.cs" />\r
     <Compile Include="src\internal\ClampState2D.cs" />\r
     <Compile Include="src\internal\EventThreadCallback.cs" />\r
     <Compile Include="src\internal\FaceCullingModeType.cs" />\r
     <Compile Include="src\internal\FilterModeType.cs" />\r
-    <Compile Include="src\internal\FittingModeType.cs" />\r
     <Compile Include="src\internal\FixedRuler.cs" />\r
     <Compile Include="src\internal\floatp.cs" />\r
     <Compile Include="src\internal\FloatSignal.cs" />\r
     <Compile Include="src\internal\GaussianBlurViewSignal.cs" />\r
     <Compile Include="src\internal\Geometry.cs" />\r
     <Compile Include="src\internal\GestureDetector.cs" />\r
-    <Compile Include="src\internal\GradientVisualSpreadMethodType.cs" />\r
-    <Compile Include="src\internal\GradientVisualUnitsType.cs" />\r
-    <Compile Include="src\internal\Handle.cs" />\r
+    <Compile Include="src\internal\HoverSignal.cs" />\r
     <Compile Include="src\internal\Image.cs" />\r
     <Compile Include="src\internal\ImageSignal.cs" />\r
     <Compile Include="src\internal\intp.cs" />\r
     <Compile Include="src\internal\ManualPINVOKE.cs" />\r
     <Compile Include="src\internal\Matrix.cs" />\r
     <Compile Include="src\internal\Matrix3.cs" />\r
-    <Compile Include="src\internal\MeshVisualShadingModeValue.cs" />\r
     <Compile Include="src\internal\Meta.cs" />\r
     <Compile Include="src\internal\Model3dView.cs" />\r
     <Compile Include="src\internal\NativeImage.cs" />\r
     <Compile Include="src\internal\NDalic.cs" />\r
     <Compile Include="src\internal\NDalicPINVOKE.cs" />\r
     <Compile Include="src\internal\NinePatchImage.cs" />\r
+    <Compile Include="src\internal\Object.cs" />\r
     <Compile Include="src\internal\ObjectCreatedSignal.cs" />\r
     <Compile Include="src\internal\ObjectDestroyedSignal.cs" />\r
     <Compile Include="src\internal\ObjectRegistry.cs" />\r
     <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\Popup.cs" />\r
     <Compile Include="src\internal\PositionInheritanceMode.cs" />\r
-    <Compile Include="src\internal\PrimitiveVisualShapeType.cs" />\r
+    <Compile Include="src\internal\ProgressBar.cs" />\r
     <Compile Include="src\internal\ProgressBarValueChangedSignal.cs" />\r
     <Compile Include="src\internal\PropertyBuffer.cs" />\r
     <Compile Include="src\internal\PropertyCondition.cs" />\r
     <Compile Include="src\internal\PropertyRangeManager.cs" />\r
     <Compile Include="src\internal\PropertyRanges.cs" />\r
     <Compile Include="src\internal\PropertyRegistration.cs" />\r
+    <Compile Include="src\internal\RadioButton.cs" />\r
     <Compile Include="src\internal\RefObject.cs" />\r
     <Compile Include="src\internal\RenderBufferFormat.cs" />\r
     <Compile Include="src\internal\Renderer.cs" />\r
     <Compile Include="src\internal\RulerDomain.cs" />\r
     <Compile Include="src\internal\RulerPtr.cs" />\r
     <Compile Include="src\internal\Sampler.cs" />\r
-    <Compile Include="src\internal\SamplingModeType.cs" />\r
     <Compile Include="src\internal\Scrollable.cs" />\r
     <Compile Include="src\internal\ScrollableSignal.cs" />\r
     <Compile Include="src\internal\ScrollView.cs" />\r
     <Compile Include="src\internal\Shader.cs" />\r
     <Compile Include="src\internal\SignalConnectorType.cs" />\r
     <Compile Include="src\internal\SignalObserver.cs" />\r
+    <Compile Include="src\internal\Size.cs" />\r
+    <Compile Include="src\internal\Slider.cs" />\r
     <Compile Include="src\internal\SliderMarkReachedSignal.cs" />\r
     <Compile Include="src\internal\SliderValueChangedSignal.cs" />\r
     <Compile Include="src\internal\SlotObserver.cs" />\r
     <Compile Include="src\internal\ToggleButton.cs" />\r
     <Compile Include="src\internal\ToolkitPropertyRange.cs" />\r
     <Compile Include="src\internal\TooltipPositionType.cs" />\r
+    <Compile Include="src\internal\TouchDataSignal.cs" />\r
     <Compile Include="src\internal\TouchPoint.cs" />\r
     <Compile Include="src\internal\TouchPointContainer.cs" />\r
     <Compile Include="src\internal\TouchSignal.cs" />\r
     <Compile Include="src\internal\VectorUint16Pair.cs" />\r
     <Compile Include="src\internal\VectorUnsignedChar.cs" />\r
     <Compile Include="src\internal\VideoViewSignal.cs" />\r
+    <Compile Include="src\internal\ViewContainer.cs" />\r
     <Compile Include="src\internal\ViewImpl.cs" />\r
     <Compile Include="src\internal\ViewMode.cs" />\r
     <Compile Include="src\internal\ViewRegistry.cs" />\r
+    <Compile Include="src\internal\ViewResourceReadySignal.cs" />\r
+    <Compile Include="src\internal\ViewSignal.cs" />\r
+    <Compile Include="src\internal\ViewVisibilityChangedSignal.cs" />\r
     <Compile Include="src\internal\ViewWrapper.cs" />\r
     <Compile Include="src\internal\ViewWrapperImpl.cs" />\r
     <Compile Include="src\internal\VisibilityChangeType.cs" />\r
-    <Compile Include="src\internal\VisualTransformPolicyType.cs" />\r
-    <Compile Include="src\internal\VisualTransformPropertyType.cs" />\r
     <Compile Include="src\internal\VisualType.cs" />\r
+    <Compile Include="src\internal\WheelSignal.cs" />\r
     <Compile Include="src\internal\WindowFocusSignalType.cs" />\r
     <Compile Include="src\internal\VoidSignal.cs" />\r
-    <Compile Include="src\internal\WrapModeType.cs" />\r
-    <Compile Include="src\public\Actor.cs" />\r
     <Compile Include="src\public\AlphaFunction.cs" />\r
     <Compile Include="src\public\Animation.cs" />\r
-    <Compile Include="src\public\CameraActor.cs" />\r
     <Compile Include="src\public\Color.cs" />\r
     <Compile Include="src\public\CustomView\Spin.cs" />\r
     <Compile Include="src\public\Degree.cs" />\r
     <Compile Include="src\public\RelativeVector4.cs" />\r
     <Compile Include="src\public\RelayoutContainer.cs" />\r
     <Compile Include="src\public\Rotation.cs" />\r
-    <Compile Include="src\public\Size.cs" />\r
     <Compile Include="src\public\Size2D.cs" />\r
-    <Compile Include="src\public\Stage.cs" />\r
     <Compile Include="src\public\StyleManager.cs" />\r
     <Compile Include="src\public\TableView.cs" />\r
     <Compile Include="src\public\TapGesture.cs" />\r
     <Compile Include="src\public\BaseComponents\View.cs" />\r
     <Compile Include="src\public\BaseComponents\CustomView.cs" />\r
     <Compile Include="src\public\BaseComponents\VisualView.cs" />\r
-    <Compile Include="src\public\UIComponents\Button.cs" />\r
     <Compile Include="src\public\UIComponents\CheckBoxButton.cs" />\r
-    <Compile Include="src\public\UIComponents\Popup.cs" />\r
-    <Compile Include="src\public\UIComponents\ProgressBar.cs" />\r
     <Compile Include="src\public\UIComponents\PushButton.cs" />\r
-    <Compile Include="src\public\UIComponents\RadioButton.cs" />\r
     <Compile Include="src\public\UIComponents\ScrollBar.cs" />\r
-    <Compile Include="src\public\UIComponents\Slider.cs" />\r
     <Compile Include="src\public\Vector2.cs" />\r
     <Compile Include="src\public\Vector3.cs" />\r
     <Compile Include="src\public\Vector4.cs" />\r
index 38fd52846dba1fc2a3393ed0e8bcf904dd3277bd..55652bd7ab48c87e358f1a6acc657b4e4fc35b7c 100755 (executable)
@@ -28,7 +28,7 @@ internal class AccessibilityActionSignal : global::System.IDisposable {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 7571e6be46f8514c30bfac860a34c9ffef50e234..d42b2ebe8d104cd568912afb6095bd2451282ed0 100755 (executable)
@@ -9,8 +9,8 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
-internal class AccessibilityFocusOvershotSignal : global::System.IDisposable {
+    using Tizen.NUI.BaseComponents;\r
+    internal class AccessibilityFocusOvershotSignal : global::System.IDisposable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
   protected bool swigCMemOwn;
 
@@ -28,7 +28,7 @@ internal class AccessibilityFocusOvershotSignal : global::System.IDisposable {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -74,8 +74,8 @@ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForD
     }
   }
 
-  public void Emit(Actor arg1, AccessibilityManager.FocusOvershotDirection arg2) {
-    NDalicPINVOKE.AccessibilityFocusOvershotSignal_Emit(swigCPtr, Actor.getCPtr(arg1), (int)arg2);
+  public void Emit(View arg1, AccessibilityManager.FocusOvershotDirection arg2) {
+    NDalicPINVOKE.AccessibilityFocusOvershotSignal_Emit(swigCPtr, View.getCPtr(arg1), (int)arg2);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index 9b95020a2d6e31226468c44e4e96c3f44aaacfa6..076d3365c3ec8b9c51c385739f7ff9b7976335d2 100755 (executable)
@@ -12,6 +12,7 @@ namespace Tizen.NUI {
 
     using System;
     using System.Runtime.InteropServices;
+    using Tizen.NUI.BaseComponents;
 
 internal class AccessibilityManager : BaseHandle {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
@@ -25,7 +26,7 @@ internal class AccessibilityManager : BaseHandle {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -43,9 +44,6 @@ internal class AccessibilityManager : BaseHandle {
     }
   }
 
-
-
-
     /**
       * @brief Event arguments that passed via StatusChanged signal
       *
@@ -635,52 +633,52 @@ internal class AccessibilityManager : BaseHandle {
       */
     public class FocusChangedEventArgs : EventArgs
     {
-      private Actor _actorCurrent;
-      private Actor _actorNext;
+      private View _viewCurrent;
+      private View _viewNext;
 
-      public Actor ActorCurrent
-      {
+      public View ViewCurrent
+            {
         get
         {
-          return _actorCurrent;
+          return _viewCurrent;
         }
         set
         {
-          _actorCurrent = value;
+          _viewCurrent = value;
         }
       }
 
-      public Actor ActorNext
-      {
+      public View ViewNext
+            {
         get
         {
-          return _actorNext;
+          return _viewNext;
         }
         set
         {
-          _actorNext = value;
+          _viewNext = value;
         }
       }
     }
 
     /**
-      * @brief Event arguments that passed via FocusedActorActivated signal
+      * @brief Event arguments that passed via FocusedViewActivated signal
       *
       */
-    public class FocusedActorActivatedEventArgs : EventArgs
+    public class FocusedViewActivatedEventArgs : EventArgs
     {
-      private Actor _actor;
+      private View _view;
 
 
-      public Actor Actor
-      {
+      public View View
+            {
         get
         {
-          return _actor;
+          return _view;
         }
         set
         {
-          _actor = value;
+          _view = value;
         }
       }
     }
@@ -691,18 +689,18 @@ internal class AccessibilityManager : BaseHandle {
       */
     public class FocusOvershotEventArgs : EventArgs
     {
-      private Actor _currentFocusedActor;
+      private View _currentFocusedView;
       private AccessibilityManager.FocusOvershotDirection _focusOvershotDirection;
 
-      public Actor CurrentFocusedActor
-      {
+      public View CurrentFocusedView
+            {
         get
         {
-          return _currentFocusedActor;
+          return _currentFocusedView;
         }
         set
         {
-          _currentFocusedActor = value;
+          _currentFocusedView = value;
         }
       }
 
@@ -859,17 +857,17 @@ internal class AccessibilityManager : BaseHandle {
 */
 
     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
-    private delegate void FocusChangedEventCallbackDelegate(IntPtr actor1, IntPtr actor2);
+    private delegate void FocusChangedEventCallbackDelegate(IntPtr view1, IntPtr view2);
     private DaliEventHandler<object,FocusChangedEventArgs> _accessibilityManagerFocusChangedEventHandler;
     private FocusChangedEventCallbackDelegate _accessibilityManagerFocusChangedEventCallbackDelegate;
 
     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
-    private delegate void FocusedActorActivatedEventCallbackDelegate(IntPtr actor);
-    private DaliEventHandler<object,FocusedActorActivatedEventArgs> _accessibilityManagerFocusedActorActivatedEventHandler;
-    private FocusedActorActivatedEventCallbackDelegate _accessibilityManagerFocusedActorActivatedEventCallbackDelegate;
+    private delegate void FocusedViewActivatedEventCallbackDelegate(IntPtr view);
+    private DaliEventHandler<object, FocusedViewActivatedEventArgs> _accessibilityManagerFocusedViewActivatedEventHandler;
+    private FocusedViewActivatedEventCallbackDelegate _accessibilityManagerFocusedViewActivatedEventCallbackDelegate;
 
     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
-    private delegate void FocusOvershotEventCallbackDelegate(IntPtr currentFocusedActor, AccessibilityManager.FocusOvershotDirection direction);
+    private delegate void FocusOvershotEventCallbackDelegate(IntPtr currentFocusedView, AccessibilityManager.FocusOvershotDirection direction);
     private DaliEventHandler<object,FocusOvershotEventArgs> _accessibilityManagerFocusOvershotEventHandler;
     private FocusOvershotEventCallbackDelegate _accessibilityManagerFocusOvershotEventCallbackDelegate;
 
@@ -2182,13 +2180,13 @@ internal class AccessibilityManager : BaseHandle {
     }
 
     // Callback for AccessibilityManager FocusChangedSignal
-    private void OnFocusChanged(IntPtr actor1, IntPtr actor2)
+    private void OnFocusChanged(IntPtr view1, IntPtr view2)
     {
       FocusChangedEventArgs e = new FocusChangedEventArgs();
 
       // Populate all members of "e" (FocusChangedEventArgs) with real data
-      e.ActorCurrent = Actor.GetActorFromPtr(actor1);
-      e.ActorNext = Actor.GetActorFromPtr(actor2);
+      e.ViewCurrent = View.GetViewFromPtr(view1);
+      e.ViewNext = View.GetViewFromPtr(view2);
 
       if (_accessibilityManagerFocusChangedEventHandler != null)
       {
@@ -2197,19 +2195,19 @@ internal class AccessibilityManager : BaseHandle {
       }
     }
 
-    public event DaliEventHandler<object,FocusedActorActivatedEventArgs> FocusedActorActivated
+    public event DaliEventHandler<object, FocusedViewActivatedEventArgs> FocusedViewActivated
     {
       add
       {
         lock(this)
         {
           // Restricted to only one listener
-          if (_accessibilityManagerFocusedActorActivatedEventHandler == null)
+          if (_accessibilityManagerFocusedViewActivatedEventHandler == null)
           {
-            _accessibilityManagerFocusedActorActivatedEventHandler += value;
+            _accessibilityManagerFocusedViewActivatedEventHandler += value;
 
-            _accessibilityManagerFocusedActorActivatedEventCallbackDelegate = new FocusedActorActivatedEventCallbackDelegate(OnFocusedActorActivated);
-            this.FocusedActorActivatedSignal().Connect(_accessibilityManagerFocusedActorActivatedEventCallbackDelegate);
+            _accessibilityManagerFocusedViewActivatedEventCallbackDelegate = new FocusedViewActivatedEventCallbackDelegate(OnFocusedViewActivated);
+            this.FocusedViewActivatedSignal().Connect(_accessibilityManagerFocusedViewActivatedEventCallbackDelegate);
           }
         }
       }
@@ -2218,28 +2216,28 @@ internal class AccessibilityManager : BaseHandle {
       {
         lock(this)
         {
-          if (_accessibilityManagerFocusedActorActivatedEventHandler != null)
+          if (_accessibilityManagerFocusedViewActivatedEventHandler != null)
           {
-            this.FocusedActorActivatedSignal().Disconnect(_accessibilityManagerFocusedActorActivatedEventCallbackDelegate);
+            this.FocusedViewActivatedSignal().Disconnect(_accessibilityManagerFocusedViewActivatedEventCallbackDelegate);
           }
 
-          _accessibilityManagerFocusedActorActivatedEventHandler -= value;
+          _accessibilityManagerFocusedViewActivatedEventHandler -= value;
         }
       }
     }
 
-    // Callback for AccessibilityManager FocusedActorActivatedSignal
-    private void OnFocusedActorActivated(IntPtr actor)
+    // Callback for AccessibilityManager FocusedViewActivatedSignal
+    private void OnFocusedViewActivated(IntPtr view)
     {
-      FocusedActorActivatedEventArgs e = new FocusedActorActivatedEventArgs();
+      FocusedViewActivatedEventArgs e = new FocusedViewActivatedEventArgs();
 
-      // Populate all members of "e" (FocusedActorActivatedEventArgs) with real data
-      e.Actor = Actor.GetActorFromPtr(actor);
+      // Populate all members of "e" (FocusedViewActivatedEventArgs) with real data
+      e.View = View.GetViewFromPtr(view);
 
-      if (_accessibilityManagerFocusedActorActivatedEventHandler != null)
+      if (_accessibilityManagerFocusedViewActivatedEventHandler != null)
       {
         //here we send all data to user event handlers
-        _accessibilityManagerFocusedActorActivatedEventHandler(this, e);
+        _accessibilityManagerFocusedViewActivatedEventHandler(this, e);
       }
     }
 
@@ -2276,12 +2274,12 @@ internal class AccessibilityManager : BaseHandle {
     }
 
     // Callback for AccessibilityManager FocusOvershotSignal
-    private void OnFocusOvershot(IntPtr currentFocusedActor, AccessibilityManager.FocusOvershotDirection direction)
+    private void OnFocusOvershot(IntPtr currentFocusedView, AccessibilityManager.FocusOvershotDirection direction)
     {
       FocusOvershotEventArgs e = new FocusOvershotEventArgs();
 
       // Populate all members of "e" (FocusOvershotEventArgs) with real data
-      e.CurrentFocusedActor = Actor.GetActorFromPtr(currentFocusedActor);
+      e.CurrentFocusedView = View.GetViewFromPtr(currentFocusedView);
       e.FocusOvershotDirection = direction;
 
       if (_accessibilityManagerFocusOvershotEventHandler != null)
@@ -2298,7 +2296,7 @@ internal class AccessibilityManager : BaseHandle {
       return ret;
     }
 
-    
+
   public AccessibilityManager() : this(NDalicPINVOKE.new_AccessibilityManager(), true) {
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
@@ -2309,24 +2307,24 @@ internal class AccessibilityManager : BaseHandle {
     return ret;
   }
 
-  public void SetAccessibilityAttribute(Actor actor, AccessibilityManager.AccessibilityAttribute type, string text) {
-    NDalicPINVOKE.AccessibilityManager_SetAccessibilityAttribute(swigCPtr, Actor.getCPtr(actor), (int)type, text);
+  public void SetAccessibilityAttribute(View view, AccessibilityManager.AccessibilityAttribute type, string text) {
+    NDalicPINVOKE.AccessibilityManager_SetAccessibilityAttribute(swigCPtr, View.getCPtr(view), (int)type, text);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public string GetAccessibilityAttribute(Actor actor, AccessibilityManager.AccessibilityAttribute type) {
-    string ret = NDalicPINVOKE.AccessibilityManager_GetAccessibilityAttribute(swigCPtr, Actor.getCPtr(actor), (int)type);
+  public string GetAccessibilityAttribute(View view, AccessibilityManager.AccessibilityAttribute type) {
+    string ret = NDalicPINVOKE.AccessibilityManager_GetAccessibilityAttribute(swigCPtr, View.getCPtr(view), (int)type);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public void SetFocusOrder(Actor actor, uint order) {
-    NDalicPINVOKE.AccessibilityManager_SetFocusOrder(swigCPtr, Actor.getCPtr(actor), order);
+  public void SetFocusOrder(View view, uint order) {
+    NDalicPINVOKE.AccessibilityManager_SetFocusOrder(swigCPtr, View.getCPtr(view), order);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public uint GetFocusOrder(Actor actor) {
-    uint ret = NDalicPINVOKE.AccessibilityManager_GetFocusOrder(swigCPtr, Actor.getCPtr(actor));
+  public uint GetFocusOrder(View view) {
+    uint ret = NDalicPINVOKE.AccessibilityManager_GetFocusOrder(swigCPtr, View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
@@ -2337,26 +2335,26 @@ internal class AccessibilityManager : BaseHandle {
     return ret;
   }
 
-  public Actor GetActorByFocusOrder(uint order) {
-    Actor ret = new Actor(NDalicPINVOKE.AccessibilityManager_GetActorByFocusOrder(swigCPtr, order), true);
+  public View GetViewByFocusOrder(uint order) {
+    View ret = new View(NDalicPINVOKE.AccessibilityManager_GetActorByFocusOrder(swigCPtr, order), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public bool SetCurrentFocusActor(Actor actor) {
-    bool ret = NDalicPINVOKE.AccessibilityManager_SetCurrentFocusActor(swigCPtr, Actor.getCPtr(actor));
+  public bool SetCurrentFocusView(View view) {
+    bool ret = NDalicPINVOKE.AccessibilityManager_SetCurrentFocusActor(swigCPtr, View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public Actor GetCurrentFocusActor() {
-    Actor ret = new Actor(NDalicPINVOKE.AccessibilityManager_GetCurrentFocusActor(swigCPtr), true);
+  public View GetCurrentFocusView() {
+    View ret = new View(NDalicPINVOKE.AccessibilityManager_GetCurrentFocusActor(swigCPtr), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public Actor GetCurrentFocusGroup() {
-    Actor ret = new Actor(NDalicPINVOKE.AccessibilityManager_GetCurrentFocusGroup(swigCPtr), true);
+  public View GetCurrentFocusGroup() {
+    View ret = new View(NDalicPINVOKE.AccessibilityManager_GetCurrentFocusGroup(swigCPtr), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
@@ -2389,13 +2387,13 @@ internal class AccessibilityManager : BaseHandle {
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public void SetFocusGroup(Actor actor, bool isFocusGroup) {
-    NDalicPINVOKE.AccessibilityManager_SetFocusGroup(swigCPtr, Actor.getCPtr(actor), isFocusGroup);
+  public void SetFocusGroup(View view, bool isFocusGroup) {
+    NDalicPINVOKE.AccessibilityManager_SetFocusGroup(swigCPtr, View.getCPtr(view), isFocusGroup);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public bool IsFocusGroup(Actor actor) {
-    bool ret = NDalicPINVOKE.AccessibilityManager_IsFocusGroup(swigCPtr, Actor.getCPtr(actor));
+  public bool IsFocusGroup(View view) {
+    bool ret = NDalicPINVOKE.AccessibilityManager_IsFocusGroup(swigCPtr, View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
@@ -2422,19 +2420,19 @@ internal class AccessibilityManager : BaseHandle {
     return ret;
   }
 
-  public void SetFocusIndicatorActor(Actor indicator) {
-    NDalicPINVOKE.AccessibilityManager_SetFocusIndicatorActor(swigCPtr, Actor.getCPtr(indicator));
+  public void SetFocusIndicatorView(View indicator) {
+    NDalicPINVOKE.AccessibilityManager_SetFocusIndicatorActor(swigCPtr, View.getCPtr(indicator));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public Actor GetFocusIndicatorActor() {
-    Actor ret = new Actor(NDalicPINVOKE.AccessibilityManager_GetFocusIndicatorActor(swigCPtr), true);
+  public View GetFocusIndicatorView() {
+    View ret = new View(NDalicPINVOKE.AccessibilityManager_GetFocusIndicatorActor(swigCPtr), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public Actor GetFocusGroup(Actor actor) {
-    Actor ret = new Actor(NDalicPINVOKE.AccessibilityManager_GetFocusGroup(swigCPtr, Actor.getCPtr(actor)), true);
+  public View GetFocusGroup(View view) {
+            View ret = new View(NDalicPINVOKE.AccessibilityManager_GetFocusGroup(swigCPtr, View.getCPtr(view)), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
@@ -2457,8 +2455,8 @@ internal class AccessibilityManager : BaseHandle {
     return ret;
   }
 
-  public ActorSignal FocusedActorActivatedSignal() {
-    ActorSignal ret = new ActorSignal(NDalicPINVOKE.AccessibilityManager_FocusedActorActivatedSignal(swigCPtr), false);
+  public ViewSignal FocusedViewActivatedSignal() {
+    ViewSignal ret = new ViewSignal(NDalicPINVOKE.AccessibilityManager_FocusedActorActivatedSignal(swigCPtr), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
diff --git a/src/Tizen.NUI/src/internal/ActorContainer.cs b/src/Tizen.NUI/src/internal/ActorContainer.cs
deleted file mode 100755 (executable)
index 524a943..0000000
+++ /dev/null
@@ -1,321 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 ActorContainer : global::System.IDisposable, global::System.Collections.IEnumerable
-    , global::System.Collections.Generic.IEnumerable<Actor>
- {
-  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-  protected bool swigCMemOwn;
-
-  internal ActorContainer(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(ActorContainer obj) {
-    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
-  }
-
-  ~ActorContainer() {
-    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_ActorContainer(swigCPtr);
-        }
-        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-      }
-      global::System.GC.SuppressFinalize(this);
-    }
-  }
-
-
-  public ActorContainer(global::System.Collections.ICollection c) : this() {
-    if (c == null)
-      throw new global::System.ArgumentNullException("c");
-    foreach (Actor element in c) {
-      this.Add(element);
-    }
-  }
-
-  public bool IsFixedSize {
-    get {
-      return false;
-    }
-  }
-
-  public bool IsReadOnly {
-    get {
-      return false;
-    }
-  }
-
-  public Actor this[int index]  {
-    get {
-      return getitem(index);
-    }
-    set {
-      setitem(index, value);
-    }
-  }
-
-  public int Capacity {
-    get {
-      return (int)capacity();
-    }
-    set {
-      if (value < size())
-        throw new global::System.ArgumentOutOfRangeException("Capacity");
-      reserve((uint)value);
-    }
-  }
-
-  public int Count {
-    get {
-      return (int)size();
-    }
-  }
-
-  public bool IsSynchronized {
-    get {
-      return false;
-    }
-  }
-
-  public void CopyTo(Actor[] array)
-  {
-    CopyTo(0, array, 0, this.Count);
-  }
-
-  public void CopyTo(Actor[] array, int arrayIndex)
-  {
-    CopyTo(0, array, arrayIndex, this.Count);
-  }
-
-  public void CopyTo(int index, Actor[] array, int arrayIndex, int count)
-  {
-    if (array == null)
-      throw new global::System.ArgumentNullException("array");
-    if (index < 0)
-      throw new global::System.ArgumentOutOfRangeException("index", "Value is less than zero");
-    if (arrayIndex < 0)
-      throw new global::System.ArgumentOutOfRangeException("arrayIndex", "Value is less than zero");
-    if (count < 0)
-      throw new global::System.ArgumentOutOfRangeException("count", "Value is less than zero");
-    if (array.Rank > 1)
-      throw new global::System.ArgumentException("Multi dimensional array.", "array");
-    if (index+count > this.Count || arrayIndex+count > array.Length)
-      throw new global::System.ArgumentException("Number of elements to copy is too large.");
-    for (int i=0; i<count; i++)
-      array.SetValue(getitemcopy(index+i), arrayIndex+i);
-  }
-
-  global::System.Collections.Generic.IEnumerator<Actor> global::System.Collections.Generic.IEnumerable<Actor>.GetEnumerator() {
-    return new ActorContainerEnumerator(this);
-  }
-
-  global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() {
-    return new ActorContainerEnumerator(this);
-  }
-
-  public ActorContainerEnumerator GetEnumerator() {
-    return new ActorContainerEnumerator(this);
-  }
-
-  // Type-safe enumerator
-  /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown
-  /// whenever the collection is modified. This has been done for changes in the size of the
-  /// collection but not when one of the elements of the collection is modified as it is a bit
-  /// tricky to detect unmanaged code that modifies the collection under our feet.
-  public sealed class ActorContainerEnumerator : global::System.Collections.IEnumerator
-    , global::System.Collections.Generic.IEnumerator<Actor>
-  {
-    private ActorContainer collectionRef;
-    private int currentIndex;
-    private object currentObject;
-    private int currentSize;
-
-    public ActorContainerEnumerator(ActorContainer collection) {
-      collectionRef = collection;
-      currentIndex = -1;
-      currentObject = null;
-      currentSize = collectionRef.Count;
-    }
-
-    // Type-safe iterator Current
-    public Actor Current {
-      get {
-        if (currentIndex == -1)
-          throw new global::System.InvalidOperationException("Enumeration not started.");
-        if (currentIndex > currentSize - 1)
-          throw new global::System.InvalidOperationException("Enumeration finished.");
-        if (currentObject == null)
-          throw new global::System.InvalidOperationException("Collection modified.");
-        return (Actor)currentObject;
-      }
-    }
-
-    // Type-unsafe IEnumerator.Current
-    object global::System.Collections.IEnumerator.Current {
-      get {
-        return Current;
-      }
-    }
-
-    public bool MoveNext() {
-      int size = collectionRef.Count;
-      bool moveOkay = (currentIndex+1 < size) && (size == currentSize);
-      if (moveOkay) {
-        currentIndex++;
-        currentObject = collectionRef[currentIndex];
-      } else {
-        currentObject = null;
-      }
-      return moveOkay;
-    }
-
-    public void Reset() {
-      currentIndex = -1;
-      currentObject = null;
-      if (collectionRef.Count != currentSize) {
-        throw new global::System.InvalidOperationException("Collection modified.");
-      }
-    }
-
-    public void Dispose() {
-        currentIndex = -1;
-        currentObject = null;
-    }
-  }
-
-  public void Clear() {
-    NDalicPINVOKE.ActorContainer_Clear(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public void Add(Actor x) {
-    NDalicPINVOKE.ActorContainer_Add(swigCPtr, Actor.getCPtr(x));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  private uint size() {
-    uint ret = NDalicPINVOKE.ActorContainer_size(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  private uint capacity() {
-    uint ret = NDalicPINVOKE.ActorContainer_capacity(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  private void reserve(uint n) {
-    NDalicPINVOKE.ActorContainer_reserve(swigCPtr, n);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public ActorContainer() : this(NDalicPINVOKE.new_ActorContainer__SWIG_0(), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public ActorContainer(ActorContainer other) : this(NDalicPINVOKE.new_ActorContainer__SWIG_1(ActorContainer.getCPtr(other)), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public ActorContainer(int capacity) : this(NDalicPINVOKE.new_ActorContainer__SWIG_2(capacity), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  private Actor getitemcopy(int index) {
-    Actor ret = new Actor(NDalicPINVOKE.ActorContainer_getitemcopy(swigCPtr, index), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  private Actor getitem(int index) {
-    Actor ret = new Actor(NDalicPINVOKE.ActorContainer_getitem(swigCPtr, index), false);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  private void setitem(int index, Actor val) {
-    NDalicPINVOKE.ActorContainer_setitem(swigCPtr, index, Actor.getCPtr(val));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public void AddRange(ActorContainer values) {
-    NDalicPINVOKE.ActorContainer_AddRange(swigCPtr, ActorContainer.getCPtr(values));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public ActorContainer GetRange(int index, int count) {
-    global::System.IntPtr cPtr = NDalicPINVOKE.ActorContainer_GetRange(swigCPtr, index, count);
-    ActorContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new ActorContainer(cPtr, true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public void Insert(int index, Actor x) {
-    NDalicPINVOKE.ActorContainer_Insert(swigCPtr, index, Actor.getCPtr(x));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public void InsertRange(int index, ActorContainer values) {
-    NDalicPINVOKE.ActorContainer_InsertRange(swigCPtr, index, ActorContainer.getCPtr(values));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public void RemoveAt(int index) {
-    NDalicPINVOKE.ActorContainer_RemoveAt(swigCPtr, index);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public void RemoveRange(int index, int count) {
-    NDalicPINVOKE.ActorContainer_RemoveRange(swigCPtr, index, count);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public static ActorContainer Repeat(Actor value, int count) {
-    global::System.IntPtr cPtr = NDalicPINVOKE.ActorContainer_Repeat(Actor.getCPtr(value), count);
-    ActorContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new ActorContainer(cPtr, true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public void Reverse() {
-    NDalicPINVOKE.ActorContainer_Reverse__SWIG_0(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public void Reverse(int index, int count) {
-    NDalicPINVOKE.ActorContainer_Reverse__SWIG_1(swigCPtr, index, count);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public void SetRange(int index, ActorContainer values) {
-    NDalicPINVOKE.ActorContainer_SetRange(swigCPtr, index, ActorContainer.getCPtr(values));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-}
-
-}
diff --git a/src/Tizen.NUI/src/internal/ActorHoverSignal.cs b/src/Tizen.NUI/src/internal/ActorHoverSignal.cs
deleted file mode 100755 (executable)
index d5091a3..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 ActorHoverSignal : global::System.IDisposable {
-  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-  protected bool swigCMemOwn;
-
-  internal ActorHoverSignal(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(ActorHoverSignal obj) {
-    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
-  }
-
-  ~ActorHoverSignal() {
-    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_ActorHoverSignal(swigCPtr);
-        }
-        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-      }
-      global::System.GC.SuppressFinalize(this);
-    }
-  }
-
-
-  public bool Empty() {
-    bool ret = NDalicPINVOKE.ActorHoverSignal_Empty(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public uint GetConnectionCount() {
-    uint ret = NDalicPINVOKE.ActorHoverSignal_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.ActorHoverSignal_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.ActorHoverSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-  }
-
-  public bool Emit(Actor arg1, Hover arg2) {
-    bool ret = NDalicPINVOKE.ActorHoverSignal_Emit(swigCPtr, Actor.getCPtr(arg1), Hover.getCPtr(arg2));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public ActorHoverSignal() : this(NDalicPINVOKE.new_ActorHoverSignal(), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-}
-
-}
diff --git a/src/Tizen.NUI/src/internal/ActorSignal.cs b/src/Tizen.NUI/src/internal/ActorSignal.cs
deleted file mode 100755 (executable)
index 3720a95..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 ActorSignal : global::System.IDisposable {
-  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-  protected bool swigCMemOwn;
-
-  internal ActorSignal(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(ActorSignal obj) {
-    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
-  }
-
-  ~ActorSignal() {
-    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_ActorSignal(swigCPtr);
-        }
-        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-      }
-      global::System.GC.SuppressFinalize(this);
-    }
-  }
-
-
-  public bool Empty() {
-    bool ret = NDalicPINVOKE.ActorSignal_Empty(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public uint GetConnectionCount() {
-    uint ret = NDalicPINVOKE.ActorSignal_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.ActorSignal_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.ActorSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-  }
-
-  public void Emit(Actor arg) {
-    NDalicPINVOKE.ActorSignal_Emit(swigCPtr, Actor.getCPtr(arg));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public ActorSignal() : this(NDalicPINVOKE.new_ActorSignal(), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-}
-
-}
diff --git a/src/Tizen.NUI/src/internal/ActorTouchDataSignal.cs b/src/Tizen.NUI/src/internal/ActorTouchDataSignal.cs
deleted file mode 100755 (executable)
index d3b6fb4..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 ActorTouchDataSignal : global::System.IDisposable {
-  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-  protected bool swigCMemOwn;
-
-  internal ActorTouchDataSignal(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(ActorTouchDataSignal obj) {
-    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
-  }
-
-  ~ActorTouchDataSignal() {
-    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_ActorTouchDataSignal(swigCPtr);
-        }
-        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-      }
-      global::System.GC.SuppressFinalize(this);
-    }
-  }
-
-
-  public bool Empty() {
-    bool ret = NDalicPINVOKE.ActorTouchDataSignal_Empty(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public uint GetConnectionCount() {
-    uint ret = NDalicPINVOKE.ActorTouchDataSignal_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.ActorTouchDataSignal_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.ActorTouchDataSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-  }
-
-  public bool Emit(Actor arg1, Touch arg2) {
-    bool ret = NDalicPINVOKE.ActorTouchDataSignal_Emit(swigCPtr, Actor.getCPtr(arg1), Touch.getCPtr(arg2));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public ActorTouchDataSignal() : this(NDalicPINVOKE.new_ActorTouchDataSignal(), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-}
-
-}
diff --git a/src/Tizen.NUI/src/internal/ActorWheelSignal.cs b/src/Tizen.NUI/src/internal/ActorWheelSignal.cs
deleted file mode 100755 (executable)
index a8dad29..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 ActorWheelSignal : global::System.IDisposable {
-  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-  protected bool swigCMemOwn;
-
-  internal ActorWheelSignal(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(ActorWheelSignal obj) {
-    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
-  }
-
-  ~ActorWheelSignal() {
-    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_ActorWheelSignal(swigCPtr);
-        }
-        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-      }
-      global::System.GC.SuppressFinalize(this);
-    }
-  }
-
-
-  public bool Empty() {
-    bool ret = NDalicPINVOKE.ActorWheelSignal_Empty(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public uint GetConnectionCount() {
-    uint ret = NDalicPINVOKE.ActorWheelSignal_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.ActorWheelSignal_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.ActorWheelSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-  }
-
-  public bool Emit(Actor arg1, Wheel arg2) {
-    bool ret = NDalicPINVOKE.ActorWheelSignal_Emit(swigCPtr, Actor.getCPtr(arg1), Wheel.getCPtr(arg2));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public ActorWheelSignal() : this(NDalicPINVOKE.new_ActorWheelSignal(), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-}
-
-}
index c825d3a1da661c48885c731ece54b77becd2e63a..7b8e6c44122a43ec16da5808f676e1cf941b48d0 100755 (executable)
@@ -40,7 +40,7 @@ internal class Alignment : View {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -73,10 +73,15 @@ internal class Alignment : View {
     }
   
     ~Padding() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
index 46138c6bc1fc73b8269e5eebc8220eee5c633d84..c8c2d042884b5a3db3afe067eea3556ae09700d2 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 765f8244d683dc57116a2d59b90789e144c68522..38165cfd1e707317367eb8fe577e92e8d904e9fc 100755 (executable)
@@ -24,10 +24,15 @@ namespace Tizen.NUI {
   }
 
   ~AngleThresholdPair() {
-    Dispose();
+    DisposeQueue.Instance.Add(this);
   }
 
   public virtual void Dispose() {
+    if (!Window.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
+
     lock(this) {
       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
         if (swigCMemOwn) {
diff --git a/src/Tizen.NUI/src/internal/Animatable.cs b/src/Tizen.NUI/src/internal/Animatable.cs
new file mode 100755 (executable)
index 0000000..2eb0077
--- /dev/null
@@ -0,0 +1,177 @@
+/** 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\r
+{
+
+public class Animatable : BaseHandle {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+  internal Animatable(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Handle_SWIGUpcast(cPtr), cMemoryOwn) {
+    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+  }
+
+  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Animatable obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~Animatable() {
+    DisposeQueue.Instance.Add(this);
+  }
+
+  public override void Dispose() {
+    if (!Window.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
+
+    lock(this) {
+      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+        if (swigCMemOwn) {
+          swigCMemOwn = false;
+          NDalicPINVOKE.delete_Handle(swigCPtr);
+        }
+        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+      global::System.GC.SuppressFinalize(this);
+      base.Dispose();
+    }
+  }
+
+
+  public Animatable () : this (NDalicPINVOKE.Handle_New(), true) {
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+  }
+  public Animatable(Animatable handle) : this(NDalicPINVOKE.new_Handle__SWIG_1(Animatable.getCPtr(handle)), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public bool Supports(Animatable.Capability capability) {
+    bool ret = NDalicPINVOKE.Handle_Supports(swigCPtr, (int)capability);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public uint GetPropertyCount() {
+    uint ret = NDalicPINVOKE.Handle_GetPropertyCount(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public string GetPropertyName(int index) {
+    string ret = NDalicPINVOKE.Handle_GetPropertyName(swigCPtr, index);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public int GetPropertyIndex(string name) {
+    int ret = NDalicPINVOKE.Handle_GetPropertyIndex(swigCPtr, name);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public bool IsPropertyWritable(int index) {
+    bool ret = NDalicPINVOKE.Handle_IsPropertyWritable(swigCPtr, index);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public bool IsPropertyAnimatable(int index) {
+    bool ret = NDalicPINVOKE.Handle_IsPropertyAnimatable(swigCPtr, index);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public bool IsPropertyAConstraintInput(int index) {
+    bool ret = NDalicPINVOKE.Handle_IsPropertyAConstraintInput(swigCPtr, index);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public PropertyType GetPropertyType(int index) {
+    PropertyType ret = (PropertyType)NDalicPINVOKE.Handle_GetPropertyType(swigCPtr, index);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void SetProperty(int index, PropertyValue propertyValue)
+  {
+    Tizen.NUI.Object.SetProperty( swigCPtr, index, propertyValue );
+  }
+
+  public int RegisterProperty(string name, PropertyValue propertyValue) {
+    int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_0(swigCPtr, name, PropertyValue.getCPtr(propertyValue));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public int RegisterProperty(string name, PropertyValue propertyValue, PropertyAccessMode accessMode) {
+    int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_1(swigCPtr, name, PropertyValue.getCPtr(propertyValue), (int)accessMode);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public PropertyValue GetProperty(int index)
+  {
+    PropertyValue ret = Tizen.NUI.Object.GetProperty( swigCPtr, index );
+    return ret;
+  }
+
+  internal void GetPropertyIndices(VectorInteger indices) {
+    NDalicPINVOKE.Handle_GetPropertyIndices(swigCPtr, VectorInteger.getCPtr(indices));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  internal PropertyNotification AddPropertyNotification(int index, PropertyCondition condition) {
+    PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.Handle_AddPropertyNotification__SWIG_0(swigCPtr, index, PropertyCondition.getCPtr(condition)), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  internal PropertyNotification AddPropertyNotification(int index, int componentIndex, PropertyCondition condition) {
+    PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.Handle_AddPropertyNotification__SWIG_1(swigCPtr, index, componentIndex, PropertyCondition.getCPtr(condition)), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  internal void RemovePropertyNotification(PropertyNotification propertyNotification) {
+    NDalicPINVOKE.Handle_RemovePropertyNotification(swigCPtr, PropertyNotification.getCPtr(propertyNotification));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void RemovePropertyNotifications() {
+    NDalicPINVOKE.Handle_RemovePropertyNotifications(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void RemoveConstraints() {
+    NDalicPINVOKE.Handle_RemoveConstraints__SWIG_0(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void RemoveConstraints(uint tag) {
+    NDalicPINVOKE.Handle_RemoveConstraints__SWIG_1(swigCPtr, tag);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public enum Capability {
+    DYNAMIC_PROPERTIES = 0x01
+  }
+
+}
+
+}
index 7fbe27c3a19af9b63a91798552dbffc126357eef..02ece7eab7f6dc31846e6c9d0a61735198f0e661 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 4e70249ceb7447034009434af5a700b34f26449a..a255152e0c95f22320db6638645c9f784350af43 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 10b205b9c541c950b7e7bfac168668ce21051d60..4aab716ac9efbcaf831d09bc01c48da384e14c27 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 11e0c2cd4739e11e5f226f8982449c7fd10187cb..1c07d35db06f4aebe94300eb1cbb59a5fb0a1b1d 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -91,10 +91,15 @@ namespace Tizen.NUI {
     }
   
     ~AnyContainerBase() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
index 058684ab47eda9c8b269dd5f7c51971ab3d8675d..f136a58de047757800afc52126a25447cfa95ad5 100755 (executable)
@@ -19,10 +19,10 @@ namespace Tizen.NUI
     {
         public const int ver1 = 1;
         public const int ver2 = 2;
-        public const int ver3 = 37;
+        public const int ver3 = 38;
         public const int nuiVer1 = 0;
         public const int nuiVer2 = 2;
-        public const int nuiVer3 = 37;
+        public const int nuiVer3 = 38;
         public const string nuiRelease = "";
     }
 
@@ -323,7 +323,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 6d6ac1a310dcdef8c2792938538dbe53f9113405..b4808fa3eda9a09b2bdc115a6d1e68f8b118d8cf 100755 (executable)
@@ -34,7 +34,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index e2bcbc626b4b5f9f9955c81d4f60b34d1b7ca518..5eced8d579dcb44a39f38bbfaeaf63d9ca1251d0 100755 (executable)
@@ -28,7 +28,7 @@ internal class ApplicationExtensions : global::System.IDisposable {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 85afaeab2db7a9bc0cbac75d4a1af169e55d578d..d81c540725adcae8a5ce25383e4c123f77a74a5a 100755 (executable)
@@ -34,7 +34,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index e09ab1364ecfa3be2d481710084a6165e02299f3..1f377a46d8a301b60f91aa9c5e9fa0f9768333a5 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 8f77f37f6112c68b35e5410fb131cd493d6f6006..f394ae11deeba88d0aad0230b8d7ed32c21a7adc 100755 (executable)
@@ -28,7 +28,7 @@ public class BaseHandle : global::System.IDisposable {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index e877b486909baba355a33013f56e4b0fdd9dd0e2..c2beec37bcbc820d20aa9af150545e0772cb7074 100755 (executable)
@@ -23,11 +23,6 @@ namespace Tizen.NUI {
 
   public override void Dispose() {
 
-    if (!Stage.IsInstalled()) {
-      DisposeQueue.Instance.Add(this);
-      return;
-    }
-
     lock(this) {
       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
         if (swigCMemOwn) {
index 401a843b6b009770603408f2246213d0a78b42cd..097131085b55792793ec13779b87d1375e115c7e 100755 (executable)
@@ -37,8 +37,9 @@ namespace Tizen.NUI {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
   }
 
+
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index c96ece9843bf7d855315074d02d5343fd3eab4e2..37ae1ce68eb4ecddb70ac38878b26dc1670289ce 100755 (executable)
@@ -28,6 +28,7 @@ namespace Tizen.NUI {
 
     using System;
     using System.Runtime.InteropServices;
+    using Tizen.NUI.BaseComponents;
 
 
 public class Builder : BaseHandle {
@@ -42,7 +43,7 @@ public class Builder : BaseHandle {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -186,14 +187,14 @@ public class Builder : BaseHandle {
     return ret;
   }
 
-  public Animation CreateAnimation(string animationName, Actor sourceActor) {
-    Animation ret = new Animation(NDalicPINVOKE.Builder_CreateAnimation__SWIG_2(swigCPtr, animationName, Actor.getCPtr(sourceActor)), true);
+  public Animation CreateAnimation(string animationName, View sourceActor) {
+    Animation ret = new Animation(NDalicPINVOKE.Builder_CreateAnimation__SWIG_2(swigCPtr, animationName, View.getCPtr(sourceActor)), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public Animation CreateAnimation(string animationName, PropertyMap map, Actor sourceActor) {
-    Animation ret = new Animation(NDalicPINVOKE.Builder_CreateAnimation__SWIG_3(swigCPtr, animationName, PropertyMap.getCPtr(map), Actor.getCPtr(sourceActor)), true);
+  public Animation CreateAnimation(string animationName, PropertyMap map, View sourceActor) {
+    Animation ret = new Animation(NDalicPINVOKE.Builder_CreateAnimation__SWIG_3(swigCPtr, animationName, PropertyMap.getCPtr(map), View.getCPtr(sourceActor)), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
@@ -216,25 +217,25 @@ public class Builder : BaseHandle {
     return ret;
   }
 
-  public bool ApplyStyle(string styleName, Handle handle) {
-    bool ret = NDalicPINVOKE.Builder_ApplyStyle(swigCPtr, styleName, Handle.getCPtr(handle));
+  public bool ApplyStyle(string styleName, Animatable handle) {
+    bool ret = NDalicPINVOKE.Builder_ApplyStyle(swigCPtr, styleName, Animatable.getCPtr(handle));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public bool ApplyFromJson(Handle handle, string json) {
-    bool ret = NDalicPINVOKE.Builder_ApplyFromJson(swigCPtr, Handle.getCPtr(handle), json);
+  public bool ApplyFromJson(Animatable handle, string json) {
+    bool ret = NDalicPINVOKE.Builder_ApplyFromJson(swigCPtr, Animatable.getCPtr(handle), json);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public void AddActors(Actor toActor) {
-    NDalicPINVOKE.Builder_AddActors__SWIG_0(swigCPtr, Actor.getCPtr(toActor));
+  public void AddViews(View toActor) {
+    NDalicPINVOKE.Builder_AddActors__SWIG_0(swigCPtr, View.getCPtr(toActor));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public void AddActors(string sectionName, Actor toActor) {
-    NDalicPINVOKE.Builder_AddActors__SWIG_1(swigCPtr, sectionName, Actor.getCPtr(toActor));
+  public void AddViews(string sectionName, View toActor) {
+    NDalicPINVOKE.Builder_AddActors__SWIG_1(swigCPtr, sectionName, View.getCPtr(toActor));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
diff --git a/src/Tizen.NUI/src/internal/Button.cs b/src/Tizen.NUI/src/internal/Button.cs
new file mode 100755 (executable)
index 0000000..80976b3
--- /dev/null
@@ -0,0 +1,922 @@
+// 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.UIComponents
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+    using Tizen.NUI.BaseComponents;
+
+    /// <summary>
+    /// Button is a base class for different kinds of buttons.<br>
+    /// This class provides the disabled property and the clicked signal.<br>
+    /// A Clicked event handler is emitted when the button is touched and the touch point doesn't leave the boundary of the button.<br>
+    /// When the disabled property is set to true, no signal is emitted.<br>
+    /// 'Visual' describes not just traditional images like png, bmp but refers to whatever is used to show the button, it could be a color, gradient or some other kind of renderer.<br>
+    /// The button's appearance can be modified by setting properties for the various visuals/images.<br>
+    /// It is not mandatory to set all visuals. A button could be defined only by setting its background visual or by setting its background and selected visuals.<br>
+    /// The button visual is shown over the background visual.<br>
+    /// When pressed the unselected visuals are replaced by the selected visual.<br>
+    /// The text label is always placed on the top of all images.<br>
+    /// When the button is disabled, background, button and selected visuals are replaced by their disabled visuals.<br>
+    /// </summary>
+    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;
+        }
+
+        /// <summary>
+        /// To make Button instance be disposed.
+        /// </summary>
+        public override void Dispose()
+        {
+            if (!Window.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;
+
+        /// <summary>
+        /// Clicked will be triggered when the button is touched and the touch point doesn't leave the boundary of the button.
+        /// </summary>
+        public event EventHandlerWithReturnType<object, EventArgs, bool> Clicked
+        {
+            add
+            {
+                if (_clickedEventHandler == null)
+                {
+                    _clickedCallback = OnClicked;
+                    ClickedSignal().Connect(_clickedCallback);
+                }
+
+                _clickedEventHandler += value;
+            }
+
+            remove
+            {
+                _clickedEventHandler -= value;
+
+                if (_clickedEventHandler == null && ClickedSignal().Empty() == false)
+                {
+                    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;
+
+        /// <summary>
+        /// Pressed will be triggered when the button is touched.
+        /// </summary>
+        public event EventHandlerWithReturnType<object, EventArgs, bool> Pressed
+        {
+            add
+            {
+                if (_pressedEventHandler == null)
+                {
+                    _pressedCallback = OnPressed;
+                    PressedSignal().Connect(_pressedCallback);
+                }
+
+                _pressedEventHandler += value;
+            }
+
+            remove
+            {
+                _pressedEventHandler -= value;
+
+                if (_pressedEventHandler == null && PressedSignal().Empty() == false)
+                {
+                    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;
+
+        /// <summary>
+        /// Released will be triggered when the button is touched and the touch point leaves the boundary of the button.
+        /// </summary>
+        public event EventHandlerWithReturnType<object, EventArgs, bool> Released
+        {
+            add
+            {
+                if (_releasedEventHandler == null)
+                {
+                    _releasedCallback = OnReleased;
+                    ReleasedSignal().Connect(_releasedCallback);
+                }
+                _releasedEventHandler += value;
+            }
+
+            remove
+            {
+                _releasedEventHandler -= value;
+
+                if (_releasedEventHandler == null && ReleasedSignal().Empty() == false)
+                {
+                    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;
+
+        /// <summary>
+        /// StateChanged will be triggered when the button's state is changed.
+        /// </summary>
+        public event EventHandlerWithReturnType<object, EventArgs, bool> StateChanged
+        {
+            add
+            {
+                if (_stateChangedEventHandler == null)
+                {
+                    _stateChangedCallback = OnStateChanged;
+                    StateChangedSignal().Connect(_stateChangedCallback);
+                }
+
+                _stateChangedEventHandler += value;
+            }
+
+            remove
+            {
+                _stateChangedEventHandler -= value;
+
+                if (_stateChangedEventHandler == null && StateChangedSignal().Empty() == false)
+                {
+                    StateChangedSignal().Disconnect(_stateChangedCallback);
+                }
+            }
+        }
+
+        private bool OnStateChanged(IntPtr data)
+        {
+            if (_stateChangedEventHandler != null)
+            {
+                return _stateChangedEventHandler(this, null);
+            }
+            return false;
+        }
+
+
+
+        internal static Button GetButtonFromPtr(global::System.IntPtr cPtr)
+        {
+            Button ret = new Button(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Gets/Sets the unselected button foreground/icon visual
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the selected button foreground/icon visual
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the disabled selected state foreground/icon button visual
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the disabled unselected state foreground/icon visual
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the disabled in the unselected state background, button visual
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the selected background button visual
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the disabled while unselected background button visual
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the disabled while selected background button visual
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the position of the the label in relation to the foreground/icon if both present
+        /// </summary>
+        public Align LabelRelativeAlignment
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT).Get(out temp) == false)
+                {
+#if DEBUG_ON
+                    Tizen.Log.Error("NUI", "LabelRelativeAlignment get error!");
+#endif
+                }
+                switch (temp)
+                {
+                    case "BEGIN":
+                        return Align.Begin;
+                    case "END":
+                        return Align.End;
+                    case "TOP":
+                        return Align.Top;
+                    case "BOTTOM":
+                        return Align.Bottom;
+                    default:
+                        return Align.End;
+                }
+            }
+            set
+            {
+                string valueToString = "";
+                switch (value)
+                {
+                    case Align.Begin:
+                    {
+                        valueToString = "BEGIN";
+                        break;
+                    }
+                    case Align.End:
+                    {
+                        valueToString = "END";
+                        break;
+                    }
+                    case Align.Top:
+                    {
+                        valueToString = "TOP";
+                        break;
+                    }
+                    case Align.Bottom:
+                    {
+                        valueToString = "BOTTOM";
+                        break;
+                    }
+                    default:
+                    {
+                        valueToString = "END";
+                        break;
+                    }
+                }
+                SetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the padding around the text
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the padding around the foreground visual
+        /// </summary>
+        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()
+            {
+                DisposeQueue.Instance.Add(this);
+            }
+
+            public virtual void Dispose()
+            {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
+                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_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();
+
+        }
+
+        /// <summary>
+        /// Creates an uninitialized Button.<br>
+        /// Only derived versions can be instantiated.<br>
+        /// </summary>
+        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;
+        }
+
+        /// <summary>
+        /// Downcasts a handle to Button handle.<br>
+        /// If handle points to a Button, the downcast produces valid handle.<br>
+        /// If not the returned handle is left uninitialized.<br>
+        /// </summary>
+        /// <param name="handle">Handle to an object</param>
+        /// <returns>A handle to a Button or an uninitialized handle</returns>
+        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;
+        }
+
+        /// <summary>
+        /// Retrieves button's animation time.
+        /// </summary>
+        /// <returns></returns>
+        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(View label)
+        {
+            NDalicPINVOKE.Button_SetLabel(swigCPtr, View.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 View GetButtonImage()
+        {
+            View ret = new View(NDalicPINVOKE.Button_GetButtonImage(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal View GetSelectedImage()
+        {
+            View ret = new View(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
+        }
+
+        /// <summary>
+        /// Gets/Sets the button as disabled.
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// If the autorepeating property is set to true then the togglable property is set to false.
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// By default this value is set to 0.15 seconds.
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// default this value is set to 0.05 seconds.
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// If the togglable property is set to true, then the autorepeating property is set to false.
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// /Gets/Sets the togglable button as either selected or unselected, togglable property must be set to true.
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets unselected color.
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets selected color.
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets label.
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets text of label.
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Enumeration for describing the position the text label can be in relation to the control(and foreground/icon).
+        /// </summary>
+        public enum Align
+        {
+            /// <summary>
+            /// At the start of the control before the foreground/icon
+            /// </summary>
+            Begin,
+            /// <summary>
+            /// At the end of the control after the foreground/icon
+            /// </summary>
+            End,
+            /// <summary>
+            /// At the top of the control above the foreground/icon
+            /// </summary>
+            Top,
+            /// <summary>
+            /// At the bottom of the control below the foreground/icon
+            /// </summary>
+            Bottom
+        }
+
+    }
+
+}
index 886ebaf9e745b788d3232a8238b4ed54bad61376..ba23fd6b6fad36ab40657f5572a23bbf7dc275df 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
diff --git a/src/Tizen.NUI/src/internal/Camera.cs b/src/Tizen.NUI/src/internal/Camera.cs
new file mode 100755 (executable)
index 0000000..4de8ad3
--- /dev/null
@@ -0,0 +1,421 @@
+/** 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.10
+//
+// 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 Camera : Animatable {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+
+  internal Camera(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(Camera obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~Camera() {
+    DisposeQueue.Instance.Add(this);
+  }
+
+  public virtual void Dispose() {
+    if (!Window.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);
+    }
+  }
+
+
+  public 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 (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
+      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);
+      }
+    }
+  
+    public Property() : this(NDalicPINVOKE.new_CameraActor_Property(), true) {
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+  
+    public static readonly int TYPE = NDalicPINVOKE.CameraActor_Property_TYPE_get();
+    public static readonly int PROJECTION_MODE = NDalicPINVOKE.CameraActor_Property_PROJECTION_MODE_get();
+    public static readonly int FIELD_OF_VIEW = NDalicPINVOKE.CameraActor_Property_FIELD_OF_VIEW_get();
+    public static readonly int ASPECT_RATIO = NDalicPINVOKE.CameraActor_Property_ASPECT_RATIO_get();
+    public static readonly int NEAR_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_NEAR_PLANE_DISTANCE_get();
+    public static readonly int FAR_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_FAR_PLANE_DISTANCE_get();
+    public static readonly int LEFT_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_LEFT_PLANE_DISTANCE_get();
+    public static readonly int RIGHT_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_RIGHT_PLANE_DISTANCE_get();
+    public static readonly int TOP_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_TOP_PLANE_DISTANCE_get();
+    public static readonly int BOTTOM_PLANE_DISTANCE = NDalicPINVOKE.CameraActor_Property_BOTTOM_PLANE_DISTANCE_get();
+    public static readonly int TARGET_POSITION = NDalicPINVOKE.CameraActor_Property_TARGET_POSITION_get();
+    public static readonly int PROJECTION_MATRIX = NDalicPINVOKE.CameraActor_Property_PROJECTION_MATRIX_get();
+    public static readonly int VIEW_MATRIX = NDalicPINVOKE.CameraActor_Property_VIEW_MATRIX_get();
+    public static readonly int INVERT_Y_AXIS = NDalicPINVOKE.CameraActor_Property_INVERT_Y_AXIS_get();
+  
+  }
+
+  public Camera () : this (NDalicPINVOKE.CameraActor_New__SWIG_0(), true) {
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+  }
+  public Camera (Vector2 size) : this (NDalicPINVOKE.CameraActor_New__SWIG_1(Vector2.getCPtr(size)), true) {
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+  }
+  public new static Camera DownCast(BaseHandle handle) {
+    Camera ret = new Camera(NDalicPINVOKE.CameraActor_DownCast(BaseHandle.getCPtr(handle)), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public Camera(Camera copy) : this(NDalicPINVOKE.new_CameraActor__SWIG_1(Camera.getCPtr(copy)), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public Camera Assign(Camera rhs) {
+    Camera ret = new Camera(NDalicPINVOKE.CameraActor_Assign(swigCPtr, Camera.getCPtr(rhs)), false);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void SetType(CameraType type) {
+    NDalicPINVOKE.CameraActor_SetType(swigCPtr, (int)type);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public CameraType GetType() {
+    CameraType ret = (CameraType)NDalicPINVOKE.CameraActor_GetType(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void SetProjectionMode(ProjectionMode mode) {
+    NDalicPINVOKE.CameraActor_SetProjectionMode(swigCPtr, (int)mode);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public ProjectionMode GetProjectionMode() {
+    ProjectionMode ret = (ProjectionMode)NDalicPINVOKE.CameraActor_GetProjectionMode(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void SetFieldOfView(float fieldOfView) {
+    NDalicPINVOKE.CameraActor_SetFieldOfView(swigCPtr, fieldOfView);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public float GetFieldOfView() {
+    float ret = NDalicPINVOKE.CameraActor_GetFieldOfView(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void SetAspectRatio(float aspectRatio) {
+    NDalicPINVOKE.CameraActor_SetAspectRatio(swigCPtr, aspectRatio);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public float GetAspectRatio() {
+    float ret = NDalicPINVOKE.CameraActor_GetAspectRatio(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void SetNearClippingPlane(float nearClippingPlane) {
+    NDalicPINVOKE.CameraActor_SetNearClippingPlane(swigCPtr, nearClippingPlane);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public float GetNearClippingPlane() {
+    float ret = NDalicPINVOKE.CameraActor_GetNearClippingPlane(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void SetFarClippingPlane(float farClippingPlane) {
+    NDalicPINVOKE.CameraActor_SetFarClippingPlane(swigCPtr, farClippingPlane);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public float GetFarClippingPlane() {
+    float ret = NDalicPINVOKE.CameraActor_GetFarClippingPlane(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void SetTargetPosition(Vector3 targetPosition) {
+    NDalicPINVOKE.CameraActor_SetTargetPosition(swigCPtr, Vector3.getCPtr(targetPosition));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public Vector3 GetTargetPosition() {
+    Vector3 ret = new Vector3(NDalicPINVOKE.CameraActor_GetTargetPosition(swigCPtr), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void SetInvertYAxis(bool invertYAxis) {
+    NDalicPINVOKE.CameraActor_SetInvertYAxis(swigCPtr, invertYAxis);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public bool GetInvertYAxis() {
+    bool ret = NDalicPINVOKE.CameraActor_GetInvertYAxis(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void SetPerspectiveProjection(Vector2 size) {
+    NDalicPINVOKE.CameraActor_SetPerspectiveProjection(swigCPtr, Vector2.getCPtr(size));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void SetOrthographicProjection(Vector2 size) {
+    NDalicPINVOKE.CameraActor_SetOrthographicProjection__SWIG_0(swigCPtr, Vector2.getCPtr(size));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public 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( Camera.Property.TYPE).Get( out temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.TYPE, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  public string ProjectionMode
+  {
+    get
+    {
+      string temp;
+      GetProperty( Camera.Property.PROJECTION_MODE).Get( out temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.PROJECTION_MODE, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  public float FieldOfView
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( Camera.Property.FIELD_OF_VIEW).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.FIELD_OF_VIEW, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  public float AspectRatio
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( Camera.Property.ASPECT_RATIO).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.ASPECT_RATIO, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  public float NearPlaneDistance
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( Camera.Property.NEAR_PLANE_DISTANCE).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.NEAR_PLANE_DISTANCE, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  public float FarPlaneDistance
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( Camera.Property.FAR_PLANE_DISTANCE).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.FAR_PLANE_DISTANCE, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  public float LeftPlaneDistance
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( Camera.Property.LEFT_PLANE_DISTANCE).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.LEFT_PLANE_DISTANCE, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  public float RightPlaneDistance
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( Camera.Property.RIGHT_PLANE_DISTANCE).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.RIGHT_PLANE_DISTANCE, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  public float TopPlaneDistance
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( Camera.Property.TOP_PLANE_DISTANCE).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.TOP_PLANE_DISTANCE, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  public float BottomPlaneDistance
+  {
+    get
+    {
+      float temp = 0.0f;
+      GetProperty( Camera.Property.BOTTOM_PLANE_DISTANCE).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.BOTTOM_PLANE_DISTANCE, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  public Vector3 TargetPosition
+  {
+    get
+    {
+      Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
+      GetProperty( Camera.Property.TARGET_POSITION).Get(  temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.TARGET_POSITION, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+  internal Matrix ProjectionMatrix
+  {
+    get
+    {
+      Matrix temp = new Matrix();
+      GetProperty( Camera.Property.PROJECTION_MATRIX).Get(  temp );
+      return temp;
+    }
+}  internal Matrix ViewMatrix
+  {
+    get
+    {
+      Matrix temp = new Matrix();
+      GetProperty( Camera.Property.VIEW_MATRIX).Get(  temp );
+      return temp;
+    }
+}  public bool InvertYAxis
+  {
+    get
+    {
+      bool temp = false;
+      GetProperty( Camera.Property.INVERT_Y_AXIS).Get( ref temp );
+      return temp;
+    }
+    set
+    {
+      SetProperty( Camera.Property.INVERT_Y_AXIS, new Tizen.NUI.PropertyValue( value ) );
+    }
+  }
+
+}
+
+}
index 5cd6c98dfb156db34029b592dde0a850923b74e5..ceaea761cdbf5b2c43aabc5e1bbcac1d4e50f2e4 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 537ef8348365a3990e1af2b581a18b10a5fef830..17a48e2520058de359e55a7ad8e5b5b6e528c5fd 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 3001e10fd7bfa30de8df182440b4de89e203c4e9..fe593dd71551a2c7a051fb60ceb872df6c7f1f54 100755 (executable)
@@ -22,7 +22,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 924b6c103df26735b6bd4fd88060a320a986533b..d12ed23a0d47811a6ae3d96cb9244839c3f19fc1 100755 (executable)
@@ -22,7 +22,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index b35846a901dfd864ec7d200f6da51796916aa71f..922b438d91c8f84879f96432f7714cfa5ad0b863 100755 (executable)
@@ -30,7 +30,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 0509b25df289ab89572334d8f7dfa162de135b3c..c2a1902fe50b20b382c73e4f749be10c92a0831b 100755 (executable)
@@ -10,7 +10,7 @@
 
 namespace Tizen.NUI {
 
-public class CustomActor : Actor {
+public class CustomActor : Animatable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
   internal CustomActor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CustomActor_SWIGUpcast(cPtr), cMemoryOwn) {
@@ -21,8 +21,8 @@ public class CustomActor : Actor {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
   }
 
-  public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+  public virtual void Dispose() {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -36,7 +36,6 @@ public class CustomActor : Actor {
         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
       }
       global::System.GC.SuppressFinalize(this);
-      base.Dispose();
     }
   }
 
index dd1a89597bdc0967fade5aa3d8337292bc7dffa2..86584df66e411645df45967ae83d7b70270ac498 100755 (executable)
@@ -9,8 +9,8 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
-public class CustomActorImpl : RefObject {
+    using Tizen.NUI.BaseComponents;
+    public class CustomActorImpl : RefObject {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
   internal CustomActorImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.CustomActorImpl_SWIGUpcast(cPtr), cMemoryOwn) {
@@ -23,11 +23,6 @@ public class CustomActorImpl : RefObject {
 
   public override void Dispose() {
 
-    if (!Stage.IsInstalled()) {
-      DisposeQueue.Instance.Add(this);
-      return;
-    }
-
     lock(this) {
       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
         if (swigCMemOwn) {
@@ -57,13 +52,13 @@ public class CustomActorImpl : RefObject {
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public virtual void OnChildAdd(Actor child) {
-    NDalicPINVOKE.CustomActorImpl_OnChildAdd(swigCPtr, Actor.getCPtr(child));
+  public virtual void OnChildAdd(View child) {
+    NDalicPINVOKE.CustomActorImpl_OnChildAdd(swigCPtr, View.getCPtr(child));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public virtual void OnChildRemove(Actor child) {
-    NDalicPINVOKE.CustomActorImpl_OnChildRemove(swigCPtr, Actor.getCPtr(child));
+  public virtual void OnChildRemove(View child) {
+    NDalicPINVOKE.CustomActorImpl_OnChildRemove(swigCPtr, View.getCPtr(child));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
@@ -122,8 +117,8 @@ public class CustomActorImpl : RefObject {
     return ret;
   }
 
-  public virtual float CalculateChildSize(Actor child, DimensionType dimension) {
-    float ret = NDalicPINVOKE.CustomActorImpl_CalculateChildSize(swigCPtr, Actor.getCPtr(child), (int)dimension);
+  public virtual float CalculateChildSize(View child, DimensionType dimension) {
+    float ret = NDalicPINVOKE.CustomActorImpl_CalculateChildSize(swigCPtr, View.getCPtr(child), (int)dimension);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
index a33152e9f73432f4c5b4f8f8aca968f149603fdb..ab7f7abc276f8660e7ce4d1c92a1e154cc80603b 100755 (executable)
@@ -35,7 +35,7 @@ internal class CustomAlgorithmInterface : global::System.IDisposable {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -51,8 +51,8 @@ internal class CustomAlgorithmInterface : global::System.IDisposable {
     }
   }
 
-  public virtual Actor GetNextFocusableActor(Actor current, Actor proposed, View.FocusDirection direction) {
-    Actor ret = new Actor(NDalicPINVOKE.CustomAlgorithmInterface_GetNextFocusableActor(swigCPtr, Actor.getCPtr(current), Actor.getCPtr(proposed), (int)direction), true);
+  public virtual View GetNextFocusableView(View current, View proposed, View.FocusDirection direction) {
+    View ret = new View(NDalicPINVOKE.CustomAlgorithmInterface_GetNextFocusableActor(swigCPtr, View.getCPtr(current), View.getCPtr(proposed), (int)direction), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
@@ -63,8 +63,8 @@ internal class CustomAlgorithmInterface : global::System.IDisposable {
   }
 
   private void SwigDirectorConnect() {
-    if (SwigDerivedClassHasMethod("GetNextFocusableActor", swigMethodTypes0))
-      swigDelegate0 = new SwigDelegateCustomAlgorithmInterface_0(SwigDirectorGetNextFocusableActor);
+    if (SwigDerivedClassHasMethod("GetNextFocusableView", swigMethodTypes0))
+      swigDelegate0 = new SwigDelegateCustomAlgorithmInterface_0(SwigDirectorGetNextFocusableView);
     NDalicPINVOKE.CustomAlgorithmInterface_director_connect(swigCPtr, swigDelegate0);
   }
 
@@ -82,15 +82,15 @@ internal class CustomAlgorithmInterface : global::System.IDisposable {
   }
 #endif
 
-  private global::System.IntPtr SwigDirectorGetNextFocusableActor(global::System.IntPtr current, global::System.IntPtr proposed, int direction) {
-    return Actor.getCPtr(GetNextFocusableActor(new Actor(current, true), new Actor(proposed, true), (View.FocusDirection)direction)).Handle;
+  private global::System.IntPtr SwigDirectorGetNextFocusableView(global::System.IntPtr current, global::System.IntPtr proposed, int direction) {
+    return View.getCPtr(GetNextFocusableView(new View(current, true), new View(proposed, true), (View.FocusDirection)direction)).Handle;
   }
 
   public delegate global::System.IntPtr SwigDelegateCustomAlgorithmInterface_0(global::System.IntPtr current, global::System.IntPtr proposed, int direction);
 
   private SwigDelegateCustomAlgorithmInterface_0 swigDelegate0;
 
-  private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(Actor), typeof(Actor), typeof(View.FocusDirection) };
+  private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(View), typeof(View), typeof(View.FocusDirection) };
 }
 
 }
index 92608d905e4f7dfcb5cadf8cdf0b492114e42afc..60fc1d42913a17d76d916339bd39e7d155285e3b 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 2ead28e08a4473b8e6492f294d61dcb165e37802..df4c6ff4ccdeda0f2f00363ae1fb254487ee8488 100755 (executable)
@@ -23,7 +23,7 @@ namespace Tizen.NUI {
 
   public override void Dispose() {
     
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 64bb3abb027b488b9c37e75a41ea3f914ba0a230..521076e81f9b7fc6e674e47aeeb32c1ac39fb9b6 100755 (executable)
@@ -17,7 +17,7 @@ namespace Tizen.NUI
     {
         private static readonly DisposeQueue _disposableQueue = new DisposeQueue();
         private List<IDisposable> _disposables = new List<IDisposable>();
-        private Object _listLock = new object();
+        private System.Object _listLock = new object();
         private EventThreadCallback _eventThreadCallback;
         private EventThreadCallback.CallbackDelegate _disposeQueueProcessDisposablesDelegate;
 
index cbccf4d87be10634611e1bf42c9bb909252733a9..2d87f9cf83c505a93085ddfd46ad3a363779ad02 100755 (executable)
@@ -22,7 +22,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 4d8018995d352a14254367eaf5a6396023272db2..49be04f3b7a628fd4ff5dddc513ef129330de347 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 6ee750e3161af7a49d154fbd56e861642dce14b0..15e18ab5c3398a3c263ff8786b8c8a0924eb70dd 100755 (executable)
@@ -42,7 +42,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
diff --git a/src/Tizen.NUI/src/internal/FittingModeType.cs b/src/Tizen.NUI/src/internal/FittingModeType.cs
deleted file mode 100755 (executable)
index 3f9cc75..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 {
-/* moved to VisualMaps.cs
-public enum FittingModeType {
-  SHRINK_TO_FIT,
-  SCALE_TO_FILL,
-  FIT_WIDTH,
-  FIT_HEIGHT
-}
-*/
-}
index e34869fe1ded1713e776d3c7c8a8ce3332dd5fcd..cdadc7251c89a972143b1d9a278351b034b0250f 100755 (executable)
@@ -22,7 +22,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index aecd9c59e11f9af1b17de4e2296faa7fcb0e6da4..9250cbec6700c5fdba9bccd0f496d7f8ad96f3dd 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index e0fb2f6b88a3d89c344d695b610df319bf6876aa..2999be47e228c9c2350178c6189846b14bb624bb 100755 (executable)
@@ -9,7 +9,7 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+    using Tizen.NUI.BaseComponents;
     internal class FocusChangedSignal : global::System.IDisposable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
   protected bool swigCMemOwn;
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -74,8 +74,8 @@ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForD
     }
   }
 
-  public void Emit(Actor arg1, Actor arg2) {
-    NDalicPINVOKE.FocusChangedSignal_Emit(swigCPtr, Actor.getCPtr(arg1), Actor.getCPtr(arg2));
+  public void Emit(View arg1, View arg2) {
+    NDalicPINVOKE.FocusChangedSignal_Emit(swigCPtr, View.getCPtr(arg1), View.getCPtr(arg2));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index 201cd21132aecbc6b4158c8ed540d8d2b1a24c71..5c75f022e8ba15109b183f58ffee2b53009c7525 100755 (executable)
@@ -9,7 +9,7 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+    using Tizen.NUI.BaseComponents;
     internal class FocusGroupChangedSignal : global::System.IDisposable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
   protected bool swigCMemOwn;
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -74,8 +74,8 @@ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForD
     }
   }
 
-  public void Emit(Actor arg1, bool arg2) {
-    NDalicPINVOKE.FocusGroupChangedSignal_Emit(swigCPtr, Actor.getCPtr(arg1), arg2);
+  public void Emit(View arg1, bool arg2) {
+    NDalicPINVOKE.FocusGroupChangedSignal_Emit(swigCPtr, View.getCPtr(arg1), arg2);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index 4bc12c5932137a6dc0a7eaa083624fb93809bd6a..7a8cbd002dd530f5b289630506d7f825d3fd4215 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -71,10 +71,15 @@ namespace Tizen.NUI {
     }
   
     ~Attachment() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
index 4eaf6c64e06be72b9df1ade81a0a076773b93468..dfb617824d773ff4913329cc5c1553ac4d7923ee 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index e1133a91a2aedb5444631687656fc6b02090b5df..cf110326f3b2a4cdc0a24d96f8d4b39051ec81bf 100755 (executable)
@@ -44,7 +44,7 @@ using System.Runtime.InteropServices;
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -168,13 +168,13 @@ public class FinishedEventArgs : EventArgs
     return ret;
   }
 
-  public new void Add(Actor child) {
-    NDalicPINVOKE.GaussianBlurView_Add(swigCPtr, Actor.getCPtr(child));
+  public new void Add(View child) {
+    NDalicPINVOKE.GaussianBlurView_Add(swigCPtr, View.getCPtr(child));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public new void Remove(Actor child) {
-    NDalicPINVOKE.GaussianBlurView_Remove(swigCPtr, Actor.getCPtr(child));
+  public new void Remove(View child) {
+    NDalicPINVOKE.GaussianBlurView_Remove(swigCPtr, View.getCPtr(child));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index be5732d239cef55137f7efec3e72e9b78dfac860..eab98813dd3fb02b49d8a34049cb64a8e11e5bd8 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 907442a24c7dfbfa2c91b0d8ea1e940eccab1429..6f1e4273c71d94505c1dd429c7dff131940f0329 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 8ff13374d9683740093f0cb949194ac63310aca6..9ce4627bf0fdd2cdcce5a398a50debe3cab31e14 100755 (executable)
@@ -9,8 +9,8 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
-public class GestureDetector : Handle {
+    using Tizen.NUI.BaseComponents;\r
+    public class GestureDetector : BaseHandle {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
   internal GestureDetector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.GestureDetector_SWIGUpcast(cPtr), cMemoryOwn) {
@@ -22,7 +22,7 @@ public class GestureDetector : Handle {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -61,13 +61,13 @@ public class GestureDetector : Handle {
     return ret;
   }
 
-  public void Attach(Actor actor) {
-    NDalicPINVOKE.GestureDetector_Attach(swigCPtr, Actor.getCPtr(actor));
+  public void Attach(View view) {
+    NDalicPINVOKE.GestureDetector_Attach(swigCPtr, View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public void Detach(Actor actor) {
-    NDalicPINVOKE.GestureDetector_Detach(swigCPtr, Actor.getCPtr(actor));
+  public void Detach(View view) {
+    NDalicPINVOKE.GestureDetector_Detach(swigCPtr, View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
@@ -82,8 +82,8 @@ public class GestureDetector : Handle {
     return ret;
   }
 
-  public Actor GetAttachedActor(uint index) {
-    Actor ret = new Actor(NDalicPINVOKE.GestureDetector_GetAttachedActor(swigCPtr, index), true);
+  public View GetAttachedActor(uint index) {
+    View ret = new View(NDalicPINVOKE.GestureDetector_GetAttachedActor(swigCPtr, index), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
diff --git a/src/Tizen.NUI/src/internal/GradientVisualSpreadMethodType.cs b/src/Tizen.NUI/src/internal/GradientVisualSpreadMethodType.cs
deleted file mode 100755 (executable)
index e359f83..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 {
-/* moved to VisualMaps.cs
-    internal enum GradientVisualSpreadMethodType {
-  PAD,
-  REFLECT,
-  REPEAT
-}
-*/
-}
diff --git a/src/Tizen.NUI/src/internal/GradientVisualUnitsType.cs b/src/Tizen.NUI/src/internal/GradientVisualUnitsType.cs
deleted file mode 100755 (executable)
index 46ae1a8..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 {
-/* moved to VisualMap.cs
-    internal enum GradientVisualUnitsType {
-  OBJECT_BOUNDING_BOX,
-  USER_SPACE
-}
-*/
-}
diff --git a/src/Tizen.NUI/src/internal/Handle.cs b/src/Tizen.NUI/src/internal/Handle.cs
deleted file mode 100755 (executable)
index 31e2d0e..0000000
+++ /dev/null
@@ -1,199 +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.
-*
-*/
-// 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 Handle : BaseHandle {
-  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-
-  internal Handle(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Handle_SWIGUpcast(cPtr), cMemoryOwn) {
-    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
-  }
-
-  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Handle obj) {
-    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
-  }
-
-
-  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_Handle(swigCPtr);
-        }
-        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-      }
-      global::System.GC.SuppressFinalize(this);
-      base.Dispose();
-    }
-  }
-
-
-  public Handle () : this (NDalicPINVOKE.Handle_New(), true) {
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-
-  }
-  public Handle(Handle handle) : this(NDalicPINVOKE.new_Handle__SWIG_1(Handle.getCPtr(handle)), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public Handle Assign(Handle rhs) {
-    Handle ret = new Handle(NDalicPINVOKE.Handle_Assign(swigCPtr, Handle.getCPtr(rhs)), false);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public static Handle DownCast(BaseHandle handle) {
-    Handle ret = new Handle(NDalicPINVOKE.Handle_DownCast(BaseHandle.getCPtr(handle)), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public bool Supports(Handle.Capability capability) {
-    bool ret = NDalicPINVOKE.Handle_Supports(swigCPtr, (int)capability);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public uint GetPropertyCount() {
-    uint ret = NDalicPINVOKE.Handle_GetPropertyCount(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public string GetPropertyName(int index) {
-    string ret = NDalicPINVOKE.Handle_GetPropertyName(swigCPtr, index);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public int GetPropertyIndex(string name) {
-    int ret = NDalicPINVOKE.Handle_GetPropertyIndex(swigCPtr, name);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public bool IsPropertyWritable(int index) {
-    bool ret = NDalicPINVOKE.Handle_IsPropertyWritable(swigCPtr, index);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public bool IsPropertyAnimatable(int index) {
-    bool ret = NDalicPINVOKE.Handle_IsPropertyAnimatable(swigCPtr, index);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public bool IsPropertyAConstraintInput(int index) {
-    bool ret = NDalicPINVOKE.Handle_IsPropertyAConstraintInput(swigCPtr, index);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public PropertyType GetPropertyType(int index) {
-    PropertyType ret = (PropertyType)NDalicPINVOKE.Handle_GetPropertyType(swigCPtr, index);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public void SetProperty(int index, PropertyValue propertyValue) {
-    NDalicPINVOKE.Handle_SetProperty(swigCPtr, index, PropertyValue.getCPtr(propertyValue));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public int RegisterProperty(string name, PropertyValue propertyValue) {
-    int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_0(swigCPtr, name, PropertyValue.getCPtr(propertyValue));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public int RegisterProperty(string name, PropertyValue propertyValue, PropertyAccessMode accessMode) {
-    int ret = NDalicPINVOKE.Handle_RegisterProperty__SWIG_1(swigCPtr, name, PropertyValue.getCPtr(propertyValue), (int)accessMode);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public PropertyValue GetProperty(int index) {
-    PropertyValue ret = new PropertyValue(NDalicPINVOKE.Handle_GetProperty(swigCPtr, index), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-        internal void GetPropertyIndices(VectorInteger indices)
-        {
-            NDalicPINVOKE.Handle_GetPropertyIndices(swigCPtr, VectorInteger.getCPtr(indices));
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        internal PropertyNotification AddPropertyNotification(int index, PropertyCondition condition)
-        {
-            PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.Handle_AddPropertyNotification__SWIG_0(swigCPtr, index, PropertyCondition.getCPtr(condition)), true);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        internal PropertyNotification AddPropertyNotification(int index, int componentIndex, PropertyCondition condition)
-        {
-            PropertyNotification ret = new PropertyNotification(NDalicPINVOKE.Handle_AddPropertyNotification__SWIG_1(swigCPtr, index, componentIndex, PropertyCondition.getCPtr(condition)), true);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        internal void RemovePropertyNotification(PropertyNotification propertyNotification)
-        {
-            NDalicPINVOKE.Handle_RemovePropertyNotification(swigCPtr, PropertyNotification.getCPtr(propertyNotification));
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-  public void RemovePropertyNotifications() {
-    NDalicPINVOKE.Handle_RemovePropertyNotifications(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public void RemoveConstraints() {
-    NDalicPINVOKE.Handle_RemoveConstraints__SWIG_0(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public void RemoveConstraints(uint tag) {
-    NDalicPINVOKE.Handle_RemoveConstraints__SWIG_1(swigCPtr, tag);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public enum Capability {
-    DYNAMIC_PROPERTIES = 0x01
-  }
-
-}
-
-}
diff --git a/src/Tizen.NUI/src/internal/HoverSignal.cs b/src/Tizen.NUI/src/internal/HoverSignal.cs
new file mode 100755 (executable)
index 0000000..8be4e0c
--- /dev/null
@@ -0,0 +1,90 @@
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.10
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI {
+    using Tizen.NUI.BaseComponents;
+
+internal class HoverSignal : global::System.IDisposable {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal HoverSignal(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(HoverSignal obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~HoverSignal() {
+    DisposeQueue.Instance.Add(this);
+  }
+
+  public virtual void Dispose() {
+    if (!Window.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
+
+    lock(this) {
+      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+        if (swigCMemOwn) {
+          swigCMemOwn = false;
+          NDalicPINVOKE.delete_ActorHoverSignal(swigCPtr);
+        }
+        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+      global::System.GC.SuppressFinalize(this);
+    }
+  }
+
+
+  public bool Empty() {
+    bool ret = NDalicPINVOKE.ActorHoverSignal_Empty(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public uint GetConnectionCount() {
+    uint ret = NDalicPINVOKE.ActorHoverSignal_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.ActorHoverSignal_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.ActorHoverSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+  }
+
+  public bool Emit(View arg1, Hover arg2) {
+    bool ret = NDalicPINVOKE.ActorHoverSignal_Emit(swigCPtr, View.getCPtr(arg1), Hover.getCPtr(arg2));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public HoverSignal() : this(NDalicPINVOKE.new_ActorHoverSignal(), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+}
+
+}
index 097aab2da9f0e76c1941616f42185263f39afc66..d1001c6b3aa1fd80b2097a231abab6662161de0f 100755 (executable)
@@ -26,7 +26,7 @@ using System.Runtime.InteropServices;
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 57228d49524dc6d480c9156d6c573cbb05c216fa..b9050ede10115fef7069e2d7b1ebe7f9980510ad 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index bb84fa58cafd623228cacef55517e9b8f29b2505..b09c830f22ee98d31e17859ef826c9faaff70301 100755 (executable)
@@ -69,11 +69,16 @@ namespace Tizen.NUI
 
             ~ImfEventData()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -179,11 +184,16 @@ namespace Tizen.NUI
 
             ~ImfCallbackData()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -836,11 +846,16 @@ namespace Tizen.NUI
 
         ~ActivatedSignalType()
         {
-            Dispose();
+            DisposeQueue.Instance.Add(this);
         }
 
         public virtual void Dispose()
         {
+            if (!Window.IsInstalled()) {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
             lock (this)
             {
                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -920,11 +935,16 @@ namespace Tizen.NUI
 
         ~ImfEventSignalType()
         {
-            Dispose();
+            DisposeQueue.Instance.Add(this);
         }
 
         public virtual void Dispose()
         {
+            if (!Window.IsInstalled()) {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
             lock (this)
             {
                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -1004,11 +1024,16 @@ namespace Tizen.NUI
 
         ~StatusSignalType()
         {
-            Dispose();
+            DisposeQueue.Instance.Add(this);
         }
 
         public virtual void Dispose()
         {
+            if (!Window.IsInstalled()) {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
             lock (this)
             {
                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -1088,11 +1113,16 @@ namespace Tizen.NUI
 
         ~ImfVoidSignalType()
         {
-            Dispose();
+            DisposeQueue.Instance.Add(this);
         }
 
         public virtual void Dispose()
         {
+            if (!Window.IsInstalled()) {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
             lock (this)
             {
                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
index 623cff5cf79eee50ad79d21100a45d0dc35fa092..5f15536e984150e325f88c79c39e8f4cd9f0f3e0 100755 (executable)
@@ -9,7 +9,7 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+    using Tizen.NUI.BaseComponents;
     public class Item : global::System.IDisposable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
   protected bool swigCMemOwn;
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -49,7 +49,7 @@ namespace Tizen.NUI {
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public Item(uint t, Actor u) : this(NDalicPINVOKE.new_Item__SWIG_1(t, Actor.getCPtr(u)), true) {
+  public Item(uint t, View u) : this(NDalicPINVOKE.new_Item__SWIG_1(t, View.getCPtr(u)), true) {
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
@@ -69,14 +69,14 @@ namespace Tizen.NUI {
     } 
   }
 
-  public Actor second {
+  public View second {
     set {
-      NDalicPINVOKE.Item_second_set(swigCPtr, Actor.getCPtr(value));
+      NDalicPINVOKE.Item_second_set(swigCPtr, View.getCPtr(value));
       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     } 
     get {
       global::System.IntPtr cPtr = NDalicPINVOKE.Item_second_get(swigCPtr);
-      Actor ret = (cPtr == global::System.IntPtr.Zero) ? null : new Actor(cPtr, false);
+      View ret = (cPtr == global::System.IntPtr.Zero) ? null : new View(cPtr, false);
       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
       return ret;
     } 
index 955d370a73900b6512a7221f78fe95483703046d..98d7ff9ce01e0e2de6897548b5d13168ab36b9a4 100755 (executable)
@@ -30,7 +30,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 3d844a1e4fb30eb4e3f243dd5bf8a08f0c2e0e1a..47e6aeac55d6f25d676bc276f61cc723ca9fa9c6 100755 (executable)
@@ -15,7 +15,7 @@ using System.Reflection;
 
 namespace Tizen.NUI
 {
-
+    using Tizen.NUI.BaseComponents;
     public class ItemFactory : global::System.IDisposable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
@@ -39,7 +39,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -68,16 +68,16 @@ namespace Tizen.NUI
             return ret;
         }
 
-        public virtual Actor NewItem(uint itemId)
+        public virtual View NewItem(uint itemId)
         {
-            Actor ret = new Actor(NDalicPINVOKE.ItemFactory_NewItem(swigCPtr, itemId), true);
+            View ret = new View(NDalicPINVOKE.ItemFactory_NewItem(swigCPtr, itemId), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
 
-        public virtual void ItemReleased(uint itemId, Actor actor)
+        public virtual void ItemReleased(uint itemId, View view)
         {
-            if (SwigDerivedClassHasMethod("ItemReleased", swigMethodTypes2)) NDalicPINVOKE.ItemFactory_ItemReleasedSwigExplicitItemFactory(swigCPtr, itemId, Actor.getCPtr(actor)); else NDalicPINVOKE.ItemFactory_ItemReleased(swigCPtr, itemId, Actor.getCPtr(actor));
+            if (SwigDerivedClassHasMethod("ItemReleased", swigMethodTypes2)) NDalicPINVOKE.ItemFactory_ItemReleasedSwigExplicitItemFactory(swigCPtr, itemId, View.getCPtr(view)); else NDalicPINVOKE.ItemFactory_ItemReleased(swigCPtr, itemId, View.getCPtr(view));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
@@ -124,12 +124,12 @@ namespace Tizen.NUI
 
         private global::System.IntPtr SwigDirectorNewItem(uint itemId)
         {
-            return Actor.getCPtr(NewItem(itemId)).Handle;
+            return View.getCPtr(NewItem(itemId)).Handle;
         }
 
         private void SwigDirectorItemReleased(uint itemId, global::System.IntPtr actor)
         {
-            ItemReleased(itemId, new Actor(actor, true));
+            ItemReleased(itemId, new View(actor, true));
         }
 
         public delegate uint SwigDelegateItemFactory_0();
@@ -142,7 +142,7 @@ namespace Tizen.NUI
 
         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) };
+        private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(uint), typeof(View) };
     }
 
 }
index 6ec5fb5cfe7fd25775034771c82d7092f12ae8f6..adcb5796ed3e0a98ac465ba89f3235c853b32e36 100755 (executable)
@@ -30,7 +30,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 33e34781ae1549d6606414251dd07d0939d1d97d..188dc6db1f4140ab2b26e73bab1728ec88587993 100755 (executable)
@@ -24,10 +24,6 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
-      DisposeQueue.Instance.Add(this);
-      return;
-    }
 
     lock(this) {
       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
@@ -152,8 +148,8 @@ namespace Tizen.NUI {
     return ret;
   }
 
-  public virtual void ApplyConstraints(Actor actor, int itemId, Vector3 layoutSize, Actor itemViewActor) {
-    NDalicPINVOKE.ItemLayout_ApplyConstraints(swigCPtr, Actor.getCPtr(actor), itemId, Vector3.getCPtr(layoutSize), Actor.getCPtr(itemViewActor));
+  public virtual void ApplyConstraints(View view, int itemId, Vector3 layoutSize, View itemView) {
+    NDalicPINVOKE.ItemLayout_ApplyConstraints(swigCPtr, View.getCPtr(view), itemId, Vector3.getCPtr(layoutSize), View.getCPtr(itemView));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index 3b78a85eeeaadad5371eb726660a6f07b16bacb5..51e86790dd0796c55ecfdd01381879a0ef858734 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 0c8c02ff5187454b8e7c0f567ed43c8519a16a15..f3defdc01f7a3b8268ddd65b5fc069c58ba1194d 100755 (executable)
@@ -48,7 +48,7 @@ using System.Runtime.InteropServices;
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -95,10 +95,15 @@ using System.Runtime.InteropServices;
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -271,14 +276,14 @@ using System.Runtime.InteropServices;
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public Actor GetItem(uint itemId) {
-    Actor ret = new Actor(NDalicPINVOKE.ItemView_GetItem(swigCPtr, itemId), true);
+  public View GetItem(uint itemId) {
+    View ret = new View(NDalicPINVOKE.ItemView_GetItem(swigCPtr, itemId), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public uint GetItemId(Actor actor) {
-    uint ret = NDalicPINVOKE.ItemView_GetItemId(swigCPtr, Actor.getCPtr(actor));
+  public uint GetItemId(View view) {
+    uint ret = NDalicPINVOKE.ItemView_GetItemId(swigCPtr, View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
index c37b3bef094d1fb613edd4e39a6c83bd0cf9cb61..573209a7bb90a4ee8ad707a522a5a87c7647fa67 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 1286e466ea6f52475233a4565b4585a3e14364c4..13213b95e946f74709266c601554e4fad1ed9802 100755 (executable)
@@ -25,7 +25,7 @@ public class KeyInputFocusManager : BaseHandle {
 
   public override void Dispose() {
 
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index fca9044dfe7485741828e378806efad7c95211ba..e79a328f76fa2bbbdd64c0c73515c613828baf49 100755 (executable)
@@ -30,7 +30,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 0591bb0247383f91b9370a2aa5571f305e943f9a..6b1a1a56232ce60be0e0f6b826048220998d7abb 100755 (executable)
@@ -41,7 +41,7 @@ internal class PreFocusChangeSignal : global::System.IDisposable {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -83,8 +83,8 @@ internal class PreFocusChangeSignal : global::System.IDisposable {
     }
   }
 
-  public Actor Emit(Actor arg1, Actor arg2, View.FocusDirection arg3) {
-    Actor ret = new Actor(NDalicManualPINVOKE.PreFocusChangeSignal_Emit(swigCPtr, Actor.getCPtr(arg1), Actor.getCPtr(arg2), (int)arg3), true);
+  public View Emit(View arg1, View arg2, View.FocusDirection arg3) {\r
+            View ret = new View(NDalicManualPINVOKE.PreFocusChangeSignal_Emit(swigCPtr, View.getCPtr(arg1), View.getCPtr(arg2), (int)arg3), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
index 6146d6f60fe5fca3ec53f2c04b657cbc36b08278..bfaa2a964eb94459602efcd7908810baca0a5a44 100755 (executable)
@@ -26,7 +26,7 @@
 
 namespace Tizen.NUI {
 
-    internal class LinearConstrainer : Handle
+    internal class LinearConstrainer : BaseHandle
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
@@ -39,7 +39,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -72,10 +72,15 @@ namespace Tizen.NUI {
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -129,9 +134,9 @@ namespace Tizen.NUI {
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-        internal void Remove(Handle target)
+        internal void Remove(Animatable target)
         {
-            NDalicPINVOKE.LinearConstrainer_Remove(swigCPtr, Handle.getCPtr(target));
+            NDalicPINVOKE.LinearConstrainer_Remove(swigCPtr, Animatable.getCPtr(target));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
@@ -140,12 +145,12 @@ namespace Tizen.NUI {
             get
             {
                 Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
-                GetProperty(LinearConstrainer.Property.VALUE).Get(temp);
+                Tizen.NUI.Object.GetProperty(swigCPtr, LinearConstrainer.Property.VALUE).Get(temp);
                 return temp;
             }
             set
             {
-                SetProperty(LinearConstrainer.Property.VALUE, new Tizen.NUI.PropertyValue(value));
+                Tizen.NUI.Object.SetProperty(swigCPtr, LinearConstrainer.Property.VALUE, new Tizen.NUI.PropertyValue(value));
             }
         }
         public PropertyArray Progress
@@ -153,12 +158,12 @@ namespace Tizen.NUI {
             get
             {
                 Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
-                GetProperty(LinearConstrainer.Property.PROGRESS).Get(temp);
+                Tizen.NUI.Object.GetProperty(swigCPtr, LinearConstrainer.Property.PROGRESS).Get(temp);
                 return temp;
             }
             set
             {
-                SetProperty(LinearConstrainer.Property.PROGRESS, new Tizen.NUI.PropertyValue(value));
+                Tizen.NUI.Object.SetProperty(swigCPtr, LinearConstrainer.Property.PROGRESS, new Tizen.NUI.PropertyValue(value));
             }
         }
 
index 0739d70d7be9c9f0db9d7df5f00d1380592c10b3..ce013a0077eeebb8cb7fb435756f7aadb103c530 100755 (executable)
@@ -9,7 +9,7 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+    using Tizen.NUI.BaseComponents;
     internal class LongPressGestureDetectedSignal : global::System.IDisposable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
   protected bool swigCMemOwn;
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -74,8 +74,8 @@ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForD
     }
   }
 
-  public void Emit(Actor arg1, LongPressGesture arg2) {
-    NDalicPINVOKE.LongPressGestureDetectedSignal_Emit(swigCPtr, Actor.getCPtr(arg1), LongPressGesture.getCPtr(arg2));
+  public void Emit(View arg1, LongPressGesture arg2) {
+    NDalicPINVOKE.LongPressGestureDetectedSignal_Emit(swigCPtr, View.getCPtr(arg1), LongPressGesture.getCPtr(arg2));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index ab9afe42ffb27dd9cc4c9a03ddce1687b80a239d..c8fedc4af4fd0239d1de63a1fa2c66ceb6712393 100755 (executable)
@@ -27,7 +27,8 @@
 namespace Tizen.NUI {
 
 using System;
-using System.Runtime.InteropServices;
+using System.Runtime.InteropServices;\r
+using Tizen.NUI.BaseComponents;
 
 public class LongPressGestureDetector : GestureDetector {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
@@ -41,7 +42,7 @@ public class LongPressGestureDetector : GestureDetector {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -64,18 +65,18 @@ public class LongPressGestureDetector : GestureDetector {
 
 public class DetectedEventArgs : EventArgs
 {
-   private Actor _actor;
+   private View _view;
    private LongPressGesture _longPressGesture;
 
-   public Actor Actor
-   {
+   public View View\r
+            {
       get
       {
-         return _actor;
+         return _view;
       }
       set
       {
-         _actor = value;
+         _view = value;
       }
    }
 
@@ -134,7 +135,7 @@ public class DetectedEventArgs : EventArgs
    DetectedEventArgs e = new DetectedEventArgs();
 
    // Populate all members of "e" (LongPressGestureEventArgs) with real data
-   e.Actor = Actor.GetActorFromPtr(actor);
+   e.View = View.GetViewFromPtr(actor);
    e.LongPressGesture = Tizen.NUI.LongPressGesture.GetLongPressGestureFromPtr(longPressGesture);
 
    if (_longPressGestureEventHandler != null)
index 8ca964e4b789c886c2c7c6756d16c1b179ba10e1..51278f222243221b7c412a60a249d30bacb92478 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index c8eae495d7efe5418c284b83a8a100a231541162..3bb18f9ceb5cba681e37a7044ac05b54871a9c19 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
diff --git a/src/Tizen.NUI/src/internal/MeshVisualShadingModeValue.cs b/src/Tizen.NUI/src/internal/MeshVisualShadingModeValue.cs
deleted file mode 100755 (executable)
index 137d81a..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 {
-/* moved to VisualMaps.cs
-    internal enum MeshVisualShadingModeValue {
-  TEXTURELESS_WITH_DIFFUSE_LIGHTING,
-  TEXTURED_WITH_SPECULAR_LIGHTING,
-  TEXTURED_WITH_DETAILED_SPECULAR_LIGHTING
-}
-*/
-}
index 0ab1f1036b197cabb47715b14f4659ede058f6ef..aa8b7408313f2dff4f103724c58adb49dfbdd3de 100755 (executable)
@@ -40,7 +40,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -73,10 +73,15 @@ namespace Tizen.NUI {
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
index ba3b552c7df536f24a38c01e85b579d8789743f5..c7c699c10466608969b57f93a5222e709001ff95 100755 (executable)
@@ -440,12 +440,6 @@ namespace Tizen.NUI {
     } 
   }
 
-  public static Handle New() {
-    Handle ret = new Handle(NDalicPINVOKE.New(), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
   public static bool RegisterType(string name, SWIGTYPE_p_std__type_info baseType, System.Delegate f) {
 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(f); 
     {
@@ -977,43 +971,43 @@ System.IntPtr ip2 = System.Runtime.InteropServices.Marshal.GetFunctionPointerFor
     return ret;
   }
   
-  public static void UnparentAndReset(Actor actor) {
-    NDalicPINVOKE.UnparentAndReset(Actor.getCPtr(actor));
+  public static void UnparentAndReset(View view) {
+    NDalicPINVOKE.UnparentAndReset(View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public static void Raise(Actor actor) {
-    NDalicPINVOKE.Raise(Actor.getCPtr(actor));
+  public static void Raise(View view) {
+    NDalicPINVOKE.Raise(View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public static void Lower(Actor actor) {
-    NDalicPINVOKE.Lower(Actor.getCPtr(actor));
+  public static void Lower(View view) {
+    NDalicPINVOKE.Lower(View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public static void RaiseToTop(Actor actor) {
-    NDalicPINVOKE.RaiseToTop(Actor.getCPtr(actor));
+  public static void RaiseToTop(View view) {
+    NDalicPINVOKE.RaiseToTop(View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public static void LowerToBottom(Actor actor) {
-    NDalicPINVOKE.LowerToBottom(Actor.getCPtr(actor));
+  public static void LowerToBottom(View view) {
+    NDalicPINVOKE.LowerToBottom(View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public static void RaiseAbove(Actor actor, Actor target) {
-    NDalicPINVOKE.RaiseAbove(Actor.getCPtr(actor), Actor.getCPtr(target));
+  public static void RaiseAbove(View view, View target) {
+    NDalicPINVOKE.RaiseAbove(View.getCPtr(view), View.getCPtr(target));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public static void LowerBelow(Actor actor, Actor target) {
-    NDalicPINVOKE.LowerBelow(Actor.getCPtr(actor), Actor.getCPtr(target));
+  public static void LowerBelow(View view, View target) {
+    NDalicPINVOKE.LowerBelow(View.getCPtr(view), View.getCPtr(target));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public static SWIGTYPE_p_Dali__SignalT_void_fDali__Actor_bool_Dali__DevelActor__VisibilityChange__TypeF_t VisibilityChangedSignal(Actor actor) {
-    SWIGTYPE_p_Dali__SignalT_void_fDali__Actor_bool_Dali__DevelActor__VisibilityChange__TypeF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Actor_bool_Dali__DevelActor__VisibilityChange__TypeF_t(NDalicPINVOKE.VisibilityChangedSignal(Actor.getCPtr(actor)), false);
+  public static ViewVisibilityChangedSignal VisibilityChangedSignal(View view) {
+    ViewVisibilityChangedSignal ret = new ViewVisibilityChangedSignal(NDalicPINVOKE.VisibilityChangedSignal(View.getCPtr(view)), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
@@ -1073,6 +1067,18 @@ System.IntPtr ip2 = System.Runtime.InteropServices.Marshal.GetFunctionPointerFor
     return ret;
   }
 
+  public static KeyInputFocusSignal ResourceReadySignal(View control) {
+    KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.ResourceReadySignal(View.getCPtr(control)), false);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public static bool IsResourceReady(View control) {
+    bool ret = NDalicPINVOKE.IsResourceReady(View.getCPtr(control));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
   public static bool IsVertical(ControlOrientationType orientation) {
     bool ret = NDalicPINVOKE.IsVertical((int)orientation);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
index e1f5685b5e740e91abc6559af2e804f7dbe3eb7e..a3876a4f2e2aae8a61a912f8ce86fac2bd3a0a09 100755 (executable)
@@ -6023,6 +6023,26 @@ class NDalicPINVOKE {
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_ResourceImageSignal")]
   public static extern void delete_ResourceImageSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
 
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ViewVisibilityChangedSignal_Empty")]
+  public static extern bool ViewVisibilityChangedSignal_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ViewVisibilityChangedSignal_GetConnectionCount")]
+  public static extern uint ViewVisibilityChangedSignal_GetConnectionCount(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ViewVisibilityChangedSignal_Connect")]
+  public static extern void ViewVisibilityChangedSignal_Connect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ViewVisibilityChangedSignal_Disconnect")]
+  public static extern void ViewVisibilityChangedSignal_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ViewVisibilityChangedSignal_Emit")]
+  public static extern void ViewVisibilityChangedSignal_Emit(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_ViewVisibilityChangedSignal")]
+  public static extern global::System.IntPtr new_ViewVisibilityChangedSignal();
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_ViewVisibilityChangedSignal")]
+  public static extern void delete_ViewVisibilityChangedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_Timer__SWIG_0")]
   public static extern global::System.IntPtr new_Timer__SWIG_0();
 
@@ -7121,6 +7141,11 @@ class NDalicPINVOKE {
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_View__SWIG_2")]
   public static extern global::System.IntPtr new_View__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1);
 
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ResourceReadySignal")]
+  public static extern global::System.IntPtr ResourceReadySignal(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_IsResourceReady")]
+  public static extern bool IsResourceReady(global::System.Runtime.InteropServices.HandleRef jarg1);
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_KeyInputFocusManager")]
   public static extern global::System.IntPtr new_KeyInputFocusManager();
 
@@ -10787,6 +10812,26 @@ class NDalicPINVOKE {
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_RulerPtr_ReferenceCount")]
   public static extern int RulerPtr_ReferenceCount(global::System.Runtime.InteropServices.HandleRef jarg1);
 
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ViewResourceReadySignal_Empty")]
+  public static extern bool ViewResourceReadySignal_Empty(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ViewResourceReadySignal_GetConnectionCount")]
+  public static extern uint ViewResourceReadySignal_GetConnectionCount(global::System.Runtime.InteropServices.HandleRef jarg1);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ViewResourceReadySignal_Connect")]
+  public static extern void ViewResourceReadySignal_Connect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ViewResourceReadySignal_Disconnect")]
+  public static extern void ViewResourceReadySignal_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ViewResourceReadySignal_Emit")]
+  public static extern void ViewResourceReadySignal_Emit(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_new_ViewResourceReadySignal")]
+  public static extern global::System.IntPtr new_ViewResourceReadySignal();
+
+  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_ViewResourceReadySignal")]
+  public static extern void delete_ViewResourceReadySignal(global::System.Runtime.InteropServices.HandleRef jarg1);
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_BaseObject_SWIGUpcast")]
   public static extern global::System.IntPtr BaseObject_SWIGUpcast(global::System.IntPtr jarg1);
 
index 1b932da5561aac87aad728da32fda8c1f36b74ea..b157cb31ae93b8646caa24cf31b26f83f1917741 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 0f149be87b1b0987f536048c656ba6dafb704fd3..c2bbd0fecea1a106eb5de130195241ec13fd3f92 100755 (executable)
@@ -22,10 +22,6 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
-      DisposeQueue.Instance.Add(this);
-      return;
-    }
 
     lock(this) {
       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
index 4593d2c4ca8f4b9cc1fc28cdb95a20a9723d2924..b26442e5b6d3f2197d703ca739206c9126ddf615 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
diff --git a/src/Tizen.NUI/src/internal/Object.cs b/src/Tizen.NUI/src/internal/Object.cs
new file mode 100755 (executable)
index 0000000..54bc5af
--- /dev/null
@@ -0,0 +1,40 @@
+/** 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.
+*
+*/
+
+/**
+ * Static Helper class for Property
+ * Internal
+ */
+
+namespace Tizen.NUI
+{
+
+public static class Object
+{
+  public static PropertyValue GetProperty(global::System.Runtime.InteropServices.HandleRef handle, int index) {
+    PropertyValue ret = new PropertyValue(NDalicPINVOKE.Handle_GetProperty(handle, index), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public static void SetProperty( global::System.Runtime.InteropServices.HandleRef handle, int index, PropertyValue propertyValue)
+  {
+    NDalicPINVOKE.Handle_SetProperty(handle, index, PropertyValue.getCPtr(propertyValue));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+}
+
+}
index 8cf396655312353ae5e283bffb270bfcf77c5590..ab65573a2cb19b996a80e9cfa4eb1a547735b1d9 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 6f59b7c200d5bdf1543daa01507e773940f9c58d..4568a936b0eb6134efde5fe7affdbd2bf77818f4 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 7e524bb4dcbff6049a3bc056a1476261a98da6a0..a847239f54443306ec562bb4726f52ab9c5a1c78 100755 (executable)
@@ -26,7 +26,7 @@ using System.Runtime.InteropServices;
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index fb40fce1cb0fcd5c416e4f3ac889c28df7cd10e6..72ec92d1c27ceb48c6548e31002519c0c29ec993 100755 (executable)
@@ -28,7 +28,7 @@ public class PaddingType : global::System.IDisposable {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 120b776f278df9b9942a87995b5e130fbfbe7bb7..13c59d12a406f269b1ced9892be9059c81ffaa7a 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index e679654febe8b8def7292b22572af7bc1ad0e61a..bc52bc8f8ff47b06ebcdb66f59fbca6aa0a12cda 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index dc2d34e4dba33c29ffbdd0eeb3d972e966a3f30c..f12ec40c2e55cb3f08c152e6b90198f839600124 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 066f5b87b52f43c56dbbf4c12f903262e90fb422..ab4da7b19167fe29fc21d0cf30fdf3d32560c335 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 9debeaa2a35ac39452c30b430227504fc78726e6..43ba6abc9aaef19a9f14e9046f745113cfe1b66f 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index bd77d61adfcddc153aa165bbd58ac5306f99d811..0f3b7e3e14e8357a6d3482030c22ed221fa1b8ef 100755 (executable)
@@ -26,7 +26,7 @@ using Tizen.NUI.BaseComponents;
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -401,10 +401,15 @@ public class PageTurnFinishedEventArgs : EventArgs
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
index 8777c5dd30869f0a0fef84bd46c6f4a2724b5a13..3e116532aa2c793f7e93b1d6576a963268753fc4 100755 (executable)
@@ -9,7 +9,7 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+    using Tizen.NUI.BaseComponents;
     internal class PanGestureDetectedSignal : global::System.IDisposable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
   protected bool swigCMemOwn;
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -74,8 +74,8 @@ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForD
     }
   }
 
-  public void Emit(Actor arg1, PanGesture arg2) {
-    NDalicPINVOKE.PanGestureDetectedSignal_Emit(swigCPtr, Actor.getCPtr(arg1), PanGesture.getCPtr(arg2));
+  public void Emit(View arg1, PanGesture arg2) {
+    NDalicPINVOKE.PanGestureDetectedSignal_Emit(swigCPtr, View.getCPtr(arg1), PanGesture.getCPtr(arg2));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index 962c42c53af431a2433ba915f0bd1fa695121948..4fc0be3b00dc910a772e0f37875822f22a23c162 100755 (executable)
@@ -27,7 +27,8 @@
 namespace Tizen.NUI {
 
 using System;
-using System.Runtime.InteropServices;
+using System.Runtime.InteropServices;\r
+    using Tizen.NUI.BaseComponents;
 
 
 public class PanGestureDetector : GestureDetector {
@@ -42,7 +43,7 @@ public class PanGestureDetector : GestureDetector {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -65,18 +66,18 @@ public class PanGestureDetector : GestureDetector {
 
 public class DetectedEventArgs : EventArgs
 {
-   private Actor _actor;
+   private View _view;
    private PanGesture _panGesture;
 
-   public Actor Actor
-   {
+   public View View\r
+            {
       get
       {
-         return _actor;
+         return _view;
       }
       set
       {
-         _actor = value;
+         _view = value;
       }
    }
 
@@ -135,7 +136,7 @@ public class DetectedEventArgs : EventArgs
    DetectedEventArgs e = new DetectedEventArgs();
 
    // Populate all members of "e" (PanGestureEventArgs) with real data
-   e.Actor = Actor.GetActorFromPtr(actor);
+   e.View = View.GetViewFromPtr(actor);
    e.PanGesture = Tizen.NUI.PanGesture.GetPanGestureFromPtr(panGesture);
 
    if (_panGestureEventHandler != null)
@@ -168,10 +169,15 @@ public static PanGestureDetector GetPanGestureDetectorFromPtr(global::System.Int
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -368,7 +374,7 @@ public static PanGestureDetector GetPanGestureDetectorFromPtr(global::System.Int
     get
     {
       Vector2 temp = new Vector2(0.0f,0.0f);
-      GetProperty( PanGestureDetector.Property.SCREEN_POSITION).Get(  temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, PanGestureDetector.Property.SCREEN_POSITION).Get(  temp );
       return temp;
     }
 }  public Vector2 ScreenDisplacement
@@ -376,7 +382,7 @@ public static PanGestureDetector GetPanGestureDetectorFromPtr(global::System.Int
     get
     {
       Vector2 temp = new Vector2(0.0f,0.0f);
-      GetProperty( PanGestureDetector.Property.SCREEN_DISPLACEMENT).Get(  temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, PanGestureDetector.Property.SCREEN_DISPLACEMENT).Get(  temp );
       return temp;
     }
 }  public Vector2 ScreenVelocity
@@ -384,7 +390,7 @@ public static PanGestureDetector GetPanGestureDetectorFromPtr(global::System.Int
     get
     {
       Vector2 temp = new Vector2(0.0f,0.0f);
-      GetProperty( PanGestureDetector.Property.SCREEN_VELOCITY).Get(  temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, PanGestureDetector.Property.SCREEN_VELOCITY).Get(  temp );
       return temp;
     }
 }  public Vector2 LocalPosition
@@ -392,7 +398,7 @@ public static PanGestureDetector GetPanGestureDetectorFromPtr(global::System.Int
     get
     {
       Vector2 temp = new Vector2(0.0f,0.0f);
-      GetProperty( PanGestureDetector.Property.LOCAL_POSITION).Get(  temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, PanGestureDetector.Property.LOCAL_POSITION).Get(  temp );
       return temp;
     }
 }  public Vector2 LocalDisplacement
@@ -400,7 +406,7 @@ public static PanGestureDetector GetPanGestureDetectorFromPtr(global::System.Int
     get
     {
       Vector2 temp = new Vector2(0.0f,0.0f);
-      GetProperty( PanGestureDetector.Property.LOCAL_DISPLACEMENT).Get(  temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, PanGestureDetector.Property.LOCAL_DISPLACEMENT).Get(  temp );
       return temp;
     }
 }  public Vector2 LocalVelocity
@@ -408,7 +414,7 @@ public static PanGestureDetector GetPanGestureDetectorFromPtr(global::System.Int
     get
     {
       Vector2 temp = new Vector2(0.0f,0.0f);
-      GetProperty( PanGestureDetector.Property.LOCAL_VELOCITY).Get(  temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, PanGestureDetector.Property.LOCAL_VELOCITY).Get(  temp );
       return temp;
     }
 }  public bool Panning
@@ -416,7 +422,7 @@ public static PanGestureDetector GetPanGestureDetectorFromPtr(global::System.Int
     get
     {
       bool temp = false;
-      GetProperty( PanGestureDetector.Property.PANNING).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, PanGestureDetector.Property.PANNING).Get( ref temp );
       return temp;
     }
 }
index aadcd231aa59cc0a57c5727c275ffde6e704a5a3..2b73097acf34bb36a94886bcc0b64a7bc66055ec 100755 (executable)
@@ -26,7 +26,7 @@
 
 namespace Tizen.NUI {
 
-    internal class PathConstrainer : Handle
+    internal class PathConstrainer : BaseHandle
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
@@ -39,7 +39,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -72,10 +72,15 @@ namespace Tizen.NUI {
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -130,9 +135,9 @@ namespace Tizen.NUI {
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-        internal void Remove(Handle target)
+        internal void Remove(Animatable target)
         {
-            NDalicPINVOKE.PathConstrainer_Remove(swigCPtr, Handle.getCPtr(target));
+            NDalicPINVOKE.PathConstrainer_Remove(swigCPtr, Animatable.getCPtr(target));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
@@ -141,12 +146,12 @@ namespace Tizen.NUI {
             get
             {
                 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
-                GetProperty(PathConstrainer.Property.FORWARD).Get(temp);
+                Tizen.NUI.Object.GetProperty(swigCPtr, PathConstrainer.Property.FORWARD).Get(temp);
                 return temp;
             }
             set
             {
-                SetProperty(PathConstrainer.Property.FORWARD, new Tizen.NUI.PropertyValue(value));
+                Tizen.NUI.Object.SetProperty(swigCPtr, PathConstrainer.Property.FORWARD, new Tizen.NUI.PropertyValue(value));
             }
         }
 
@@ -155,12 +160,12 @@ namespace Tizen.NUI {
             get
             {
                 Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
-                GetProperty(PathConstrainer.Property.POINTS).Get(temp);
+                Tizen.NUI.Object.GetProperty(swigCPtr, PathConstrainer.Property.POINTS).Get(temp);
                 return temp;
             }
             set
             {
-                SetProperty(PathConstrainer.Property.POINTS, new Tizen.NUI.PropertyValue(value));
+                Tizen.NUI.Object.SetProperty(swigCPtr, PathConstrainer.Property.POINTS, new Tizen.NUI.PropertyValue(value));
             }
         }
 
@@ -169,12 +174,12 @@ namespace Tizen.NUI {
             get
             {
                 Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
-                GetProperty(PathConstrainer.Property.CONTROL_POINTS).Get(temp);
+                Tizen.NUI.Object.GetProperty(swigCPtr, PathConstrainer.Property.CONTROL_POINTS).Get(temp);
                 return temp;
             }
             set
             {
-                SetProperty(PathConstrainer.Property.CONTROL_POINTS, new Tizen.NUI.PropertyValue(value));
+                Tizen.NUI.Object.SetProperty(swigCPtr, PathConstrainer.Property.CONTROL_POINTS, new Tizen.NUI.PropertyValue(value));
             }
         }
 
index f0b5ca0963a6ed90ff744a325d7a025eacee5e30..abeb4332bcab69bcbda89a9575864b008960622c 100755 (executable)
@@ -9,7 +9,7 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+    using Tizen.NUI.BaseComponents;
     internal class PinchGestureDetectedSignal : global::System.IDisposable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
   protected bool swigCMemOwn;
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -74,8 +74,8 @@ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForD
     }
   }
 
-  public void Emit(Actor arg1, PinchGesture arg2) {
-    NDalicPINVOKE.PinchGestureDetectedSignal_Emit(swigCPtr, Actor.getCPtr(arg1), PinchGesture.getCPtr(arg2));
+  public void Emit(View arg1, PinchGesture arg2) {
+    NDalicPINVOKE.PinchGestureDetectedSignal_Emit(swigCPtr, View.getCPtr(arg1), PinchGesture.getCPtr(arg2));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index d4f63fb2b6cb55dbb0e02718fe39032bb8c70d41..22587e2ef8525cdc81f0f4b9659a1377476a077d 100755 (executable)
@@ -28,6 +28,7 @@ namespace Tizen.NUI {
 
 using System;
 using System.Runtime.InteropServices;
+    using Tizen.NUI.BaseComponents;
 
 
 public class PinchGestureDetector : GestureDetector {
@@ -42,7 +43,7 @@ public class PinchGestureDetector : GestureDetector {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -64,18 +65,18 @@ public class PinchGestureDetector : GestureDetector {
 
 public class DetectedEventArgs : EventArgs
 {
-   private Actor _actor;
+   private View _view;
    private PinchGesture _pinchGesture;
 
-   public Actor Actor
-   {
+   public View View\r
+            {
       get
       {
-         return _actor;
+         return _view;
       }
       set
       {
-         _actor = value;
+         _view = value;
       }
    }
 
@@ -134,7 +135,7 @@ public class DetectedEventArgs : EventArgs
    DetectedEventArgs e = new DetectedEventArgs();
 
    // Populate all members of "e" (DetectedEventArgs) with real data
-   e.Actor = Actor.GetActorFromPtr(actor);
+   e.View = View.GetViewFromPtr(actor);
    e.PinchGesture = Tizen.NUI.PinchGesture.GetPinchGestureFromPtr(pinchGesture);
 
    if (_pinchGestureEventHandler != null)
index e74034733d02451d13e30e804ba337c0f2d1f874..5b7e0665283fbce1a022c47caf29119b1084bc88 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
diff --git a/src/Tizen.NUI/src/internal/Popup.cs b/src/Tizen.NUI/src/internal/Popup.cs
new file mode 100755 (executable)
index 0000000..21e8a60
--- /dev/null
@@ -0,0 +1,1067 @@
+/** 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.UIComponents
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+    using Tizen.NUI.BaseComponents;
+
+    /// <summary>
+    /// The Popup widget provides a configurable pop-up dialog with built-in layout of three main fields.
+    /// </summary>
+    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;
+        }
+
+        public override void Dispose()
+        {
+            if (!Window.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();
+            }
+        }
+
+
+
+        /// <summary>
+        /// Event arguments that passed via OutsideTouchedEvent
+        /// </summary>
+        public class OutsideTouchedEventArgs : EventArgs
+        {
+        }
+
+        /// <summary>
+        /// Event arguments that passed via ShowingEventArgs
+        /// </summary>
+        public class ShowingEventArgs : EventArgs
+        {
+        }
+
+        /// <summary>
+        /// Event arguments that passed via ShownEventArgs
+        /// </summary>
+        public class ShownEventArgs : EventArgs
+        {
+        }
+
+        /// <summary>
+        /// Event arguments that passed via HidingEventArgs
+        /// </summary>
+        public class HidingEventArgs : EventArgs
+        {
+        }
+
+        /// <summary>
+        /// Event arguments that passed via HiddenEventArgs
+        /// </summary>
+        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;
+
+        /// <summary>
+        /// Event is sent when user has touched outside of the Dialog.
+        /// </summary>
+        public event EventHandler<OutsideTouchedEventArgs> OutsideTouched
+        {
+            add
+            {
+                if (_popUpOutsideTouchedEventHandler == null)
+                {
+                    _popUpOutsideTouchedEventCallbackDelegate = (OnOutsideTouched);
+                    OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);
+                }
+                _popUpOutsideTouchedEventHandler += value;
+            }
+            remove
+            {
+                _popUpOutsideTouchedEventHandler -= value;
+                if (_popUpOutsideTouchedEventHandler == null && OutsideTouchedSignal().Empty() == false)
+                {
+                    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);
+            }
+        }
+
+        /// <summary>
+        /// Event is sent when the Popup is starting to be shown.
+        /// </summary>
+        public event EventHandler<ShowingEventArgs> Showing
+        {
+            add
+            {
+                if (_popUpShowingEventHandler == null)
+                {
+                    _popUpShowingEventCallbackDelegate = (OnShowing);
+                    ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);
+                }
+                _popUpShowingEventHandler += value;
+            }
+            remove
+            {
+                _popUpShowingEventHandler -= value;
+                if (_popUpShowingEventHandler == null && ShowingSignal().Empty() == false)
+                {
+                    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);
+            }
+        }
+
+
+        /// <summary>
+        /// Event is sent when the Popup has been fully displayed.
+        /// </summary>
+        public event EventHandler<ShownEventArgs> Shown
+        {
+            add
+            {
+                if (_popUpShownEventHandler == null)
+                {
+                    _popUpShownEventCallbackDelegate = (OnShown);
+                    ShownSignal().Connect(_popUpShownEventCallbackDelegate);
+                }
+                _popUpShownEventHandler += value;
+            }
+            remove
+            {
+                _popUpShownEventHandler -= value;
+                if (_popUpShownEventHandler == null && ShownSignal().Empty() == false)
+                {
+                    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);
+            }
+        }
+
+        /// <summary>
+        /// Event is sent when the Popup is starting to be hidden.
+        /// </summary>
+        public event EventHandler<HidingEventArgs> Hiding
+        {
+            add
+            {
+                if (_popUpHidingEventHandler == null)
+                {
+                    _popUpHidingEventCallbackDelegate = (OnHiding);
+                    HidingSignal().Connect(_popUpHidingEventCallbackDelegate);
+                }
+                _popUpHidingEventHandler += value;
+            }
+            remove
+            {
+                _popUpHidingEventHandler -= value;
+                if (_popUpHidingEventHandler == null && HidingSignal().Empty() == false)
+                {
+                    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);
+            }
+        }
+
+        /// <summary>
+        /// Event is sent when the Popup has been completely hidden.
+        /// </summary>
+        public event EventHandler<HiddenEventArgs> Hidden
+        {
+            add
+            {
+                if (_popUpHiddenEventHandler == null)
+                {
+                    _popUpHiddenEventCallbackDelegate = (OnHidden);
+                    HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);
+                }
+                _popUpHiddenEventHandler += value;
+            }
+            remove
+            {
+                _popUpHiddenEventHandler -= value;
+                if (_popUpHiddenEventHandler == null && HiddenSignal().Empty() == false)
+                {
+                    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()
+            {
+                DisposeQueue.Instance.Add(this);
+            }
+
+            public virtual void Dispose()
+            {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
+                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();
+
+        }
+
+        /// <summary>
+        /// Create the Popup.
+        /// </summary>
+        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;
+        }
+
+        /// <summary>
+        /// Downcasts a handle to Popup handle.<br>
+        /// If handle points to a Popup, the downcast produces valid handle.<br>
+        /// If not the returned handle is left uninitialized.<br>
+        /// </summary>
+        /// <param name="handle">Handle to an object</param>
+        /// <returns>handle to a Popup or an uninitialized handle</returns>
+        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;
+        }
+
+        /// <summary>
+        /// Sets a title for this Popup.
+        /// </summary>
+        /// <param name="titleActor">The actor to set a title</param>
+        public void SetTitle(View titleView)
+        {
+            NDalicPINVOKE.Popup_SetTitle(swigCPtr, View.getCPtr(titleView));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal View GetTitle()
+        {
+            View ret = new View(NDalicPINVOKE.Popup_GetTitle(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Sets the content actor.
+        /// </summary>
+        /// <param name="content">The actor to use</param>
+        public void SetContent(View content)
+        {
+            NDalicPINVOKE.Popup_SetContent(swigCPtr, View.getCPtr(content));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal View GetContent()
+        {
+            View ret = new View(NDalicPINVOKE.Popup_GetContent(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Sets the actor to use for a footer in this Popup.
+        /// </summary>
+        /// <param name="footer">The footer actor to be added to this Popup</param>
+        public void SetFooter(View footer)
+        {
+            NDalicPINVOKE.Popup_SetFooter(swigCPtr, View.getCPtr(footer));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal View GetFooter()
+        {
+            View ret = new View(NDalicPINVOKE.Popup_GetFooter(swigCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Sets the display state of Popup.<br>
+        /// There are 4 total display states.<br>
+        /// Only 2 can be set, but all four can be read for better inspection of the current popup state.<br>
+        /// <br>
+        /// The other two states are getable, but not setable and are there for consistency.<br>
+        /// <br>
+        /// | Value    | Setting the state              | Getting the state              |<br>
+        /// |----------|--------------------------------|--------------------------------|<br>
+        /// | SHOWN    | Show the popup                 | The popup is fully shown       |<br>
+        /// | HIDDEN   | Hide the popup                 | The popup is fully hidden      |<br>
+        /// | SHOWING  |                                | The popup is transitioning in  |<br>
+        /// | HIDING   |                                | The popup is transitioning out |<br>
+        /// <br>
+        /// All 4 state changes cause notifications via 4 respective signals that can be connected to.<br>
+        /// </summary>
+        /// <param name="displayState">The desired display state to change to</param>
+        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
+        }
+
+        /// <summary>
+        /// The display states of the Popup.
+        /// </summary>
+        public enum DisplayStateType
+        {
+            Showing,
+            Shown,
+            Hiding,
+            Hidden
+        }
+
+        /// <summary>
+        /// The animation mode within popup.<br>
+        /// Choose from a predefined mode or "CUSTOM" to use the ANIMATION_IN and ANIMATION_OUT properties.<br>
+        /// </summary>
+        public enum AnimationModeType
+        {
+            None,
+            Zoom,
+            Fade,
+            Custom
+        }
+
+        /// <summary>
+        /// Types of contextual layout.<br>
+        /// The Popup is positioned adjacent to it's parent in the direction specified by this mode.<br>
+        /// NON_CONTEXTUAL disables any contextual positioning.<br>
+        /// </summary>
+        public enum ContextualModeType
+        {
+            NonContextual,
+            Above,
+            Rright,
+            Below,
+            Left
+        }
+
+        /// <summary>
+        /// Popup title.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Popup content.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Popup footer.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Popup display state.
+        /// </summary>
+        public DisplayStateType DisplayState
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(Popup.Property.DISPLAY_STATE).Get(out temp) == false)
+                {
+#if DEBUG_ON
+                    Tizen.Log.Error("NUI", "DisplayState get error!");
+#endif
+                }
+                switch (temp)
+                {
+                    case "SHOWING":
+                        return DisplayStateType.Showing;
+                    case "SHOWN":
+                        return DisplayStateType.Shown;
+                    case "HIDING":
+                        return DisplayStateType.Hiding;
+                    case "HIDDEN":
+                        return DisplayStateType.Hidden;
+                    default:
+                        return DisplayStateType.Hidden;
+                }
+            }
+            set
+            {
+                string valueToString = "";
+                switch (value)
+                {
+                    case DisplayStateType.Showing:
+                    {
+                        valueToString = "SHOWING";
+                        break;
+                    }
+                    case DisplayStateType.Shown:
+                    {
+                        valueToString = "SHOWN";
+                        break;
+                    }
+                    case DisplayStateType.Hiding:
+                    {
+                        valueToString = "HIDING";
+                        break;
+                    }
+                    case DisplayStateType.Hidden:
+                    {
+                        valueToString = "HIDDEN";
+                        break;
+                    }
+                    default:
+                    {
+                        valueToString = "HIDDEN";
+                        break;
+                    }
+                }
+                SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(valueToString));
+            }
+        }
+        /// <summary>
+        /// Touch transparent.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Popup tail visibility.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Popup tail position.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Contextual mode.
+        /// </summary>
+        public ContextualModeType ContextualMode
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp) == false)
+                {
+#if DEBUG_ON
+                    Tizen.Log.Error("NUI", "ContextualMode get error!");
+#endif
+                }
+                switch (temp)
+                {
+                    case "NON_CONTEXTUAL":
+                        return ContextualModeType.NonContextual;
+                    case "ABOVE":
+                        return ContextualModeType.Above;
+                    case "RIGHT":
+                        return ContextualModeType.Rright;
+                    case "BELOW":
+                        return ContextualModeType.Below;
+                    case "LEFT":
+                        return ContextualModeType.Left;
+                    default:
+                        return ContextualModeType.Below;
+                }
+            }
+            set
+            {
+                string valueToString = "";
+                switch (value)
+                {
+                    case ContextualModeType.NonContextual:
+                    {
+                        valueToString = "NON_CONTEXTUAL";
+                        break;
+                    }
+                    case ContextualModeType.Above:
+                    {
+                        valueToString = "ABOVE";
+                        break;
+                    }
+                    case ContextualModeType.Rright:
+                    {
+                        valueToString = "RIGHT";
+                        break;
+                    }
+                    case ContextualModeType.Below:
+                    {
+                        valueToString = "BELOW";
+                        break;
+                    }
+                    case ContextualModeType.Left:
+                    {
+                        valueToString = "LEFT";
+                        break;
+                    }
+                    default:
+                    {
+                        valueToString = "BELOW";
+                        break;
+                    }
+                }
+                SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(valueToString));
+            }
+        }
+        /// <summary>
+        /// Animation duration.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Animation mode.
+        /// </summary>
+        public AnimationModeType AnimationMode
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp) == false)
+                {
+#if DEBUG_ON
+                    Tizen.Log.Error("NUI", "AnimationMode get error!");
+#endif
+                }
+                switch (temp)
+                {
+                    case "NONE":
+                        return AnimationModeType.None;
+                    case "ZOOM":
+                        return AnimationModeType.Zoom;
+                    case "FADE":
+                        return AnimationModeType.Fade;
+                    case "CUSTOM":
+                        return AnimationModeType.Custom;
+                    default:
+                        return AnimationModeType.Fade;
+                }
+            }
+            set
+            {
+                string valueToString = "";
+                switch (value)
+                {
+                    case AnimationModeType.None:
+                    {
+                        valueToString = "NONE";
+                        break;
+                    }
+                    case AnimationModeType.Zoom:
+                    {
+                        valueToString = "ZOOM";
+                        break;
+                    }
+                    case AnimationModeType.Fade:
+                    {
+                        valueToString = "FADE";
+                        break;
+                    }
+                    case AnimationModeType.Custom:
+                    {
+                        valueToString = "CUSTOM";
+                        break;
+                    }
+                    default:
+                    {
+                        valueToString = "FADE";
+                        break;
+                    }
+                }
+                SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(valueToString));
+            }
+        }
+        /// <summary>
+        /// Entry animation.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Exit animation.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Auto hide delay.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Backing enabled.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Backing color.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Background image.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Background border.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Tail up image.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Tail down image.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Tail left image.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Tail right image.
+        /// </summary>
+        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/internal/PrimitiveVisualShapeType.cs b/src/Tizen.NUI/src/internal/PrimitiveVisualShapeType.cs
deleted file mode 100755 (executable)
index ff238ac..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 {
-/* moved to VisualMaps.cs
-    internal enum PrimitiveVisualShapeType {
-  SPHERE,
-  CONICAL_FRUSTRUM,
-  CONE,
-  CYLINDER,
-  CUBE,
-  OCTAHEDRON,
-  BEVELLED_CUBE
-}
-*/
-}
diff --git a/src/Tizen.NUI/src/internal/ProgressBar.cs b/src/Tizen.NUI/src/internal/ProgressBar.cs
new file mode 100755 (executable)
index 0000000..1cc47d1
--- /dev/null
@@ -0,0 +1,448 @@
+/** 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.UIComponents
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+    using Tizen.NUI.BaseComponents;
+
+    /// <summary>
+    /// ProgressBar is a control to give the user an indication of the progress of an operation.
+    /// </summary>
+    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;
+        }
+
+        /// <summary>
+        /// To make ProgressBar instance be disposed.
+        /// </summary>
+        public override void Dispose()
+        {
+            if (!Window.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();
+            }
+        }
+
+
+
+        /// <summary>
+        /// Event arguments that passed via ValueChangedEventArgs
+        /// </summary>
+        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;
+
+        /// <summary>
+        /// Event is sent when the ProgressBar value changes.
+        /// </summary>
+        public event EventHandler<ValueChangedEventArgs> ValueChanged
+        {
+            add
+            {
+                if (_progressBarValueChangedEventHandler == null)
+                {
+                    _progressBarValueChangedCallbackDelegate = (OnValueChanged);
+                    ValueChangedSignal().Connect(_progressBarValueChangedCallbackDelegate);
+                }
+                _progressBarValueChangedEventHandler += value;
+            }
+            remove
+            {
+                _progressBarValueChangedEventHandler -= value;
+                if (_progressBarValueChangedEventHandler == null && ValueChangedSignal().Empty() == false)
+                {
+                    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);
+            }
+        }
+
+        /// <summary>
+        /// </summary>
+        internal 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()
+            {
+                DisposeQueue.Instance.Add(this);
+            }
+
+            public virtual void Dispose()
+            {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
+                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();
+
+        }
+
+        /// <summary>
+        /// Creates the ProgressBar.
+        /// </summary>
+        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;
+        }
+
+        /// <summary>
+        /// Downcasts a handle to ProgressBar handle.<br>
+        /// If handle points to a ProgressBar, the downcast produces valid handle.<br>
+        /// If not the returned handle is left uninitialized.<br>
+        /// </summary>
+        /// <param name="handle">Handle to an object</param>
+        /// <returns>handle to a ProgressBar or an uninitialized handle</returns>
+        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
+        }
+
+        /// <summary>
+        /// The progress value of progress bar, progress runs form 0 to 1.<br>
+        /// If Value is set to 0, progress bar will be set to beginning.<br>
+        /// If Value is set to 1, progress bar will be set to end.<br>
+        /// Any Value outside of the range is ignored.<br>
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// The secondary progress value of progress bar, secondary progress runs form 0 to 1.<br>
+        /// Optional. If not supplied, the default is 0.<br>
+        /// If Value is set to 0, progress bar will be set secondary progress to beginning.<br>
+        /// If Value is set to 1, progress bar will be set secondary progress to end.<br>
+        /// Any Value outside of the range is ignored.<br>
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// Sets the progress-bar as \e indeterminate state.
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// The track Visual value of progress bar, it's a full progress area and it's shown behind PROGRESS_VISUAL.<br>
+        /// Optional. If not supplied, the default track visual will be shown.<br>
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// The progress Visual value of progress bar, size of the progress visual is changed based on PROGRESS_VALUE.<br>
+        /// Optional. If not supplied, the default progress visual will be shown.<br>
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// The secondary progress visual of progress bar, size of the secondary progress visual is changed based on SECONDARY_PROGRESS_VALUE.<br>
+        /// Optional. If not supplied, the secondary progress visual will not be shown.<br>
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// The indeterminate visual of progress bar.<br>
+        /// Optional. If not supplied, the default inditerminate visual will be shown.<br>
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// The transition data for indeterminate visual animation.<br>
+        /// Optional. If not supplied, default animation will be played.<br>
+        /// </summary>
+        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));
+            }
+        }
+        /// <summary>
+        /// The Label visual of progress bar.
+        /// </summary>
+        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 275248a1e4f3794fe7e3fc252da37474a48396bb..ac4ab59c775c78ae9f97141cd90051f9d93f6835 100755 (executable)
@@ -28,7 +28,7 @@ public class ProgressBarValueChangedSignal : global::System.IDisposable {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 5fa47273b579e80472e9d9fa2ee8dfe317579065..8a416ed1908e3dd94614def3bf2d3cd738baea1a 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
  public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 82a537486646c60d719b416a3e852879818307b3..d30a05314e146ce4b42e86c00fb66342f061a181 100755 (executable)
@@ -22,7 +22,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 38764825adde5ad6c9421aeea685073f3d406224..d2bc022c6d1430a6b413a8584f2659850df0644f 100755 (executable)
@@ -26,7 +26,7 @@ using System.Runtime.InteropServices;
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -158,8 +158,8 @@ public class NotifyEventArgs : EventArgs
     return ret;
   }
 
-  public Handle GetTarget() {
-    Handle ret = new Handle(NDalicPINVOKE.PropertyNotification_GetTarget(swigCPtr), true);
+  public Animatable GetTarget() {
+    Animatable ret = new Animatable(NDalicPINVOKE.PropertyNotification_GetTarget(swigCPtr), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
index 7c3db97df9d674c2a5ef7505af040c84f4c20497..0f9fae25477235556f01dfdb627952cba8e2f153 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 7aa3d5ec5de70127b28171d3566c7630819e44aa..00e16314287105fff2723031619949c8abf172e6 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
diff --git a/src/Tizen.NUI/src/internal/RadioButton.cs b/src/Tizen.NUI/src/internal/RadioButton.cs
new file mode 100755 (executable)
index 0000000..32221e9
--- /dev/null
@@ -0,0 +1,130 @@
+/** 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.UIComponents
+{
+
+    /// <summary>
+    /// A RadioButton provides a radio button which two states \e selected or \e unselected.<br>
+    /// Radio buttons are designed to select one of many option at the same time.<br>
+    /// RadioButton can change its current state using Selected.<br>
+    /// <br>
+    /// RadioButtons can be grouped.<br>
+    /// Two or more RadioButtons are in one group when they have this same parent.<br>
+    /// In each groups only one RadioButton can be \e selected at a given time.<br>
+    /// So when RadioButton is set to \e selected, other RadioButtons in its group are set to \e unselected.<br>
+    /// When \e selected RadioButton is set to \e unselected no other RadioButtons in his group is set to \e selected.<br>
+    /// <br>
+    ///  A StateChanged Event is emitted when the RadioButton change its state to \e selected or \e unselected.<br>
+    /// </summary>
+    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;
+        }
+
+        /// <summary>
+        /// To make RadioButton instance be disposed.
+        /// </summary>
+        public override void Dispose()
+        {
+            if (!Window.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();
+            }
+        }
+
+        /// <summary>
+        /// Creates an uninitialized RadioButton
+        /// </summary>
+        public RadioButton() : this(NDalicPINVOKE.RadioButton_New__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+
+        }
+
+        /// <summary>
+        /// Creates an uninitialized RadioButton with Label
+        /// </summary>
+        /// <param name="label">Label text</param>
+        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;
+        }
+
+        /// <summary>
+        /// Downcasts a handle to RadioButton handle.
+        /// If handle points to a RadioButton, the downcast produces valid handle.
+        /// If not, the returned handle is left uninitialized.
+        /// </summary>
+        /// <param name="handle">Handle to an object</param>
+        /// <returns>A handle to a RadioButton or an uninitialized handle</returns>
+        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 26f2cc8a118583f77a23c9b2974eccb4ccef972d..3782c3dbe41d11cf70c639c1f9502e79b902f067 100755 (executable)
@@ -29,7 +29,7 @@ public class RefObject : global::System.IDisposable {
 
   public virtual void Dispose() {
 
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 029a9e1f25f20e12b61c4e0009e94fa8db0e9f8f..b7bab0817a7e7235013c2846ea178cac9d7b9fa1 100755 (executable)
@@ -9,8 +9,8 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
-    internal class RenderTask : Handle {
+    using Tizen.NUI.BaseComponents;
+    internal class RenderTask : Animatable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
   internal RenderTask(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.RenderTask_SWIGUpcast(cPtr), cMemoryOwn) {
@@ -22,7 +22,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -61,10 +61,15 @@ namespace Tizen.NUI {
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -175,13 +180,13 @@ namespace Tizen.NUI {
     return ret;
   }
 
-  public void SetSourceActor(Actor actor) {
-    NDalicPINVOKE.RenderTask_SetSourceActor(swigCPtr, Actor.getCPtr(actor));
+  public void SetSourceView(View view) {
+    NDalicPINVOKE.RenderTask_SetSourceActor(swigCPtr, View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public Actor GetSourceActor() {
-    Actor ret = new Actor(NDalicPINVOKE.RenderTask_GetSourceActor(swigCPtr), true);
+  public View GetSourceView() {
+    View ret = new View(NDalicPINVOKE.RenderTask_GetSourceActor(swigCPtr), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
@@ -208,13 +213,13 @@ namespace Tizen.NUI {
     return ret;
   }
 
-  public void SetCameraActor(CameraActor cameraActor) {
-    NDalicPINVOKE.RenderTask_SetCameraActor(swigCPtr, CameraActor.getCPtr(cameraActor));
+  public void SetCamera(Camera camera) {
+    NDalicPINVOKE.RenderTask_SetCameraActor(swigCPtr, Camera.getCPtr(camera));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public CameraActor GetCameraActor() {
-    CameraActor ret = new CameraActor(NDalicPINVOKE.RenderTask_GetCameraActor(swigCPtr), true);
+  public Camera GetCamera() {
+    Camera ret = new Camera(NDalicPINVOKE.RenderTask_GetCameraActor(swigCPtr), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
@@ -253,13 +258,13 @@ namespace Tizen.NUI {
     return ret;
   }
 
-  public void SetScreenToFrameBufferMappingActor(Actor mappingActor) {
-    NDalicPINVOKE.RenderTask_SetScreenToFrameBufferMappingActor(swigCPtr, Actor.getCPtr(mappingActor));
+  public void SetScreenToFrameBufferMappingView(View mappingView) {
+    NDalicPINVOKE.RenderTask_SetScreenToFrameBufferMappingActor(swigCPtr, View.getCPtr(mappingView));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public Actor GetScreenToFrameBufferMappingActor() {
-    Actor ret = new Actor(NDalicPINVOKE.RenderTask_GetScreenToFrameBufferMappingActor(swigCPtr), true);
+  public View GetScreenToFrameBufferMappingView() {
+    View ret = new View(NDalicPINVOKE.RenderTask_GetScreenToFrameBufferMappingActor(swigCPtr), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
@@ -347,8 +352,8 @@ namespace Tizen.NUI {
     return ret;
   }
 
-  public bool ViewportToLocal(Actor actor, float viewportX, float viewportY, out float localX, out float localY) {
-    bool ret = NDalicPINVOKE.RenderTask_ViewportToLocal(swigCPtr, Actor.getCPtr(actor), viewportX, viewportY, out localX, out localY);
+  public bool ViewportToLocal(View view, float viewportX, float viewportY, out float localX, out float localY) {
+    bool ret = NDalicPINVOKE.RenderTask_ViewportToLocal(swigCPtr, View.getCPtr(view), viewportX, viewportY, out localX, out localY);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
index 4fa79eb2e98c71f3923d41cf5fac47543cb80400..c628e5a480bf6c1e7f25b6270568cfb4a80bf284 100755 (executable)
@@ -22,7 +22,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 6d40996d623fabbb25de85f1d49549ac14d4d545..58ceee0460930e7cc32ea9a8751c5da0c41d7026 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index bf77932f24e7fa82ff86df196a00d01148aaa95e..cdd1e37226c5dcba19f066b532f4a309fc1b9619 100755 (executable)
@@ -26,7 +26,7 @@
 
 namespace Tizen.NUI {
 
-    internal class Renderer : Handle {
+    internal class Renderer : Animatable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
   internal Renderer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Renderer_SWIGUpcast(cPtr), cMemoryOwn) {
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -54,10 +54,8 @@ namespace Tizen.NUI {
       global::System.GC.SuppressFinalize(this);
       base.Dispose();
     }
-  }
-
-
-  public class Property : global::System.IDisposable {
+  }\r
+        public class Property : global::System.IDisposable {
     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
     protected bool swigCMemOwn;
   
@@ -71,10 +69,15 @@ namespace Tizen.NUI {
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -181,12 +184,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.DEPTH_INDEX).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DEPTH_INDEX).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.DEPTH_INDEX, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_INDEX, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int FaceCullingMode
@@ -194,12 +197,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.FACE_CULLING_MODE).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.FACE_CULLING_MODE).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.FACE_CULLING_MODE, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.FACE_CULLING_MODE, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int BlendMode
@@ -207,12 +210,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.BLEND_MODE).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BLEND_MODE).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.BLEND_MODE, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_MODE, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int BlendEquationRgb
@@ -220,12 +223,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.BLEND_EQUATION_RGB).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BLEND_EQUATION_RGB).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.BLEND_EQUATION_RGB, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_EQUATION_RGB, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int BlendEquationAlpha
@@ -233,12 +236,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.BLEND_EQUATION_ALPHA).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BLEND_EQUATION_ALPHA).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.BLEND_EQUATION_ALPHA, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_EQUATION_ALPHA, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int BlendFactorSrcRgb
@@ -246,12 +249,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.BLEND_FACTOR_SRC_RGB).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_RGB).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.BLEND_FACTOR_SRC_RGB, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_RGB, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int BlendFactorDestRgb
@@ -259,12 +262,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.BLEND_FACTOR_DEST_RGB).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_RGB).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.BLEND_FACTOR_DEST_RGB, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_RGB, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int BlendFactorSrcAlpha
@@ -272,12 +275,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.BLEND_FACTOR_SRC_ALPHA).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_ALPHA).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.BLEND_FACTOR_SRC_ALPHA, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_ALPHA, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int BlendFactorDestAlpha
@@ -285,12 +288,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.BLEND_FACTOR_DEST_ALPHA).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_ALPHA).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.BLEND_FACTOR_DEST_ALPHA, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_ALPHA, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public Vector4 BlendColor
@@ -298,12 +301,12 @@ namespace Tizen.NUI {
     get
     {
       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
-      GetProperty( Renderer.Property.BLEND_COLOR).Get(  temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BLEND_COLOR).Get(  temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.BLEND_COLOR, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_COLOR, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public bool BlendPreMultipliedAlpha
@@ -311,12 +314,12 @@ namespace Tizen.NUI {
     get
     {
       bool temp = false;
-      GetProperty( Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int IndexRangeFirst
@@ -324,12 +327,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.INDEX_RANGE_FIRST).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.INDEX_RANGE_FIRST).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.INDEX_RANGE_FIRST, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.INDEX_RANGE_FIRST, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int IndexRangeCount
@@ -337,12 +340,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.INDEX_RANGE_COUNT).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.INDEX_RANGE_COUNT).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.INDEX_RANGE_COUNT, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.INDEX_RANGE_COUNT, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int DepthWriteMode
@@ -350,12 +353,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.DEPTH_WRITE_MODE).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DEPTH_WRITE_MODE).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.DEPTH_WRITE_MODE, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_WRITE_MODE, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int DepthFunction
@@ -363,12 +366,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.DEPTH_FUNCTION).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DEPTH_FUNCTION).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.DEPTH_FUNCTION, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_FUNCTION, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int DepthTestMode
@@ -376,12 +379,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.DEPTH_TEST_MODE).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DEPTH_TEST_MODE).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.DEPTH_TEST_MODE, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_TEST_MODE, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int RenderMode
@@ -389,12 +392,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.RENDER_MODE).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.RENDER_MODE).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.RENDER_MODE, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.RENDER_MODE, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int StencilFunction
@@ -402,12 +405,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.STENCIL_FUNCTION).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.STENCIL_FUNCTION, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int StencilFunctionMask
@@ -415,12 +418,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.STENCIL_FUNCTION_MASK).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION_MASK).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.STENCIL_FUNCTION_MASK, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION_MASK, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int StencilFunctionReference
@@ -428,12 +431,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.STENCIL_FUNCTION_REFERENCE).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION_REFERENCE).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.STENCIL_FUNCTION_REFERENCE, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION_REFERENCE, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int StencilMask
@@ -441,12 +444,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.STENCIL_MASK).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.STENCIL_MASK).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.STENCIL_MASK, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_MASK, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int StencilOperationOnFail
@@ -454,12 +457,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.STENCIL_OPERATION_ON_FAIL).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_FAIL).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.STENCIL_OPERATION_ON_FAIL, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_FAIL, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int StencilOperationOnZFail
@@ -467,12 +470,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL, new Tizen.NUI.PropertyValue( value ) );
     }
   }
   public int StencilOperationOnZPass
@@ -480,12 +483,12 @@ namespace Tizen.NUI {
     get
     {
       int temp = 0;
-      GetProperty( Renderer.Property.STENCIL_OPERATION_ON_Z_PASS).Get( ref temp );
+      Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_PASS).Get( ref temp );
       return temp;
     }
     set
     {
-      SetProperty( Renderer.Property.STENCIL_OPERATION_ON_Z_PASS, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_PASS, new Tizen.NUI.PropertyValue( value ) );
     }
   }
 
index bd2cd2265a6984aa0c0651dd1717f3f4339c2913..aafc7f419a646f0bef0821945f7a3f9e5efccc34 100755 (executable)
@@ -42,7 +42,7 @@ internal class ResourceImage : Image {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 08460198a403ef2101ec411731fbc1c16ed586ca..c6c3b5f5c320e220431ce7729f811d571c708483 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 2538d360ddbd6f0a18f062fd06c7c814527a162e..031bdf72268e76351d97c783999c21a096f13e64 100755 (executable)
@@ -22,10 +22,6 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
-      DisposeQueue.Instance.Add(this);
-      return;
-    }
 
     lock(this) {
       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
index ba2bbcce75b78813051049e17ea301b6ab2eb181..7a318d55cb5ba40dfbb33104cb6f2a99a5db81f5 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 22029cac56b7ab22920ddcd629c2d4cd326ee19d..484064017dff27e404590e45844db23b53f41861 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 9d3fa209c39bf2e9c20e6539b0cffe284424087f..289733bb209da23801571e68f393ffa38afd5ee9 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
diff --git a/src/Tizen.NUI/src/internal/SamplingModeType.cs b/src/Tizen.NUI/src/internal/SamplingModeType.cs
deleted file mode 100755 (executable)
index df9400b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 {
-/* moved to VisualMaps.cs
-public enum SamplingModeType {
-  BOX,
-  NEAREST,
-  LINEAR,
-  BOX_THEN_NEAREST,
-  BOX_THEN_LINEAR,
-  NO_FILTER,
-  DONT_CARE
-}
-*/
-}
index fe510c9012056e14e6a33b149671005d4f225781..83cada53f58f3c5756cdc752e5a4a28ea4c2a380 100755 (executable)
@@ -42,7 +42,7 @@ using Tizen.NUI.BaseComponents;
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -158,10 +158,15 @@ public class SnapStartedEventArgs : EventArgs
     }
 
     ~ClampEvent() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
 
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -232,10 +237,15 @@ public class SnapStartedEventArgs : EventArgs
     }
 
     ~SnapEvent() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
 
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -311,10 +321,15 @@ public class SnapStartedEventArgs : EventArgs
     }
 
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
 
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -453,7 +468,7 @@ public class SnapStartedEventArgs : EventArgs
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public void SetActorAutoSnap(bool enable) {
+  public void SetViewAutoSnap(bool enable) {
     NDalicPINVOKE.ScrollView_SetActorAutoSnap(swigCPtr, enable);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
@@ -614,13 +629,13 @@ public class SnapStartedEventArgs : EventArgs
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public void ScrollTo(Actor actor) {
-    NDalicPINVOKE.ScrollView_ScrollTo__SWIG_8(swigCPtr, Actor.getCPtr(actor));
+  public void ScrollTo(View view) {
+    NDalicPINVOKE.ScrollView_ScrollTo__SWIG_8(swigCPtr, View.getCPtr(view));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public void ScrollTo(Actor actor, float duration) {
-    NDalicPINVOKE.ScrollView_ScrollTo__SWIG_9(swigCPtr, Actor.getCPtr(actor), duration);
+  public void ScrollTo(View view, float duration) {
+    NDalicPINVOKE.ScrollView_ScrollTo__SWIG_9(swigCPtr, View.getCPtr(view), duration);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
@@ -655,13 +670,13 @@ public class SnapStartedEventArgs : EventArgs
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public void BindActor(Actor child) {
-    NDalicPINVOKE.ScrollView_BindActor(swigCPtr, Actor.getCPtr(child));
+  public void BindView(View child) {
+    NDalicPINVOKE.ScrollView_BindActor(swigCPtr, View.getCPtr(child));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public void UnbindActor(Actor child) {
-    NDalicPINVOKE.ScrollView_UnbindActor(swigCPtr, Actor.getCPtr(child));
+  public void UnbindView(View child) {
+    NDalicPINVOKE.ScrollView_UnbindActor(swigCPtr, View.getCPtr(child));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index 038e56c5b0357eb8190f61144ccd37c6c70fe2bd..40ac2dac3bf2d1b9d96db7ca58ca624a795b0e46 100755 (executable)
@@ -22,7 +22,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index da1d76b7d56c3c9499798d26fdcaa9d0c278bbf1..2f8190151bec277f7d92fa561e9fd95f018d8fc8 100755 (executable)
@@ -25,7 +25,7 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+    using Tizen.NUI.BaseComponents;
     internal class ScrollViewPagePathEffect : ScrollViewEffect {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -67,8 +67,8 @@ namespace Tizen.NUI {
     return ret;
   }
 
-  public void ApplyToPage(Actor page, uint pageOrder) {
-    NDalicPINVOKE.ScrollViewPagePathEffect_ApplyToPage(swigCPtr, Actor.getCPtr(page), pageOrder);
+  public void ApplyToPage(View page, uint pageOrder) {
+    NDalicPINVOKE.ScrollViewPagePathEffect_ApplyToPage(swigCPtr, View.getCPtr(page), pageOrder);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index 6672bdf8f292328261467b64946f648df6e27e97..2fd97cec1071e089b530dee7ccb6b88f543802b8 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 0ce6416528eb90e9480f8e39725d7e1a72f0a75e..82a857aca0bd01a3b69926fc26be2fade761ba88 100755 (executable)
@@ -26,7 +26,7 @@ using Tizen.NUI.BaseComponents;
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -265,10 +265,16 @@ public class CompletedEventArgs : EventArgs
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
index 4bbfcd60db9061008ec2c10f9738bfbb866b42d1..89ff189f7f1eb815cb02250e567b1678efcbc41d 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 4babca0a607901c723d31f50f651df34154bbc87..46eb781383e2faa7ac38d63925400c5b216ffa41 100755 (executable)
@@ -26,7 +26,7 @@
 
 namespace Tizen.NUI {
 
-    internal class Shader : Handle {
+    internal class Shader : Animatable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
   internal Shader(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Shader_SWIGUpcast(cPtr), cMemoryOwn) {
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -71,10 +71,15 @@ namespace Tizen.NUI {
     }
   
     ~Hint() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -113,10 +118,15 @@ namespace Tizen.NUI {
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
@@ -165,13 +175,13 @@ namespace Tizen.NUI {
   {
     get
     {
-      Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
-      GetProperty( Shader.Property.PROGRAM).Get(  temp );
+      Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();\r
+      Tizen.NUI.Object.GetProperty(swigCPtr, Shader.Property.PROGRAM).Get(  temp );
       return temp;
     }
     set
     {
-      SetProperty( Shader.Property.PROGRAM, new Tizen.NUI.PropertyValue( value ) );
+      Tizen.NUI.Object.SetProperty(swigCPtr, Shader.Property.PROGRAM, new Tizen.NUI.PropertyValue( value ) );
     }
   }
 
index 3c3707f0db29511cec44b61c9e54ba98a23b6618..0e2035c6f48af8b7279309166299678b82336fb5 100755 (executable)
@@ -29,7 +29,7 @@ namespace Tizen.NUI {
 
   public virtual void Dispose() {
 
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 622377bf3d7bcb60f5d095388858c6922fb8dcdd..05430bcff6eef316fbf7203a287bc83fdd118b19 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
diff --git a/src/Tizen.NUI/src/internal/Size.cs b/src/Tizen.NUI/src/internal/Size.cs
new file mode 100755 (executable)
index 0000000..2785a3a
--- /dev/null
@@ -0,0 +1,366 @@
+/*
+ * 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
+{
+
+    /// <summary>
+    /// Three dimensional size
+    /// </summary>
+    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);
+        }
+
+        /// <summary>
+        /// Dispose
+        /// </summary>
+        public virtual void Dispose()
+        {
+            if (!Window.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);
+            }
+        }
+
+        /// <summary>
+        /// Addition operator for A+B
+        /// </summary>
+        /// <param name="arg1">Size, A</param>
+        /// <param name="arg2">Size to assign, B</param>
+        /// <returns>A Size containing the result of the addition</returns>
+        public static Size operator +(Size arg1, Size arg2)
+        {
+            return arg1.Add(arg2);
+        }
+
+        /// <summary>
+        /// Subtraction operator for A-B
+        /// </summary>
+        /// <param name="arg1">Size, A</param>
+        /// <param name="arg2">Size to subtract, B</param>
+        /// <returns>A Size containing the result of the subtraction</returns>
+        public static Size operator -(Size arg1, Size arg2)
+        {
+            return arg1.Subtract(arg2);
+        }
+
+        /// <summary>
+        /// Unary negation operator.
+        /// </summary>
+        /// <param name="arg1">Size for unary negation</param>
+        /// <returns>A Size containg the negation</returns>
+        public static Size operator -(Size arg1)
+        {
+            return arg1.Subtract();
+        }
+
+        /// <summary>
+        /// Multiplication operator.
+        /// </summary>
+        /// <param name="arg1">Size for multiplication</param>
+        /// <param name="arg2">The Size to multipl</param>
+        /// <returns>A Size containing the result of the multiplication</returns>
+        public static Size operator *(Size arg1, Size arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        /// <summary>
+        /// Multiplication operator.
+        /// </summary>
+        /// <param name="arg1">Size for multiplication</param>
+        /// <param name="arg2">The float value to scale the Size</param>
+        /// <returns>A Size containing the result of the scaling</returns>
+        public static Size operator *(Size arg1, float arg2)
+        {
+            return arg1.Multiply(arg2);
+        }
+
+        /// <summary>
+        /// Division operator.
+        /// </summary>
+        /// <param name="arg1">Size for division</param>
+        /// <param name="arg2">The Size to divide</param>
+        /// <returns>A Size containing the result of the division></returns>
+        public static Size operator /(Size arg1, Size arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        /// <summary>
+        /// Division operator.
+        /// </summary>
+        /// <param name="arg1">Size for division</param>
+        /// <param name="arg2">The float value to scale the Size by</param>
+        /// <returns>A Size containing the result of the scaling</returns>
+        public static Size operator /(Size arg1, float arg2)
+        {
+            return arg1.Divide(arg2);
+        }
+
+        /// <summary>
+        /// Array subscript operator.
+        /// </summary>
+        /// <param name="index">Subscript index</param>
+        /// <returns>The float at the given index</returns>
+        public float this[uint index]
+        {
+            get
+            {
+                return ValueOfIndex(index);
+            }
+        }
+
+        internal static Size GetSizeFromPtr(global::System.IntPtr cPtr)
+        {
+            Size ret = new Size(cPtr, false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
+        public Size() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
+        /// <param name="x">x (or width) component</param>
+        /// <param name="y">y (or height) component</param>
+        /// <param name="z">z (or depth) component</param>
+        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();
+        }
+
+        /// <summary>
+        /// Constructor.
+        /// </summary>
+        /// <param name="size2d">Size2D with x (width) and y (height)</param>
+        public Size(Size2D size2d) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Size2D.getCPtr(size2d)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Zero constant, (0.0f, 0.0f, 0.0f).
+        /// </summary>
+        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;
+        }
+
+        /// <summary>
+        /// Check equality.<br>
+        /// Utilizes appropriate machine epsilon values.<br>
+        /// </summary>
+        /// <param name="rhs">The Size to test against</param>
+        /// <returns>True if the Sizes are equal</returns>
+        public bool EqualTo(Size rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Size.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Check inequality.<br>
+        /// Utilizes appropriate machine epsilon values.<br>
+        /// </summary>
+        /// <param name="rhs">The Size to test against</param>
+        /// <returns>True if the Sizes are not equal</returns>
+        public bool NotEqualTo(Size rhs)
+        {
+            bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Size.getCPtr(rhs));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Width property for width component of Siz
+        /// </summary>
+        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;
+            }
+        }
+
+        /// <summary>
+        /// Height property for height component of Size
+        /// </summary>
+        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;
+            }
+        }
+
+        /// <summary>
+        /// Depth property for depth component of Size
+        /// </summary>
+        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;
+            }
+        }
+
+        /// <summary>
+        /// Type cast operator, Size to Vector3.
+        /// </summary>
+        /// <param name="size">Object of Size type</param>
+        public static implicit operator Vector3(Size size)
+        {
+            return new Vector3(size.Width, size.Height, size.Depth);
+        }
+
+        /// <summary>
+        /// Type cast operator, Vector3 to Size type.
+        /// </summary>
+        /// <param name="vec">Object of Vector3 type</param>
+        public static implicit operator Size(Vector3 vec)
+        {
+            return new Size(vec.Width, vec.Height, vec.Depth);
+        }
+
+    }
+
+}
+
diff --git a/src/Tizen.NUI/src/internal/Slider.cs b/src/Tizen.NUI/src/internal/Slider.cs
new file mode 100755 (executable)
index 0000000..f45a8dd
--- /dev/null
@@ -0,0 +1,732 @@
+/** 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.UIComponents
+{
+
+    using System;
+    using System.Runtime.InteropServices;
+    using Tizen.NUI.BaseComponents;
+    
+    /// <summary>
+    /// Slider is a control to enable sliding an indicator between two values.
+    /// </summary>
+    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;
+        }
+
+        /// <summary>
+        /// Dispose
+        /// </summary>
+        public override void Dispose()
+        {
+            if (!Window.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();
+            }
+        }
+
+
+
+        /// <summary>
+        /// Value changed event arguments.
+        /// </summary>
+        public class ValueChangedEventArgs : EventArgs
+        {
+            private Slider _slider;
+            private float _slideValue;
+
+            /// <summary>
+            /// Slider.
+            /// </summary>
+            public Slider Slider
+            {
+                get
+                {
+                    return _slider;
+                }
+                set
+                {
+                    _slider = value;
+                }
+            }
+
+            /// <summary>
+            /// Slider value.
+            /// </summary>
+            public float SlideValue
+            {
+                get
+                {
+                    return _slideValue;
+                }
+                set
+                {
+                    _slideValue = value;
+                }
+            }
+        }
+
+        /// <summary>
+        /// Sliding finished event arguments.
+        /// </summary>
+        public class SlidingFinishedEventArgs : EventArgs
+        {
+            private Slider _slider;
+            private float _slideValue;
+
+            /// <summary>
+            /// Slider.
+            /// </summary>
+            public Slider Slider
+            {
+                get
+                {
+                    return _slider;
+                }
+                set
+                {
+                    _slider = value;
+                }
+            }
+
+            /// <summary>
+            /// Slider value.
+            /// </summary>
+            public float SlideValue
+            {
+                get
+                {
+                    return _slideValue;
+                }
+                set
+                {
+                    _slideValue = value;
+                }
+            }
+        }
+
+        /// <summary>
+        /// Mark reached event arguments.
+        /// </summary>
+        public class MarkReachedEventArgs : EventArgs
+        {
+            private Slider _slider;
+            private int _slideValue;
+
+            /// <summary>
+            /// Slider.
+            /// </summary>
+            public Slider Slider
+            {
+                get
+                {
+                    return _slider;
+                }
+                set
+                {
+                    _slider = value;
+                }
+            }
+
+            /// <summary>
+            /// Slider value.
+            /// </summary>
+            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;
+
+        /// <summary>
+        /// Event emitted when the slider value changes.
+        /// </summary>
+        public event EventHandlerWithReturnType<object, ValueChangedEventArgs, bool> ValueChanged
+        {
+            add
+            {
+                if (_sliderValueChangedEventHandler == null)
+                {
+                    _sliderValueChangedCallbackDelegate = (OnValueChanged);
+                    ValueChangedSignal().Connect(_sliderValueChangedCallbackDelegate);
+                }
+                _sliderValueChangedEventHandler += value;
+            }
+            remove
+            {
+                _sliderValueChangedEventHandler -= value;
+                if (_sliderValueChangedEventHandler == null && ValueChangedSignal().Empty() == false)
+                {
+                    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;
+        }
+
+        /// <summary>
+        /// Event emitted when the sliding is finished.
+        /// </summary>
+        public event EventHandlerWithReturnType<object, SlidingFinishedEventArgs, bool> SlidingFinished
+        {
+            add
+            {
+                if (_sliderSlidingFinishedEventHandler == null)
+                {
+                    _sliderSlidingFinishedCallbackDelegate = (OnSlidingFinished);
+                    SlidingFinishedSignal().Connect(_sliderSlidingFinishedCallbackDelegate);
+                }
+                _sliderSlidingFinishedEventHandler += value;
+            }
+            remove
+            {
+                _sliderSlidingFinishedEventHandler -= value;
+                if (_sliderSlidingFinishedEventHandler == null && SlidingFinishedSignal().Empty() == false)
+                {
+                    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;
+        }
+
+        /// <summary>
+        /// Event emitted when the slider handle reaches a mark.
+        /// </summary>
+        public event EventHandlerWithReturnType<object, MarkReachedEventArgs, bool> MarkReached
+        {
+            add
+            {
+                if (_sliderMarkReachedEventHandler == null)
+                {
+                    _sliderMarkReachedCallbackDelegate = (OnMarkReached);
+                    MarkReachedSignal().Connect(_sliderMarkReachedCallbackDelegate);
+                }
+                _sliderMarkReachedEventHandler += value;
+            }
+            remove
+            {
+                _sliderMarkReachedEventHandler -= value;
+                if (_sliderMarkReachedEventHandler == null && MarkReachedSignal().Empty() == false)
+                {
+                    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;
+        }
+
+        /// <summary>
+        /// Get Slider from the pointer.
+        /// </summary>
+        /// <param name="cPtr">The pointer of Slider</param>
+        /// <returns>Object of Slider type</returns>
+        internal 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()
+            {
+                DisposeQueue.Instance.Add(this);
+            }
+
+            public virtual void Dispose()
+            {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
+                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();
+
+        }
+
+        /// <summary>
+        /// Creates the Slider control.
+        /// </summary>
+        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;
+        }
+
+        /// <summary>
+        /// Downcasts an Object handle to Slider.<br>
+        /// If handle points to a Slider, the downcast produces valid handle.<br>
+        /// If not, the returned handle is left uninitialized.<br>
+        /// </summary>
+        /// <param name="handle">Handle to an object</param>
+        /// <returns>Handle to a Slider or an uninitialized handle</returns>
+        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
+        }
+
+        /// <summary>
+        /// Lower bound property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Upper bound property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Value property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Track visual property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Handle visual property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Progress visual property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Popup visual property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Popup arrow visual property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Disable color property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Value presicion property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Show popup property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Show value property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Marks property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Snap to marks property
+        /// </summary>
+        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));
+            }
+        }
+
+        /// <summary>
+        /// Mark tolerance property
+        /// </summary>
+        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 f5d3a62046208ef178676a47c621f3ee8db0716d..1b7724388aa6852147253e2b3f26de852d0b74d0 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index d22b923ae3a904e75a18ab5815ec23728ec9bcf9..b3098ef5174229c778bf93d759fc5a282671b5ce 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index a07d1c5bc312f98273b49d1743e9a692332d5477..1eb23d2c68085a614d9088547e4402c8794469a5 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 0e45c1c152775ba4740f173e21e493488e4c9cba..3f6ab6b3dfe5f1607bad19ec425f41944e7205fe 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 39991e60cddf07694f503729ad80920a39002133..3c83496a838242ec2a5174374cfbdc278572ab41 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 445326368b03e1e0a1298a08220bb295ae39fcea..fb13b6031952d029c32427a94b407a830c68b23a 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 9e800a5dffdfee79b752bf0c6e659bdad7702d57..d0c14263a5801a386ffb6b49d1d498ab0f0528f7 100755 (executable)
@@ -9,7 +9,7 @@
 //------------------------------------------------------------------------------
 
 namespace Tizen.NUI {
-
+    using Tizen.NUI.BaseComponents;
     internal class TapGestureDetectedSignal : global::System.IDisposable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
   protected bool swigCMemOwn;
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -74,8 +74,8 @@ System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForD
     }
   }
 
-  public void Emit(Actor arg1, TapGesture arg2) {
-    NDalicPINVOKE.TapGestureDetectedSignal_Emit(swigCPtr, Actor.getCPtr(arg1), TapGesture.getCPtr(arg2));
+  public void Emit(View arg1, TapGesture arg2) {
+    NDalicPINVOKE.TapGestureDetectedSignal_Emit(swigCPtr, View.getCPtr(arg1), TapGesture.getCPtr(arg2));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
index 1cb10f2492cf5ca18550c0ec8f71ce2ef8ab5945..3e35a6fbfffdb90702f282d86acc21f0ef948319 100755 (executable)
@@ -27,7 +27,8 @@
 namespace Tizen.NUI {
 
 using System;
-using System.Runtime.InteropServices;
+using System.Runtime.InteropServices;\r
+    using Tizen.NUI.BaseComponents;
 
 public class TapGestureDetector : GestureDetector {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
@@ -41,7 +42,7 @@ public class TapGestureDetector : GestureDetector {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -64,18 +65,18 @@ public class TapGestureDetector : GestureDetector {
 
 public class DetectedEventArgs : EventArgs
 {
-   private Actor _actor;
+   private View _view;
    private TapGesture _tapGesture;
 
-   public Actor Actor
-   {
+   public View View\r
+            {
       get
       {
-         return _actor;
+         return _view;
       }
       set
       {
-         _actor = value;
+         _view = value;
       }
    }
 
@@ -134,7 +135,7 @@ public class DetectedEventArgs : EventArgs
    DetectedEventArgs e = new DetectedEventArgs();
 
    // Populate all members of "e" (DetectedEventArgs) with real data
-   e.Actor = Actor.GetActorFromPtr(actor);
+   e.View = View.GetViewFromPtr(actor);
    e.TapGesture = Tizen.NUI.TapGesture.GetTapGestureFromPtr(tapGesture);
 
    if (_tapGestureEventHandler != null)
index b6d8a85a0fa6cc0d195ee1f353570780e5011e7f..d6ec52fd3ff52366054295e4357bc5a66ff487ad 100755 (executable)
@@ -30,7 +30,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index e542603e6ddf5992e42085dd749ba023a8b485cf..664de57ffef4ed98b1c0fdc0efd22acf8a4feb06 100755 (executable)
@@ -30,7 +30,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 62f9d3134e8dcddc634532685bfa3499179d4cc7..c31dc88cf404a12cc78d1fc0336d43dbd5dd460b 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 7e69e1a89b77a3862643263d3495934603c9405d..ca7774c12f85e512a45128df5d0c28415ade0479 100755 (executable)
@@ -38,7 +38,7 @@ namespace Tizen.NUI {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 91d5fe81be4f9ef1e3d1a8f105f275e3cd160cff..fb992ba9530172514bbe758ff12ca99dcc450b1c 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 34b1d0605eb9698c368ff09f86f428ad02f55c7a..eda4f3e7d9dada3c91d56545641abf1f197ba3de 100755 (executable)
@@ -29,7 +29,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 52df7c6fe1b94e64f337bc7ce6c18b42b2e52f4d..ac08ca5ee2c7befbf41adee7eb72753d704875e0 100755 (executable)
@@ -40,7 +40,7 @@ public class ToggleButton : Tizen.NUI.UIComponents.Button {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -71,10 +71,15 @@ public class ToggleButton : Tizen.NUI.UIComponents.Button {
     }
   
     ~Property() {
-      Dispose();
+      DisposeQueue.Instance.Add(this);
     }
   
     public virtual void Dispose() {
+      if (!Window.IsInstalled()) {
+        DisposeQueue.Instance.Add(this);
+        return;
+      }
+
       lock(this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
           if (swigCMemOwn) {
diff --git a/src/Tizen.NUI/src/internal/TouchDataSignal.cs b/src/Tizen.NUI/src/internal/TouchDataSignal.cs
new file mode 100755 (executable)
index 0000000..93f64e1
--- /dev/null
@@ -0,0 +1,89 @@
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.10
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI {
+    using Tizen.NUI.BaseComponents;
+internal class TouchDataSignal : global::System.IDisposable {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal TouchDataSignal(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(TouchDataSignal obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~TouchDataSignal() {
+    DisposeQueue.Instance.Add(this);
+  }
+
+  public virtual void Dispose() {
+    if (!Window.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
+
+    lock(this) {
+      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+        if (swigCMemOwn) {
+          swigCMemOwn = false;
+          NDalicPINVOKE.delete_ActorTouchDataSignal(swigCPtr);
+        }
+        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+      global::System.GC.SuppressFinalize(this);
+    }
+  }
+
+
+  public bool Empty() {
+    bool ret = NDalicPINVOKE.ActorTouchDataSignal_Empty(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public uint GetConnectionCount() {
+    uint ret = NDalicPINVOKE.ActorTouchDataSignal_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.ActorTouchDataSignal_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.ActorTouchDataSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+  }
+
+  public bool Emit(View arg1, Touch arg2) {
+    bool ret = NDalicPINVOKE.ActorTouchDataSignal_Emit(swigCPtr, View.getCPtr(arg1), Touch.getCPtr(arg2));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public TouchDataSignal() : this(NDalicPINVOKE.new_ActorTouchDataSignal(), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+}
+
+}
index 6f6b51ff449d54a6b85e2e80ce4edeb7d7bacefe..e2ccda612478b8ffe6b943b97d396aae75ff1cd0 100755 (executable)
@@ -10,6 +10,7 @@
 
 namespace Tizen.NUI {
 
+    using Tizen.NUI.BaseComponents;
     internal class TouchPoint : global::System.IDisposable {
   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
   protected bool swigCMemOwn;
@@ -28,7 +29,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
@@ -78,14 +79,14 @@ namespace Tizen.NUI {
     } 
   }
 
-  public Actor hitActor {
+  public View hitView {
     set {
-      NDalicPINVOKE.TouchPoint_hitActor_set(swigCPtr, Actor.getCPtr(value));
+      NDalicPINVOKE.TouchPoint_hitActor_set(swigCPtr, View.getCPtr(value));
       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     } 
     get {
       global::System.IntPtr cPtr = NDalicPINVOKE.TouchPoint_hitActor_get(swigCPtr);
-      Actor ret = (cPtr == global::System.IntPtr.Zero) ? null : new Actor(cPtr, false);
+      View ret = (cPtr == global::System.IntPtr.Zero) ? null : new View(cPtr, false);
       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
       return ret;
     } 
index 5640472560148714a01e3727737521c00b263144..5135ddb85a9e99a6c76f4951754df8cdbcac6361 100755 (executable)
@@ -30,7 +30,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 5d3115aac3f9fdd24a988d8cbdf5c2ea40b8f0df..df4a3f318ded9243fbeff33757e4dbbcc50e6d89 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 5730ee3db4ae179d682ea6539e31ebd7427be767..dd417bba9c54451a3c4efc4a46018008a91d9edf 100755 (executable)
@@ -38,7 +38,7 @@ public class TransitionData : BaseHandle {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index e754db5aa1d190df93a3220938f2896fb095461b..e1de0ccb76e470e3d1e45273c68ffa65dd6d3f61 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index ba0ababfc487796eef719b41a58d7e510a1d5eb0..4b287adb8dd173a219605d92aad01e3cd7ec1a83 100755 (executable)
@@ -22,7 +22,7 @@ public class TypeInfo : BaseHandle {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 359d9e5924405d65eefbecac1afe2a68441344d9..e47da5a98384ec2d416261d826148886f3b54d6b 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index ac6170c124e048c98286623dbde14a8fa3ffc1ea..03ebb055f8a8d9bf7ebb6a3895a6e14a80d010b4 100755 (executable)
@@ -22,7 +22,7 @@ public class TypeRegistry : BaseHandle {
   }
 
   public override void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 6b9bf64b60f1dbd07107a3c884137f3a45b7c239..d7bc71093f0ac5d8af68e30590440a307d7cb676 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 40ea62c5eb1bb563f980658fb4b2c4f8c56034d4..513c48eab38492b94aacad408b0db7e3f77faca6 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 6e6eaeabd1ffa7bb592d043244a3443f060a7f00..349cf5f4227f77e98c667e0000bd7a9c60f4fb31 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index e338d0c9828f5245f09176af52d127212ea3d9f8..381ee99351964e4bd5d4b13ed5926934156307dc 100755 (executable)
@@ -28,7 +28,7 @@ internal class VectorInteger : global::System.IDisposable {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 70b06ed4a09b5579cf9fdc29989fd8bb8eacf3f7..65851cdc6a35b743b50b8623290f38c26d2d91c0 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index f1a6f5dab367594b93f225b47b5c9238603eeb71..f673eccd0500c43a055c12d4e1288ab0613c52fa 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 97221d56c406986c96208cbd6ec8f079948187d2..20514f4e0e63ea4b4b2e588a5c86c74812ad1b93 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
diff --git a/src/Tizen.NUI/src/internal/ViewContainer.cs b/src/Tizen.NUI/src/internal/ViewContainer.cs
new file mode 100755 (executable)
index 0000000..f42056d
--- /dev/null
@@ -0,0 +1,322 @@
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.10
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI {
+    using Tizen.NUI.BaseComponents;
+
+public class ViewContainer : global::System.IDisposable, global::System.Collections.IEnumerable
+    , global::System.Collections.Generic.IEnumerable<View>
+ {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal ViewContainer(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(ViewContainer obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~ViewContainer() {
+    DisposeQueue.Instance.Add(this);
+  }
+
+  public virtual void Dispose() {
+    if (!Window.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
+
+    lock(this) {
+      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+        if (swigCMemOwn) {
+          swigCMemOwn = false;
+          NDalicPINVOKE.delete_ActorContainer(swigCPtr);
+        }
+        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+      global::System.GC.SuppressFinalize(this);
+    }
+  }
+
+
+  public ViewContainer(global::System.Collections.ICollection c) : this() {
+    if (c == null)
+      throw new global::System.ArgumentNullException("c");
+    foreach (View element in c) {
+      this.Add(element);
+    }
+  }
+
+  public bool IsFixedSize {
+    get {
+      return false;
+    }
+  }
+
+  public bool IsReadOnly {
+    get {
+      return false;
+    }
+  }
+
+  public View this[int index]  {
+    get {
+      return getitem(index);
+    }
+    set {
+      setitem(index, value);
+    }
+  }
+
+  public int Capacity {
+    get {
+      return (int)capacity();
+    }
+    set {
+      if (value < size())
+        throw new global::System.ArgumentOutOfRangeException("Capacity");
+      reserve((uint)value);
+    }
+  }
+
+  public int Count {
+    get {
+      return (int)size();
+    }
+  }
+
+  public bool IsSynchronized {
+    get {
+      return false;
+    }
+  }
+
+  public void CopyTo(View[] array)
+  {
+    CopyTo(0, array, 0, this.Count);
+  }
+
+  public void CopyTo(View[] array, int arrayIndex)
+  {
+    CopyTo(0, array, arrayIndex, this.Count);
+  }
+
+  public void CopyTo(int index, View[] array, int arrayIndex, int count)
+  {
+    if (array == null)
+      throw new global::System.ArgumentNullException("array");
+    if (index < 0)
+      throw new global::System.ArgumentOutOfRangeException("index", "Value is less than zero");
+    if (arrayIndex < 0)
+      throw new global::System.ArgumentOutOfRangeException("arrayIndex", "Value is less than zero");
+    if (count < 0)
+      throw new global::System.ArgumentOutOfRangeException("count", "Value is less than zero");
+    if (array.Rank > 1)
+      throw new global::System.ArgumentException("Multi dimensional array.", "array");
+    if (index+count > this.Count || arrayIndex+count > array.Length)
+      throw new global::System.ArgumentException("Number of elements to copy is too large.");
+    for (int i=0; i<count; i++)
+      array.SetValue(getitemcopy(index+i), arrayIndex+i);
+  }
+
+  global::System.Collections.Generic.IEnumerator<View> global::System.Collections.Generic.IEnumerable<View>.GetEnumerator() {
+    return new ViewContainerEnumerator(this);
+  }
+
+  global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() {
+    return new ViewContainerEnumerator(this);
+  }
+
+  public ViewContainerEnumerator GetEnumerator() {
+    return new ViewContainerEnumerator(this);
+  }
+
+  // Type-safe enumerator
+  /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown
+  /// whenever the collection is modified. This has been done for changes in the size of the
+  /// collection but not when one of the elements of the collection is modified as it is a bit
+  /// tricky to detect unmanaged code that modifies the collection under our feet.
+  public sealed class ViewContainerEnumerator : global::System.Collections.IEnumerator
+    , global::System.Collections.Generic.IEnumerator<View>
+  {
+    private ViewContainer collectionRef;
+    private int currentIndex;
+    private object currentObject;
+    private int currentSize;
+
+    public ViewContainerEnumerator(ViewContainer collection) {
+      collectionRef = collection;
+      currentIndex = -1;
+      currentObject = null;
+      currentSize = collectionRef.Count;
+    }
+
+    // Type-safe iterator Current
+    public View Current {
+      get {
+        if (currentIndex == -1)
+          throw new global::System.InvalidOperationException("Enumeration not started.");
+        if (currentIndex > currentSize - 1)
+          throw new global::System.InvalidOperationException("Enumeration finished.");
+        if (currentObject == null)
+          throw new global::System.InvalidOperationException("Collection modified.");
+        return (View)currentObject;
+      }
+    }
+
+    // Type-unsafe IEnumerator.Current
+    object global::System.Collections.IEnumerator.Current {
+      get {
+        return Current;
+      }
+    }
+
+    public bool MoveNext() {
+      int size = collectionRef.Count;
+      bool moveOkay = (currentIndex+1 < size) && (size == currentSize);
+      if (moveOkay) {
+        currentIndex++;
+        currentObject = collectionRef[currentIndex];
+      } else {
+        currentObject = null;
+      }
+      return moveOkay;
+    }
+
+    public void Reset() {
+      currentIndex = -1;
+      currentObject = null;
+      if (collectionRef.Count != currentSize) {
+        throw new global::System.InvalidOperationException("Collection modified.");
+      }
+    }
+
+    public void Dispose() {
+        currentIndex = -1;
+        currentObject = null;
+    }
+  }
+
+  public void Clear() {
+    NDalicPINVOKE.ActorContainer_Clear(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void Add(View x) {
+    NDalicPINVOKE.ActorContainer_Add(swigCPtr, View.getCPtr(x));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  private uint size() {
+    uint ret = NDalicPINVOKE.ActorContainer_size(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  private uint capacity() {
+    uint ret = NDalicPINVOKE.ActorContainer_capacity(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  private void reserve(uint n) {
+    NDalicPINVOKE.ActorContainer_reserve(swigCPtr, n);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public ViewContainer() : this(NDalicPINVOKE.new_ActorContainer__SWIG_0(), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public ViewContainer(ViewContainer other) : this(NDalicPINVOKE.new_ActorContainer__SWIG_1(ViewContainer.getCPtr(other)), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public ViewContainer(int capacity) : this(NDalicPINVOKE.new_ActorContainer__SWIG_2(capacity), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  private View getitemcopy(int index) {
+    View ret = new View(NDalicPINVOKE.ActorContainer_getitemcopy(swigCPtr, index), true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  private View getitem(int index) {
+    View ret = new View(NDalicPINVOKE.ActorContainer_getitem(swigCPtr, index), false);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  private void setitem(int index, View val) {
+    NDalicPINVOKE.ActorContainer_setitem(swigCPtr, index, View.getCPtr(val));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void AddRange(ViewContainer values) {
+    NDalicPINVOKE.ActorContainer_AddRange(swigCPtr, ViewContainer.getCPtr(values));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public ViewContainer GetRange(int index, int count) {
+    global::System.IntPtr cPtr = NDalicPINVOKE.ActorContainer_GetRange(swigCPtr, index, count);
+    ViewContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewContainer(cPtr, true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void Insert(int index, View x) {
+    NDalicPINVOKE.ActorContainer_Insert(swigCPtr, index, View.getCPtr(x));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void InsertRange(int index, ViewContainer values) {
+    NDalicPINVOKE.ActorContainer_InsertRange(swigCPtr, index, ViewContainer.getCPtr(values));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void RemoveAt(int index) {
+    NDalicPINVOKE.ActorContainer_RemoveAt(swigCPtr, index);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void RemoveRange(int index, int count) {
+    NDalicPINVOKE.ActorContainer_RemoveRange(swigCPtr, index, count);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public static ViewContainer Repeat(View value, int count) {
+    global::System.IntPtr cPtr = NDalicPINVOKE.ActorContainer_Repeat(View.getCPtr(value), count);
+    ViewContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewContainer(cPtr, true);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public void Reverse() {
+    NDalicPINVOKE.ActorContainer_Reverse__SWIG_0(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void Reverse(int index, int count) {
+    NDalicPINVOKE.ActorContainer_Reverse__SWIG_1(swigCPtr, index, count);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public void SetRange(int index, ViewContainer values) {
+    NDalicPINVOKE.ActorContainer_SetRange(swigCPtr, index, ViewContainer.getCPtr(values));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+}
+
+}
index 6d73b6103a930dbc4407c553c9e91b1903005f99..f74a91a1d399d6f91414d8eb662b46387c50a309 100755 (executable)
@@ -33,7 +33,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -243,15 +243,15 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        protected virtual new void OnChildAdd(Actor child)
+        protected virtual new void OnChildAdd(View child)
         {
-            if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2)) NDalicPINVOKE.ViewImpl_OnChildAddSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildAdd(swigCPtr, Actor.getCPtr(child));
+            if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2)) NDalicPINVOKE.ViewImpl_OnChildAddSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildAdd(swigCPtr, View.getCPtr(child));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        protected virtual new void OnChildRemove(Actor child)
+        protected virtual new void OnChildRemove(View child)
         {
-            if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3)) NDalicPINVOKE.ViewImpl_OnChildRemoveSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildRemove(swigCPtr, Actor.getCPtr(child));
+            if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3)) NDalicPINVOKE.ViewImpl_OnChildRemoveSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildRemove(swigCPtr, View.getCPtr(child));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
@@ -320,9 +320,9 @@ namespace Tizen.NUI
             return ret;
         }
 
-        protected virtual new float CalculateChildSize(Actor child, DimensionType dimension)
+        protected virtual new float CalculateChildSize(View 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));
+            float ret = (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14) ? NDalicPINVOKE.ViewImpl_CalculateChildSizeSwigExplicitViewImpl(swigCPtr, View.getCPtr(child), (int)dimension) : NDalicPINVOKE.ViewImpl_CalculateChildSize(swigCPtr, View.getCPtr(child), (int)dimension));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
@@ -373,15 +373,15 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        public virtual void OnControlChildAdd(Actor child)
+        public virtual void OnControlChildAdd(View child)
         {
-            if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22)) NDalicPINVOKE.ViewImpl_OnControlChildAddSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildAdd(swigCPtr, Actor.getCPtr(child));
+            if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22)) NDalicPINVOKE.ViewImpl_OnControlChildAddSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildAdd(swigCPtr, View.getCPtr(child));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        public virtual void OnControlChildRemove(Actor child)
+        public virtual void OnControlChildRemove(View child)
         {
-            if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23)) NDalicPINVOKE.ViewImpl_OnControlChildRemoveSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildRemove(swigCPtr, Actor.getCPtr(child));
+            if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23)) NDalicPINVOKE.ViewImpl_OnControlChildRemoveSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildRemove(swigCPtr, View.getCPtr(child));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
@@ -438,16 +438,16 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        public virtual Actor GetNextFocusableActor(Actor currentFocusedActor, View.FocusDirection direction, bool loopEnabled)
+        public virtual View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
         {
-            Actor ret = new Actor((SwigDerivedClassHasMethod("GetNextFocusableActor", swigMethodTypes32) ? NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActorSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(currentFocusedActor), (int)direction, loopEnabled) : NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActor(swigCPtr, Actor.getCPtr(currentFocusedActor), (int)direction, loopEnabled)), true);
+            View ret = new View((SwigDerivedClassHasMethod("GetNextFocusableView", swigMethodTypes32) ? NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActorSwigExplicitViewImpl(swigCPtr, View.getCPtr(currentFocusedView), (int)direction, loopEnabled) : NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActor(swigCPtr, View.getCPtr(currentFocusedView), (int)direction, loopEnabled)), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
 
-        public virtual void OnFocusChangeCommitted(Actor commitedFocusableActor)
+        public virtual void OnFocusChangeCommitted(View commitedFocusableView)
         {
-            if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33)) NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommittedSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(commitedFocusableActor)); else NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommitted(swigCPtr, Actor.getCPtr(commitedFocusableActor));
+            if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33)) NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommittedSwigExplicitViewImpl(swigCPtr, View.getCPtr(commitedFocusableView)); else NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommitted(swigCPtr, View.getCPtr(commitedFocusableView));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
@@ -560,8 +560,8 @@ namespace Tizen.NUI
                 swigDelegate30 = new SwigDelegateViewImpl_30(SwigDirectorOnKeyInputFocusGained);
             if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31))
                 swigDelegate31 = new SwigDelegateViewImpl_31(SwigDirectorOnKeyInputFocusLost);
-            if (SwigDerivedClassHasMethod("GetNextFocusableActor", swigMethodTypes32))
-                swigDelegate32 = new SwigDelegateViewImpl_32(SwigDirectorGetNextKeyboardFocusableActor);
+            if (SwigDerivedClassHasMethod("GetNextFocusableView", swigMethodTypes32))
+                swigDelegate32 = new SwigDelegateViewImpl_32(SwigDirectorGetNextKeyboardFocusableView);
             if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33))
                 swigDelegate33 = new SwigDelegateViewImpl_33(SwigDirectorOnKeyboardFocusChangeCommitted);
             if (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34))
@@ -614,12 +614,12 @@ namespace Tizen.NUI
 
         private void SwigDirectorOnChildAdd(global::System.IntPtr child)
         {
-            OnChildAdd(new Actor(child, false));
+            OnChildAdd(new View(child, false));
         }
 
         private void SwigDirectorOnChildRemove(global::System.IntPtr child)
         {
-            OnChildRemove(new Actor(child, false));
+            OnChildRemove(new View(child, false));
         }
 
         private void SwigDirectorOnPropertySet(int index, global::System.IntPtr propertyValue)
@@ -674,7 +674,7 @@ namespace Tizen.NUI
 
         private float SwigDirectorCalculateChildSize(global::System.IntPtr child, int dimension)
         {
-            return CalculateChildSize(new Actor(child, false), (DimensionType)dimension);
+            return CalculateChildSize(new View(child, false), (DimensionType)dimension);
         }
 
         private float SwigDirectorGetHeightForWidth(float width)
@@ -714,12 +714,12 @@ namespace Tizen.NUI
 
         private void SwigDirectorOnControlChildAdd(global::System.IntPtr child)
         {
-            OnControlChildAdd(new Actor(child, false));
+            OnControlChildAdd(new View(child, false));
         }
 
         private void SwigDirectorOnControlChildRemove(global::System.IntPtr child)
         {
-            OnControlChildRemove(new Actor(child, false));
+            OnControlChildRemove(new View(child, false));
         }
 
         private void SwigDirectorOnStyleChange(global::System.IntPtr styleManager, int change)
@@ -762,14 +762,14 @@ namespace Tizen.NUI
             OnKeyInputFocusLost();
         }
 
-        private global::System.IntPtr SwigDirectorGetNextKeyboardFocusableActor(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled)
+        private global::System.IntPtr SwigDirectorGetNextKeyboardFocusableView(global::System.IntPtr currentFocusedView, int direction, bool loopEnabled)
         {
-            return Actor.getCPtr(GetNextFocusableActor(new Actor(currentFocusedActor, true), (View.FocusDirection)direction, loopEnabled)).Handle;
+            return View.getCPtr(GetNextFocusableView(new View(currentFocusedView, true), (View.FocusDirection)direction, loopEnabled)).Handle;
         }
 
-        private void SwigDirectorOnKeyboardFocusChangeCommitted(global::System.IntPtr commitedFocusableActor)
+        private void SwigDirectorOnKeyboardFocusChangeCommitted(global::System.IntPtr commitedFocusableView)
         {
-            OnFocusChangeCommitted(new Actor(commitedFocusableActor, true));
+            OnFocusChangeCommitted(new View(commitedFocusableView, true));
         }
 
         private bool SwigDirectorOnKeyboardEnter()
@@ -893,8 +893,8 @@ namespace Tizen.NUI
 
         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[] swigMethodTypes2 = new global::System.Type[] { typeof(View) };
+        private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { typeof(View) };
         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) };
@@ -905,7 +905,7 @@ namespace Tizen.NUI
         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[] swigMethodTypes14 = new global::System.Type[] { typeof(View), 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) };
@@ -913,8 +913,8 @@ namespace Tizen.NUI
         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[] swigMethodTypes22 = new global::System.Type[] { typeof(View) };
+        private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(View) };
         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) };
@@ -923,8 +923,8 @@ namespace Tizen.NUI
         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[] swigMethodTypes32 = new global::System.Type[] { typeof(View), typeof(View.FocusDirection), typeof(bool) };
+        private static global::System.Type[] swigMethodTypes33 = new global::System.Type[] { typeof(View) };
         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) };
index a97eb6c85022401b89f4ef07c54d1a02edf84219..b61ade5c8d80a7a123086f2a3da8aae9b87b9043 100755 (executable)
@@ -227,7 +227,7 @@ namespace Tizen.NUI
             {
                 // Create the control
                 CustomView newControl = controlConstructor();
-                return newControl.GetPtrfromActor();  // return pointer to handle
+                return newControl.GetPtrfromView();  // return pointer to handle
             }
             else
             {
@@ -302,18 +302,18 @@ namespace Tizen.NUI
             }
         }
 
-        public static View GetViewFromActor(Actor actor)
+        public static View GetViewFromActor(View view)
         {
             // we store a dictionary of ref-obects (C++ land) to custom views (C# land)
 
-            RefObject refObj = actor.GetObjectPtr();
+            RefObject refObj = view.GetObjectPtr();
             IntPtr refObjectPtr = (IntPtr)RefObject.getCPtr(refObj);
 
             WeakReference viewReference;
             if (Instance._controlMap.TryGetValue(refObjectPtr, out viewReference))
             {
-                View view = viewReference.Target as View;
-                return view;
+                View retview = viewReference.Target as View;
+                return retview;
             }
             else
             {
diff --git a/src/Tizen.NUI/src/internal/ViewResourceReadySignal.cs b/src/Tizen.NUI/src/internal/ViewResourceReadySignal.cs
new file mode 100755 (executable)
index 0000000..1f1a92f
--- /dev/null
@@ -0,0 +1,89 @@
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+using Tizen.NUI.BaseComponents;
+
+namespace Tizen.NUI {
+
+public class ViewResourceReadySignal : global::System.IDisposable {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal ViewResourceReadySignal(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(ViewResourceReadySignal obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~ViewResourceReadySignal() {
+    DisposeQueue.Instance.Add(this);
+  }
+
+  public virtual void Dispose() {
+    if (!Window.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
+
+    lock(this) {
+      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+        if (swigCMemOwn) {
+          swigCMemOwn = false;
+          NDalicPINVOKE.delete_ViewResourceReadySignal(swigCPtr);
+        }
+        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+      global::System.GC.SuppressFinalize(this);
+    }
+  }
+
+
+  public bool Empty() {
+    bool ret = NDalicPINVOKE.ViewResourceReadySignal_Empty(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public uint GetConnectionCount() {
+    uint ret = NDalicPINVOKE.ViewResourceReadySignal_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.ViewResourceReadySignal_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.ViewResourceReadySignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+  }
+
+  public void Emit(View arg) {
+    NDalicPINVOKE.ViewResourceReadySignal_Emit(swigCPtr, View.getCPtr(arg));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public ViewResourceReadySignal() : this(NDalicPINVOKE.new_ViewResourceReadySignal(), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+}
+
+}
diff --git a/src/Tizen.NUI/src/internal/ViewSignal.cs b/src/Tizen.NUI/src/internal/ViewSignal.cs
new file mode 100755 (executable)
index 0000000..e6e02c2
--- /dev/null
@@ -0,0 +1,88 @@
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.10
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI {
+    using Tizen.NUI.BaseComponents;\r
+    public class ViewSignal : global::System.IDisposable {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal ViewSignal(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(ViewSignal obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~ViewSignal() {
+    DisposeQueue.Instance.Add(this);
+  }
+
+  public virtual void Dispose() {
+    if (!Window.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
+
+    lock(this) {
+      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+        if (swigCMemOwn) {
+          swigCMemOwn = false;
+          NDalicPINVOKE.delete_ActorSignal(swigCPtr);
+        }
+        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+      global::System.GC.SuppressFinalize(this);
+    }
+  }
+
+
+  public bool Empty() {
+    bool ret = NDalicPINVOKE.ActorSignal_Empty(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public uint GetConnectionCount() {
+    uint ret = NDalicPINVOKE.ActorSignal_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.ActorSignal_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.ActorSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+  }
+
+  public void Emit(View arg) {
+    NDalicPINVOKE.ActorSignal_Emit(swigCPtr, View.getCPtr(arg));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public ViewSignal() : this(NDalicPINVOKE.new_ActorSignal(), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+}
+
+}
diff --git a/src/Tizen.NUI/src/internal/ViewVisibilityChangedSignal.cs b/src/Tizen.NUI/src/internal/ViewVisibilityChangedSignal.cs
new file mode 100755 (executable)
index 0000000..2511be0
--- /dev/null
@@ -0,0 +1,87 @@
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.12
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+using Tizen.NUI.BaseComponents;
+namespace Tizen.NUI {
+
+public class ViewVisibilityChangedSignal : global::System.IDisposable {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal ViewVisibilityChangedSignal(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(ViewVisibilityChangedSignal obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~ViewVisibilityChangedSignal() {
+    DisposeQueue.Instance.Add(this);
+  }
+
+  public virtual void Dispose() {
+    if (!Window.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
+
+    lock(this) {
+      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+        if (swigCMemOwn) {
+          swigCMemOwn = false;
+          NDalicPINVOKE.delete_ViewVisibilityChangedSignal(swigCPtr);
+        }
+        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+      global::System.GC.SuppressFinalize(this);
+    }
+  }
+
+  public bool Empty() {
+    bool ret = NDalicPINVOKE.ViewVisibilityChangedSignal_Empty(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public uint GetConnectionCount() {
+    uint ret = NDalicPINVOKE.ViewVisibilityChangedSignal_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.ViewVisibilityChangedSignal_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.ViewVisibilityChangedSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+  }
+
+  public void Emit(View arg) {
+    NDalicPINVOKE.ViewVisibilityChangedSignal_Emit(swigCPtr, View.getCPtr(arg));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+  public ViewVisibilityChangedSignal() : this(NDalicPINVOKE.new_ViewVisibilityChangedSignal(), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+}
+
+}
index ddb8738d889d82b09eeae2bf3e9d71bdfd5a3e8c..90b91123901a403f98dcae07ee6fb99b65d7605c 100755 (executable)
@@ -36,7 +36,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index c240f3843d6d4875db78ac18e7f8c8a36b003a79..ec06cad211c548300af3ea7d0dd55dd1951c60bf 100755 (executable)
@@ -22,8 +22,8 @@ namespace Tizen.NUI
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
         public delegate void OnStageConnectionDelegate(int depth);
         public delegate void OnStageDisconnectionDelegate();
-        public delegate void OnChildAddDelegate(Actor actor);
-        public delegate void OnChildRemoveDelegate(Actor actor);
+        public delegate void OnChildAddDelegate(View view);
+        public delegate void OnChildRemoveDelegate(View view);
         public delegate void OnPropertySetDelegate(int index, PropertyValue propertyValue);
         public delegate void OnSizeSetDelegate(Vector3 targetSize);
         public delegate void OnSizeAnimationDelegate(Animation animation, Vector3 targetSize);
@@ -34,15 +34,15 @@ namespace Tizen.NUI
         public delegate void OnRelayoutDelegate(Vector2 size, RelayoutContainer container);
         public delegate void OnSetResizePolicyDelegate(ResizePolicyType policy, DimensionType dimension);
         public delegate Size GetNaturalSizeDelegate();
-        public delegate float CalculateChildSizeDelegate(Actor child, DimensionType dimension);
+        public delegate float CalculateChildSizeDelegate(View child, DimensionType dimension);
         public delegate float GetHeightForWidthDelegate(float width);
         public delegate float GetWidthForHeightDelegate(float height);
         public delegate bool RelayoutDependentOnChildrenDimensionDelegate(DimensionType dimension);
         public delegate bool RelayoutDependentOnChildrenDelegate();
         public delegate void OnCalculateRelayoutSizeDelegate(DimensionType dimension);
         public delegate void OnLayoutNegotiatedDelegate(float size, DimensionType dimension);
-        public delegate void OnControlChildAddDelegate(Actor child);
-        public delegate void OnControlChildRemoveDelegate(Actor child);
+        public delegate void OnControlChildAddDelegate(View child);
+        public delegate void OnControlChildRemoveDelegate(View child);
         public delegate void OnStyleChangeDelegate(StyleManager styleManager, StyleChangeType change);
         public delegate bool OnAccessibilityActivatedDelegate();
         public delegate bool OnAccessibilityPanDelegate(PanGesture gestures);
@@ -110,7 +110,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -164,9 +164,9 @@ namespace Tizen.NUI
             return ret;
         }
 
-        public float CalculateChildSizeBase(Actor child, DimensionType dimension)
+        public float CalculateChildSizeBase(View child, DimensionType dimension)
         {
-            float ret = NDalicManualPINVOKE.ViewWrapperImpl_CalculateChildSizeBase(swigCPtr, Actor.getCPtr(child), (int)dimension);
+            float ret = NDalicManualPINVOKE.ViewWrapperImpl_CalculateChildSizeBase(swigCPtr, View.getCPtr(child), (int)dimension);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
@@ -298,12 +298,12 @@ namespace Tizen.NUI
 
         private void DirectorOnChildAdd(global::System.IntPtr child)
         {
-            OnChildAdd(new Actor(child, false));
+            OnChildAdd(new View(child, false));
         }
 
         private void DirectorOnChildRemove(global::System.IntPtr child)
         {
-            OnChildRemove(new Actor(child, false));
+            OnChildRemove(new View(child, false));
         }
 
         private void DirectorOnPropertySet(int index, global::System.IntPtr propertyValue)
@@ -361,7 +361,7 @@ namespace Tizen.NUI
 
         private float DirectorCalculateChildSize(global::System.IntPtr child, int dimension)
         {
-            return CalculateChildSize(new Actor(child, false), (DimensionType)dimension);
+            return CalculateChildSize(new View(child, false), (DimensionType)dimension);
         }
 
         private float DirectorGetHeightForWidth(float width)
@@ -400,12 +400,12 @@ namespace Tizen.NUI
 
         private void DirectorOnControlChildAdd(global::System.IntPtr child)
         {
-            OnControlChildAdd(new Actor(child, false));
+            OnControlChildAdd(new View(child, false));
         }
 
         private void DirectorOnControlChildRemove(global::System.IntPtr child)
         {
-            OnControlChildRemove(new Actor(child, false));
+            OnControlChildRemove(new View(child, false));
         }
 
         private void DirectorOnStyleChange(global::System.IntPtr styleManager, int change)
@@ -453,7 +453,7 @@ namespace Tizen.NUI
 
         private global::System.IntPtr DirectorGetNextFocusableActor(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled)
         {
-            return Actor.getCPtr(GetNextFocusableView(new View(currentFocusedActor, false), (View.FocusDirection)direction, loopEnabled)).Handle;
+            return View.getCPtr(GetNextFocusableView(new View(currentFocusedActor, false), (View.FocusDirection)direction, loopEnabled)).Handle;
         }
 
         private void DirectorOnFocusChangeCommitted(global::System.IntPtr commitedFocusableView)
diff --git a/src/Tizen.NUI/src/internal/VisualTransformPolicyType.cs b/src/Tizen.NUI/src/internal/VisualTransformPolicyType.cs
deleted file mode 100755 (executable)
index 11ff2ef..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated />
-//
-// This file was automatically generated by SWIG (http://www.swig.org).
-// Version 3.0.12
-//
-// Do not make changes to this file unless you know what you are doing--modify
-// the SWIG interface file instead.
-//------------------------------------------------------------------------------
-
-/* moved to VisualMaps.cs 
-namespace Tizen.NUI {
-
-public enum VisualTransformPolicyType {
-  RELATIVE = 0,
-  ABSOLUTE = 1
-}
-
-}
-*/
\ No newline at end of file
diff --git a/src/Tizen.NUI/src/internal/VisualTransformPropertyType.cs b/src/Tizen.NUI/src/internal/VisualTransformPropertyType.cs
deleted file mode 100755 (executable)
index e57ac85..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <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.
-//------------------------------------------------------------------------------
-
-/* moved to VisualMaps.cs 
-namespace Tizen.NUI {
-
-public enum VisualTransformPropertyType {
-  OFFSET,
-  SIZE,
-  ORIGIN,
-  ANCHOR_POINT,
-  OFFSET_POLICY,
-  SIZE_POLICY
-}
-
-}
-*/
\ No newline at end of file
index 28805a0704483ba26d8ad299b135dcce2050ad31..d0736f93819408964342f385697aa0966dfaf912 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
diff --git a/src/Tizen.NUI/src/internal/WheelSignal.cs b/src/Tizen.NUI/src/internal/WheelSignal.cs
new file mode 100755 (executable)
index 0000000..6d61ba6
--- /dev/null
@@ -0,0 +1,89 @@
+//------------------------------------------------------------------------------
+// <auto-generated />
+//
+// This file was automatically generated by SWIG (http://www.swig.org).
+// Version 3.0.10
+//
+// Do not make changes to this file unless you know what you are doing--modify
+// the SWIG interface file instead.
+//------------------------------------------------------------------------------
+
+namespace Tizen.NUI {
+    using Tizen.NUI.BaseComponents;
+internal class WheelSignal : global::System.IDisposable {
+  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+  protected bool swigCMemOwn;
+
+  internal WheelSignal(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(WheelSignal obj) {
+    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
+  }
+
+  ~WheelSignal() {
+    DisposeQueue.Instance.Add(this);
+  }
+
+  public virtual void Dispose() {
+    if (!Window.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
+
+    lock(this) {
+      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
+        if (swigCMemOwn) {
+          swigCMemOwn = false;
+          NDalicPINVOKE.delete_ActorWheelSignal(swigCPtr);
+        }
+        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
+      }
+      global::System.GC.SuppressFinalize(this);
+    }
+  }
+
+
+  public bool Empty() {
+    bool ret = NDalicPINVOKE.ActorWheelSignal_Empty(swigCPtr);
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public uint GetConnectionCount() {
+    uint ret = NDalicPINVOKE.ActorWheelSignal_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.ActorWheelSignal_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.ActorWheelSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
+      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    }
+  }
+
+  public bool Emit(View arg1, Wheel arg2) {
+    bool ret = NDalicPINVOKE.ActorWheelSignal_Emit(swigCPtr, View.getCPtr(arg1), Wheel.getCPtr(arg2));
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+    return ret;
+  }
+
+  public WheelSignal() : this(NDalicPINVOKE.new_ActorWheelSignal(), true) {
+    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+  }
+
+}
+
+}
index af65ce09185ab93ce9cfe2f448239fa29510ac15..7ca4b336a9ee9652a46958fde9b66a32b7cd0663 100755 (executable)
@@ -34,7 +34,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
diff --git a/src/Tizen.NUI/src/internal/WrapModeType.cs b/src/Tizen.NUI/src/internal/WrapModeType.cs
deleted file mode 100755 (executable)
index e22022f..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-//------------------------------------------------------------------------------
-// <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 {
-/* move to VisualMap.cs
-    internal enum WrapModeType {
-  DEFAULT = 0,
-  CLAMP_TO_EDGE,
-  REPEAT,
-  MIRRORED_REPEAT
-}
-*/
-}
index b4c2b6f9e6fb4fd5e4e7bbd33de1cd44413d2560..2137adcd474363eca4e07b8a93182ba44abc8121 100755 (executable)
@@ -29,7 +29,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index e184d1dfdbe2bf7ddb494c8380a0abf8e7ec2fa9..ed9963ac7a591017e6652ed2d4738d643aca3a12 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 85142b0c483c40a7aafd6d6148d2559ef6305b92..6736e363ac6109a370e189b902c9ec28e07b48ef 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index a8f2db46e913df76afe994973ed5460c744a6361..0e8137f5856d256d33f3446de3cd6af0d11be7f9 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index 43a9121e48cce52b4fe36389c4505c31594ea1df..95f90e87b551079b53f31c8a03d6962de7876c54 100755 (executable)
@@ -28,7 +28,7 @@ namespace Tizen.NUI {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
diff --git a/src/Tizen.NUI/src/public/Actor.cs b/src/Tizen.NUI/src/public/Actor.cs
deleted file mode 100755 (executable)
index fd47c17..0000000
+++ /dev/null
@@ -1,2137 +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.
-//
-//
-// 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;
-
-    /// <summary>
-    /// Actor is the primary object with which Dali applications interact.<br>
-    /// UI controls can be built by combining multiple actors.<br>
-    /// </summary>
-    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;
-        }
-
-        /// <summary>
-        /// To make Actor instance be disposed.
-        /// </summary>
-        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;
-        }
-
-        /// <summary>
-        ///  Retrieves the position of the Actor.<br>
-        ///  The coordinates are relative to the Actor's parent.<br>
-        /// </summary>
-        public Position CurrentPosition
-        {
-            get
-            {
-                return GetCurrentPosition();
-            }
-        }
-
-        /// <summary>
-        ///  Retrieves the size of the Actor.<br>
-        ///  The coordinates are relative to the Actor's parent.<br>
-        /// </summary>
-        public Size CurrentSize
-        {
-            get
-            {
-                return GetCurrentSize();
-            }
-        }
-
-        /// <summary>
-        /// Retrieves the actor's parent.<br>
-        /// </summary>
-        public Actor Parent
-        {
-            get
-            {
-                return GetParent();
-            }
-        }
-
-        /// <summary>
-        /// Retrieves and sets the actor's opacity.<br>
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Retrieves screen postion of actor's.<br>
-        /// </summary>
-        public Vector2 ScreenPosition
-        {
-            get
-            {
-                Vector2 temp = new Vector2(0.0f, 0.0f);
-                GetProperty(Actor.Property.SCREEN_POSITION).Get(temp);
-                return temp;
-            }
-        }
-
-        /// <summary>
-        /// Determines whether the anchor point should be used to determine the position of the actor.
-        /// This is true by default.
-        /// </summary>
-        /// <remarks>If false, then the top-left of the actor is used for the position.
-        /// Setting this to false will allow scaling or rotation around the anchor-point without affecting the actor's position.
-        /// </remarks>
-        public bool PositionUsesAnchorPoint
-        {
-            get
-            {
-                bool temp = false;
-                if(this) GetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT).Get(ref temp);
-                return temp;
-            }
-            set
-            {
-                if(this) SetProperty(Actor.Property.POSITION_USES_ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));
-            }
-        }
-
-        /// <summary>
-        /// Queries whether the actor is connected to the Stage.<br>
-        /// When an actor is connected, it will be directly or indirectly parented to the root Actor.<br>
-        /// </summary>
-        public bool IsOnStage
-        {
-            get
-            {
-                return OnStage();
-            }
-        }
-
-        /// <summary>
-        /// Gets depth in the hierarchy for the actor.
-        /// </summary>
-        public int HierarchyDepth
-        {
-            get
-            {
-                return GetHierarchyDepth();
-            }
-        }
-
-        /// <summary>
-        /// Sets the sibling order of the actor so depth position can be defined within the same parent.
-        /// </summary>
-        /// <remarks>
-        /// Note The initial value is 0.
-        /// Raise, Lower, RaiseToTop, LowerToBottom, RaiseAbove and LowerBelow will override the sibling order.
-        /// The values set by this Property will likely change.
-        /// </remarks>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Sets the size of an actor for width and height.<br>
-        /// Geometry can be scaled to fit within this area.<br>
-        /// This does not interfere with the actors scale factor.<br>
-        /// The actors default depth is the minimum of width & height.<br>
-        /// </summary>
-        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)));
-            }
-        }
-
-        /// <summary>
-        /// Sets the position of the Actor for X and Y.<br>
-        /// By default, sets the position vector between the parent origin and anchor point(default).<br>
-        /// If Position inheritance if disabled, sets the world position.<br>
-        /// </summary>
-        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)));
-            }
-        }
-
-        /// <summary>
-        /// Shows the Actor.
-        /// </summary>
-        /// <remarks>
-        /// This is an asynchronous method.
-        /// </remarks>
-        public void Show()
-        {
-            SetVisible(true);
-        }
-
-        /// <summary>
-        /// Hides the Actor.
-        /// </summary>
-        /// <remarks>
-        /// This is an asynchronous method.
-        /// If an actor is hidden, then the actor and its children will not be rendered.
-        /// This is regardless of the individual visibility of the children i.e.an actor will only be rendered if all of its parents are shown.
-        /// </remarks>
-        public void Hide()
-        {
-            SetVisible(false);
-        }
-
-        /// <summary>
-        /// Raise actor above the next highest level of actor(s).
-        /// </summary>
-        /// <remarks>
-        /// Sibling order of actors within the parent will be updated automatically.
-        /// Initially actors added to a parent will have the same sibling order and shown in relation to insertion order.
-        /// Raising this actor above actors with the same sibling order as each other will raise this actor above them.
-        /// Once a raise or lower API is used that actor will then have an exclusive sibling order independent of insertion.
-        /// </remarks>
-        public void Raise()
-        {
-            NDalicPINVOKE.Raise(swigCPtr);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        /// <summary>
-        /// Lower the actor to underneath the level below actor(s).
-        /// </summary>
-        /// <remarks>
-        /// Sibling order of actors within the parent will be updated automatically.
-        /// Lowering this actor below actors with the same sibling order as each other will lower this actor above them.
-        /// Once a raise or lower API is used that actor will then have an exclusive sibling order independent of insertion.
-        /// </remarks>
-        public void Lower()
-        {
-            NDalicPINVOKE.Lower(swigCPtr);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        /// <summary>
-        /// Raise actor above all other actors.
-        /// </summary>
-        /// <remarks>
-        /// Sibling order of actors within the parent will be updated automatically.
-        /// Once a raise or lower API is used that actor will then have an exclusive sibling order independent of insertion.
-        /// </remarks>
-        public void RaiseToTop()
-        {
-            NDalicPINVOKE.RaiseToTop(swigCPtr);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        /// <summary>
-        /// Lower actor to the bottom of all actors.
-        /// </summary>
-        /// <remarks>
-        /// Sibling order of actors within the parent will be updated automatically.
-        /// Once a raise or lower API is used that actor will then have an exclusive sibling order independent of insertion.
-        /// </remarks>
-        public void LowerToBottom()
-        {
-            NDalicPINVOKE.LowerToBottom(swigCPtr);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        /// <summary>
-        /// Raise the actor to above the target actor.
-        /// </summary>
-        /// <remarks>Sibling order of actors within the parent will be updated automatically.
-        /// Actors on the level above the target actor will still be shown above this actor.
-        /// Raising this actor above actors with the same sibling order as each other will raise this actor above them.
-        /// Once a raise or lower API is used that actor will then have an exclusive sibling order independent of insertion.
-        /// </remarks>
-        /// <param name="target">Will be raised above this actor</param>
-        public void RaiseAbove(Actor target)
-        {
-            NDalicPINVOKE.RaiseAbove(swigCPtr, Actor.getCPtr(target));
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        /// <summary>
-        /// Lower the actor to below the target actor.
-        /// </summary>
-        /// <remarks>Sibling order of actors within the parent will be updated automatically.
-        /// Lowering this actor below actors with the same sibling order as each other will lower this actor above them.
-        /// Once a raise or lower API is used that actor will then have an exclusive sibling order independent of insertion.
-        /// </remarks>
-        /// <param name="target">Will be lowered below this actor</param>
-        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();
-
-        }
-
-        /// <summary>
-        /// Creates an initialized Actor.
-        /// </summary>
-        public Actor() : this(NDalicPINVOKE.Actor_New(), true)
-        {
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-
-        }
-
-        /// <summary>
-        /// Downcasts a handle to Actor handle.<br>
-        /// If handle points to an Actor object, the downcast produces valid handle.<br>
-        /// If not, the returned handle is left uninitialized.<br>
-        /// </summary>
-        /// <param name="handle">handle to An object</param>
-        /// <returns>handle to an Actor object or an uninitialized handle</returns>
-        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;
-        }
-
-        /// <summary>
-        /// Adds a child Actor to this Actor.
-        /// </summary>
-        /// <pre>This Actor(the parent) has been initialized. The child actor has been initialized. The child actor is not the same as the parent actor.</pre>
-        /// <post>The child will be referenced by its parent. This means that the child will be kept alive, even if the handle passed into this method is reset or destroyed.</post>
-        /// <remarks>If the child already has a parent, it will be removed from old parent and reparented to this actor. This may change child's position, color, scale etc as it now inherits them from this actor.</remarks>
-        /// <param name="child">The child</param>
-        public void Add(Actor child)
-        {
-            NDalicPINVOKE.Actor_Add(swigCPtr, Actor.getCPtr(child));
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        /// <summary>
-        /// Removes a child Actor from this Actor. If the actor was not a child of this actor, this is a no-op.
-        /// </summary>
-        /// <pre>This Actor(the parent) has been initialized. The child actor is not the same as the parent actor.</pre>
-        /// <param name="child">The child</param>
-        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();
-        }
-
-        /// <summary>
-        /// Retrieves the number of children held by the actor.
-        /// </summary>
-        /// <pre>The Actor has been initialized.</pre>
-        /// <returns>The number of children</returns>
-        public uint GetChildCount()
-        {
-            uint ret = NDalicPINVOKE.Actor_GetChildCount(swigCPtr);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        /// <summary>
-        /// Retrieves child actor by index.
-        /// </summary>
-        /// <pre>The Actor has been initialized.</pre>
-        /// <param name="index">The index of the child to retrieve</param>
-        /// <returns>The actor for the given index or empty handle if children not initialized</returns>
-        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;
-        }
-
-        /// <summary>
-        /// Search through this actor's hierarchy for an actor with the given name.
-        /// The actor itself is also considered in the search.
-        /// </summary>
-        /// <pre>The Actor has been initialized.</pre>
-        /// <param name="actorName">The name of the actor to find</param>
-        /// <returns>A handle to the actor if found, or an empty handle if not</returns>
-        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;
-        }
-
-        /// <summary>
-        /// Returns the natural size of the actor.<br>
-        /// Deriving classes stipulate the natural size and by default an actor has a ZERO natural size.<br>
-        /// </summary>
-        /// <returns>The actor's natural size</returns>
-        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;
-        }
-
-        /// <summary>
-        /// Converts screen coordinates into the actor's coordinate system using the default camera.
-        /// </summary>
-        /// <pre>The Actor has been initialized.</pre>
-        /// <remarks>The actor coordinates are relative to the top-left(0.0, 0.0, 0.5)</remarks>
-        /// <param name="localX">On return, the X-coordinate relative to the actor</param>
-        /// <param name="localY">On return, the Y-coordinate relative to the actor</param>
-        /// <param name="screenX">The screen X-coordinate</param>
-        /// <param name="screenY">The screen Y-coordinate</param>
-        /// <returns>True if the conversion succeeded</returns>
-        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;
-        }
-
-        /// <summary>
-        /// Sets the relative to parent size factor of the actor.<br>
-        /// This factor is only used when ResizePolicy is set to either:
-        /// ResizePolicy::SIZE_RELATIVE_TO_PARENT or ResizePolicy::SIZE_FIXED_OFFSET_FROM_PARENT.<br>
-        /// This actor's size is set to the actor's size multiplied by or added to this factor, depending on ResizePolicy.<br>
-        /// </summary>
-        /// <pre>The Actor has been initialized.</pre>
-        /// <param name="factor">A Vector3 representing the relative factor to be applied to each axis</param>
-        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;
-        }
-
-        /// <summary>
-        /// Calculates the height of the actor given a width.<br>
-        /// The natural size is used for default calculation. <br>
-        /// size 0 is treated as aspect ratio 1:1.<br>
-        /// </summary>
-        /// <param name="width">Width to use</param>
-        /// <returns>The height based on the width</returns>
-        public float GetHeightForWidth(float width)
-        {
-            float ret = NDalicPINVOKE.Actor_GetHeightForWidth(swigCPtr, width);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        /// <summary>
-        /// Calculates the width of the actor given a height.<br>
-        /// The natural size is used for default calculation.<br>
-        /// size 0 is treated as aspect ratio 1:1.<br>
-        /// </summary>
-        /// <param name="height">Height to use</param>
-        /// <returns>The width based on the height</returns>
-        public float GetWidthForHeight(float height)
-        {
-            float ret = NDalicPINVOKE.Actor_GetWidthForHeight(swigCPtr, height);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        public float GetRelayoutSize(DimensionType dimension)
-        {
-            float ret = NDalicPINVOKE.Actor_GetRelayoutSize(swigCPtr, (int)dimension);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        /// <summary>
-        /// Sets the padding for use in layout.<br>
-        /// </summary>
-        /// <param name="padding">Padding for the actor</param>
-        public void SetPadding(PaddingType padding)
-        {
-            NDalicPINVOKE.Actor_SetPadding(swigCPtr, PaddingType.getCPtr(padding));
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        /// <summary>
-        /// Returns the value of the padding.<br>
-        /// </summary>
-        /// <param name="paddingOut">The returned padding data</param>
-        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;
-        }
-
-        /// <summary>
-        /// Gets/Sets the origin of an actor, within its parent's area.<br>
-        /// This is expressed in unit coordinates, such that (0.0, 0.0, 0.5) is the top-left corner of the parent, and(1.0, 1.0, 0.5) is the bottom-right corner.<br>
-        /// The default parent-origin is ParentOrigin.TopLeft (0.0, 0.0, 0.5).<br>
-        /// An actor's position is the distance between this origin, and the actor's anchor-point.<br>
-        /// </summary>
-        /// <pre>The Actor has been initialized.</pre>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the anchor-point of an actor.<br>
-        /// This is expressed in unit coordinates, such that (0.0, 0.0, 0.5) is the top-left corner of the actor, and (1.0, 1.0, 0.5) is the bottom-right corner.<br>
-        /// The default anchor point is AnchorPoint.Center (0.5, 0.5, 0.5).<br>
-        /// An actor position is the distance between its parent-origin and this anchor-point.<br>
-        /// An actor's orientation is the rotation from its default orientation, the rotation is centered around its anchor-point.<br>
-        /// <pre>The Actor has been initialized.</pre>
-        /// </summary>
-        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));
-            }
-        }
-
-
-        /// <summary>
-        /// Gets/Sets the size of an actor.<br>
-        /// Geometry can be scaled to fit within this area.<br>
-        /// This does not interfere with the actors scale factor.<br>
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the size width of an actor.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the size height of an actor.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the size depth of an actor.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the position of the Actor.<br>
-        /// By default, sets the position vector between the parent origin and anchor point(default).<br>
-        /// If Position inheritance if disabled, sets the world position.<br>
-        /// </summary>
-        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));
-            }
-        }
-
-
-        /// <summary>
-        /// Gets/Sets the position x of the Actor.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the position y of the Actor.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the position z of the Actor.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the world position of the Actor.
-        /// </summary>
-        public Vector3 WorldPosition
-        {
-            get
-            {
-                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
-                GetProperty(Actor.Property.WORLD_POSITION).Get(temp);
-                return temp;
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the orientation of the Actor.<br>
-        /// An actor's orientation is the rotation from its default orientation, and the rotation is centered around its anchor-point.<br>
-        /// </summary>
-        /// <remarks>This is an asynchronous method.</remarks>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the world orientation of the Actor.<br>
-        /// </summary>
-        public Rotation WorldOrientation
-        {
-            get
-            {
-                Rotation temp = new Rotation();
-                GetProperty(Actor.Property.WORLD_ORIENTATION).Get(temp);
-                return temp;
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the scale factor applied to an actor.<br>
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the scale x factor applied to an actor.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the scale y factor applied to an actor.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the scale z factor applied to an actor.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets the world scale of Actor.
-        /// </summary>
-        public Vector3 WorldScale
-        {
-            get
-            {
-                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
-                GetProperty(Actor.Property.WORLD_SCALE).Get(temp);
-                return temp;
-            }
-        }
-
-        /// <summary>
-        /// Retrieves the visibility flag of an actor.
-        /// </summary>
-        /// <remarks>
-        /// If an actor is not visible, then the actor and its children will not be rendered.
-        /// This is regardless of the individual visibility values of the children i.e.an actor will only be rendered if all of its parents have visibility set to true.
-        /// </remarks>
-        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));
-            }
-        }
-        */
-
-        /// <summary>
-        /// Gets/Sets the actor's mix color red.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the actor's mix color green.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the actor's mix color blue
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the actor's mix color alpha.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets the actor's world color.
-        /// </summary>
-        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;
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the Actor's name.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the status of whether an actor should emit touch or hover signals.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the status of whether the actor should receive a notification when touch or hover motion events leave the boundary of the actor.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the status of whether a child actor inherits it's parent's orientation.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the status of whether a child actor inherits it's parent's scale.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the actor's color mode.<br>
-        /// This specifies whether the Actor uses its own color, or inherits its parent color.<br>
-        /// The default is UseOwnMultiplyParentAlpha.<br>
-        /// </summary>
-        public ColorMode ColorMode
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(Actor.Property.COLOR_MODE).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "ColorMode get error!");
-#endif
-                }
-                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.UseOwnMultiplyParentAlpha;
-                }
-            }
-            set
-            {
-                SetProperty(Actor.Property.COLOR_MODE, new Tizen.NUI.PropertyValue((int)value));
-            }
-        }
-
-
-        /// <summary>
-        /// Gets/Sets the status of how the actor and its children should be drawn.<br>
-        /// Not all actors are renderable, but DrawMode can be inherited from any actor.<br>
-        /// If an object is in a 3D layer, it will be depth-tested against other objects in the world i.e. it may be obscured if other objects are in front.<br>
-        /// If DrawMode.Overlay2D is used, the actor and its children will be drawn as a 2D overlay.<br>
-        /// Overlay actors are drawn in a separate pass, after all non-overlay actors within the Layer.<br>
-        /// For overlay actors, the drawing order is with respect to tree levels of Actors, and depth-testing will not be used.<br>
-        /// </summary>
-        public DrawModeType DrawMode
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(Actor.Property.DRAW_MODE).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "DrawMode get error!");
-#endif
-                }
-                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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the relative to parent size factor of the actor.<br>
-        /// This factor is only used when ResizePolicyType is set to either: ResizePolicyType.SizeRelativeToParent or ResizePolicyType.SizeFixedOffsetFromParent.<br>
-        /// This actor's size is set to the actor's size multiplied by or added to this factor, depending on ResizePolicyType.<br>
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the width resize policy to be used.
-        /// </summary>
-        public ResizePolicyType WidthResizePolicy
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(Actor.Property.WIDTH_RESIZE_POLICY).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "WidthResizePolicy get error!");
-#endif
-                }
-                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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the height resize policy to be used.
-        /// </summary>
-        public ResizePolicyType HeightResizePolicy
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(Actor.Property.HEIGHT_RESIZE_POLICY).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "HeightResizePolicy get error!");
-#endif
-                }
-                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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the policy to use when setting size with size negotiation.<br>
-        /// Defaults to  SizeScalePolicyType.UseSizeSet.<br>
-        /// </summary>
-        public SizeScalePolicyType SizeScalePolicy
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(Actor.Property.SIZE_SCALE_POLICY).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "SizeScalePolicy get error!");
-#endif
-                }
-                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
-            {
-                string valueToString = "";
-                switch (value)
-                {
-                    case SizeScalePolicyType.UseSizeSet:
-                    {
-                        valueToString = "USE_SIZE_SET";
-                        break;
-                    }
-                    case SizeScalePolicyType.FitWithAspectRatio:
-                    {
-                        valueToString = "FIT_WITH_ASPECT_RATIO";
-                        break;
-                    }
-                    case SizeScalePolicyType.FillWithAspectRatio:
-                    {
-                        valueToString = "FILL_WITH_ASPECT_RATIO";
-                        break;
-                    }
-                    default:
-                    {
-                        valueToString = "USE_SIZE_SET";
-                        break;
-                    }
-                }
-                SetProperty(Actor.Property.SIZE_SCALE_POLICY, new Tizen.NUI.PropertyValue(valueToString));
-            }
-        }
-
-        /// <summary>
-        ///  Gets/Sets the status of whether the width size is dependent on height size.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        ///  Gets/Sets the status of whether the height size is dependent on width size.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the padding for use in layout.
-        /// </summary>
-        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));
-            }
-        }
-
-
-        /// <summary>
-        /// Gets/Sets the minimum size an actor can be assigned in size negotiation.
-        /// </summary>
-        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));
-            }
-        }
-
-
-        /// <summary>
-        /// Gets/Sets the maximum size an actor can be assigned in size negotiation.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets whether a child actor inherits it's parent's position.<br>
-        /// Default is to inherit.<br>
-        /// Switching this off means that using Position sets the actor's world position, i.e. translates from the world origin(0,0,0) to the anchor point of the actor.<br>
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets clipping behavior(mode) of it's children.
-        /// </summary>
-        public ClippingModeType ClippingMode
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(Actor.Property.CLIPPING_MODE).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "ClippingMode get error!");
-#endif
-                }
-                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));
-            }
-        }
-    }
-}
index aa482cd1cd3ae995f9fb26a33cc61f63c1620147..0f7b2a5100afbfb698cee44dc53ae4f1dd86a1ae 100755 (executable)
@@ -48,7 +48,7 @@ namespace Tizen.NUI
         /// </summary>
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 9e1bfe96d9001c85416274c55e2b3d8576454642..badb901b9e29d5ee360618266e4f620b967aa32e 100755 (executable)
@@ -21,9 +21,10 @@ namespace Tizen.NUI
 
     using System;
     using System.Runtime.InteropServices;
+    using Tizen.NUI.BaseComponents;
 
     /// <summary>
-    /// Animation can be used to animate the properties of any number of objects, typically Actors.<br>
+    /// Animation can be used to animate the properties of any number of objects, typically View.<br>
     /// If the "Finished" event is connected to a member function of an object, it must be disconnected before the object is destroyed.<br>
     /// This is typically done in the object destructor, and requires either the Animation handle to be stored.<br>
     /// The overall animation time is superseded by the values given in the animation time used when calling the AnimateTo(), AnimateBy(), AnimateBetween() and AnimatePath() methods.<br>
@@ -48,7 +49,7 @@ namespace Tizen.NUI
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -369,7 +370,7 @@ namespace Tizen.NUI
         /// <param name="property">The target property to animate</param>
         /// <param name="relativeValue">The property value will change by this amount</param>
         /// <param name="alphaFunction">The alpha function to apply</param>
-        public void AnimateBy(Actor target, string property, object relativeValue, AlphaFunction alphaFunction = null)
+        public void AnimateBy(View target, string property, object relativeValue, AlphaFunction alphaFunction = null)
         {
             string _str1 = property.Substring(0, 1);
             string _str2 = property.Substring(1);
@@ -413,7 +414,7 @@ namespace Tizen.NUI
         /// <param name="startTime">Start time of animation</param>
         /// <param name="endTime">End time of animation</param>
         /// <param name="alphaFunction">The alpha function to apply</param>
-        public void AnimateBy(Actor target, string property, object relativeValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
+        public void AnimateBy(View target, string property, object relativeValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
         {
             string _str1 = property.Substring(0, 1);
             string _str2 = property.Substring(1);
@@ -457,7 +458,7 @@ namespace Tizen.NUI
         /// <param name="property">The target property to animate</param>
         /// <param name="destinationValue">The destination value</param>
         /// <param name="alphaFunction">The alpha function to apply</param>
-        public void AnimateTo(Actor target, string property, object destinationValue, AlphaFunction alphaFunction = null)
+        public void AnimateTo(View target, string property, object destinationValue, AlphaFunction alphaFunction = null)
         {
             string _str1 = property.Substring(0, 1);
             string _str2 = property.Substring(1);
@@ -502,7 +503,7 @@ namespace Tizen.NUI
         /// <param name="startTime">Start time of animation</param>
         /// <param name="endTime">End time of animation</param>
         /// <param name="alphaFunction">The alpha function to apply</param>
-        public void AnimateTo(Actor target, string property, object destinationValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
+        public void AnimateTo(View target, string property, object destinationValue, int startTime, int endTime, AlphaFunction alphaFunction = null)
         {
             string _str1 = property.Substring(0, 1);
             string _str2 = property.Substring(1);
@@ -547,7 +548,7 @@ namespace Tizen.NUI
         /// <param name="keyFrames">The set of time/value pairs between which to animate</param>
         /// <param name="interpolation">The method used to interpolate between values</param>
         /// <param name="alphaFunction">The alpha function to apply</param>
-        public void AnimateBetween(Actor target, string property, KeyFrames keyFrames, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
+        public void AnimateBetween(View target, string property, KeyFrames keyFrames, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
         {
             string _str1 = property.Substring(0, 1);
             string _str2 = property.Substring(1);
@@ -580,7 +581,7 @@ namespace Tizen.NUI
         /// <param name="endTime">End time of animation in milli seconds</param>
         /// <param name="interpolation">The method used to interpolate between values</param>
         /// <param name="alphaFunction">The alpha function to apply</param>
-        public void AnimateBetween(Actor target, string property, KeyFrames keyFrames, int startTime, int endTime, Interpolation interpolation = Interpolation.Linear, AlphaFunction alphaFunction = null)
+        public void AnimateBetween(View 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);
@@ -604,47 +605,47 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// Animates an actor's position and orientation through a predefined path.<br>
-        /// The actor will rotate to orient the supplied forward vector with the path's tangent.<br>
+        /// Animates an view's position and orientation through a predefined path.<br>
+        /// The view will rotate to orient the supplied forward vector with the path's tangent.<br>
         /// If forward is the zero vector then no rotation will happen.<br>
         /// </summary>
-        /// <param name="actor">The actor to animate</param>
+        /// <param name="view">The view to animate</param>
         /// <param name="path">It defines position and orientation</param>
         /// <param name="forward">The vector (in local space coordinate system) that will be oriented with the path's tangent direction</param>
         /// <param name="alphaFunction">The alpha function to apply</param>
-        public void AnimatePath(Actor actor, Path path, Vector3 forward, AlphaFunction alphaFunction = null)
+        public void AnimatePath(View view, Path path, Vector3 forward, AlphaFunction alphaFunction = null)
         {
             if (alphaFunction == null)
             {
-                Animate(actor, path, forward);
+                Animate(view, path, forward);
             }
             else
             {
-                Animate(actor, path, forward, alphaFunction);
+                Animate(view, path, forward, alphaFunction);
             }
         }
 
         /// <summary>
-        /// Animates an actor's position and orientation through a predefined path.<br>
-        /// The actor will rotate to orient the supplied forward vector with the path's tangent.<br>
+        /// Animates an view's position and orientation through a predefined path.<br>
+        /// The view will rotate to orient the supplied forward vector with the path's tangent.<br>
         /// If forward is the zero vector then no rotation will happen.<br>
         /// </summary>
-        /// <param name="actor">The actor to animate</param>
+        /// <param name="view">The view to animate</param>
         /// <param name="path">It defines position and orientation</param>
         /// <param name="forward">The vector (in local space coordinate system) that will be oriented with the path's tangent direction</param>
         /// <param name="startTime">Start time of animation</param>
         /// <param name="endTime">End time of animation</param>
         /// <param name="alphaFunction">The alpha function to apply</param>
-        public void AnimatePath(Actor actor, Path path, Vector3 forward, int startTime, int endTime, AlphaFunction alphaFunction = null)
+        public void AnimatePath(View view, 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);
+                Animate(view, path, forward, time);
             }
             else
             {
-                Animate(actor, path, forward, alphaFunction, time);
+                Animate(view, path, forward, alphaFunction, time);
             }
         }
 
@@ -977,39 +978,39 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void Animate(Actor actor, Path path, Vector3 forward)
+        internal void Animate(View view, Path path, Vector3 forward)
         {
-            NDalicPINVOKE.Animation_Animate__SWIG_0(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward));
+            NDalicPINVOKE.Animation_Animate__SWIG_0(swigCPtr, View.getCPtr(view), 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)
+        internal void Animate(View view, Path path, Vector3 forward, AlphaFunction alpha)
         {
-            NDalicPINVOKE.Animation_Animate__SWIG_1(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), AlphaFunction.getCPtr(alpha));
+            NDalicPINVOKE.Animation_Animate__SWIG_1(swigCPtr, View.getCPtr(view), 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)
+        internal void Animate(View view, Path path, Vector3 forward, TimePeriod period)
         {
-            NDalicPINVOKE.Animation_Animate__SWIG_2(swigCPtr, Actor.getCPtr(actor), Path.getCPtr(path), Vector3.getCPtr(forward), TimePeriod.getCPtr(period));
+            NDalicPINVOKE.Animation_Animate__SWIG_2(swigCPtr, View.getCPtr(view), 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)
+        internal void Animate(View view, 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));
+            NDalicPINVOKE.Animation_Animate__SWIG_3(swigCPtr, View.getCPtr(view), 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)
+        internal void Show(View view, float delaySeconds)
         {
-            NDalicPINVOKE.Animation_Show(swigCPtr, Actor.getCPtr(actor), delaySeconds);
+            NDalicPINVOKE.Animation_Show(swigCPtr, View.getCPtr(view), delaySeconds);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void Hide(Actor actor, float delaySeconds)
+        internal void Hide(View view, float delaySeconds)
         {
-            NDalicPINVOKE.Animation_Hide(swigCPtr, Actor.getCPtr(actor), delaySeconds);
+            NDalicPINVOKE.Animation_Hide(swigCPtr, View.getCPtr(view), delaySeconds);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
index e29a27ea64f562890526ebee7aaaf03959b333f8..69585f5f7bbf1d847f7b21cc40903313f6d58211 100755 (executable)
@@ -72,7 +72,7 @@ namespace Tizen.NUI.BaseComponents
 
             // 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.
+            // This will also ensure that the style of views/visuals initialized above are applied by the style manager.
             SetStyleName(this.GetType().Name);
         }
 
@@ -107,7 +107,7 @@ namespace Tizen.NUI.BaseComponents
 
         /// <summary>
         /// 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).<br>
+        /// (i.e. whether it knows how to handle the keyboard focus movement between its child views).<br>
         /// The control doesn't support it by default.<br>
         /// </summary>
         /// <param name="isSupported">Whether this control supports two dimensional keyboard navigation.</param>
@@ -156,7 +156,7 @@ namespace Tizen.NUI.BaseComponents
 
         /// <summary>
         /// 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.
+        /// (i.e. the scope of keyboard focus movement can be limitied to its child views). The control is not a focus group by default.
         /// </summary>
         /// <param name="isFocusGroup">Whether this control is set as a focus group for keyboard navigation</param>
         internal void SetAsKeyboardFocusGroup(bool isFocusGroup)
@@ -199,7 +199,7 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Request a relayout, which means performing a size negotiation on this actor, its parent and children (and potentially whole scene).<br>
+        /// Request a relayout, which means performing a size negotiation on this view, its parent and children (and potentially whole scene).<br>
         /// This method can also be called from a derived class every time it needs a different size.<br>
         /// At the end of event processing, the relayout process starts and all controls which requested Relayout will have their sizes (re)negotiated.<br>
         /// It 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.<br>
@@ -210,7 +210,7 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Provides the Actor implementation of GetHeightForWidth.
+        /// Provides the View implementation of GetHeightForWidth.
         /// <summary>
         /// <param name="width">Width to use</param>
         /// <returns>The height based on the width</returns>
@@ -220,7 +220,7 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Provides the Actor implementation of GetWidthForHeight.
+        /// Provides the View implementation of GetWidthForHeight.
         /// </summary>
         /// <param name="height">Height to use</param>
         /// <returns>The width based on the height</returns>
@@ -230,38 +230,38 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Calculate the size for a child using the base actor object.
+        /// Calculate the size for a child using the base view object.
         /// </summary>
-        /// <param name="child">The child actor to calculate the size for</param>
+        /// <param name="child">The child view to calculate the size for</param>
         /// <param name="dimension">The dimension to calculate the size for. E.g. width or height</param>
         /// <returns>Return the calculated size for the given dimension. If more than one dimension is requested, just return the first one found</returns>
-        protected float CalculateChildSizeBase(Actor child, DimensionType dimension)
+        protected float CalculateChildSizeBase(View child, DimensionType dimension)
         {
             return viewWrapperImpl.CalculateChildSizeBase(child, dimension);
         }
 
         /// <summary>
-        /// Determine if this actor is dependent on it's children for relayout from the base class.
+        /// Determine if this view is dependent on it's children for relayout from the base class.
         /// </summary>
         /// <param name="dimension">The dimension(s) to check for</param>
-        /// <returns>Return if the actor is dependent on it's children</returns>
+        /// <returns>Return if the view is dependent on it's children</returns>
         protected bool RelayoutDependentOnChildrenBase(DimensionType dimension)
         {
             return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);
         }
 
         /// <summary>
-        /// Determine if this actor is dependent on it's children for relayout from the base class.
+        /// Determine if this view is dependent on it's children for relayout from the base class.
         /// </summary>
-        /// <returns>Return if the actor is dependent on it's children</returns>
+        /// <returns>Return if the view is dependent on it's children</returns>
         protected bool RelayoutDependentOnChildrenBase()
         {
             return viewWrapperImpl.RelayoutDependentOnChildrenBase();
         }
 
         /// <summary>
-        /// Register a visual by Property Index, linking an Actor to visual when required.<br>
-        /// In the case of the visual being an actor or control deeming visual not required then visual should be an empty handle.<br>
+        /// Register a visual by Property Index, linking an View to visual when required.<br>
+        /// In the case of the visual being an view or control deeming visual not required then visual should be an empty handle.<br>
         /// No parenting is done during registration, this should be done by derived class.<br>
         /// </summary>
         /// <param name="index">The Property index of the visual, used to reference visual</param>
@@ -272,8 +272,8 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Register a visual by Property Index, linking an Actor to visual when required.<br>
-        /// In the case of the visual being an actor or control deeming visual not required then visual should be an empty handle.<br>
+        /// Register a visual by Property Index, linking an View to visual when required.<br>
+        /// In the case of the visual being an view or control deeming visual not required then visual should be an empty handle.<br>
         /// If enabled is false then the visual is not set on stage until enabled by the derived class.<br>
         /// </summary>
         /// <param name="index">The Property index of the visual, used to reference visual</param>
@@ -355,43 +355,43 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Called after the actor has been connected to the stage.<br>
-        /// When an actor is connected, it will be directly or indirectly parented to the root Actor.<br>
-        /// The root Actor is provided automatically by Tizen.NUI.Stage, and is always considered to be connected.<br>
-        /// When the parent of a set of actors is connected to the stage, then all of the children will received this callback.<br>
+        /// Called after the view has been connected to the stage.<br>
+        /// When an view is connected, it will be directly or indirectly parented to the root View.<br>
+        /// The root View is provided automatically by Tizen.NUI.Stage, and is always considered to be connected.<br>
+        /// When the parent of a set of views is connected to the stage, then all of the children will received this callback.<br>
         /// </summary>
-        /// <param name="depth">The depth in the hierarchy for the actor</param>
+        /// <param name="depth">The depth in the hierarchy for the view</param>
         public virtual void OnStageConnection(int depth)
         {
         }
 
         /// <summary>
-        /// Called after the actor has been disconnected from Stage.<br>
-        /// If an actor is disconnected it either has no parent, or is parented to a disconnected actor.<br>
-        /// 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.<br>
+        /// Called after the view has been disconnected from Stage.<br>
+        /// If an view is disconnected it either has no parent, or is parented to a disconnected view.<br>
+        /// When the parent of a set of views is disconnected to the stage, then all of the children will received this callback, starting with the leaf views.<br>
         /// </summary>
         public virtual void OnStageDisconnection()
         {
         }
 
         /// <summary>
-        /// Called after a child has been added to the owning actor.
+        /// Called after a child has been added to the owning view.
         /// </summary>
-        /// <param name="actor">The child which has been added</param>
-        public virtual void OnChildAdd(Actor actor)
+        /// <param name="view">The child which has been added</param>
+        public virtual void OnChildAdd(View view)
         {
         }
 
         /// <summary>
-        /// Called after the owning actor has attempted to remove a child( regardless of whether it succeeded or not ).
+        /// Called after the owning view has attempted to remove a child( regardless of whether it succeeded or not ).
         /// </summary>
-        /// <param name="actor">The child being removed</param>
-        public virtual void OnChildRemove(Actor actor)
+        /// <param name="view">The child being removed</param>
+        public virtual void OnChildRemove(View view)
         {
         }
 
         /// <summary>
-        /// Called when the owning actor property is set.
+        /// Called when the owning view property is set.
         /// </summary>
         /// <param name="index">The Property index that was set</param>
         /// <param name="propertyValue">The value to set</param>
@@ -400,24 +400,24 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Called when the owning actor's size is set e.g. using Actor.SetSize().
+        /// Called when the owning view's size is set e.g. using View.SetSize().
         /// </summary>
-        /// <param name="targetSize">The target size. Note that this target size may not match the size returned via Actor.GetTargetSize</param>
+        /// <param name="targetSize">The target size. Note that this target size may not match the size returned via View.GetTargetSize</param>
         public virtual void OnSizeSet(Vector3 targetSize)
         {
         }
 
         /// <summary>
-        /// Called when the owning actor's size is animated e.g. using Animation::AnimateTo( Property( actor, Actor::Property::SIZE ), ... ).
+        /// Called when the owning view's size is animated e.g. using Animation::AnimateTo( Property( view, View::Property::SIZE ), ... ).
         /// </summary>
-        /// <param name="animation">The object which is animating the owning actor</param>
-        /// <param name="targetSize">The target size. Note that this target size may not match the size returned via @ref Actor.GetTargetSize</param>
+        /// <param name="animation">The object which is animating the owning view</param>
+        /// <param name="targetSize">The target size. Note that this target size may not match the size returned via @ref View.GetTargetSize</param>
         public virtual void OnSizeAnimation(Animation animation, Vector3 targetSize)
         {
         }
 
         /// <summary>
-        /// Called after a touch-event is received by the owning actor.<br>
+        /// Called after a touch-event is received by the owning view.<br>
         /// CustomViewBehaviour.REQUIRES_TOUCH_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).<br>
         /// </summary>
         /// <param name="touch">The touch event</param>
@@ -428,7 +428,7 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Called after a hover-event is received by the owning actor.<br>
+        /// Called after a hover-event is received by the owning view.<br>
         /// CustomViewBehaviour.REQUIRES_HOVER_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).<br>
         /// </summary>
         /// <param name="hover">The hover event</param>
@@ -439,7 +439,7 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Called after a key-event is received by the actor that has had its focus set.
+        /// Called after a key-event is received by the view that has had its focus set.
         /// </summary>
         /// <param name="key">The key event</param>
         /// <returns>True if the key event should be consumed</returns>
@@ -449,7 +449,7 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Called after a wheel-event is received by the owning actor.<br>
+        /// Called after a wheel-event is received by the owning view.<br>
         /// CustomViewBehaviour.REQUIRES_WHEEL_EVENTS must be enabled during construction. See CustomView(ViewWrapperImpl.CustomViewBehaviour behaviour).<br>
         /// </summary>
         /// <param name="wheel">The wheel event</param>
@@ -462,11 +462,11 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// Called after the size negotiation has been finished for this control.<br>
         /// The control is expected to assign this given size to itself/its children.<br>
-        /// 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.<br>
+        /// Should be overridden by derived classes if they need to layout views differently after certain operations like add or remove views, resize or after changing specific properties.<br>
         /// As this function is called from inside the size negotiation algorithm, you cannot call RequestRelayout (the call would just be ignored).<br>
         /// </summary>
         /// <param name="size">The allocated size</param>
-        /// <param name="container">The control should add actors to this container that it is not able to allocate a size for</param>
+        /// <param name="container">The control should add views to this container that it is not able to allocate a size for</param>
         public virtual void OnRelayout(Vector2 size, RelayoutContainer container)
         {
         }
@@ -481,9 +481,9 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Return the natural size of the actor.
+        /// Return the natural size of the view.
         /// </summary>
-        /// <returns>The actor's natural size</returns>
+        /// <returns>The view's natural size</returns>
         public virtual Size GetNaturalSize()
         {
             return new Size(0.0f, 0.0f, 0.0f);
@@ -492,10 +492,10 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// Calculate the size for a child.
         /// </summary>
-        /// <param name="child">The child actor to calculate the size for</param>
+        /// <param name="child">The child view to calculate the size for</param>
         /// <param name="dimension">The dimension to calculate the size for. E.g. width or height</param>
         /// <returns>Return the calculated size for the given dimension. If more than one dimension is requested, just return the first one found.</returns>
-        public virtual float CalculateChildSize(Actor child, DimensionType dimension)
+        public virtual float CalculateChildSize(View child, DimensionType dimension)
         {
             return viewWrapperImpl.CalculateChildSizeBase(child, dimension);
         }
@@ -523,19 +523,19 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Determine if this actor is dependent on it's children for relayout.
+        /// Determine if this view is dependent on it's children for relayout.
         /// </summary>
         /// <param name="dimension">The dimension(s) to check for</param>
-        /// <returns>Return if the actor is dependent on it's children</returns>
+        /// <returns>Return if the view is dependent on it's children</returns>
         public virtual bool RelayoutDependentOnChildren(DimensionType dimension)
         {
             return viewWrapperImpl.RelayoutDependentOnChildrenBase(dimension);
         }
 
         /// <summary>
-        /// Determine if this actor is dependent on it's children for relayout from the base class.
+        /// Determine if this view is dependent on it's children for relayout from the base class.
         /// </summary>
-        /// <returns>Return true if the actor is dependent on it's children</returns>
+        /// <returns>Return true if the view is dependent on it's children</returns>
         public virtual bool RelayoutDependentOnChildren()
         {
             return viewWrapperImpl.RelayoutDependentOnChildrenBase();
@@ -632,23 +632,23 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
-        /// Gets the next keyboard focusable actor in this control towards the given direction.<br>
+        /// Gets the next keyboard focusable view in this control towards the given direction.<br>
         /// A control needs to override this function in order to support two dimensional keyboard navigation.<br>
         /// </summary>
-        /// <param name="currentFocusedView">The current focused actor</param>
+        /// <param name="currentFocusedView">The current focused view</param>
         /// <param name="direction">The direction to move the focus towards</param>
         /// <param name="loopEnabled">Whether the focus movement should be looped within the control</param>
-        /// <returns>the next keyboard focusable actor in this control or an empty handle if no actor can be focused</returns>
+        /// <returns>the next keyboard focusable view in this control or an empty handle if no view can be focused</returns>
         public virtual View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
         {
             return new View();
         }
 
         /// <summary>
-        /// Informs this control that its chosen focusable actor will be focused.<br>
-        /// This allows the application to preform any actions if wishes before the focus is actually moved to the chosen actor.<br>
+        /// Informs this control that its chosen focusable view will be focused.<br>
+        /// This allows the application to preform any actions if wishes before the focus is actually moved to the chosen view.<br>
         /// </summary>
-        /// <param name="commitedFocusableView">The commited focused actor</param>
+        /// <param name="commitedFocusableView">The commited focused view</param>
         public virtual void OnFocusChangeCommitted(View commitedFocusableView)
         {
         }
@@ -707,11 +707,11 @@ namespace Tizen.NUI.BaseComponents
         {
         }
 
-        private void OnControlChildAdd(Actor child)
+        private void OnControlChildAdd(View child)
         {
         }
 
-        private void OnControlChildRemove(Actor child)
+        private void OnControlChildRemove(View child)
         {
         }
     }
index 8c38bacb0ea6b5230dd65a0300c1eac0d3bda00d..98bad2085609f318587fb3a7f29124329d9e3d68 100755 (executable)
@@ -26,6 +26,8 @@
 
 namespace Tizen.NUI.BaseComponents
 {
+    using System;
+    using System.Runtime.InteropServices;
 
     /// <summary>
     /// ImageView is a class for displaying an image resource.<br>
@@ -45,9 +47,82 @@ namespace Tizen.NUI.BaseComponents
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+
+        /// <summary>
+        /// Event arguments of resource ready.
+        /// </summary>
+        public class ResourceReadyEventArgs : EventArgs
+        {
+            private View _view;
+
+            /// <summary>
+            /// The view whose resource is ready.
+            /// </summary>
+            public View View
+            {
+                get
+                {
+                    return _view;
+                }
+                set
+                {
+                    _view = value;
+                }
+            }
+        }
+
+        private EventHandler<ResourceReadyEventArgs> _resourceReadyEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void ResourceReadyEventCallbackType(IntPtr data);
+        private ResourceReadyEventCallbackType _resourceReadyEventCallback;
+
+        /// <summary>
+        /// Event for ResourceReady signal which can be used to subscribe/unsubscribe the event handler.<br>
+        /// This signal is emitted after all resources required by a control are loaded and ready.<br>
+        /// Most resources are only loaded when the control is placed on stage.<br>
+        /// </summary>
+        public event EventHandler<ResourceReadyEventArgs> ResourceReady
+        {
+            add
+            {
+                if (_resourceReadyEventHandler == null)
+                {
+                    _resourceReadyEventCallback = OnResourceReady;
+                    ResourceReadySignal(this).Connect(_resourceReadyEventCallback);
+                }
+
+                _resourceReadyEventHandler += value;
+            }
+
+            remove
+            {
+                _resourceReadyEventHandler -= value;
+
+                if (_resourceReadyEventHandler == null && ResourceReadySignal(this).Empty() == false)
+                {
+                    ResourceReadySignal(this).Disconnect(_resourceReadyEventCallback);
+                }
+            }
+        }
+
+        // Callback for View ResourceReady signal
+        private void OnResourceReady(IntPtr data)
+        {
+            ResourceReadyEventArgs e = new ResourceReadyEventArgs();
+            if(data != null)
+            {
+                e.View = View.GetViewFromPtr(data);
+            }
+
+            if (_resourceReadyEventHandler != null)
+            {
+                _resourceReadyEventHandler(this, e);
+            }
+        }
+
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -69,7 +144,6 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-
         internal class Property : global::System.IDisposable
         {
             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
@@ -88,11 +162,16 @@ namespace Tizen.NUI.BaseComponents
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -189,6 +268,26 @@ namespace Tizen.NUI.BaseComponents
             ANIMATABLE_PROPERTY_END_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + 1000
         }
 
+
+        internal ViewResourceReadySignal ResourceReadySignal(View view) {
+            ViewResourceReadySignal ret = new ViewResourceReadySignal(NDalicPINVOKE.ResourceReadySignal(View.getCPtr(view)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Query if all resources required by a control are loaded and ready.<br>
+        /// Most resources are only loaded when the control is placed on stage.<br>
+        /// true if the resources are loaded and ready, false otherwise.<br>
+        /// </summary>
+        public bool IsResourceReady()
+        {
+            bool ret = NDalicPINVOKE.IsResourceReady(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
         /// <summary>
         /// ImageView ResourceUrl, type string
         /// </summary>
index 51cf8e66124bc4edbb5f0ce26503f7c35b0be2b9..8f2a7a5b366ad987d537af3b0a25205fefa8ec71 100755 (executable)
@@ -52,7 +52,7 @@ namespace Tizen.NUI.BaseComponents
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -170,11 +170,16 @@ namespace Tizen.NUI.BaseComponents
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -256,11 +261,16 @@ namespace Tizen.NUI.BaseComponents
 
             ~InputStyle()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
index aff20d229867081482739bdfedb46d3bd90c1a8a..3975a76fc23e63774651128a549775d7fa88d72f 100755 (executable)
@@ -52,7 +52,7 @@ namespace Tizen.NUI.BaseComponents
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -235,11 +235,16 @@ namespace Tizen.NUI.BaseComponents
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -328,11 +333,16 @@ namespace Tizen.NUI.BaseComponents
 
             ~InputStyle()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
index 6b5e55782afc6d30ca680511c06f55381fa33b2a..3794ec8d8f1facf072e230d2fd80dcb10af3b7a4 100755 (executable)
@@ -50,7 +50,7 @@ namespace Tizen.NUI.BaseComponents
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -91,11 +91,16 @@ namespace Tizen.NUI.BaseComponents
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
index 56543bb072a57319bde4c16bf8268b5096cbbb6d..a929f45cc25e029322574e5c37aafb1cefaaa524 100755 (executable)
@@ -23,7 +23,7 @@ namespace Tizen.NUI.BaseComponents
     /// <summary>
     /// View is the base class for all views.
     /// </summary>
-    public class View : CustomActor
+    public class View : Animatable //CustomActor => Animatable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
@@ -45,15 +45,15 @@ namespace Tizen.NUI.BaseComponents
 
         ~View()
         {
-            //DisposeQueue.Instance.Add(this);
+            DisposeQueue.Instance.Add(this);
 
             // Unregister this instance of view from the view registry.
             ViewRegistry.UnregisterView(this);
         }
 
-        public override void Dispose()
+        public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())//Stage=>Window
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -71,7 +71,7 @@ namespace Tizen.NUI.BaseComponents
                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
                 }
                 global::System.GC.SuppressFinalize(this);
-                base.Dispose();
+                //base.Dispose();
             }
         }
 
@@ -489,95 +489,195 @@ namespace Tizen.NUI.BaseComponents
         }
 
 
-        private EventHandler _onStageEventHandler;
+        private EventHandler _onWindowEventHandler;
         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
-        private delegate void OnStageEventCallbackType(IntPtr control);
-        private OnStageEventCallbackType _onStageEventCallback;
+        private delegate void OnWindowEventCallbackType(IntPtr control);
+        private OnWindowEventCallbackType _onWindowEventCallback;
 
         /// <summary>
-        /// Event for OnStage signal which can be used to subscribe/unsubscribe the event handler.<br>
-        /// OnStage signal is emitted after the view has been connected to the stage.<br>
+        /// Event for OnWindow signal which can be used to subscribe/unsubscribe the event handler.<br>
+        /// OnWindow signal is emitted after the view has been connected to the Window.<br>
         /// </summary>
-        public event EventHandler OnStageEvent
+        public event EventHandler OnWindowEvent
         {
             add
             {
-                if (_onStageEventHandler == null)
+                if (_onWindowEventHandler == null)
                 {
-                    _onStageEventCallback = OnStage;
-                    this.OnStageSignal().Connect(_onStageEventCallback);
+                    _onWindowEventCallback = OnWindow;
+                    this.OnWindowSignal().Connect(_onWindowEventCallback);
                 }
 
-                _onStageEventHandler += value;
+                _onWindowEventHandler += value;
             }
 
             remove
             {
-                _onStageEventHandler -= value;
+                _onWindowEventHandler -= value;
 
-                if (_onStageEventHandler == null && OnStageSignal().Empty() == false)
+                if (_onWindowEventHandler == null && OnWindowSignal().Empty() == false)
                 {
-                    this.OnStageSignal().Disconnect(_onStageEventCallback);
+                    this.OnWindowSignal().Disconnect(_onWindowEventCallback);
                 }
             }
         }
 
-        // Callback for View OnStage signal
-        private void OnStage(IntPtr data)
+        // Callback for View OnWindow signal
+        private void OnWindow(IntPtr data)
         {
-            if (_onStageEventHandler != null)
+            if (_onWindowEventHandler != null)
             {
-                _onStageEventHandler(this, null);
+                _onWindowEventHandler(this, null);
             }
         }
 
 
-        private EventHandler _offStageEventHandler;
+        private EventHandler _offWindowEventHandler;
         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
-        private delegate void OffStageEventCallbackType(IntPtr control);
-        private OffStageEventCallbackType _offStageEventCallback;
+        private delegate void OffWindowEventCallbackType(IntPtr control);
+        private OffWindowEventCallbackType _offWindowEventCallback;
 
         /// <summary>
-        /// Event for OffStage signal which can be used to subscribe/unsubscribe the event handler.<br>
-        /// OffStage signal is emitted after the view has been disconnected from the stage.<br>
+        /// Event for OffWindow signal which can be used to subscribe/unsubscribe the event handler.<br>
+        /// OffWindow signal is emitted after the view has been disconnected from the Window.<br>
         /// </summary>
-        public event EventHandler OffStageEvent
+        public event EventHandler OffWindowEvent
         {
             add
             {
-                if (_offStageEventHandler == null)
+                if (_offWindowEventHandler == null)
                 {
-                    _offStageEventCallback = OffStage;
-                    this.OffStageSignal().Connect(_offStageEventCallback);
+                    _offWindowEventCallback = OffWindow;
+                    this.OffWindowSignal().Connect(_offWindowEventCallback);
                 }
 
-                _offStageEventHandler += value;
+                _offWindowEventHandler += value;
             }
 
             remove
             {
-                _offStageEventHandler -= value;
+                _offWindowEventHandler -= value;
 
-                if (_offStageEventHandler == null && OffStageSignal().Empty() == false)
+                if (_offWindowEventHandler == null && OffWindowSignal().Empty() == false)
                 {
-                    this.OffStageSignal().Disconnect(_offStageEventCallback);
+                    this.OffWindowSignal().Disconnect(_offWindowEventCallback);
                 }
             }
         }
 
-        // Callback for View OffStage signal
-        private void OffStage(IntPtr data)
+        // Callback for View OffWindow signal
+        private void OffWindow(IntPtr data)
         {
-            if (_offStageEventHandler != null)
+            if (_offWindowEventHandler != null)
             {
-                _offStageEventHandler(this, null);
+                _offWindowEventHandler(this, null);
             }
         }
 
+        /// <summary>
+        /// Event arguments of visibility changed.
+        /// </summary>
+        public class VisibilityChangedEventArgs : EventArgs
+        {
+            private View _view;
+            private bool _visibility;
+            private VisibilityChangeType _type;
+
+            /// <summary>
+            /// The view, or child of view, whose visibility has changed.
+            /// </summary>
+            public View View
+            {
+                get
+                {
+                    return _view;
+                }
+                set
+                {
+                    _view = value;
+                }
+            }
+
+            /// <summary>
+            /// Whether the view is now visible or not.
+            /// </summary>
+            public bool Visibility
+            {
+                get
+                {
+                    return _visibility;
+                }
+                set
+                {
+                    _visibility = value;
+                }
+            }
+
+            /// <summary>
+            /// Whether the view's visible property has changed or a parent's.
+            /// </summary>
+            public VisibilityChangeType Type
+            {
+                get
+                {
+                    return _type;
+                }
+                set
+                {
+                    _type = value;
+                }
+            }
+        }
+
+        private EventHandler<VisibilityChangedEventArgs> _visibilityChangedEventHandler;
+        [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+        private delegate void VisibilityChangedEventCallbackType(IntPtr data, bool visibility, VisibilityChangeType type);
+        private VisibilityChangedEventCallbackType _visibilityChangedEventCallback;
+
+        /// <summary>
+        /// Event for visibility change which can be used to subscribe/unsubscribe the event handler.<br>
+        /// This signal is emitted when the visible property of this or a parent view is changed.<br>
+        /// </summary>
+        public event EventHandler<VisibilityChangedEventArgs> VisibilityChanged
+        {
+            add
+            {
+                if (_visibilityChangedEventHandler == null)
+                {
+                    _visibilityChangedEventCallback = OnVisibilityChanged;
+                    VisibilityChangedSignal(this).Connect(_visibilityChangedEventCallback);
+                }
+
+                _visibilityChangedEventHandler += value;
+            }
 
+            remove
+            {
+                _visibilityChangedEventHandler -= value;
 
+                if (_visibilityChangedEventHandler == null && VisibilityChangedSignal(this).Empty() == false)
+                {
+                    VisibilityChangedSignal(this).Disconnect(_visibilityChangedEventCallback);
+                }
+            }
+        }
 
+        // Callback for View visibility change signal
+        private void OnVisibilityChanged(IntPtr data, bool visibility, VisibilityChangeType type)
+        {
+            VisibilityChangedEventArgs e = new VisibilityChangedEventArgs();
+            if (data != null)
+            {
+                e.View = View.GetViewFromPtr(data);
+            }
+            e.Visibility = visibility;
+            e.Type = type;
 
+            if (_visibilityChangedEventHandler != null)
+            {
+                _visibilityChangedEventHandler(this, e);
+            }
+        }
 
         internal static View GetViewFromPtr(global::System.IntPtr cPtr)
         {
@@ -586,6 +686,11 @@ namespace Tizen.NUI.BaseComponents
             return ret;
         }
 
+        internal IntPtr GetPtrfromView()
+        {
+            return (IntPtr)swigCPtr;
+        }
+
         internal class Property : global::System.IDisposable
         {
             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
@@ -604,11 +709,16 @@ namespace Tizen.NUI.BaseComponents
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -627,10 +737,10 @@ namespace Tizen.NUI.BaseComponents
             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 static readonly int LEFT_FOCUSABLE_VIEW_ID = NDalicManualPINVOKE.View_Property_LEFT_FOCUSABLE_ACTOR_ID_get();
+            internal static readonly int RIGHT_FOCUSABLE_VIEW_ID = NDalicManualPINVOKE.View_Property_RIGHT_FOCUSABLE_ACTOR_ID_get();
+            internal static readonly int UP_FOCUSABLE_VIEW_ID = NDalicManualPINVOKE.View_Property_UP_FOCUSABLE_ACTOR_ID_get();
+            internal static readonly int DOWN_FOCUSABLE_VIEW_ID = NDalicManualPINVOKE.View_Property_DOWN_FOCUSABLE_ACTOR_ID_get();
 
             internal Property() : this(NDalicPINVOKE.new_View_Property(), true)
             {
@@ -642,7 +752,64 @@ namespace Tizen.NUI.BaseComponents
             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();
-
+            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 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();
         }
 
 
@@ -697,28 +864,28 @@ namespace Tizen.NUI.BaseComponents
         /// Downcasts a handle to class which inherit View handle.
         /// </summary>
         /// <typeparam name="T">Class which inherit View</typeparam>
-        /// <param name="actor">Actor to an object</param>
+        /// <param name="view">View to an object</param>
         /// <returns>A object which inherit View</returns>
-        public static T DownCast<T>(Actor actor) where T : View
+        public static T DownCast<T>(View view) where T : View
         {
-            return (T)(ViewRegistry.GetViewFromActor(actor));
+            return (T)(ViewRegistry.GetViewFromActor(view));
         }
 
         private View ConvertIdToView(uint id)
         {
-            Actor actor = null;
+            View view = null;
 
             if (Parent)
             {
-                actor = Parent.FindChildById(id);
+                view = Parent.FindChildById(id);
             }
 
-            if (!actor)
+            if (!view)
             {
-                actor = Stage.Instance.GetRootLayer().FindChildById(id);
+                view = Window.Instance.GetRootLayer().FindChildById(id);
             }
 
-            return View.DownCast<View>(actor);
+            return view;
         }
 
         internal void SetKeyInputFocus()
@@ -1076,59 +1243,59 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
-        private int LeftFocusableActorId
+        private int LeftFocusableViewId
         {
             get
             {
                 int temp = 0;
-                GetProperty(View.Property.LEFT_FOCUSABLE_ACTOR_ID).Get(ref temp);
+                GetProperty(View.Property.LEFT_FOCUSABLE_VIEW_ID).Get(ref temp);
                 return temp;
             }
             set
             {
-                SetProperty(View.Property.LEFT_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));
+                SetProperty(View.Property.LEFT_FOCUSABLE_VIEW_ID, new Tizen.NUI.PropertyValue(value));
             }
         }
 
-        private int RightFocusableActorId
+        private int RightFocusableViewId
         {
             get
             {
                 int temp = 0;
-                GetProperty(View.Property.RIGHT_FOCUSABLE_ACTOR_ID).Get(ref temp);
+                GetProperty(View.Property.RIGHT_FOCUSABLE_VIEW_ID).Get(ref temp);
                 return temp;
             }
             set
             {
-                SetProperty(View.Property.RIGHT_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));
+                SetProperty(View.Property.RIGHT_FOCUSABLE_VIEW_ID, new Tizen.NUI.PropertyValue(value));
             }
         }
 
-        private int UpFocusableActorId
+        private int UpFocusableViewId
         {
             get
             {
                 int temp = 0;
-                GetProperty(View.Property.UP_FOCUSABLE_ACTOR_ID).Get(ref temp);
+                GetProperty(View.Property.UP_FOCUSABLE_VIEW_ID).Get(ref temp);
                 return temp;
             }
             set
             {
-                SetProperty(View.Property.UP_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));
+                SetProperty(View.Property.UP_FOCUSABLE_VIEW_ID, new Tizen.NUI.PropertyValue(value));
             }
         }
 
-        private int DownFocusableActorId
+        private int DownFocusableViewId
         {
             get
             {
                 int temp = 0;
-                GetProperty(View.Property.DOWN_FOCUSABLE_ACTOR_ID).Get(ref temp);
+                GetProperty(View.Property.DOWN_FOCUSABLE_VIEW_ID).Get(ref temp);
                 return temp;
             }
             set
             {
-                SetProperty(View.Property.DOWN_FOCUSABLE_ACTOR_ID, new Tizen.NUI.PropertyValue(value));
+                SetProperty(View.Property.DOWN_FOCUSABLE_VIEW_ID, new Tizen.NUI.PropertyValue(value));
             }
         }
 
@@ -1355,88 +1522,88 @@ namespace Tizen.NUI.BaseComponents
         /// <summary>
         /// The left focusable view.<br>
         /// This will return NULL if not set.<br>
-        /// This will also return NULL if the specified left focusable view is not on stage.<br>
+        /// This will also return NULL if the specified left focusable view is not on Window.<br>
         /// </summary>
         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)
+                if (LeftFocusableViewId >= 0)
                 {
-                    return ConvertIdToView((uint)LeftFocusableActorId);
+                    return ConvertIdToView((uint)LeftFocusableViewId);
                 }
                 return null;
             }
             set
             {
-                LeftFocusableActorId = (int)value.GetId();
+                LeftFocusableViewId = (int)value.GetId();
             }
         }
 
         /// <summary>
         /// The right focusable view.<br>
         /// This will return NULL if not set.<br>
-        /// This will also return NULL if the specified right focusable view is not on stage.<br>
+        /// This will also return NULL if the specified right focusable view is not on Window.<br>
         /// </summary>
         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)
+                if (RightFocusableViewId >= 0)
                 {
-                    return ConvertIdToView((uint)RightFocusableActorId);
+                    return ConvertIdToView((uint)RightFocusableViewId);
                 }
                 return null;
             }
             set
             {
-                RightFocusableActorId = (int)value.GetId();
+                RightFocusableViewId = (int)value.GetId();
             }
         }
 
         /// <summary>
         /// The up focusable view.<br>
         /// This will return NULL if not set.<br>
-        /// This will also return NULL if the specified up focusable view is not on stage.<br>
+        /// This will also return NULL if the specified up focusable view is not on Window.<br>
         /// </summary>
         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)
+                if (UpFocusableViewId >= 0)
                 {
-                    return ConvertIdToView((uint)UpFocusableActorId);
+                    return ConvertIdToView((uint)UpFocusableViewId);
                 }
                 return null;
             }
             set
             {
-                UpFocusableActorId = (int)value.GetId();
+                UpFocusableViewId = (int)value.GetId();
             }
         }
 
         /// <summary>
         /// The down focusable view.<br>
         /// This will return NULL if not set.<br>
-        /// This will also return NULL if the specified down focusable view is not on stage.<br>
+        /// This will also return NULL if the specified down focusable view is not on Window.<br>
         /// </summary>
         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)
+                if (DownFocusableViewId >= 0)
                 {
-                    return ConvertIdToView((uint)DownFocusableActorId);
+                    return ConvertIdToView((uint)DownFocusableViewId);
                 }
                 return null;
             }
             set
             {
-                DownFocusableActorId = (int)value.GetId();
+                DownFocusableViewId = (int)value.GetId();
             }
         }
 
@@ -1473,6 +1640,2151 @@ namespace Tizen.NUI.BaseComponents
             /// </summary>
             Disabled
         }
+
+        /// <summary>
+        ///  Retrieves the position of the View.<br>
+        ///  The coordinates are relative to the View's parent.<br>
+        /// </summary>
+        public Position CurrentPosition
+        {
+            get
+            {
+                return GetCurrentPosition();
+            }
+        }
+
+        /// <summary>
+        /// Sets the size of an view for width and height.<br>
+        /// Geometry can be scaled to fit within this area.<br>
+        /// This does not interfere with the views scale factor.<br>
+        /// The views default depth is the minimum of width & height.<br>
+        /// </summary>
+        public Size2D Size2D
+        {
+            get
+            {
+                Size temp = new Size(0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.SIZE).Get(temp);
+                return new Size2D(temp);
+            }
+            set
+            {
+                SetProperty(View.Property.SIZE, new Tizen.NUI.PropertyValue(new Size(value)));
+            }
+        }
+
+        /// <summary>
+        ///  Retrieves the size of the View.<br>
+        ///  The coordinates are relative to the View's parent.<br>
+        /// </summary>
+        public Size CurrentSize
+        {
+            get
+            {
+                return GetCurrentSize();
+            }
+        }
+
+        /// <summary>
+        /// Retrieves the view's parent.<br>
+        /// </summary>
+        public View Parent
+        {
+            get
+            {
+                return GetParent();
+            }
+        }
+
+        public bool Visibility
+        {
+            get
+            {
+                return IsVisible();
+            }
+        }
+
+        /// <summary>
+        /// Retrieves and sets the view's opacity.<br>
+        /// </summary>
+        public float Opacity
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.OPACITY).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.OPACITY, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Sets the position of the View for X and Y.<br>
+        /// By default, sets the position vector between the parent origin and anchor point(default).<br>
+        /// If Position inheritance if disabled, sets the world position.<br>
+        /// </summary>
+        public Position2D Position2D
+        {
+            get
+            {
+                Position temp = new Position(0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.POSITION).Get(temp);
+                return new Position2D(temp);
+            }
+            set
+            {
+                SetProperty(View.Property.POSITION, new Tizen.NUI.PropertyValue(new Position(value)));
+            }
+        }
+
+        /// <summary>
+        /// Retrieves screen postion of view's.<br>
+        /// </summary>
+        public Vector2 ScreenPosition
+        {
+            get
+            {
+                Vector2 temp = new Vector2(0.0f, 0.0f);
+                GetProperty(View.Property.SCREEN_POSITION).Get(temp);
+                return temp;
+            }
+        }
+
+        /// <summary>
+        /// Determines whether the anchor point should be used to determine the position of the view.
+        /// This is true by default.
+        /// </summary>
+        /// <remarks>If false, then the top-left of the view is used for the position.
+        /// Setting this to false will allow scaling or rotation around the anchor-point without affecting the view's position.
+        /// </remarks>
+        public bool PositionUsesAnchorPoint
+        {
+            get
+            {
+                bool temp = false;
+                if(this) GetProperty(View.Property.POSITION_USES_ANCHOR_POINT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                if(this) SetProperty(View.Property.POSITION_USES_ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        public bool StateFocusEnable
+        {
+            get
+            {
+                return IsKeyboardFocusable();
+            }
+            set
+            {
+                SetKeyboardFocusable(value);
+            }
+        }
+
+        /// <summary>
+        /// Queries whether the view is connected to the Stage.<br>
+        /// When an view is connected, it will be directly or indirectly parented to the root View.<br>
+        /// </summary>
+        public bool IsOnWindow
+        {
+            get
+            {
+                return OnWindow();
+            }
+        }
+
+        /// <summary>
+        /// Gets depth in the hierarchy for the view.
+        /// </summary>
+        public int HierarchyDepth
+        {
+            get
+            {
+                return GetHierarchyDepth();
+            }
+        }
+
+        /// <summary>
+        /// Sets the sibling order of the view so depth position can be defined within the same parent.
+        /// </summary>
+        /// <remarks>
+        /// Note The initial value is 0.
+        /// Raise, Lower, RaiseToTop, LowerToBottom, RaiseAbove and LowerBelow will override the sibling order.
+        /// The values set by this Property will likely change.
+        /// </remarks>
+        public int SiblingOrder
+        {
+            get
+            {
+                int temp = 0;
+                GetProperty(View.Property.SIBLING_ORDER).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SIBLING_ORDER, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Shows the View.
+        /// </summary>
+        /// <remarks>
+        /// This is an asynchronous method.
+        /// </remarks>
+        public void Show()
+        {
+            SetVisible(true);
+        }
+
+        /// <summary>
+        /// Hides the View.
+        /// </summary>
+        /// <remarks>
+        /// This is an asynchronous method.
+        /// If an view is hidden, then the view and its children will not be rendered.
+        /// This is regardless of the individual visibility of the children i.e.an view will only be rendered if all of its parents are shown.
+        /// </remarks>
+        public void Hide()
+        {
+            SetVisible(false);
+        }
+
+        /// <summary>
+        /// Raise view above the next highest level of view(s).
+        /// </summary>
+        /// <remarks>
+        /// Sibling order of views within the parent will be updated automatically.
+        /// Initially views added to a parent will have the same sibling order and shown in relation to insertion order.
+        /// Raising this view above views with the same sibling order as each other will raise this view above them.
+        /// Once a raise or lower API is used that view will then have an exclusive sibling order independent of insertion.
+        /// </remarks>
+        public void Raise()
+        {
+            NDalicPINVOKE.Raise(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Lower the view to underneath the level below view(s).
+        /// </summary>
+        /// <remarks>
+        /// Sibling order of views within the parent will be updated automatically.
+        /// Lowering this view below views with the same sibling order as each other will lower this view above them.
+        /// Once a raise or lower API is used that view will then have an exclusive sibling order independent of insertion.
+        /// </remarks>
+        public void Lower()
+        {
+            NDalicPINVOKE.Lower(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Raise view above all other views.
+        /// </summary>
+        /// <remarks>
+        /// Sibling order of views within the parent will be updated automatically.
+        /// Once a raise or lower API is used that view will then have an exclusive sibling order independent of insertion.
+        /// </remarks>
+        public void RaiseToTop()
+        {
+            NDalicPINVOKE.RaiseToTop(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Lower view to the bottom of all views.
+        /// </summary>
+        /// <remarks>
+        /// Sibling order of views within the parent will be updated automatically.
+        /// Once a raise or lower API is used that view will then have an exclusive sibling order independent of insertion.
+        /// </remarks>
+        public void LowerToBottom()
+        {
+            NDalicPINVOKE.LowerToBottom(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Raise the view to above the target view.
+        /// </summary>
+        /// <remarks>Sibling order of views within the parent will be updated automatically.
+        /// Views on the level above the target view will still be shown above this view.
+        /// Raising this view above views with the same sibling order as each other will raise this view above them.
+        /// Once a raise or lower API is used that view will then have an exclusive sibling order independent of insertion.
+        /// </remarks>
+        /// <param name="target">Will be raised above this view</param>
+        internal void RaiseAbove(View target)
+        {
+            NDalicPINVOKE.RaiseAbove(swigCPtr, View.getCPtr(target));
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Lower the view to below the target view.
+        /// </summary>
+        /// <remarks>Sibling order of views within the parent will be updated automatically.
+        /// Lowering this view below views with the same sibling order as each other will lower this view above them.
+        /// Once a raise or lower API is used that view will then have an exclusive sibling order independent of insertion.
+        /// </remarks>
+        /// <param name="target">Will be lowered below this view</param>
+        internal void LowerBelow(View target)
+        {
+            NDalicPINVOKE.RaiseAbove(swigCPtr, View.getCPtr(target));
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        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 OnWindow()
+        {
+            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;
+        }
+
+        /// <summary>
+        /// Adds a child view to this View.
+        /// </summary>
+        /// <pre>This View(the parent) has been initialized. The child view has been initialized. The child view is not the same as the parent view.</pre>
+        /// <post>The child will be referenced by its parent. This means that the child will be kept alive, even if the handle passed into this method is reset or destroyed.</post>
+        /// <remarks>If the child already has a parent, it will be removed from old parent and reparented to this view. This may change child's position, color, scale etc as it now inherits them from this view.</remarks>
+        /// <param name="child">The child</param>
+        public void Add(View child)
+        {
+            NDalicPINVOKE.Actor_Add(swigCPtr, View.getCPtr(child));
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Removes a child View from this View. If the view was not a child of this view, this is a no-op.
+        /// </summary>
+        /// <pre>This View(the parent) has been initialized. The child view is not the same as the parent view.</pre>
+        /// <param name="child">The child</param>
+        public void Remove(View child)
+        {
+            NDalicPINVOKE.Actor_Remove(swigCPtr, View.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();
+        }
+
+        /// <summary>
+        /// Retrieves the number of children held by the view.
+        /// </summary>
+        /// <pre>The View has been initialized.</pre>
+        /// <returns>The number of children</returns>
+        public uint GetChildCount()
+        {
+            uint ret = NDalicPINVOKE.Actor_GetChildCount(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Retrieves child view by index.
+        /// </summary>
+        /// <pre>The View has been initialized.</pre>
+        /// <param name="index">The index of the child to retrieve</param>
+        /// <returns>The view for the given index or empty handle if children not initialized</returns>
+        public View GetChildAt(uint index)
+        {
+            View ret = new View(NDalicPINVOKE.Actor_GetChildAt(swigCPtr, index), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Search through this view's hierarchy for an view with the given name.
+        /// The view itself is also considered in the search.
+        /// </summary>
+        /// <pre>The View has been initialized.</pre>
+        /// <param name="viewName">The name of the view to find</param>
+        /// <returns>A handle to the view if found, or an empty handle if not</returns>
+        public View FindChildByName(string viewName)
+        {
+            View ret = new View(NDalicPINVOKE.Actor_FindChildByName(swigCPtr, viewName), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal View FindChildById(uint id)
+        {
+            View ret = new View(NDalicPINVOKE.Actor_FindChildById(swigCPtr, id), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal View GetParent()
+        {
+            View ret = new View(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;
+        }
+
+        /// <summary>
+        /// Returns the natural size of the view.<br>
+        /// Deriving classes stipulate the natural size and by default an view has a ZERO natural size.<br>
+        /// </summary>
+        /// <returns>The view's natural size</returns>
+        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;
+        }
+
+        /// <summary>
+        /// Converts screen coordinates into the view's coordinate system using the default camera.
+        /// </summary>
+        /// <pre>The View has been initialized.</pre>
+        /// <remarks>The view coordinates are relative to the top-left(0.0, 0.0, 0.5)</remarks>
+        /// <param name="localX">On return, the X-coordinate relative to the view</param>
+        /// <param name="localY">On return, the Y-coordinate relative to the view</param>
+        /// <param name="screenX">The screen X-coordinate</param>
+        /// <param name="screenY">The screen Y-coordinate</param>
+        /// <returns>True if the conversion succeeded</returns>
+        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;
+        }
+
+        /// <summary>
+        /// Sets the relative to parent size factor of the view.<br>
+        /// This factor is only used when ResizePolicy is set to either:
+        /// ResizePolicy::SIZE_RELATIVE_TO_PARENT or ResizePolicy::SIZE_FIXED_OFFSET_FROM_PARENT.<br>
+        /// This view's size is set to the view's size multiplied by or added to this factor, depending on ResizePolicy.<br>
+        /// </summary>
+        /// <pre>The View has been initialized.</pre>
+        /// <param name="factor">A Vector3 representing the relative factor to be applied to each axis</param>
+        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;
+        }
+
+        /// <summary>
+        /// Calculates the height of the view given a width.<br>
+        /// The natural size is used for default calculation. <br>
+        /// size 0 is treated as aspect ratio 1:1.<br>
+        /// </summary>
+        /// <param name="width">Width to use</param>
+        /// <returns>The height based on the width</returns>
+        public float GetHeightForWidth(float width)
+        {
+            float ret = NDalicPINVOKE.Actor_GetHeightForWidth(swigCPtr, width);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Calculates the width of the view given a height.<br>
+        /// The natural size is used for default calculation.<br>
+        /// size 0 is treated as aspect ratio 1:1.<br>
+        /// </summary>
+        /// <param name="height">Height to use</param>
+        /// <returns>The width based on the height</returns>
+        public float GetWidthForHeight(float height)
+        {
+            float ret = NDalicPINVOKE.Actor_GetWidthForHeight(swigCPtr, height);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public 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 TouchDataSignal TouchSignal()
+        {
+            TouchDataSignal ret = new TouchDataSignal(NDalicPINVOKE.Actor_TouchSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal HoverSignal HoveredSignal()
+        {
+            HoverSignal ret = new HoverSignal(NDalicPINVOKE.Actor_HoveredSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal WheelSignal WheelEventSignal()
+        {
+            WheelSignal ret = new WheelSignal(NDalicPINVOKE.Actor_WheelEventSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ViewSignal OnWindowSignal()
+        {
+            ViewSignal ret = new ViewSignal(NDalicPINVOKE.Actor_OnStageSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ViewSignal OffWindowSignal()
+        {
+            ViewSignal ret = new ViewSignal(NDalicPINVOKE.Actor_OffStageSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ViewSignal OnRelayoutSignal()
+        {
+            ViewSignal ret = new ViewSignal(NDalicPINVOKE.Actor_OnRelayoutSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ViewVisibilityChangedSignal VisibilityChangedSignal(View view) {
+            ViewVisibilityChangedSignal ret = new ViewVisibilityChangedSignal(NDalicPINVOKE.VisibilityChangedSignal(View.getCPtr(view)), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Gets/Sets the origin of an view, within its parent's area.<br>
+        /// This is expressed in unit coordinates, such that (0.0, 0.0, 0.5) is the top-left corner of the parent, and(1.0, 1.0, 0.5) is the bottom-right corner.<br>
+        /// The default parent-origin is ParentOrigin.TopLeft (0.0, 0.0, 0.5).<br>
+        /// An view's position is the distance between this origin, and the view's anchor-point.<br>
+        /// </summary>
+        /// <pre>The View has been initialized.</pre>
+        public Position ParentOrigin
+        {
+            get
+            {
+                Position temp = new Position(0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.PARENT_ORIGIN).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.PARENT_ORIGIN, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        internal float ParentOriginX
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.PARENT_ORIGIN_X).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.PARENT_ORIGIN_X, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        internal float ParentOriginY
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.PARENT_ORIGIN_Y).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.PARENT_ORIGIN_Y, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        internal float ParentOriginZ
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.PARENT_ORIGIN_Z).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.PARENT_ORIGIN_Z, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the anchor-point of an view.<br>
+        /// This is expressed in unit coordinates, such that (0.0, 0.0, 0.5) is the top-left corner of the view, and (1.0, 1.0, 0.5) is the bottom-right corner.<br>
+        /// The default anchor point is AnchorPoint.Center (0.5, 0.5, 0.5).<br>
+        /// An view position is the distance between its parent-origin and this anchor-point.<br>
+        /// An view's orientation is the rotation from its default orientation, the rotation is centered around its anchor-point.<br>
+        /// <pre>The View has been initialized.</pre>
+        /// </summary>
+        public Position AnchorPoint
+        {
+            get
+            {
+                Position temp = new Position(0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.ANCHOR_POINT).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.ANCHOR_POINT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        internal float AnchorPointX
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.ANCHOR_POINT_X).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.ANCHOR_POINT_X, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        internal float AnchorPointY
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.ANCHOR_POINT_Y).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.ANCHOR_POINT_Y, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        internal float AnchorPointZ
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.ANCHOR_POINT_Z).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.ANCHOR_POINT_Z, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the size of an view.<br>
+        /// Geometry can be scaled to fit within this area.<br>
+        /// This does not interfere with the views scale factor.<br>
+        /// </summary>
+        public Size Size
+        {
+            get
+            {
+                Size temp = new Size(0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.SIZE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the size width of an view.
+        /// </summary>
+        public float SizeWidth
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.SIZE_WIDTH).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SIZE_WIDTH, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the size height of an view.
+        /// </summary>
+        public float SizeHeight
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.SIZE_HEIGHT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SIZE_HEIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the size depth of an view.
+        /// </summary>
+        public float SizeDepth
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.SIZE_DEPTH).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SIZE_DEPTH, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the position of the View.<br>
+        /// By default, sets the position vector between the parent origin and anchor point(default).<br>
+        /// If Position inheritance if disabled, sets the world position.<br>
+        /// </summary>
+        public Position Position
+        {
+            get
+            {
+                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.POSITION).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.POSITION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the position x of the View.
+        /// </summary>
+        public float PositionX
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.POSITION_X).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.POSITION_X, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the position y of the View.
+        /// </summary>
+        public float PositionY
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.POSITION_Y).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.POSITION_Y, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the position z of the View.
+        /// </summary>
+        public float PositionZ
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.POSITION_Z).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.POSITION_Z, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the world position of the View.
+        /// </summary>
+        public Vector3 WorldPosition
+        {
+            get
+            {
+                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.WORLD_POSITION).Get(temp);
+                return temp;
+            }
+        }
+
+        internal float WorldPositionX
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.WORLD_POSITION_X).Get(ref temp);
+                return temp;
+            }
+        }
+
+        internal float WorldPositionY
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.WORLD_POSITION_Y).Get(ref temp);
+                return temp;
+            }
+        }
+
+        internal float WorldPositionZ
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.WORLD_POSITION_Z).Get(ref temp);
+                return temp;
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the orientation of the View.<br>
+        /// An view's orientation is the rotation from its default orientation, and the rotation is centered around its anchor-point.<br>
+        /// </summary>
+        /// <remarks>This is an asynchronous method.</remarks>
+        public Rotation Orientation
+        {
+            get
+            {
+                Rotation temp = new Rotation();
+                GetProperty(View.Property.ORIENTATION).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.ORIENTATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the world orientation of the View.<br>
+        /// </summary>
+        public Rotation WorldOrientation
+        {
+            get
+            {
+                Rotation temp = new Rotation();
+                GetProperty(View.Property.WORLD_ORIENTATION).Get(temp);
+                return temp;
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the scale factor applied to an view.<br>
+        /// </summary>
+        public Vector3 Scale
+        {
+            get
+            {
+                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.SCALE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SCALE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the scale x factor applied to an view.
+        /// </summary>
+        public float ScaleX
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.SCALE_X).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SCALE_X, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the scale y factor applied to an view.
+        /// </summary>
+        public float ScaleY
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.SCALE_Y).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SCALE_Y, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the scale z factor applied to an view.
+        /// </summary>
+        public float ScaleZ
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.SCALE_Z).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SCALE_Z, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets the world scale of View.
+        /// </summary>
+        public Vector3 WorldScale
+        {
+            get
+            {
+                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.WORLD_SCALE).Get(temp);
+                return temp;
+            }
+        }
+
+        /// <summary>
+        /// Retrieves the visibility flag of an view.
+        /// </summary>
+        /// <remarks>
+        /// If an view is not visible, then the view and its children will not be rendered.
+        /// This is regardless of the individual visibility values of the children i.e.an view will only be rendered if all of its parents have visibility set to true.
+        /// </remarks>
+        public bool Visible
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(View.Property.VISIBLE).Get(ref temp);
+                return temp;
+            }/* only get is required : removed
+            set
+            {
+                SetProperty(View.Property.VISIBLE, new Tizen.NUI.PropertyValue(value));
+            }*/
+        }
+
+        /// <summary>
+        /// Gets/Sets the view's mix color red.
+        /// </summary>
+        public float ColorRed
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.COLOR_RED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.COLOR_RED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the view's mix color green.
+        /// </summary>
+        public float ColorGreen
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.COLOR_GREEN).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.COLOR_GREEN, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the view's mix color blue
+        /// </summary>
+        public float ColorBlue
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.COLOR_BLUE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.COLOR_BLUE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the view's mix color alpha.
+        /// </summary>
+        public float ColorAlpha
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(View.Property.COLOR_ALPHA).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.COLOR_ALPHA, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets the view's world color.
+        /// </summary>
+        public Vector4 WorldColor
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.WORLD_COLOR).Get(temp);
+                return temp;
+            }
+        }
+
+        internal Matrix WorldMatrix
+        {
+            get
+            {
+                Matrix temp = new Matrix();
+                GetProperty(View.Property.WORLD_MATRIX).Get(temp);
+                return temp;
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the View's name.
+        /// </summary>
+        public string Name
+        {
+            get
+            {
+                string temp;
+                GetProperty(View.Property.NAME).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.NAME, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the status of whether an view should emit touch or hover signals.
+        /// </summary>
+        public bool Sensitive
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(View.Property.SENSITIVE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SENSITIVE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the status of whether the view should receive a notification when touch or hover motion events leave the boundary of the view.
+        /// </summary>
+        public bool LeaveRequired
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(View.Property.LEAVE_REQUIRED).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.LEAVE_REQUIRED, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the status of whether a child view inherits it's parent's orientation.
+        /// </summary>
+        public bool InheritOrientation
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(View.Property.INHERIT_ORIENTATION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.INHERIT_ORIENTATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the status of whether a child view inherits it's parent's scale.
+        /// </summary>
+        public bool InheritScale
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(View.Property.INHERIT_SCALE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.INHERIT_SCALE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the view's color mode.<br>
+        /// This specifies whether the View uses its own color, or inherits its parent color.<br>
+        /// The default is UseOwnMultiplyParentAlpha.<br>
+        /// </summary>
+        public ColorMode ColorMode
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(View.Property.COLOR_MODE).Get(out temp) == false)
+                {
+#if DEBUG_ON
+                    Tizen.Log.Error("NUI", "ColorMode get error!");
+#endif
+                }
+                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.UseOwnMultiplyParentAlpha;
+                }
+            }
+            set
+            {
+                SetProperty(View.Property.COLOR_MODE, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        public string PositionInheritance
+        {
+            get
+            {
+                string temp;
+                GetProperty(View.Property.POSITION_INHERITANCE).Get(out temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.POSITION_INHERITANCE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the status of how the view and its children should be drawn.<br>
+        /// Not all views are renderable, but DrawMode can be inherited from any view.<br>
+        /// If an object is in a 3D layer, it will be depth-tested against other objects in the world i.e. it may be obscured if other objects are in front.<br>
+        /// If DrawMode.Overlay2D is used, the view and its children will be drawn as a 2D overlay.<br>
+        /// Overlay views are drawn in a separate pass, after all non-overlay views within the Layer.<br>
+        /// For overlay views, the drawing order is with respect to tree levels of Views, and depth-testing will not be used.<br>
+        /// </summary>
+        public DrawModeType DrawMode
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(View.Property.DRAW_MODE).Get(out temp) == false)
+                {
+#if DEBUG_ON
+                    Tizen.Log.Error("NUI", "DrawMode get error!");
+#endif
+                }
+                switch (temp)
+                {
+                    case "NORMAL":
+                    return DrawModeType.Normal;
+                    case "OVERLAY_2D":
+                    return DrawModeType.Overlay2D;
+                    case "STENCIL":
+                    return DrawModeType.Stencil;
+                    default:
+                    return DrawModeType.Normal;
+                }
+            }
+            set
+            {
+                SetProperty(View.Property.DRAW_MODE, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the relative to parent size factor of the view.<br>
+        /// This factor is only used when ResizePolicyType is set to either: ResizePolicyType.SizeRelativeToParent or ResizePolicyType.SizeFixedOffsetFromParent.<br>
+        /// This view's size is set to the view's size multiplied by or added to this factor, depending on ResizePolicyType.<br>
+        /// </summary>
+        public Vector3 SizeModeFactor
+        {
+            get
+            {
+                Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.SIZE_MODE_FACTOR).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.SIZE_MODE_FACTOR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the width resize policy to be used.
+        /// </summary>
+        public ResizePolicyType WidthResizePolicy
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(View.Property.WIDTH_RESIZE_POLICY).Get(out temp) == false)
+                {
+#if DEBUG_ON
+                    Tizen.Log.Error("NUI", "WidthResizePolicy get error!");
+#endif
+                }
+                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(View.Property.WIDTH_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the height resize policy to be used.
+        /// </summary>
+        public ResizePolicyType HeightResizePolicy
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(View.Property.HEIGHT_RESIZE_POLICY).Get(out temp) == false)
+                {
+#if DEBUG_ON
+                    Tizen.Log.Error("NUI", "HeightResizePolicy get error!");
+#endif
+                }
+                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(View.Property.HEIGHT_RESIZE_POLICY, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the policy to use when setting size with size negotiation.<br>
+        /// Defaults to  SizeScalePolicyType.UseSizeSet.<br>
+        /// </summary>
+        public SizeScalePolicyType SizeScalePolicy
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(View.Property.SIZE_SCALE_POLICY).Get(out temp) == false)
+                {
+#if DEBUG_ON
+                    Tizen.Log.Error("NUI", "SizeScalePolicy get error!");
+#endif
+                }
+                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
+            {
+                string valueToString = "";
+                switch (value)
+                {
+                    case SizeScalePolicyType.UseSizeSet:
+                        {
+                            valueToString = "USE_SIZE_SET";
+                            break;
+                        }
+                    case SizeScalePolicyType.FitWithAspectRatio:
+                        {
+                            valueToString = "FIT_WITH_ASPECT_RATIO";
+                            break;
+                        }
+                    case SizeScalePolicyType.FillWithAspectRatio:
+                        {
+                            valueToString = "FILL_WITH_ASPECT_RATIO";
+                            break;
+                        }
+                    default:
+                        {
+                            valueToString = "USE_SIZE_SET";
+                            break;
+                        }
+                }
+                SetProperty(View.Property.SIZE_SCALE_POLICY, new Tizen.NUI.PropertyValue(valueToString));
+            }
+        }
+
+        /// <summary>
+        ///  Gets/Sets the status of whether the width size is dependent on height size.
+        /// </summary>
+        public bool WidthForHeight
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(View.Property.WIDTH_FOR_HEIGHT).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.WIDTH_FOR_HEIGHT, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        ///  Gets/Sets the status of whether the height size is dependent on width size.
+        /// </summary>
+        public bool HeightForWidth
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(View.Property.HEIGHT_FOR_WIDTH).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.HEIGHT_FOR_WIDTH, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the padding for use in layout.
+        /// </summary>
+        public Vector4 Padding
+        {
+            get
+            {
+                Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+                GetProperty(View.Property.PADDING).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.PADDING, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the minimum size an view can be assigned in size negotiation.
+        /// </summary>
+        public Size2D MinimumSize
+        {
+            get
+            {
+                Size2D temp = new Size2D(0, 0);
+                GetProperty(View.Property.MINIMUM_SIZE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.MINIMUM_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets the maximum size an view can be assigned in size negotiation.
+        /// </summary>
+        public Size2D MaximumSize
+        {
+            get
+            {
+                Size2D temp = new Size2D(0, 0);
+                GetProperty(View.Property.MAXIMUM_SIZE).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.MAXIMUM_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets whether a child view inherits it's parent's position.<br>
+        /// Default is to inherit.<br>
+        /// Switching this off means that using Position sets the view's world position, i.e. translates from the world origin(0,0,0) to the anchor point of the view.<br>
+        /// </summary>
+        public bool InheritPosition
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(View.Property.INHERIT_POSITION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(View.Property.INHERIT_POSITION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Gets/Sets clipping behavior(mode) of it's children.
+        /// </summary>
+        public ClippingModeType ClippingMode
+        {
+            get
+            {
+                string temp;
+                if (GetProperty(View.Property.CLIPPING_MODE).Get(out temp) == false)
+                {
+#if DEBUG_ON
+                    Tizen.Log.Error("NUI", "ClippingMode get error!");
+#endif
+                }
+                switch (temp)
+                {
+                    case "DISABLED":
+                    return ClippingModeType.Disabled;
+                    case "CLIP_CHILDREN":
+                    return ClippingModeType.ClipChildren;
+                    default:
+                    return ClippingModeType.Disabled;
+                }
+            }
+            set
+            {
+                SetProperty(View.Property.CLIPPING_MODE, new Tizen.NUI.PropertyValue((int)value));
+            }
+        }
     }
 
 }
diff --git a/src/Tizen.NUI/src/public/CameraActor.cs b/src/Tizen.NUI/src/public/CameraActor.cs
deleted file mode 100755 (executable)
index 9f6aa41..0000000
+++ /dev/null
@@ -1,595 +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.
-//
-//
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-// Some have been manually changed
-
-namespace Tizen.NUI
-{
-
-    /// <summary>
-    /// This class will be deprecated.<br>
-    /// CameraActor controls a camera.<br>
-    /// Allows the developer to use actor semantics to control a camera.<br>
-    /// NUI has a concept of a camera to display its virtual 3D world to a 2D screen.<br>
-    /// There are 2 ways of using the camera in NUI:<br>
-    /// - For 2D applications, you do not need to care about the camera at all. The default camera is already best suited for 2D applications
-    /// (configured to have the origin of the coordinate system at the top-left corner of the screen, and unit 1 as 1 pixel of the screen). This is a typical way.<br>
-    /// - For 3D applications, you can change the view by manipulating the camera.You can translate or rotate the camera in this case.<br>
-    /// Note that the top-left corner of the screen and unit 1 no longer are (0,0,0) and 1 pixel after manipulating the camera.<br>
-    /// There are two types of camera actor, FreeLook and LookAtTarget. By default, the camera actor will be FreeLook.<br>
-    /// - A FreeLook camera uses actor's orientation to control where the camera is looking.<br>
-    /// If no additional rotations are specified, the camera looks in the negative Z direction.<br>
-    /// - For LookAtTarget, the actor's orientation is ignored, instead the camera looks at TargetPosition in world coordinates.<br>
-    /// /// </summary>
-    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;
-        }
-
-        /// <summary>
-        /// To make CameraActor instance be disposed.
-        /// </summary>
-        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();
-
-        }
-
-        /// <summary>
-        /// Creates an initialized CameraActor handle.
-        /// </summary>
-        public CameraActor() : this(NDalicPINVOKE.CameraActor_New__SWIG_0(), true)
-        {
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-
-        }
-
-        /// <summary>
-        /// Creates a CameraActor object.<br>
-        /// Sets the default camera perspective projection for the given canvas size.<br>
-        /// </summary>
-        /// <param name="size">The canvas size</param>
-        public CameraActor(Size2D size) : this(NDalicPINVOKE.CameraActor_New__SWIG_1(Size2D.getCPtr(size)), true)
-        {
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-
-        }
-
-        /// <summary>
-        /// Downcasts a handle to CameraActor handle.<br>
-        /// If handle points to a CameraActor, the downcast produces valid handle.<br>
-        /// If not, the returned handle is left uninitialized.<br>
-        /// </summary>
-        /// <param name="handle">to An object</param>
-        /// <returns>Handle to a CameraActor or an uninitialized handle</returns>
-        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();
-        }
-
-        /// <summary>
-        /// Gets/Sets the camera type. The default type is FreeLook
-        /// </summary>
-        public CameraType Type
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(CameraActor.Property.TYPE).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "CameraType get error!");
-#endif
-                }
-                switch (temp)
-                {
-                    case "LOOK_AT_TARGET":
-                        return CameraType.LookAtTarget;
-                    case "FREE_LOOK":
-                        return CameraType.FreeLook;
-                    default:
-                        return CameraType.FreeLook;
-                }
-            }
-            set
-            {
-                string valueToString = "";
-                switch (value)
-                {
-                    case CameraType.LookAtTarget:
-                    {
-                        valueToString = "LOOK_AT_TARGET";
-                        break;
-                    }
-                    case CameraType.FreeLook:
-                    {
-                        valueToString = "FREE_LOOK";
-                        break;
-                    }
-                    default:
-                    {
-                        valueToString = "FREE_LOOK";
-                        break;
-                    }
-                }
-                SetProperty(CameraActor.Property.TYPE, new Tizen.NUI.PropertyValue(valueToString));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the projection mode.
-        /// </summary>
-        public ProjectionMode ProjectionMode
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(CameraActor.Property.PROJECTION_MODE).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "ProjectionMode get error!");
-#endif
-                }
-                switch(temp)
-                {
-                    case "PERSPECTIVE_PROJECTION":
-                        return ProjectionMode.PerspectiveProjection;
-                    case "ORTHOGRAPHIC_PROJECTION":
-                        return ProjectionMode.OrthographicProjection;
-                    default:
-                        return ProjectionMode.PerspectiveProjection;
-                }
-            }
-            set
-            {
-                string valueToString = "";
-                switch (value)
-                {
-                    case ProjectionMode.PerspectiveProjection:
-                    {
-                        valueToString = "PERSPECTIVE_PROJECTION";
-                        break;
-                    }
-                    case ProjectionMode.OrthographicProjection:
-                    {
-                        valueToString = "ORTHOGRAPHIC_PROJECTION";
-                        break;
-                    }
-                    default:
-                    {
-                        valueToString = "PERSPECTIVE_PROJECTION";
-                        break;
-                    }
-                }
-                SetProperty(CameraActor.Property.PROJECTION_MODE, new Tizen.NUI.PropertyValue(valueToString));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the field of view.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the aspect ratio of the camera.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets near plane distance.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets far plane distance.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets left plane distance.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets right plane distance.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets top plane distance.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets bottom plane distance.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the target position of the camera.
-        /// </summary>
-        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;
-            }
-        }
-
-        /// <summary>
-        /// Requests for an inversion on the Y axis on the projection calculation.
-        /// </summary>
-        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));
-            }
-        }
-
-    }
-}
index 38100f353863eb04fde297a3525f04ec070f340a..3aedcc1f3eb908ae5caf4e2b02bfe4b1af511071 100755 (executable)
@@ -50,7 +50,7 @@ namespace Tizen.NUI
         /// </summary>
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 1de738b79a37bef0797c7e2e086a3b9f8e3e4c65..f461c663deefa040cb7f9f0f6773111b3e1650e1 100755 (executable)
@@ -36,7 +36,7 @@ namespace Tizen.NUI
         }
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index e582d63795f8816d8d25302d68f6da2106ca0632..30bc27f7fa5c786d7bf98bd1d003542e77ebfdec 100755 (executable)
@@ -50,7 +50,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -91,11 +91,16 @@ namespace Tizen.NUI
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -146,11 +151,16 @@ namespace Tizen.NUI
 
             ~ChildProperty()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -219,7 +229,7 @@ namespace Tizen.NUI
 
         /// <summary>
         /// Enumeration for the primary direction in which content is ordered in the flex container
-        /// and on which sides the ?\9cstart??and ?\9cend??are.
+        /// and on which sides the ?�start??and ?�end??are.
         /// </summary>
         public enum ContentDirectionType
         {
index c5a22a6ab546bf229b889af3438a247e4e22e6e2..627dd1526feb029f3afaffb646b5ade8408a4b5e 100755 (executable)
@@ -49,7 +49,7 @@ namespace Tizen.NUI
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -125,8 +125,8 @@ namespace Tizen.NUI
 
         /// <summary>
         /// PreFocusChange will be triggered before the focus is going to be changed.<br>
-        /// FocusManager makes the best guess for which actor to focus towards the given direction, but applications might want to change that.<br>
-        /// By connecting with this event, they can check the proposed actor to focus and return a different actor if they wish.<br>
+        /// FocusManager makes the best guess for which view to focus towards the given direction, but applications might want to change that.<br>
+        /// By connecting with this event, they can check the proposed view to focus and return a different view if they wish.<br>
         /// This event is only triggered when the navigation key is pressed and KeyboardFocusManager tries to move the focus automatically.<br>
         /// It won't be emitted for focus movement by calling SetCurrentFocusView directly.<br>
         /// </summary>
@@ -172,8 +172,14 @@ namespace Tizen.NUI
             View view = null;
             PreFocusChangeEventArgs e = new PreFocusChangeEventArgs();
 
-            e.CurrentView = View.GetViewFromPtr(current);
-            e.ProposedView = View.GetViewFromPtr(proposed);
+            if (current != global::System.IntPtr.Zero)
+            {
+                e.CurrentView = View.GetViewFromPtr(current);
+            }
+            if (proposed != global::System.IntPtr.Zero)
+            {
+                e.ProposedView = View.GetViewFromPtr(proposed);
+            }
             e.Direction = direction;
 
             if (_preFocusChangeEventHandler != null)
@@ -183,12 +189,13 @@ namespace Tizen.NUI
 
             if (view)
             {
-                return view.GetPtrfromActor();
+                return view.GetPtrfromView();
             }
             else
             {
-                if (e.ProposedView) return proposed;
-                else return current;
+                //if (e.ProposedView) return proposed;
+                //else return current;
+                return current; //xb.teng
             }
         }
 
@@ -231,7 +238,7 @@ namespace Tizen.NUI
         private FocusChangedEventCallback _focusChangedEventCallback;
 
         /// <summary>
-        /// FocusGroupChanged will be triggered after the current focused actor has been changed.
+        /// FocusGroupChanged will be triggered after the current focused view has been changed.
         /// </summary>
         public event EventHandler<FocusChangedEventArgs> FocusChanged
         {
@@ -372,7 +379,7 @@ namespace Tizen.NUI
         private FocusedViewEnterKeyEventCallback _focusedViewEnterKeyEventCallback;
 
         /// <summary>
-        /// FocusedViewEnterKeyPressed will be triggered when the current focused actor has the enter key pressed on it.
+        /// FocusedViewEnterKeyPressed will be triggered when the current focused view has the enter key pressed on it.
         /// </summary>
         public event EventHandler<FocusedViewEnterKeyEventArgs> FocusedViewEnterKeyPressed
         {
@@ -381,7 +388,7 @@ namespace Tizen.NUI
                 if (_focusedViewEnterKeyEventCallback == null)
                 {
                     _focusedViewEnterKeyEventCallback = OnFocusedViewEnterKey;
-                    FocusedActorEnterKeySignal().Connect(_focusedViewEnterKeyEventCallback);
+                    FocusedViewEnterKeySignal().Connect(_focusedViewEnterKeyEventCallback);
                 }
                 _focusedViewEnterKeyEventHandler += value;
             }
@@ -389,9 +396,9 @@ namespace Tizen.NUI
             {
                 _focusedViewEnterKeyEventHandler -= value;
 
-                if (_focusedViewEnterKeyEventCallback == null && FocusedActorEnterKeySignal().Empty() == false)
+                if (_focusedViewEnterKeyEventCallback == null && FocusedViewEnterKeySignal().Empty() == false)
                 {
-                    FocusedActorEnterKeySignal().Disconnect(_focusedViewEnterKeyEventCallback);
+                    FocusedViewEnterKeySignal().Disconnect(_focusedViewEnterKeyEventCallback);
                 }
             }
         }
@@ -430,18 +437,18 @@ namespace Tizen.NUI
         /// <returns>Whether the focus is successful or not</returns>
         public bool SetCurrentFocusView(View view)
         {
-            bool ret = NDalicManualPINVOKE.FocusManager_SetCurrentFocusActor(swigCPtr, Actor.getCPtr(view));
+            bool ret = NDalicManualPINVOKE.FocusManager_SetCurrentFocusActor(swigCPtr, View.getCPtr(view));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
 
         /// <summary>
-        /// Gets the current focused actor.
+        /// Gets the current focused view.
         /// </summary>
         /// <returns>A handle to the current focused View or an empty handle if no View is focused</returns>
         public View GetCurrentFocusView()
         {
-            View ret = View.DownCast(new Actor(NDalicManualPINVOKE.FocusManager_GetCurrentFocusActor(swigCPtr), true));
+            View ret = new View(NDalicManualPINVOKE.FocusManager_GetCurrentFocusActor(swigCPtr), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             if (ret.HasBody() == false)
             {
@@ -463,7 +470,7 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// Clears the focus from the current focused actor if any, so that no actor is focused in the focus chain.<br>
+        /// Clears the focus from the current focused view if any, so that no view is focused in the focus chain.<br>
         /// It will emit FocusChanged event without current focused View.<br>
         /// </summary>
         public void ClearFocus()
@@ -502,37 +509,37 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// Sets whether an View is a focus group that can limit the scope of focus movement to its child actors in the focus chain.<br>
+        /// Sets whether an View is a focus group that can limit the scope of focus movement to its child views in the focus chain.<br>
         /// Layout controls set themselves as focus groups by default.<br>
         /// </summary>
         /// <param name="view">The View to be set as a focus group</param>
         /// <param name="isFocusGroup">Whether to set the View as a focus group or not</param>
         public void SetAsFocusGroup(View view, bool isFocusGroup)
         {
-            NDalicManualPINVOKE.FocusManager_SetAsFocusGroup(swigCPtr, Actor.getCPtr(view), isFocusGroup);
+            NDalicManualPINVOKE.FocusManager_SetAsFocusGroup(swigCPtr, View.getCPtr(view), isFocusGroup);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
         /// <summary>
-        /// Checks whether the actor is set as a focus group or not.
+        /// Checks whether the view is set as a focus group or not.
         /// </summary>
         /// <param name="view">The View to be checked</param>
         /// <returns>Whether the View is set as a focus group</returns>
         public bool IsFocusGroup(View view)
         {
-            bool ret = NDalicManualPINVOKE.FocusManager_IsFocusGroup(swigCPtr, Actor.getCPtr(view));
+            bool ret = NDalicManualPINVOKE.FocusManager_IsFocusGroup(swigCPtr, View.getCPtr(view));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
 
         /// <summary>
-        /// Returns the closest ancestor of the given actor that is a focus group.
+        /// Returns the closest ancestor of the given view that is a focus group.
         /// </summary>
         /// <param name="view">The View to be checked for its focus group</param>
         /// <returns>The focus group the given view belongs to or an empty handle if the given view</returns>
         public View GetFocusGroup(View view)
         {
-            View ret = View.DownCast(new Actor(NDalicManualPINVOKE.FocusManager_GetFocusGroup(swigCPtr, Actor.getCPtr(view)), true));
+            View ret = new View(NDalicManualPINVOKE.FocusManager_GetFocusGroup(swigCPtr, View.getCPtr(view)), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             if (ret.HasBody() == false)
             {
@@ -559,13 +566,13 @@ namespace Tizen.NUI
 
         internal void SetFocusIndicatorView(View indicator)
         {
-            NDalicManualPINVOKE.FocusManager_SetFocusIndicatorActor(swigCPtr, Actor.getCPtr(indicator));
+            NDalicManualPINVOKE.FocusManager_SetFocusIndicatorActor(swigCPtr, View.getCPtr(indicator));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
         internal View GetFocusIndicatorView()
         {
-            View ret = View.DownCast(new Actor(NDalicManualPINVOKE.FocusManager_GetFocusIndicatorActor(swigCPtr), true));
+            View ret = new View(NDalicManualPINVOKE.FocusManager_GetFocusIndicatorActor(swigCPtr), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             if (ret.HasBody() == false)
             { 
@@ -608,9 +615,9 @@ namespace Tizen.NUI
             return ret;
         }
 
-        internal ActorSignal FocusedActorEnterKeySignal()
+        internal ViewSignal FocusedViewEnterKeySignal()
         {
-            ActorSignal ret = new ActorSignal(NDalicManualPINVOKE.FocusManager_FocusedActorEnterKeySignal(swigCPtr), false);
+            ViewSignal ret = new ViewSignal(NDalicManualPINVOKE.FocusManager_FocusedActorEnterKeySignal(swigCPtr), false);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
@@ -629,15 +636,15 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// ICustomFocusAlgorithm is used to provide custom keyboard focus algorithm for retrieving the next focusable actor.<br>
+        /// ICustomFocusAlgorithm is used to provide custom keyboard focus algorithm for retrieving the next focusable view.<br>
         /// The application can implement the interface and override the keyboard focus behaviour.<br>
-        /// If focus is changing within a layout container, then the layout container is queried first to provide the next focusable actor.<br>
-        /// If this does not provide a valid actor, then the Keyboard FocusManager will check focusable properties to determine next focusable actor.<br>
-        /// If focusable properties are not set, then the Keyboard FocusManager calls the GetNextFocusableActor() method of this interface.<br>
+        /// If focus is changing within a layout container, then the layout container is queried first to provide the next focusable view.<br>
+        /// If this does not provide a valid view, then the Keyboard FocusManager will check focusable properties to determine next focusable actor.<br>
+        /// If focusable properties are not set, then the Keyboard FocusManager calls the GetNextFocusableView() method of this interface.<br>
         /// </summary>
         public interface ICustomFocusAlgorithm
         {
-            View GetNextFocusableActor(View current, View proposed, View.FocusDirection direction);
+            View GetNextFocusableView(View current, View proposed, View.FocusDirection direction);
         }
 
         private class CustomAlgorithmInterfaceWrapper : CustomAlgorithmInterface
@@ -653,11 +660,11 @@ namespace Tizen.NUI
                 _customFocusAlgorithm = customFocusAlgorithm;
             }
 
-            public override Actor GetNextFocusableActor(Actor current, Actor proposed, View.FocusDirection direction)
+            public override View GetNextFocusableView(View current, View proposed, View.FocusDirection direction)
             {
                 View currentView = View.DownCast<View>(current);
                 View proposedView = View.DownCast<View>(proposed);
-                return _customFocusAlgorithm.GetNextFocusableActor(currentView, proposedView, direction);
+                return _customFocusAlgorithm.GetNextFocusableView(currentView, proposedView, direction);
             }
         }
     }
index 97fbcf02e88e5457fa7597718688db40d680bc92..3d02f450f7521e56a83e84a7055bb41aec894cd8 100755 (executable)
@@ -39,7 +39,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 4ccdafa73996e4de2392e820407477230842ab41..7ae04de476332a3bdb5dd24d769bfa388509d7c3 100755 (executable)
@@ -10,7 +10,7 @@
 
 namespace Tizen.NUI
 {
-
+    using Tizen.NUI.BaseComponents;
     /// <summary>
     /// Hover events are a collection of points at a specific moment in time.<br>
     /// When a multi event occurs, each point represents the points that are currently being
@@ -39,7 +39,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -110,30 +110,30 @@ namespace Tizen.NUI
         }
 
         /// <summary>
-        /// Retrieves the actor that was underneath the point specified.
+        /// Retrieves the view that was underneath the point specified.
         /// </summary>
         /// <param name="point">The point required</param>
-        /// <returns>The actor that was underneath the point specified</returns>
-        public Actor GetHitActor(uint point)
+        /// <returns>The view that was underneath the point specified</returns>
+        public View GetHitView(uint point)
         {
             if (point < points.Count)
             {
-                return points[(int)point].hitActor;
+                return points[(int)point].hitView;
             }
             else
             {
                 // Return a native empty handle
-                Actor actor = new Actor();
-                actor.Reset();
-                return actor;
+                View view = new View();
+                view.Reset();
+                return view;
             }
         }
 
         /// <summary>
-        /// Retrieves the co-ordinates relative to the top-left of the hit-actor at the point specified.
+        /// Retrieves the co-ordinates relative to the top-left of the hit-view at the point specified.
         /// </summary>
         /// <param name="point">The point required</param>
-        /// <returns>The co-ordinates relative to the top-left of the hit-actor of the point specified</returns>
+        /// <returns>The co-ordinates relative to the top-left of the hit-view of the point specified</returns>
         public Vector2 GetLocalPosition(uint point)
         {
             if (point < points.Count)
index 33b0b71233761398c3fdb4a9dd9f5dd7b53a1ebe..fdf845ebad9be9bf2d5c03aa291837a759b6caa1 100755 (executable)
@@ -37,7 +37,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index e3630bfd4e8e400992979b1b82f0afa111883f53..64c0f64bed1b963e45771f40d511d62e665b0c76 100755 (executable)
@@ -47,7 +47,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 7c9b8ac30b1cacc55db9b9a6f89fff60aa3d6b0d..a89b49828cc15aa8a5e59e9508dd5ba02a92450f 100755 (executable)
 
 namespace Tizen.NUI
 {
-
+    using Tizen.NUI.BaseComponents;
     /// <summary>
     /// Layers provide a mechanism for overlaying groups of actors on top of each other.
     /// </summary>
-    public class Layer : Actor
+    public class Layer : Animatable
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
@@ -44,9 +44,9 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
-        public override void Dispose()
+        public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -64,7 +64,7 @@ namespace Tizen.NUI
                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
                 }
                 global::System.GC.SuppressFinalize(this);
-                base.Dispose();
+                //base.Dispose();  //xb.teng
             }
         }
 
@@ -87,11 +87,16 @@ namespace Tizen.NUI
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -152,6 +157,28 @@ namespace Tizen.NUI
             return ret;
         }
 
+        public View FindChildById(uint id)
+        {
+            View ret = new View(NDalicPINVOKE.Actor_FindChildById(swigCPtr, id), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public void Add(View child)
+        {
+            NDalicPINVOKE.Actor_Add(swigCPtr, View.getCPtr(child));
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        public void Remove(View child)
+        {
+            NDalicPINVOKE.Actor_Remove(swigCPtr, View.getCPtr(child));
+            if (NDalicPINVOKE.SWIGPendingException.Pending)
+                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
         /// <summary>
         /// Queries the depth of the layer.<br>
         /// 0 is the bottom most layer, higher number is on top.<br>
index ff05444cf619dbb899291c92e6aedca88dc7ca2e..318bf9d129487da0e900c4b36da8544f68e08d32 100755 (executable)
@@ -31,7 +31,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index c7c09e2ddb3ac6fb80ef0fbbd4b599c7dd863e10..420c1cea7678809096bca183796bd6878f7cdcab 100755 (executable)
@@ -65,7 +65,7 @@ namespace Tizen.NUI
         /// <summary>
         /// The instance of the Dali Stage.
         /// </summary>
-        private Stage _stage;
+        private Window _window;
 
         /// <summary>
         /// The default constructor.
@@ -139,8 +139,8 @@ namespace Tizen.NUI
 #if DEBUG_ON
             Tizen.Log.Debug("NUI", "##### 2) DisposeQueue.Instance.Initialize()!");
 #endif
-            _stage = Stage.Instance;
-            _stage.SetBackgroundColor(Color.White);
+            _window = Window.Instance;
+            _window.SetBackgroundColor(Color.White);
             LOG("OnPreCreate() is called!");
         }
 
index f0b7ecbd66b7ce692bda268d6a4d32fd3be4f2f8..b2953e6414b7adca333699c7ac64436d46a1bfef 100755 (executable)
@@ -88,7 +88,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Size is to use the actor's natural size
         /// </summary>
-        /// <see cref="Actor.GetNaturalSize"/>
+        /// <see cref="View.GetNaturalSize"/>
         UseNaturalSize,
         /// <summary>
         /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
index 14fc529457202f76b5a64030377bf207877d6882..215a5accef9ad6dcb6ca718d0f12304365c0c129 100755 (executable)
@@ -36,7 +36,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 7486acd3684fb3220220e7c24050fbf1e02171df..5e45f61545255db420a3d545944078c4eb14573f 100755 (executable)
@@ -31,7 +31,7 @@ namespace Tizen.NUI
     /// A 3D parametric curve.<br>
     /// Paths can be used to animate position and orientation of actors.<br>
     /// </summary> 
-    public class Path : Handle
+    public class Path : BaseHandle
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
 
@@ -47,7 +47,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -88,11 +88,16 @@ namespace Tizen.NUI
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -239,12 +244,12 @@ namespace Tizen.NUI
             get
             {
                 Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
-                GetProperty(Path.Property.POINTS).Get(temp);
+                Tizen.NUI.Object.GetProperty(swigCPtr, Path.Property.POINTS).Get(temp);
                 return temp;
             }
             set
             {
-                SetProperty(Path.Property.POINTS, new Tizen.NUI.PropertyValue(value));
+                Tizen.NUI.Object.SetProperty(swigCPtr, Path.Property.POINTS, new Tizen.NUI.PropertyValue(value));
             }
         }
 
@@ -256,12 +261,12 @@ namespace Tizen.NUI
             get
             {
                 Tizen.NUI.PropertyArray temp = new Tizen.NUI.PropertyArray();
-                GetProperty(Path.Property.CONTROL_POINTS).Get(temp);
+                Tizen.NUI.Object.GetProperty(swigCPtr, Path.Property.CONTROL_POINTS).Get(temp);
                 return temp;
             }
             set
             {
-                SetProperty(Path.Property.CONTROL_POINTS, new Tizen.NUI.PropertyValue(value));
+                Tizen.NUI.Object.SetProperty(swigCPtr, Path.Property.CONTROL_POINTS, new Tizen.NUI.PropertyValue(value));
             }
         }
 
index 12a8d19afd949b6fb3c387e8d6a93ee598f4bc83..2ef419c246b791eb7669e7f3a343467b4e903f8f 100755 (executable)
@@ -31,7 +31,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 4075eb44c3f87cfff9eb94c55b0023304fca7b39..b1753559c0ea86891d3cc96f19f632fed78b174d 100755 (executable)
@@ -44,7 +44,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 009f66958ba4db6cf6a80bc3601a61c65acb7eab..c4c3a072c88bb4157af8a62f6371769ea1c3a816 100755 (executable)
@@ -38,7 +38,7 @@ public class Position2D : global::System.IDisposable {
   }
 
   public virtual void Dispose() {
-    if (!Stage.IsInstalled()) {
+    if (!Window.IsInstalled()) {
       DisposeQueue.Instance.Add(this);
       return;
     }
index b697a3639f37f3e3a617350d979268853bc26969..b55948c98ec1154d4a1a4432af7606e2f8c94527 100755 (executable)
@@ -34,7 +34,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -91,7 +91,7 @@ namespace Tizen.NUI
         /// </summary>
         /// <param name="arg0">A valid handle to the target object</param>
         /// <param name="propertyIndex">The index of a property</param>
-        public Property(Handle arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Handle.getCPtr(arg0), propertyIndex), true)
+        public Property(Animatable arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Animatable.getCPtr(arg0), propertyIndex), true)
         {
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
@@ -102,7 +102,7 @@ namespace Tizen.NUI
         /// <param name="arg0">A valid handle to the target object</param>
         /// <param name="propertyIndex">The index of a property</param>
         /// <param name="componentIndex">Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for main property (default is -1)</param>
-        public Property(Handle arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Handle.getCPtr(arg0), propertyIndex, componentIndex), true)
+        public Property(Animatable arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Animatable.getCPtr(arg0), propertyIndex, componentIndex), true)
         {
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
@@ -113,7 +113,7 @@ namespace Tizen.NUI
         /// </summary>
         /// <param name="arg0">A valid handle to the target object</param>
         /// <param name="propertyName">The property name</param>
-        public Property(Handle arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Handle.getCPtr(arg0), propertyName), true)
+        public Property(Animatable arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Animatable.getCPtr(arg0), propertyName), true)
         {
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
@@ -125,21 +125,21 @@ namespace Tizen.NUI
         /// <param name="arg0">A valid handle to the target object</param>
         /// <param name="propertyName">The property name</param>
         /// <param name="componentIndex">Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for main property (default is -1)</param>
-        public Property(Handle arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Handle.getCPtr(arg0), propertyName, componentIndex), true)
+        public Property(Animatable arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Animatable.getCPtr(arg0), propertyName, componentIndex), true)
         {
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal Handle _object
+        internal Animatable _object
         {
             set
             {
-                NDalicPINVOKE.Property__object_set(swigCPtr, Handle.getCPtr(value));
+                NDalicPINVOKE.Property__object_set(swigCPtr, Animatable.getCPtr(value));
                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             }
             get
             {
-                Handle ret = new Handle(NDalicPINVOKE.Property__object_get(swigCPtr), false);
+                Animatable ret = new Animatable(NDalicPINVOKE.Property__object_get(swigCPtr), false);
                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
                 return ret;
             }
@@ -204,11 +204,16 @@ namespace Tizen.NUI
 
         ~PropertyArray()
         {
-            Dispose();
+            DisposeQueue.Instance.Add(this);
         }
 
         public virtual void Dispose()
         {
+            if (!Window.IsInstalled()) {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
             lock (this)
             {
                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -403,11 +408,16 @@ namespace Tizen.NUI
 
         ~PropertyKey()
         {
-            Dispose();
+            DisposeQueue.Instance.Add(this);
         }
 
         public virtual void Dispose()
         {
+            if (!Window.IsInstalled()) {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
             lock (this)
             {
                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -599,11 +609,16 @@ namespace Tizen.NUI
 
         ~PropertyMap()
         {
-            Dispose();
+            DisposeQueue.Instance.Add(this);
         }
 
         public virtual void Dispose()
         {
+            if (!Window.IsInstalled()) {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
             lock (this)
             {
                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -928,11 +943,16 @@ namespace Tizen.NUI
 
         ~PropertyValue()
         {
-            Dispose();
+            DisposeQueue.Instance.Add(this);
         }
 
         public virtual void Dispose()
         {
+            if (!Window.IsInstalled()) {
+                DisposeQueue.Instance.Add(this);
+                return;
+            }
+
             lock (this)
             {
                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
index 4282a3912c0b6b2b9c1f824b4c59aa2c0ec3dfb8..87f5e40c27b7d129cfcf18c0ce12651bbd3a796e 100755 (executable)
@@ -37,7 +37,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index ff0214c3f5085207434b5bd703f150ea907600da..cdba783a72387e2890b1ebbc3b4125a4540e559b 100755 (executable)
@@ -37,7 +37,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 0bd3e673f54b7c1cd637814d9975eeee4a6dbc91..68f8612416c57597f38ec7621b4037808c6f6f3f 100755 (executable)
@@ -46,7 +46,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 7116b85983a1b3e84c3eaa54c5f6584658974d28..324df2af45a1d281452c55570fc66a841c4658e8 100755 (executable)
@@ -46,7 +46,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 82038bf610c7efacfa9bc034ae086ca57e8625ab..390c0e8c1b2b3e5eee7285d34d4ed12d0d052f09 100755 (executable)
@@ -46,7 +46,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 379a50e69f4094182b38a3b1e2b123da3291576f..59e9bdf7f0a4ff1e1ff17eb5dab12a45803d945b 100755 (executable)
@@ -19,7 +19,7 @@
 
 namespace Tizen.NUI
 {
-
+    using Tizen.NUI.BaseComponents;
     /// <summary>
     /// Interface to encapsulate information required for relayout.
     /// </summary>
@@ -49,7 +49,7 @@ namespace Tizen.NUI
         /// </summary>
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -73,11 +73,11 @@ namespace Tizen.NUI
         /// <summary>
         /// Adds relayout information to the container if it doesn't already exist.
         /// </summary>
-        /// <param name="actor">The actor to relayout</param>
+        /// <param name="view">The view to relayout</param>
         /// <param name="size">The size to relayout</param>
-        public virtual void Add(Actor actor, Size2D size)
+        public virtual void Add(View view, Size2D size)
         {
-            NDalicPINVOKE.RelayoutContainer_Add(swigCPtr, Actor.getCPtr(actor), Size2D.getCPtr(size));
+            NDalicPINVOKE.RelayoutContainer_Add(swigCPtr, View.getCPtr(view), Size2D.getCPtr(size));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
index 5236f5d20e5af4cd4b0ab37d70ebe07a66a32a9b..a34fc28c56b02fd2bba0be1a74c84a07106534ad 100755 (executable)
@@ -40,7 +40,7 @@ namespace Tizen.NUI
         /// </summary>
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
diff --git a/src/Tizen.NUI/src/public/Size.cs b/src/Tizen.NUI/src/public/Size.cs
deleted file mode 100755 (executable)
index 4c717eb..0000000
+++ /dev/null
@@ -1,366 +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
-{
-
-    /// <summary>
-    /// Three dimensional size
-    /// </summary>
-    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);
-        }
-
-        /// <summary>
-        /// Dispose
-        /// </summary>
-        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);
-            }
-        }
-
-        /// <summary>
-        /// Addition operator for A+B
-        /// </summary>
-        /// <param name="arg1">Size, A</param>
-        /// <param name="arg2">Size to assign, B</param>
-        /// <returns>A Size containing the result of the addition</returns>
-        public static Size operator +(Size arg1, Size arg2)
-        {
-            return arg1.Add(arg2);
-        }
-
-        /// <summary>
-        /// Subtraction operator for A-B
-        /// </summary>
-        /// <param name="arg1">Size, A</param>
-        /// <param name="arg2">Size to subtract, B</param>
-        /// <returns>A Size containing the result of the subtraction</returns>
-        public static Size operator -(Size arg1, Size arg2)
-        {
-            return arg1.Subtract(arg2);
-        }
-
-        /// <summary>
-        /// Unary negation operator.
-        /// </summary>
-        /// <param name="arg1">Size for unary negation</param>
-        /// <returns>A Size containg the negation</returns>
-        public static Size operator -(Size arg1)
-        {
-            return arg1.Subtract();
-        }
-
-        /// <summary>
-        /// Multiplication operator.
-        /// </summary>
-        /// <param name="arg1">Size for multiplication</param>
-        /// <param name="arg2">The Size to multipl</param>
-        /// <returns>A Size containing the result of the multiplication</returns>
-        public static Size operator *(Size arg1, Size arg2)
-        {
-            return arg1.Multiply(arg2);
-        }
-
-        /// <summary>
-        /// Multiplication operator.
-        /// </summary>
-        /// <param name="arg1">Size for multiplication</param>
-        /// <param name="arg2">The float value to scale the Size</param>
-        /// <returns>A Size containing the result of the scaling</returns>
-        public static Size operator *(Size arg1, float arg2)
-        {
-            return arg1.Multiply(arg2);
-        }
-
-        /// <summary>
-        /// Division operator.
-        /// </summary>
-        /// <param name="arg1">Size for division</param>
-        /// <param name="arg2">The Size to divide</param>
-        /// <returns>A Size containing the result of the division></returns>
-        public static Size operator /(Size arg1, Size arg2)
-        {
-            return arg1.Divide(arg2);
-        }
-
-        /// <summary>
-        /// Division operator.
-        /// </summary>
-        /// <param name="arg1">Size for division</param>
-        /// <param name="arg2">The float value to scale the Size by</param>
-        /// <returns>A Size containing the result of the scaling</returns>
-        public static Size operator /(Size arg1, float arg2)
-        {
-            return arg1.Divide(arg2);
-        }
-
-        /// <summary>
-        /// Array subscript operator.
-        /// </summary>
-        /// <param name="index">Subscript index</param>
-        /// <returns>The float at the given index</returns>
-        public float this[uint index]
-        {
-            get
-            {
-                return ValueOfIndex(index);
-            }
-        }
-
-        internal static Size GetSizeFromPtr(global::System.IntPtr cPtr)
-        {
-            Size ret = new Size(cPtr, false);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        /// <summary>
-        /// Constructor.
-        /// </summary>
-        public Size() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)
-        {
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        /// <summary>
-        /// Constructor.
-        /// </summary>
-        /// <param name="x">x (or width) component</param>
-        /// <param name="y">y (or height) component</param>
-        /// <param name="z">z (or depth) component</param>
-        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();
-        }
-
-        /// <summary>
-        /// Constructor.
-        /// </summary>
-        /// <param name="size2d">Size2D with x (width) and y (height)</param>
-        public Size(Size2D size2d) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Size2D.getCPtr(size2d)), true)
-        {
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-        }
-
-        /// <summary>
-        /// Zero constant, (0.0f, 0.0f, 0.0f).
-        /// </summary>
-        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;
-        }
-
-        /// <summary>
-        /// Check equality.<br>
-        /// Utilizes appropriate machine epsilon values.<br>
-        /// </summary>
-        /// <param name="rhs">The Size to test against</param>
-        /// <returns>True if the Sizes are equal</returns>
-        public bool EqualTo(Size rhs)
-        {
-            bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Size.getCPtr(rhs));
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        /// <summary>
-        /// Check inequality.<br>
-        /// Utilizes appropriate machine epsilon values.<br>
-        /// </summary>
-        /// <param name="rhs">The Size to test against</param>
-        /// <returns>True if the Sizes are not equal</returns>
-        public bool NotEqualTo(Size rhs)
-        {
-            bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Size.getCPtr(rhs));
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        /// <summary>
-        /// Width property for width component of Siz
-        /// </summary>
-        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;
-            }
-        }
-
-        /// <summary>
-        /// Height property for height component of Size
-        /// </summary>
-        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;
-            }
-        }
-
-        /// <summary>
-        /// Depth property for depth component of Size
-        /// </summary>
-        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;
-            }
-        }
-
-        /// <summary>
-        /// Type cast operator, Size to Vector3.
-        /// </summary>
-        /// <param name="size">Object of Size type</param>
-        public static implicit operator Vector3(Size size)
-        {
-            return new Vector3(size.Width, size.Height, size.Depth);
-        }
-
-        /// <summary>
-        /// Type cast operator, Vector3 to Size type.
-        /// </summary>
-        /// <param name="vec">Object of Vector3 type</param>
-        public static implicit operator Size(Vector3 vec)
-        {
-            return new Size(vec.Width, vec.Height, vec.Depth);
-        }
-
-    }
-
-}
-
index 1ae26fd5aefc18814ee96dbf8627beea21dfe97f..2893eb334b8032dcf5b0ba91ffdbdbf01fac972f 100755 (executable)
@@ -47,7 +47,7 @@ namespace Tizen.NUI
         /// </summary>
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
diff --git a/src/Tizen.NUI/src/public/Stage.cs b/src/Tizen.NUI/src/public/Stage.cs
deleted file mode 100755 (executable)
index 1639337..0000000
+++ /dev/null
@@ -1,691 +0,0 @@
-//------------------------------------------------------------------------------
-// <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;
-
-    /// <summary>
-    /// The Stage is a top-level object used for displaying a tree of Actors.<br>
-    /// Stage is a top-level object that represents the entire screen.<br>
-    /// It is used for displaying a hierarchy of actors managed by the scene graph structure,
-    /// which means an actor inherits a position relative to its parent,
-    /// and can be moved in relation to this point.<br>
-    /// The stage instance is a singleton object (the only instance of its class during the
-    /// lifetime of the program). You can get it using a static function.<br>
-    /// To display the contents of an actor, it must be added to a stage.<br>
-    /// </summary>
-    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;
-        }
-
-        /// <summary>
-        /// Dispose.
-        /// </summary>
-        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();
-            }
-        }
-
-        /// <summary>
-        /// Touch event argument.
-        /// </summary>
-        public class TouchEventArgs : EventArgs
-        {
-            private Touch _touch;
-
-            /// <summary>
-            /// Touch.
-            /// </summary>
-            public Touch Touch
-            {
-                get
-                {
-                    return _touch;
-                }
-                set
-                {
-                    _touch = value;
-                }
-            }
-        }
-
-        private event EventHandler<TouchEventArgs> _stageTouchHandler;
-        private EventCallbackDelegateType1 _stageTouchCallbackDelegate;
-
-        /// <summary>
-        /// This is emitted when the screen is touched and when the touch ends.<br>
-        /// If there are multiple touch points, then this will be emitted when the first touch occurs and
-        /// then when the last finger is lifted.<br>
-        /// An interrupted event will also be emitted (if it occurs).<br>
-        /// </summary>
-        public event EventHandler<TouchEventArgs> Touch
-        {
-            add
-            {
-                if (_stageTouchHandler == null)
-                {
-                    _stageTouchCallbackDelegate = OnStageTouch;
-                    TouchSignal().Connect(_stageTouchCallbackDelegate);
-                }
-                _stageTouchHandler += value;
-            }
-            remove
-            {
-                _stageTouchHandler -= value;
-                if (_stageTouchHandler == null && TouchSignal().Empty() == false)
-                {
-                    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);
-            }
-        }
-
-        /// <summary>
-        /// Wheel event arguments.
-        /// </summary>
-        public class WheelEventArgs : EventArgs
-        {
-            private Wheel _wheel;
-
-            /// <summary>
-            /// Wheel.
-            /// </summary>
-            public Wheel Wheel
-            {
-                get
-                {
-                    return _wheel;
-                }
-                set
-                {
-                    _wheel = value;
-                }
-            }
-        }
-
-        private event EventHandler<WheelEventArgs> _stageWheelHandler;
-        private EventCallbackDelegateType1 _stageWheelCallbackDelegate;
-
-        /// <summary>
-        /// Event emitted when wheel event is received.
-        /// </summary>
-        public event EventHandler<WheelEventArgs> Wheel
-        {
-            add
-            {
-                if (_stageWheelHandler == null)
-                {
-                    _stageWheelCallbackDelegate = OnStageWheel;
-                    WheelEventSignal().Connect(_stageWheelCallbackDelegate);
-                }
-                _stageWheelHandler += value;
-            }
-            remove
-            {
-                _stageWheelHandler -= value;
-                if (_stageWheelHandler == null && WheelEventSignal().Empty() == false)
-                {
-                    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);
-            }
-        }
-
-        /// <summary>
-        /// Key event arguments.
-        /// </summary>
-        public class KeyEventArgs : EventArgs
-        {
-            private Key _key;
-
-            /// <summary>
-            /// Key
-            /// </summary>
-            public Key Key
-            {
-                get
-                {
-                    return _key;
-                }
-                set
-                {
-                    _key = value;
-                }
-            }
-        }
-
-        private event EventHandler<KeyEventArgs> _stageKeyHandler;
-        private EventCallbackDelegateType1 _stageKeyCallbackDelegate;
-
-        /// <summary>
-        /// Event emitted when key event is received.
-        /// </summary>
-        public event EventHandler<KeyEventArgs> Key
-        {
-            add
-            {
-                if (_stageKeyHandler == null)
-                {
-                    _stageKeyCallbackDelegate = OnStageKey;
-                    KeyEventSignal().Connect(_stageKeyCallbackDelegate);
-                }
-                _stageKeyHandler += value;
-            }
-            remove
-            {
-                _stageKeyHandler -= value;
-                if (_stageKeyHandler == null && KeyEventSignal().Empty() == false)
-                {
-                    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;
-
-        internal event EventHandler EventProcessingFinished
-        {
-            add
-            {
-                if (_stageEventProcessingFinishedEventHandler == null)
-                {
-                    _stageEventProcessingFinishedEventCallbackDelegate = OnEventProcessingFinished;
-                    EventProcessingFinishedSignal().Connect(_stageEventProcessingFinishedEventCallbackDelegate);
-                }
-                _stageEventProcessingFinishedEventHandler += value;
-
-            }
-            remove
-            {
-                _stageEventProcessingFinishedEventHandler -= value;
-                if (_stageEventProcessingFinishedEventHandler == null && EventProcessingFinishedSignal().Empty() == false)
-                {
-                    EventProcessingFinishedSignal().Disconnect(_stageEventProcessingFinishedEventCallbackDelegate);
-                }
-            }
-        }
-
-        // Callback for Stage EventProcessingFinishedSignal
-        private void OnEventProcessingFinished()
-        {
-            if (_stageEventProcessingFinishedEventHandler != null)
-            {
-                _stageEventProcessingFinishedEventHandler(this, null);
-            }
-        }
-
-
-        private EventHandler _stageContextLostEventHandler;
-        private EventCallbackDelegateType0 _stageContextLostEventCallbackDelegate;
-
-        internal event EventHandler ContextLost
-        {
-            add
-            {
-                if (_stageContextLostEventHandler == null)
-                {
-                    _stageContextLostEventCallbackDelegate = OnContextLost;
-                    ContextLostSignal().Connect(_stageContextLostEventCallbackDelegate);
-                }
-                _stageContextLostEventHandler += value;
-            }
-            remove
-            {
-                _stageContextLostEventHandler -= value;
-                if (_stageContextLostEventHandler == null && ContextLostSignal().Empty() == false)
-                {
-                    ContextLostSignal().Disconnect(_stageContextLostEventCallbackDelegate);
-                }
-            }
-        }
-
-        // Callback for Stage ContextLostSignal
-        private void OnContextLost()
-        {
-            if (_stageContextLostEventHandler != null)
-            {
-                _stageContextLostEventHandler(this, null);
-            }
-        }
-
-
-        private EventHandler _stageContextRegainedEventHandler;
-        private EventCallbackDelegateType0 _stageContextRegainedEventCallbackDelegate;
-
-        internal event EventHandler ContextRegained
-        {
-            add
-            {
-                if (_stageContextRegainedEventHandler == null)
-                {
-                    _stageContextRegainedEventCallbackDelegate = OnContextRegained;
-                    ContextRegainedSignal().Connect(_stageContextRegainedEventCallbackDelegate);
-                }
-                _stageContextRegainedEventHandler += value;
-            }
-            remove
-            {
-                _stageContextRegainedEventHandler -= value;
-                if (_stageContextRegainedEventHandler == null && ContextRegainedSignal().Empty() == false)
-                {
-                    this.ContextRegainedSignal().Disconnect(_stageContextRegainedEventCallbackDelegate);
-                }
-            }
-        }
-
-        // Callback for Stage ContextRegainedSignal
-        private void OnContextRegained()
-        {
-            if (_stageContextRegainedEventHandler != null)
-            {
-                _stageContextRegainedEventHandler(this, null);
-            }
-        }
-
-
-        private EventHandler _stageSceneCreatedEventHandler;
-        private EventCallbackDelegateType0 _stageSceneCreatedEventCallbackDelegate;
-
-        internal event EventHandler SceneCreated
-        {
-            add
-            {
-                if (_stageSceneCreatedEventHandler == null)
-                {
-                    _stageSceneCreatedEventCallbackDelegate = OnSceneCreated;
-                    SceneCreatedSignal().Connect(_stageSceneCreatedEventCallbackDelegate);
-                }
-                _stageSceneCreatedEventHandler += value;
-            }
-            remove
-            {
-                _stageSceneCreatedEventHandler -= value;
-                if (_stageSceneCreatedEventHandler == null && SceneCreatedSignal().Empty() == false)
-                {
-                    SceneCreatedSignal().Disconnect(_stageSceneCreatedEventCallbackDelegate);
-                }
-            }
-        }
-
-        // Callback for Stage SceneCreatedSignal
-        private void OnSceneCreated()
-        {
-            if (_stageSceneCreatedEventHandler != null)
-            {
-                _stageSceneCreatedEventHandler(this, null);
-            }
-        }
-
-        /// <summary>
-        /// Stage size property (read-only).
-        /// </summary>
-        public Size2D Size
-        {
-            get
-            {
-                Size2D ret = GetSize();
-                return ret;
-            }
-        }
-
-        /// <summary>
-        /// Background color property.
-        /// </summary>
-        public Color BackgroundColor
-        {
-            set
-            {
-                SetBackgroundColor(value);
-            }
-            get
-            {
-                Color ret = GetBackgroundColor();
-                return ret;
-            }
-        }
-
-        /// <summary>
-        /// Dpi property (read-only).<br>
-        /// Retrieves the DPI of the display device to which the stage is connected.<br>
-        /// </summary>
-        public Vector2 Dpi
-        {
-            get
-            {
-                return GetDpi();
-            }
-        }
-
-        /// <summary>
-        /// Layer count property (read-only).<br>
-        /// Queries the number of on-stage layers.<br>
-        /// </summary>
-        public uint LayerCount
-        {
-            get
-            {
-                return GetLayerCount();
-            }
-        }
-
-        private static readonly Stage instance = Stage.GetCurrent();
-
-        /// <summary>
-        /// Stage instance property (read-only).<br>
-        /// Gets the current Stage.<br>
-        /// </summary>
-        public static Stage Instance
-        {
-            get
-            {
-                return instance;
-            }
-        }
-
-        /// <summary>
-        /// Get default ( root ) layer.
-        /// </summary>
-        /// <returns>The root layer</returns>
-        public Layer GetDefaultLayer()
-        {
-            return this.GetRootLayer();
-        }
-
-        /// <summary>
-        /// Add layer to the Stage.
-        /// </summary>
-        /// <param name="layer">Layer to add</param>
-        public void AddLayer(Layer layer)
-        {
-            this.Add((Actor)layer);
-        }
-
-        /// <summary>
-        /// Remove layer from the Stage.
-        /// </summary>
-        /// <param name="layer">Layer to remove</param>
-        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;
-        }
-
-        /// <summary>
-        /// Retrieves the layer at a specified depth.
-        /// </summary>
-        /// <param name="depth">The depth</param>
-        /// <returns>The layer found at the given depth</returns>
-        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;
-        }
-
-        /// <summary>
-        /// Keep rendering for at least the given amount of time.
-        /// </summary>
-        /// <param name="durationSeconds">Time to keep rendering, 0 means render at least one more frame</param>
-        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 3e291d0008d7515d9643324c588cb82920d453f0..06c2ff27a1109659082574bf62ce7304ad9b446d 100755 (executable)
@@ -41,7 +41,7 @@ namespace Tizen.NUI
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 27237efc7f986c5ded71d2f21844adf4dbc94d23..21913ccf1d660d468b7247d4eebf9b4d2e1d9079 100755 (executable)
@@ -28,7 +28,7 @@ using Tizen.NUI.BaseComponents;
 
 namespace Tizen.NUI
 {
-
+    using Tizen.NUI.BaseComponents;
     /// <summary>
     /// TableView is a layout container for aligning child actors in a grid like layout.<br>
     /// TableView constrains the x and y position and width and height of the child actors.<br>
@@ -51,7 +51,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -92,11 +92,16 @@ namespace Tizen.NUI
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -143,11 +148,16 @@ namespace Tizen.NUI
 
             ~ChildProperty()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -197,11 +207,16 @@ namespace Tizen.NUI
 
             ~CellPosition()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -394,9 +409,9 @@ namespace Tizen.NUI
         /// <param name="child">The child to add</param>
         /// <param name="position">The position for the child</param>
         /// <returns>Tue if the addition succeeded and false if the cell is already occupied</returns>
-        public bool AddChild(Actor child, TableView.CellPosition position)
+        public bool AddChild(View child, TableView.CellPosition position)
         {
-            bool ret = NDalicPINVOKE.TableView_AddChild(swigCPtr, Actor.getCPtr(child), TableView.CellPosition.getCPtr(position));
+            bool ret = NDalicPINVOKE.TableView_AddChild(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
@@ -406,9 +421,9 @@ namespace Tizen.NUI
         /// </summary>
         /// <param name="position">The position in the table</param>
         /// <returns>Child that was in the cell or an uninitialized handle</returns>
-        public Actor GetChildAt(TableView.CellPosition position)
+        public View GetChildAt(TableView.CellPosition position)
         {
-            Actor ret = new Actor(NDalicPINVOKE.TableView_GetChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);
+            View ret = new View(NDalicPINVOKE.TableView_GetChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
@@ -418,9 +433,9 @@ namespace Tizen.NUI
         /// </summary>
         /// <param name="position">The position for the child to remove</param>
         /// <returns>Child that was removed or an uninitialized handle</returns>
-        public Actor RemoveChildAt(TableView.CellPosition position)
+        public View RemoveChildAt(TableView.CellPosition position)
         {
-            Actor ret = new Actor(NDalicPINVOKE.TableView_RemoveChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);
+            View ret = new View(NDalicPINVOKE.TableView_RemoveChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
@@ -431,9 +446,9 @@ namespace Tizen.NUI
         /// <param name="child">The child to search for</param>
         /// <param name="position">The position for the child</param>
         /// <returns>true if the child was included in this TableView</returns>
-        public bool FindChildPosition(Actor child, TableView.CellPosition position)
+        public bool FindChildPosition(View child, TableView.CellPosition position)
         {
-            bool ret = NDalicPINVOKE.TableView_FindChildPosition(swigCPtr, Actor.getCPtr(child), TableView.CellPosition.getCPtr(position));
+            bool ret = NDalicPINVOKE.TableView_FindChildPosition(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
@@ -459,9 +474,9 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void DeleteRow(uint rowIndex, ActorContainer removed)
+        internal void DeleteRow(uint rowIndex, ViewContainer removed)
         {
-            NDalicPINVOKE.TableView_DeleteRow__SWIG_1(swigCPtr, rowIndex, ActorContainer.getCPtr(removed));
+            NDalicPINVOKE.TableView_DeleteRow__SWIG_1(swigCPtr, rowIndex, ViewContainer.getCPtr(removed));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
@@ -486,9 +501,9 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void DeleteColumn(uint columnIndex, ActorContainer removed)
+        internal void DeleteColumn(uint columnIndex, ViewContainer removed)
         {
-            NDalicPINVOKE.TableView_DeleteColumn__SWIG_1(swigCPtr, columnIndex, ActorContainer.getCPtr(removed));
+            NDalicPINVOKE.TableView_DeleteColumn__SWIG_1(swigCPtr, columnIndex, ViewContainer.getCPtr(removed));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
@@ -503,9 +518,9 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void Resize(uint rows, uint columns, ActorContainer removed)
+        internal void Resize(uint rows, uint columns, ViewContainer removed)
         {
-            NDalicPINVOKE.TableView_Resize__SWIG_1(swigCPtr, rows, columns, ActorContainer.getCPtr(removed));
+            NDalicPINVOKE.TableView_Resize__SWIG_1(swigCPtr, rows, columns, ViewContainer.getCPtr(removed));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
index f2e01e421d1d2d38540bfa06e10dd027c8abff22..06db8070dbcab7070e5815b0c2eab10ab5e84e8f 100755 (executable)
@@ -33,7 +33,7 @@ namespace Tizen.NUI
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index edfafba6fb8e7510a87ef1a53814a7564d8ea672..8e02c9dce97a81c4612c2d5790c3ceb02f016eb6 100755 (executable)
@@ -56,7 +56,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 2e07747f1c7db0341a03a683cbe80d6fd215542e..b461d138e20dd7e4e3dd781fa4ea372744e70cbe 100755 (executable)
@@ -10,6 +10,7 @@
 
 namespace Tizen.NUI
 {
+    using Tizen.NUI.BaseComponents;
     /// <summary>
     /// Touch events are a collection of points at a specific moment in time.<br>
     /// When a multi-touch event occurs, each point represents the points that are currently being
@@ -31,7 +32,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -138,9 +139,9 @@ namespace Tizen.NUI
         /// </summary>
         /// <param name="point">The point required</param>
         /// <returns>The actor that was underneath the point specified</returns>
-        public Actor GetHitActor(uint point)
+        public View GetHitView(uint point)
         {
-            Actor ret = new Actor(NDalicPINVOKE.Touch_GetHitActor(swigCPtr, point), true);
+            View ret = new View(NDalicPINVOKE.Touch_GetHitActor(swigCPtr, point), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
diff --git a/src/Tizen.NUI/src/public/UIComponents/Button.cs b/src/Tizen.NUI/src/public/UIComponents/Button.cs
deleted file mode 100755 (executable)
index bf5d35e..0000000
+++ /dev/null
@@ -1,917 +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.
-//
-//
-// This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
-// Some have been manually changed
-
-namespace Tizen.NUI.UIComponents
-{
-
-    using System;
-    using System.Runtime.InteropServices;
-    using Tizen.NUI.BaseComponents;
-
-    /// <summary>
-    /// Button is a base class for different kinds of buttons.<br>
-    /// This class provides the disabled property and the clicked signal.<br>
-    /// A Clicked event handler is emitted when the button is touched and the touch point doesn't leave the boundary of the button.<br>
-    /// When the disabled property is set to true, no signal is emitted.<br>
-    /// 'Visual' describes not just traditional images like png, bmp but refers to whatever is used to show the button, it could be a color, gradient or some other kind of renderer.<br>
-    /// The button's appearance can be modified by setting properties for the various visuals/images.<br>
-    /// It is not mandatory to set all visuals. A button could be defined only by setting its background visual or by setting its background and selected visuals.<br>
-    /// The button visual is shown over the background visual.<br>
-    /// When pressed the unselected visuals are replaced by the selected visual.<br>
-    /// The text label is always placed on the top of all images.<br>
-    /// When the button is disabled, background, button and selected visuals are replaced by their disabled visuals.<br>
-    /// </summary>
-    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;
-        }
-
-        /// <summary>
-        /// To make Button instance be disposed.
-        /// </summary>
-        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;
-
-        /// <summary>
-        /// Clicked will be triggered when the button is touched and the touch point doesn't leave the boundary of the button.
-        /// </summary>
-        public event EventHandlerWithReturnType<object, EventArgs, bool> Clicked
-        {
-            add
-            {
-                if (_clickedEventHandler == null)
-                {
-                    _clickedCallback = OnClicked;
-                    ClickedSignal().Connect(_clickedCallback);
-                }
-
-                _clickedEventHandler += value;
-            }
-
-            remove
-            {
-                _clickedEventHandler -= value;
-
-                if (_clickedEventHandler == null && ClickedSignal().Empty() == false)
-                {
-                    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;
-
-        /// <summary>
-        /// Pressed will be triggered when the button is touched.
-        /// </summary>
-        public event EventHandlerWithReturnType<object, EventArgs, bool> Pressed
-        {
-            add
-            {
-                if (_pressedEventHandler == null)
-                {
-                    _pressedCallback = OnPressed;
-                    PressedSignal().Connect(_pressedCallback);
-                }
-
-                _pressedEventHandler += value;
-            }
-
-            remove
-            {
-                _pressedEventHandler -= value;
-
-                if (_pressedEventHandler == null && PressedSignal().Empty() == false)
-                {
-                    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;
-
-        /// <summary>
-        /// Released will be triggered when the button is touched and the touch point leaves the boundary of the button.
-        /// </summary>
-        public event EventHandlerWithReturnType<object, EventArgs, bool> Released
-        {
-            add
-            {
-                if (_releasedEventHandler == null)
-                {
-                    _releasedCallback = OnReleased;
-                    ReleasedSignal().Connect(_releasedCallback);
-                }
-                _releasedEventHandler += value;
-            }
-
-            remove
-            {
-                _releasedEventHandler -= value;
-
-                if (_releasedEventHandler == null && ReleasedSignal().Empty() == false)
-                {
-                    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;
-
-        /// <summary>
-        /// StateChanged will be triggered when the button's state is changed.
-        /// </summary>
-        public event EventHandlerWithReturnType<object, EventArgs, bool> StateChanged
-        {
-            add
-            {
-                if (_stateChangedEventHandler == null)
-                {
-                    _stateChangedCallback = OnStateChanged;
-                    StateChangedSignal().Connect(_stateChangedCallback);
-                }
-
-                _stateChangedEventHandler += value;
-            }
-
-            remove
-            {
-                _stateChangedEventHandler -= value;
-
-                if (_stateChangedEventHandler == null && StateChangedSignal().Empty() == false)
-                {
-                    StateChangedSignal().Disconnect(_stateChangedCallback);
-                }
-            }
-        }
-
-        private bool OnStateChanged(IntPtr data)
-        {
-            if (_stateChangedEventHandler != null)
-            {
-                return _stateChangedEventHandler(this, null);
-            }
-            return false;
-        }
-
-
-
-        internal static Button GetButtonFromPtr(global::System.IntPtr cPtr)
-        {
-            Button ret = new Button(cPtr, false);
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-            return ret;
-        }
-
-        /// <summary>
-        /// Gets/Sets the unselected button foreground/icon visual
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the selected button foreground/icon visual
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the disabled selected state foreground/icon button visual
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the disabled unselected state foreground/icon visual
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the disabled in the unselected state background, button visual
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the selected background button visual
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the disabled while unselected background button visual
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the disabled while selected background button visual
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the position of the the label in relation to the foreground/icon if both present
-        /// </summary>
-        public Align LabelRelativeAlignment
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "LabelRelativeAlignment get error!");
-#endif
-                }
-                switch (temp)
-                {
-                    case "BEGIN":
-                        return Align.Begin;
-                    case "END":
-                        return Align.End;
-                    case "TOP":
-                        return Align.Top;
-                    case "BOTTOM":
-                        return Align.Bottom;
-                    default:
-                        return Align.End;
-                }
-            }
-            set
-            {
-                string valueToString = "";
-                switch (value)
-                {
-                    case Align.Begin:
-                    {
-                        valueToString = "BEGIN";
-                        break;
-                    }
-                    case Align.End:
-                    {
-                        valueToString = "END";
-                        break;
-                    }
-                    case Align.Top:
-                    {
-                        valueToString = "TOP";
-                        break;
-                    }
-                    case Align.Bottom:
-                    {
-                        valueToString = "BOTTOM";
-                        break;
-                    }
-                    default:
-                    {
-                        valueToString = "END";
-                        break;
-                    }
-                }
-                SetProperty(Button.Property.LABEL_RELATIVE_ALIGNMENT, new Tizen.NUI.PropertyValue(valueToString));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the padding around the text
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets the padding around the foreground visual
-        /// </summary>
-        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_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();
-
-        }
-
-        /// <summary>
-        /// Creates an uninitialized Button.<br>
-        /// Only derived versions can be instantiated.<br>
-        /// </summary>
-        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;
-        }
-
-        /// <summary>
-        /// Downcasts a handle to Button handle.<br>
-        /// If handle points to a Button, the downcast produces valid handle.<br>
-        /// If not the returned handle is left uninitialized.<br>
-        /// </summary>
-        /// <param name="handle">Handle to an object</param>
-        /// <returns>A handle to a Button or an uninitialized handle</returns>
-        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;
-        }
-
-        /// <summary>
-        /// Retrieves button's animation time.
-        /// </summary>
-        /// <returns></returns>
-        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
-        }
-
-        /// <summary>
-        /// Gets/Sets the button as disabled.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// If the autorepeating property is set to true then the togglable property is set to false.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// By default this value is set to 0.15 seconds.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// default this value is set to 0.05 seconds.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// If the togglable property is set to true, then the autorepeating property is set to false.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// /Gets/Sets the togglable button as either selected or unselected, togglable property must be set to true.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets unselected color.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets selected color.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets label.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Gets/Sets text of label.
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Enumeration for describing the position the text label can be in relation to the control(and foreground/icon).
-        /// </summary>
-        public enum Align
-        {
-            /// <summary>
-            /// At the start of the control before the foreground/icon
-            /// </summary>
-            Begin,
-            /// <summary>
-            /// At the end of the control after the foreground/icon
-            /// </summary>
-            End,
-            /// <summary>
-            /// At the top of the control above the foreground/icon
-            /// </summary>
-            Top,
-            /// <summary>
-            /// At the bottom of the control below the foreground/icon
-            /// </summary>
-            Bottom
-        }
-
-    }
-
-}
index 52da08cfcbdc48fe23fd19165ef2b26bf8b5180f..3fdf4727d2760b2a380fedb9b1f917a9af38cc83 100755 (executable)
@@ -47,7 +47,7 @@ namespace Tizen.NUI.UIComponents
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
diff --git a/src/Tizen.NUI/src/public/UIComponents/Popup.cs b/src/Tizen.NUI/src/public/UIComponents/Popup.cs
deleted file mode 100755 (executable)
index 5fd799c..0000000
+++ /dev/null
@@ -1,1062 +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.
-*
-*/
-// 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.UIComponents
-{
-
-    using System;
-    using System.Runtime.InteropServices;
-    using Tizen.NUI.BaseComponents;
-
-    /// <summary>
-    /// The Popup widget provides a configurable pop-up dialog with built-in layout of three main fields.
-    /// </summary>
-    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;
-        }
-
-        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();
-            }
-        }
-
-
-
-        /// <summary>
-        /// Event arguments that passed via OutsideTouchedEvent
-        /// </summary>
-        public class OutsideTouchedEventArgs : EventArgs
-        {
-        }
-
-        /// <summary>
-        /// Event arguments that passed via ShowingEventArgs
-        /// </summary>
-        public class ShowingEventArgs : EventArgs
-        {
-        }
-
-        /// <summary>
-        /// Event arguments that passed via ShownEventArgs
-        /// </summary>
-        public class ShownEventArgs : EventArgs
-        {
-        }
-
-        /// <summary>
-        /// Event arguments that passed via HidingEventArgs
-        /// </summary>
-        public class HidingEventArgs : EventArgs
-        {
-        }
-
-        /// <summary>
-        /// Event arguments that passed via HiddenEventArgs
-        /// </summary>
-        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;
-
-        /// <summary>
-        /// Event is sent when user has touched outside of the Dialog.
-        /// </summary>
-        public event EventHandler<OutsideTouchedEventArgs> OutsideTouched
-        {
-            add
-            {
-                if (_popUpOutsideTouchedEventHandler == null)
-                {
-                    _popUpOutsideTouchedEventCallbackDelegate = (OnOutsideTouched);
-                    OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);
-                }
-                _popUpOutsideTouchedEventHandler += value;
-            }
-            remove
-            {
-                _popUpOutsideTouchedEventHandler -= value;
-                if (_popUpOutsideTouchedEventHandler == null && OutsideTouchedSignal().Empty() == false)
-                {
-                    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);
-            }
-        }
-
-        /// <summary>
-        /// Event is sent when the Popup is starting to be shown.
-        /// </summary>
-        public event EventHandler<ShowingEventArgs> Showing
-        {
-            add
-            {
-                if (_popUpShowingEventHandler == null)
-                {
-                    _popUpShowingEventCallbackDelegate = (OnShowing);
-                    ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);
-                }
-                _popUpShowingEventHandler += value;
-            }
-            remove
-            {
-                _popUpShowingEventHandler -= value;
-                if (_popUpShowingEventHandler == null && ShowingSignal().Empty() == false)
-                {
-                    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);
-            }
-        }
-
-
-        /// <summary>
-        /// Event is sent when the Popup has been fully displayed.
-        /// </summary>
-        public event EventHandler<ShownEventArgs> Shown
-        {
-            add
-            {
-                if (_popUpShownEventHandler == null)
-                {
-                    _popUpShownEventCallbackDelegate = (OnShown);
-                    ShownSignal().Connect(_popUpShownEventCallbackDelegate);
-                }
-                _popUpShownEventHandler += value;
-            }
-            remove
-            {
-                _popUpShownEventHandler -= value;
-                if (_popUpShownEventHandler == null && ShownSignal().Empty() == false)
-                {
-                    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);
-            }
-        }
-
-        /// <summary>
-        /// Event is sent when the Popup is starting to be hidden.
-        /// </summary>
-        public event EventHandler<HidingEventArgs> Hiding
-        {
-            add
-            {
-                if (_popUpHidingEventHandler == null)
-                {
-                    _popUpHidingEventCallbackDelegate = (OnHiding);
-                    HidingSignal().Connect(_popUpHidingEventCallbackDelegate);
-                }
-                _popUpHidingEventHandler += value;
-            }
-            remove
-            {
-                _popUpHidingEventHandler -= value;
-                if (_popUpHidingEventHandler == null && HidingSignal().Empty() == false)
-                {
-                    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);
-            }
-        }
-
-        /// <summary>
-        /// Event is sent when the Popup has been completely hidden.
-        /// </summary>
-        public event EventHandler<HiddenEventArgs> Hidden
-        {
-            add
-            {
-                if (_popUpHiddenEventHandler == null)
-                {
-                    _popUpHiddenEventCallbackDelegate = (OnHidden);
-                    HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);
-                }
-                _popUpHiddenEventHandler += value;
-            }
-            remove
-            {
-                _popUpHiddenEventHandler -= value;
-                if (_popUpHiddenEventHandler == null && HiddenSignal().Empty() == false)
-                {
-                    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();
-
-        }
-
-        /// <summary>
-        /// Create the Popup.
-        /// </summary>
-        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;
-        }
-
-        /// <summary>
-        /// Downcasts a handle to Popup handle.<br>
-        /// If handle points to a Popup, the downcast produces valid handle.<br>
-        /// If not the returned handle is left uninitialized.<br>
-        /// </summary>
-        /// <param name="handle">Handle to an object</param>
-        /// <returns>handle to a Popup or an uninitialized handle</returns>
-        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;
-        }
-
-        /// <summary>
-        /// Sets a title for this Popup.
-        /// </summary>
-        /// <param name="titleActor">The actor to set a title</param>
-        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;
-        }
-
-        /// <summary>
-        /// Sets the content actor.
-        /// </summary>
-        /// <param name="content">The actor to use</param>
-        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;
-        }
-
-        /// <summary>
-        /// Sets the actor to use for a footer in this Popup.
-        /// </summary>
-        /// <param name="footer">The footer actor to be added to this Popup</param>
-        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;
-        }
-
-        /// <summary>
-        /// Sets the display state of Popup.<br>
-        /// There are 4 total display states.<br>
-        /// Only 2 can be set, but all four can be read for better inspection of the current popup state.<br>
-        /// <br>
-        /// The other two states are getable, but not setable and are there for consistency.<br>
-        /// <br>
-        /// | Value    | Setting the state              | Getting the state              |<br>
-        /// |----------|--------------------------------|--------------------------------|<br>
-        /// | SHOWN    | Show the popup                 | The popup is fully shown       |<br>
-        /// | HIDDEN   | Hide the popup                 | The popup is fully hidden      |<br>
-        /// | SHOWING  |                                | The popup is transitioning in  |<br>
-        /// | HIDING   |                                | The popup is transitioning out |<br>
-        /// <br>
-        /// All 4 state changes cause notifications via 4 respective signals that can be connected to.<br>
-        /// </summary>
-        /// <param name="displayState">The desired display state to change to</param>
-        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
-        }
-
-        /// <summary>
-        /// The display states of the Popup.
-        /// </summary>
-        public enum DisplayStateType
-        {
-            Showing,
-            Shown,
-            Hiding,
-            Hidden
-        }
-
-        /// <summary>
-        /// The animation mode within popup.<br>
-        /// Choose from a predefined mode or "CUSTOM" to use the ANIMATION_IN and ANIMATION_OUT properties.<br>
-        /// </summary>
-        public enum AnimationModeType
-        {
-            None,
-            Zoom,
-            Fade,
-            Custom
-        }
-
-        /// <summary>
-        /// Types of contextual layout.<br>
-        /// The Popup is positioned adjacent to it's parent in the direction specified by this mode.<br>
-        /// NON_CONTEXTUAL disables any contextual positioning.<br>
-        /// </summary>
-        public enum ContextualModeType
-        {
-            NonContextual,
-            Above,
-            Rright,
-            Below,
-            Left
-        }
-
-        /// <summary>
-        /// Popup title.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Popup content.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Popup footer.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Popup display state.
-        /// </summary>
-        public DisplayStateType DisplayState
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(Popup.Property.DISPLAY_STATE).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "DisplayState get error!");
-#endif
-                }
-                switch (temp)
-                {
-                    case "SHOWING":
-                        return DisplayStateType.Showing;
-                    case "SHOWN":
-                        return DisplayStateType.Shown;
-                    case "HIDING":
-                        return DisplayStateType.Hiding;
-                    case "HIDDEN":
-                        return DisplayStateType.Hidden;
-                    default:
-                        return DisplayStateType.Hidden;
-                }
-            }
-            set
-            {
-                string valueToString = "";
-                switch (value)
-                {
-                    case DisplayStateType.Showing:
-                    {
-                        valueToString = "SHOWING";
-                        break;
-                    }
-                    case DisplayStateType.Shown:
-                    {
-                        valueToString = "SHOWN";
-                        break;
-                    }
-                    case DisplayStateType.Hiding:
-                    {
-                        valueToString = "HIDING";
-                        break;
-                    }
-                    case DisplayStateType.Hidden:
-                    {
-                        valueToString = "HIDDEN";
-                        break;
-                    }
-                    default:
-                    {
-                        valueToString = "HIDDEN";
-                        break;
-                    }
-                }
-                SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(valueToString));
-            }
-        }
-        /// <summary>
-        /// Touch transparent.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Popup tail visibility.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Popup tail position.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Contextual mode.
-        /// </summary>
-        public ContextualModeType ContextualMode
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "ContextualMode get error!");
-#endif
-                }
-                switch (temp)
-                {
-                    case "NON_CONTEXTUAL":
-                        return ContextualModeType.NonContextual;
-                    case "ABOVE":
-                        return ContextualModeType.Above;
-                    case "RIGHT":
-                        return ContextualModeType.Rright;
-                    case "BELOW":
-                        return ContextualModeType.Below;
-                    case "LEFT":
-                        return ContextualModeType.Left;
-                    default:
-                        return ContextualModeType.Below;
-                }
-            }
-            set
-            {
-                string valueToString = "";
-                switch (value)
-                {
-                    case ContextualModeType.NonContextual:
-                    {
-                        valueToString = "NON_CONTEXTUAL";
-                        break;
-                    }
-                    case ContextualModeType.Above:
-                    {
-                        valueToString = "ABOVE";
-                        break;
-                    }
-                    case ContextualModeType.Rright:
-                    {
-                        valueToString = "RIGHT";
-                        break;
-                    }
-                    case ContextualModeType.Below:
-                    {
-                        valueToString = "BELOW";
-                        break;
-                    }
-                    case ContextualModeType.Left:
-                    {
-                        valueToString = "LEFT";
-                        break;
-                    }
-                    default:
-                    {
-                        valueToString = "BELOW";
-                        break;
-                    }
-                }
-                SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(valueToString));
-            }
-        }
-        /// <summary>
-        /// Animation duration.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Animation mode.
-        /// </summary>
-        public AnimationModeType AnimationMode
-        {
-            get
-            {
-                string temp;
-                if (GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp) == false)
-                {
-#if DEBUG_ON
-                    Tizen.Log.Error("NUI", "AnimationMode get error!");
-#endif
-                }
-                switch (temp)
-                {
-                    case "NONE":
-                        return AnimationModeType.None;
-                    case "ZOOM":
-                        return AnimationModeType.Zoom;
-                    case "FADE":
-                        return AnimationModeType.Fade;
-                    case "CUSTOM":
-                        return AnimationModeType.Custom;
-                    default:
-                        return AnimationModeType.Fade;
-                }
-            }
-            set
-            {
-                string valueToString = "";
-                switch (value)
-                {
-                    case AnimationModeType.None:
-                    {
-                        valueToString = "NONE";
-                        break;
-                    }
-                    case AnimationModeType.Zoom:
-                    {
-                        valueToString = "ZOOM";
-                        break;
-                    }
-                    case AnimationModeType.Fade:
-                    {
-                        valueToString = "FADE";
-                        break;
-                    }
-                    case AnimationModeType.Custom:
-                    {
-                        valueToString = "CUSTOM";
-                        break;
-                    }
-                    default:
-                    {
-                        valueToString = "FADE";
-                        break;
-                    }
-                }
-                SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(valueToString));
-            }
-        }
-        /// <summary>
-        /// Entry animation.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Exit animation.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Auto hide delay.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Backing enabled.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Backing color.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Background image.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Background border.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Tail up image.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Tail down image.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Tail left image.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Tail right image.
-        /// </summary>
-        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/UIComponents/ProgressBar.cs b/src/Tizen.NUI/src/public/UIComponents/ProgressBar.cs
deleted file mode 100755 (executable)
index 366ad26..0000000
+++ /dev/null
@@ -1,443 +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.
-*
-*/
-// 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.UIComponents
-{
-
-    using System;
-    using System.Runtime.InteropServices;
-    using Tizen.NUI.BaseComponents;
-
-    /// <summary>
-    /// ProgressBar is a control to give the user an indication of the progress of an operation.
-    /// </summary>
-    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;
-        }
-
-        /// <summary>
-        /// To make ProgressBar instance be disposed.
-        /// </summary>
-        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();
-            }
-        }
-
-
-
-        /// <summary>
-        /// Event arguments that passed via ValueChangedEventArgs
-        /// </summary>
-        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;
-
-        /// <summary>
-        /// Event is sent when the ProgressBar value changes.
-        /// </summary>
-        public event EventHandler<ValueChangedEventArgs> ValueChanged
-        {
-            add
-            {
-                if (_progressBarValueChangedEventHandler == null)
-                {
-                    _progressBarValueChangedCallbackDelegate = (OnValueChanged);
-                    ValueChangedSignal().Connect(_progressBarValueChangedCallbackDelegate);
-                }
-                _progressBarValueChangedEventHandler += value;
-            }
-            remove
-            {
-                _progressBarValueChangedEventHandler -= value;
-                if (_progressBarValueChangedEventHandler == null && ValueChangedSignal().Empty() == false)
-                {
-                    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);
-            }
-        }
-
-        /// <summary>
-        /// </summary>
-        internal 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();
-
-        }
-
-        /// <summary>
-        /// Creates the ProgressBar.
-        /// </summary>
-        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;
-        }
-
-        /// <summary>
-        /// Downcasts a handle to ProgressBar handle.<br>
-        /// If handle points to a ProgressBar, the downcast produces valid handle.<br>
-        /// If not the returned handle is left uninitialized.<br>
-        /// </summary>
-        /// <param name="handle">Handle to an object</param>
-        /// <returns>handle to a ProgressBar or an uninitialized handle</returns>
-        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
-        }
-
-        /// <summary>
-        /// The progress value of progress bar, progress runs form 0 to 1.<br>
-        /// If Value is set to 0, progress bar will be set to beginning.<br>
-        /// If Value is set to 1, progress bar will be set to end.<br>
-        /// Any Value outside of the range is ignored.<br>
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// The secondary progress value of progress bar, secondary progress runs form 0 to 1.<br>
-        /// Optional. If not supplied, the default is 0.<br>
-        /// If Value is set to 0, progress bar will be set secondary progress to beginning.<br>
-        /// If Value is set to 1, progress bar will be set secondary progress to end.<br>
-        /// Any Value outside of the range is ignored.<br>
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// Sets the progress-bar as \e indeterminate state.
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// The track Visual value of progress bar, it's a full progress area and it's shown behind PROGRESS_VISUAL.<br>
-        /// Optional. If not supplied, the default track visual will be shown.<br>
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// The progress Visual value of progress bar, size of the progress visual is changed based on PROGRESS_VALUE.<br>
-        /// Optional. If not supplied, the default progress visual will be shown.<br>
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// The secondary progress visual of progress bar, size of the secondary progress visual is changed based on SECONDARY_PROGRESS_VALUE.<br>
-        /// Optional. If not supplied, the secondary progress visual will not be shown.<br>
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// The indeterminate visual of progress bar.<br>
-        /// Optional. If not supplied, the default inditerminate visual will be shown.<br>
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// The transition data for indeterminate visual animation.<br>
-        /// Optional. If not supplied, default animation will be played.<br>
-        /// </summary>
-        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));
-            }
-        }
-        /// <summary>
-        /// The Label visual of progress bar.
-        /// </summary>
-        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 b4d1de8af3fce68987f30d50d75d9f77a7f97162..64cb7f40e3b0ff7163e85b566b8dd895cacb2e67 100755 (executable)
@@ -46,12 +46,12 @@ namespace Tizen.NUI.UIComponents
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
-       /// <summary>
+        /// <summary>
         /// To make PushButton instance be disposed.
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -92,11 +92,16 @@ namespace Tizen.NUI.UIComponents
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -165,15 +170,15 @@ namespace Tizen.NUI.UIComponents
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void SetButtonImage(Actor image)
+        internal void SetButtonImage(View image)
         {
-            NDalicPINVOKE.PushButton_SetButtonImage__SWIG_1(swigCPtr, Actor.getCPtr(image));
+            NDalicPINVOKE.PushButton_SetButtonImage__SWIG_1(swigCPtr, View.getCPtr(image));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void SetBackgroundImage(Actor image)
+        internal void SetBackgroundImage(View image)
         {
-            NDalicPINVOKE.PushButton_SetBackgroundImage(swigCPtr, Actor.getCPtr(image));
+            NDalicPINVOKE.PushButton_SetBackgroundImage(swigCPtr, View.getCPtr(image));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
@@ -183,33 +188,33 @@ namespace Tizen.NUI.UIComponents
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void SetSelectedImage(Actor image)
+        internal void SetSelectedImage(View image)
         {
-            NDalicPINVOKE.PushButton_SetSelectedImage__SWIG_1(swigCPtr, Actor.getCPtr(image));
+            NDalicPINVOKE.PushButton_SetSelectedImage__SWIG_1(swigCPtr, View.getCPtr(image));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void SetSelectedBackgroundImage(Actor image)
+        internal void SetSelectedBackgroundImage(View image)
         {
-            NDalicPINVOKE.PushButton_SetSelectedBackgroundImage(swigCPtr, Actor.getCPtr(image));
+            NDalicPINVOKE.PushButton_SetSelectedBackgroundImage(swigCPtr, View.getCPtr(image));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void SetDisabledBackgroundImage(Actor image)
+        internal void SetDisabledBackgroundImage(View image)
         {
-            NDalicPINVOKE.PushButton_SetDisabledBackgroundImage(swigCPtr, Actor.getCPtr(image));
+            NDalicPINVOKE.PushButton_SetDisabledBackgroundImage(swigCPtr, View.getCPtr(image));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void SetDisabledImage(Actor image)
+        internal void SetDisabledImage(View image)
         {
-            NDalicPINVOKE.PushButton_SetDisabledImage(swigCPtr, Actor.getCPtr(image));
+            NDalicPINVOKE.PushButton_SetDisabledImage(swigCPtr, View.getCPtr(image));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void SetDisabledSelectedImage(Actor image)
+        internal void SetDisabledSelectedImage(View image)
         {
-            NDalicPINVOKE.PushButton_SetDisabledSelectedImage(swigCPtr, Actor.getCPtr(image));
+            NDalicPINVOKE.PushButton_SetDisabledSelectedImage(swigCPtr, View.getCPtr(image));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
diff --git a/src/Tizen.NUI/src/public/UIComponents/RadioButton.cs b/src/Tizen.NUI/src/public/UIComponents/RadioButton.cs
deleted file mode 100755 (executable)
index a6f9f26..0000000
+++ /dev/null
@@ -1,130 +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.
-*
-*/
-// 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.UIComponents
-{
-
-    /// <summary>
-    /// A RadioButton provides a radio button which two states \e selected or \e unselected.<br>
-    /// Radio buttons are designed to select one of many option at the same time.<br>
-    /// RadioButton can change its current state using Selected.<br>
-    /// <br>
-    /// RadioButtons can be grouped.<br>
-    /// Two or more RadioButtons are in one group when they have this same parent.<br>
-    /// In each groups only one RadioButton can be \e selected at a given time.<br>
-    /// So when RadioButton is set to \e selected, other RadioButtons in its group are set to \e unselected.<br>
-    /// When \e selected RadioButton is set to \e unselected no other RadioButtons in his group is set to \e selected.<br>
-    /// <br>
-    ///  A StateChanged Event is emitted when the RadioButton change its state to \e selected or \e unselected.<br>
-    /// </summary>
-    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;
-        }
-
-        /// <summary>
-        /// To make RadioButton instance be disposed.
-        /// </summary>
-        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();
-            }
-        }
-
-        /// <summary>
-        /// Creates an uninitialized RadioButton
-        /// </summary>
-        public RadioButton() : this(NDalicPINVOKE.RadioButton_New__SWIG_0(), true)
-        {
-            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-
-        }
-
-        /// <summary>
-        /// Creates an uninitialized RadioButton with Label
-        /// </summary>
-        /// <param name="label">Label text</param>
-        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;
-        }
-
-        /// <summary>
-        /// Downcasts a handle to RadioButton handle.
-        /// If handle points to a RadioButton, the downcast produces valid handle.
-        /// If not, the returned handle is left uninitialized.
-        /// </summary>
-        /// <param name="handle">Handle to an object</param>
-        /// <returns>A handle to a RadioButton or an uninitialized handle</returns>
-        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 2254c439a5b1427e3f6f8e16f5fabba1e08e5dca..3fe33e5e80e1a63c231d3aa37702793440ba7678 100755 (executable)
@@ -54,7 +54,7 @@ namespace Tizen.NUI.UIComponents
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -208,11 +208,16 @@ namespace Tizen.NUI.UIComponents
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
@@ -288,21 +293,21 @@ namespace Tizen.NUI.UIComponents
             return ret;
         }
 
-        internal void SetScrollPropertySource(Handle handle, int propertyScrollPosition, int propertyMinScrollPosition, int propertyMaxScrollPosition, int propertyScrollContentSize)
+        internal void SetScrollPropertySource(Animatable handle, int propertyScrollPosition, int propertyMinScrollPosition, int propertyMaxScrollPosition, int propertyScrollContentSize)
         {
-            NDalicPINVOKE.ScrollBar_SetScrollPropertySource(swigCPtr, Handle.getCPtr(handle), propertyScrollPosition, propertyMinScrollPosition, propertyMaxScrollPosition, propertyScrollContentSize);
+            NDalicPINVOKE.ScrollBar_SetScrollPropertySource(swigCPtr, Animatable.getCPtr(handle), propertyScrollPosition, propertyMinScrollPosition, propertyMaxScrollPosition, propertyScrollContentSize);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal void SetScrollIndicator(Actor indicator)
+        internal void SetScrollIndicator(View indicator)
         {
-            NDalicPINVOKE.ScrollBar_SetScrollIndicator(swigCPtr, Actor.getCPtr(indicator));
+            NDalicPINVOKE.ScrollBar_SetScrollIndicator(swigCPtr, View.getCPtr(indicator));
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal Actor GetScrollIndicator()
+        internal View GetScrollIndicator()
         {
-            Actor ret = new Actor(NDalicPINVOKE.ScrollBar_GetScrollIndicator(swigCPtr), true);
+            View ret = new View(NDalicPINVOKE.ScrollBar_GetScrollIndicator(swigCPtr), true);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
diff --git a/src/Tizen.NUI/src/public/UIComponents/Slider.cs b/src/Tizen.NUI/src/public/UIComponents/Slider.cs
deleted file mode 100755 (executable)
index 6d8ec30..0000000
+++ /dev/null
@@ -1,727 +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.
-*
-*/
-// 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.UIComponents
-{
-
-    using System;
-    using System.Runtime.InteropServices;
-    using Tizen.NUI.BaseComponents;
-    
-    /// <summary>
-    /// Slider is a control to enable sliding an indicator between two values.
-    /// </summary>
-    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;
-        }
-
-        /// <summary>
-        /// Dispose
-        /// </summary>
-        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();
-            }
-        }
-
-
-
-        /// <summary>
-        /// Value changed event arguments.
-        /// </summary>
-        public class ValueChangedEventArgs : EventArgs
-        {
-            private Slider _slider;
-            private float _slideValue;
-
-            /// <summary>
-            /// Slider.
-            /// </summary>
-            public Slider Slider
-            {
-                get
-                {
-                    return _slider;
-                }
-                set
-                {
-                    _slider = value;
-                }
-            }
-
-            /// <summary>
-            /// Slider value.
-            /// </summary>
-            public float SlideValue
-            {
-                get
-                {
-                    return _slideValue;
-                }
-                set
-                {
-                    _slideValue = value;
-                }
-            }
-        }
-
-        /// <summary>
-        /// Sliding finished event arguments.
-        /// </summary>
-        public class SlidingFinishedEventArgs : EventArgs
-        {
-            private Slider _slider;
-            private float _slideValue;
-
-            /// <summary>
-            /// Slider.
-            /// </summary>
-            public Slider Slider
-            {
-                get
-                {
-                    return _slider;
-                }
-                set
-                {
-                    _slider = value;
-                }
-            }
-
-            /// <summary>
-            /// Slider value.
-            /// </summary>
-            public float SlideValue
-            {
-                get
-                {
-                    return _slideValue;
-                }
-                set
-                {
-                    _slideValue = value;
-                }
-            }
-        }
-
-        /// <summary>
-        /// Mark reached event arguments.
-        /// </summary>
-        public class MarkReachedEventArgs : EventArgs
-        {
-            private Slider _slider;
-            private int _slideValue;
-
-            /// <summary>
-            /// Slider.
-            /// </summary>
-            public Slider Slider
-            {
-                get
-                {
-                    return _slider;
-                }
-                set
-                {
-                    _slider = value;
-                }
-            }
-
-            /// <summary>
-            /// Slider value.
-            /// </summary>
-            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;
-
-        /// <summary>
-        /// Event emitted when the slider value changes.
-        /// </summary>
-        public event EventHandlerWithReturnType<object, ValueChangedEventArgs, bool> ValueChanged
-        {
-            add
-            {
-                if (_sliderValueChangedEventHandler == null)
-                {
-                    _sliderValueChangedCallbackDelegate = (OnValueChanged);
-                    ValueChangedSignal().Connect(_sliderValueChangedCallbackDelegate);
-                }
-                _sliderValueChangedEventHandler += value;
-            }
-            remove
-            {
-                _sliderValueChangedEventHandler -= value;
-                if (_sliderValueChangedEventHandler == null && ValueChangedSignal().Empty() == false)
-                {
-                    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;
-        }
-
-        /// <summary>
-        /// Event emitted when the sliding is finished.
-        /// </summary>
-        public event EventHandlerWithReturnType<object, SlidingFinishedEventArgs, bool> SlidingFinished
-        {
-            add
-            {
-                if (_sliderSlidingFinishedEventHandler == null)
-                {
-                    _sliderSlidingFinishedCallbackDelegate = (OnSlidingFinished);
-                    SlidingFinishedSignal().Connect(_sliderSlidingFinishedCallbackDelegate);
-                }
-                _sliderSlidingFinishedEventHandler += value;
-            }
-            remove
-            {
-                _sliderSlidingFinishedEventHandler -= value;
-                if (_sliderSlidingFinishedEventHandler == null && SlidingFinishedSignal().Empty() == false)
-                {
-                    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;
-        }
-
-        /// <summary>
-        /// Event emitted when the slider handle reaches a mark.
-        /// </summary>
-        public event EventHandlerWithReturnType<object, MarkReachedEventArgs, bool> MarkReached
-        {
-            add
-            {
-                if (_sliderMarkReachedEventHandler == null)
-                {
-                    _sliderMarkReachedCallbackDelegate = (OnMarkReached);
-                    MarkReachedSignal().Connect(_sliderMarkReachedCallbackDelegate);
-                }
-                _sliderMarkReachedEventHandler += value;
-            }
-            remove
-            {
-                _sliderMarkReachedEventHandler -= value;
-                if (_sliderMarkReachedEventHandler == null && MarkReachedSignal().Empty() == false)
-                {
-                    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;
-        }
-
-        /// <summary>
-        /// Get Slider from the pointer.
-        /// </summary>
-        /// <param name="cPtr">The pointer of Slider</param>
-        /// <returns>Object of Slider type</returns>
-        internal 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();
-
-        }
-
-        /// <summary>
-        /// Creates the Slider control.
-        /// </summary>
-        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;
-        }
-
-        /// <summary>
-        /// Downcasts an Object handle to Slider.<br>
-        /// If handle points to a Slider, the downcast produces valid handle.<br>
-        /// If not, the returned handle is left uninitialized.<br>
-        /// </summary>
-        /// <param name="handle">Handle to an object</param>
-        /// <returns>Handle to a Slider or an uninitialized handle</returns>
-        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
-        }
-
-        /// <summary>
-        /// Lower bound property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Upper bound property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Value property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Track visual property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Handle visual property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Progress visual property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Popup visual property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Popup arrow visual property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Disable color property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Value presicion property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Show popup property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Show value property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Marks property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Snap to marks property
-        /// </summary>
-        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));
-            }
-        }
-
-        /// <summary>
-        /// Mark tolerance property
-        /// </summary>
-        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 27d0fc4d30c0e98fa0959c4da0dcc6cd2ea79ae4..eb788922bea0f3350db4b69a940094c33a42b49d 100755 (executable)
@@ -37,7 +37,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 1bc3de01bda43a6efe70f31097fc5a44fc97ee5b..6c6bfe2c29b4137706f5350fc92d98cf40b13f8b 100755 (executable)
@@ -37,7 +37,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 627e5bd83319d6a71d3b0c85b7ec99efbb2e85e1..1967f2e26c4ff4b9a71f1d11b393646cd6f80b72 100755 (executable)
@@ -37,7 +37,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index ba3a405961af31482589cdc9c3e922b161fe6594..39d85ab1ec8679b65595b7510a0cddda760472f3 100755 (executable)
@@ -50,7 +50,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -169,11 +169,16 @@ namespace Tizen.NUI
 
             ~Property()
             {
-                Dispose();
+                DisposeQueue.Instance.Add(this);
             }
 
             public virtual void Dispose()
             {
+                if (!Window.IsInstalled()) {
+                    DisposeQueue.Instance.Add(this);
+                    return;
+                }
+
                 lock (this)
                 {
                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
index 137e4d2d0cd09913dbc6456cc5229cec306a5c64..c9723d50471c58ab06f01b82065e924e25ca7e0d 100755 (executable)
@@ -13,7 +13,7 @@ namespace Tizen.NUI
 
     /// <summary>
     /// Sets whether the actor should be focusable by keyboard navigation.<br>
-    /// Visuals reuse geometry, shader etc. across controls. They ensure that the renderer and texture sets exist only when control is on-stage.<br>
+    /// Visuals reuse geometry, shader etc. across controls. They ensure that the renderer and texture sets exist only when control is on-window.<br>
     /// Each visual also responds to actor size and color change, and provides clipping at the renderer level.<br>
     /// </summary>
     public class VisualBase : BaseHandle
@@ -32,7 +32,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -139,7 +139,7 @@ namespace Tizen.NUI
         /// <summary>
         /// Return the natural size of the visual.<br>
         /// Deriving classes stipulate the natural size and by default a visual has a ZERO natural size.<br>
-        /// A visual may not actually have a natural size until it has been placed on stage and acquired all it's resources.<br>
+        /// A visual may not actually have a natural size until it has been placed on window and acquired all it's resources.<br>
         /// </summary>
         /// <param name="naturalSize">The visual's natural size</param>
         public void GetNaturalSize(Size2D naturalSize)
index 23d04f541a07d22a1495b9db53b3e5a3b8a4e82d..8f5c4ed524a8c6340a2b9931b42de04f09c30ad7 100755 (executable)
@@ -30,7 +30,7 @@ namespace Tizen.NUI
 
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index 73789120d9d7bd10cdfc9ceeb2ddce51341af4c7..fa38d4707088d823fb960664539600c74084b94c 100755 (executable)
@@ -15,7 +15,7 @@ namespace Tizen.NUI
     /// The wheel event structure is used to store a wheel rolling, it facilitates processing of the wheel rolling and passing to other libraries like Toolkit.<br>
     /// There is a key modifier which relates to keys like alt, shift and control functions are supplied to check if they have been pressed when the wheel is being rolled.<br>
     /// We support a mouse device and there may be another custom device that support the wheel event. The device type is specified as \e type.<br>
-    /// The mouse wheel event can be sent to the specific actor but the custom wheel event will be sent to the stage.<br>
+    /// The mouse wheel event can be sent to the specific actor but the custom wheel event will be sent to the window.<br>
     /// </summary>
     public class Wheel : global::System.IDisposable
     {
@@ -40,7 +40,7 @@ namespace Tizen.NUI
 
         public virtual void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
index bd0e83777ce5036e3bd96c4436740101c3a3be6f..4a04312967dd5671cffc91e9998324ef7c157efc 100755 (executable)
@@ -29,7 +29,7 @@ namespace Tizen.NUI
 
     using System;
     using System.Runtime.InteropServices;
-    
+    using Tizen.NUI.BaseComponents;
 
     /// <summary>
     /// The window class is used internally for drawing.<br>
@@ -38,10 +38,12 @@ namespace Tizen.NUI
     public class Window : BaseHandle
     {
         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+        private global::System.Runtime.InteropServices.HandleRef stageCPtr;
 
         internal Window(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Window_SWIGUpcast(cPtr), cMemoryOwn)
         {
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
+            stageCPtr = new global::System.Runtime.InteropServices.HandleRef(this, NDalicPINVOKE.Stage_GetCurrent());
         }
 
         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Window obj)
@@ -54,7 +56,7 @@ namespace Tizen.NUI
         /// </summary>
         public override void Dispose()
         {
-            if (!Stage.IsInstalled())
+            if (!Window.IsInstalled())
             {
                 DisposeQueue.Instance.Add(this);
                 return;
@@ -68,6 +70,7 @@ namespace Tizen.NUI
                     {
                         swigCMemOwn = false;
                         NDalicPINVOKE.delete_Window(swigCPtr);
+                        NDalicPINVOKE.delete_Stage(stageCPtr);
                     }
                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
                 }
@@ -76,6 +79,20 @@ namespace Tizen.NUI
             }
         }
 
+        internal static Window GetCurrent()
+        {
+            Window ret = new Window(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;
+       }
+
         /// <summary>
         /// Sets the focus acceptable flag of an window as true.
         /// </summary>
@@ -153,7 +170,7 @@ namespace Tizen.NUI
             {
                 _windowFocusChangedEventHandler -= value;
 
-                if (_windowFocusChangedEventHandler == null && WindowFocusChangedSignal().Empty() == false)
+                if (_windowFocusChangedEventHandler == null && WindowFocusChangedSignal().Empty() == false && _windowFocusChangedEventCallback != null)
                 {
                     WindowFocusChangedSignal().Disconnect(_windowFocusChangedEventCallback);
                 }
@@ -172,7 +189,7 @@ namespace Tizen.NUI
             }
         }
 
-        public WindowFocusSignalType WindowFocusChangedSignal()
+        internal WindowFocusSignalType WindowFocusChangedSignal()
         {
             WindowFocusSignalType ret = new WindowFocusSignalType(NDalicPINVOKE.FocusChangedSignal(swigCPtr), false);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -343,6 +360,211 @@ namespace Tizen.NUI
             return ret;
         }
 
+        internal WindowFocusSignalType FocusChangedSignal()
+        {
+            WindowFocusSignalType ret = new WindowFocusSignalType(NDalicPINVOKE.FocusChangedSignal(swigCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Get default ( root ) layer.
+        /// </summary>
+        /// <returns>The root layer</returns>
+        public Layer GetDefaultLayer()
+        {
+            return this.GetRootLayer();
+        }
+
+        /// <summary>
+        /// Add layer to the Stage.
+        /// </summary>
+        /// <param name="layer">Layer to add</param>
+        public void AddLayer(Layer layer)
+        {
+            NDalicPINVOKE.Stage_Add(stageCPtr, Layer.getCPtr(layer));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
+        /// Remove layer from the Stage.
+        /// </summary>
+        /// <param name="layer">Layer to remove</param>
+        public void RemoveLayer(Layer layer)
+        {
+            NDalicPINVOKE.Stage_Remove(stageCPtr, Layer.getCPtr(layer));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Add(View view)
+        {
+            NDalicPINVOKE.Stage_Add(stageCPtr, View.getCPtr(view));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void Remove(View view)
+        {
+            NDalicPINVOKE.Stage_Remove(stageCPtr, View.getCPtr(view));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector2 GetSize()
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Stage_GetSize(stageCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal RenderTaskList GetRenderTaskList()
+        {
+            RenderTaskList ret = new RenderTaskList(NDalicPINVOKE.Stage_GetRenderTaskList(stageCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal uint GetLayerCount()
+        {
+            uint ret = NDalicPINVOKE.Stage_GetLayerCount(stageCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        public Layer GetLayer(uint depth)
+        {
+            Layer ret = new Layer(NDalicPINVOKE.Stage_GetLayer(stageCPtr, depth), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Layer GetRootLayer()
+        {
+            Layer ret = new Layer(NDalicPINVOKE.Stage_GetRootLayer(stageCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal void SetBackgroundColor(Vector4 color)
+        {
+            NDalicPINVOKE.Stage_SetBackgroundColor(stageCPtr, Vector4.getCPtr(color));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal Vector4 GetBackgroundColor()
+        {
+            Vector4 ret = new Vector4(NDalicPINVOKE.Stage_GetBackgroundColor(stageCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal Vector2 GetDpi()
+        {
+            Vector2 ret = new Vector2(NDalicPINVOKE.Stage_GetDpi(stageCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal ObjectRegistry GetObjectRegistry()
+        {
+            ObjectRegistry ret = new ObjectRegistry(NDalicPINVOKE.Stage_GetObjectRegistry(stageCPtr), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
+        /// Keep rendering for at least the given amount of time.
+        /// </summary>
+        /// <param name="durationSeconds">Time to keep rendering, 0 means render at least one more frame</param>
+        public void KeepRendering(float durationSeconds)
+        {
+            NDalicPINVOKE.Stage_KeepRendering(stageCPtr, durationSeconds);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal KeyEventSignal KeyEventSignal()
+        {
+            KeyEventSignal ret = new KeyEventSignal(NDalicPINVOKE.Stage_KeyEventSignal(stageCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal EventProcessingFinishedSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_EventProcessingFinishedSignal(stageCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal TouchSignal TouchSignal()
+        {
+            TouchSignal ret = new TouchSignal(NDalicPINVOKE.Stage_TouchSignal(stageCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        private StageWheelSignal WheelEventSignal()
+        {
+            StageWheelSignal ret = new StageWheelSignal(NDalicPINVOKE.Stage_WheelEventSignal(stageCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal ContextLostSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_ContextLostSignal(stageCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal ContextRegainedSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_ContextRegainedSignal(stageCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        internal VoidSignal SceneCreatedSignal()
+        {
+            VoidSignal ret = new VoidSignal(NDalicPINVOKE.Stage_SceneCreatedSignal(stageCPtr), false);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        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;
+            }
+        }
+
+        private static readonly Window instance = Application.Instance.GetWindow();
+
+        /// <summary>
+        /// Stage instance property (read-only).<br>
+        /// Gets the current Window.<br>
+        /// </summary>
+        public static Window Instance
+        {
+            get
+            {
+                return instance;
+            }
+        }
+
         /// <summary>
         /// Grabs the key specified by a key for a window only when a window is the topmost window. <br>
         /// This function can be used for following example scenarios: <br>
@@ -459,5 +681,397 @@ namespace Tizen.NUI
             Visible = 1,
             Auto = 2
         }
+
+        /// <summary>
+        /// Touch event argument.
+        /// </summary>
+        public class TouchEventArgs : EventArgs
+        {
+            private Touch _touch;
+
+            /// <summary>
+            /// Touch.
+            /// </summary>
+            public Touch Touch
+            {
+                get
+                {
+                    return _touch;
+                }
+                set
+                {
+                    _touch = value;
+                }
+            }
+        }
+
+        private event EventHandler<TouchEventArgs> _stageTouchHandler;
+        private EventCallbackDelegateType1 _stageTouchCallbackDelegate;
+
+        /// <summary>
+        /// This is emitted when the screen is touched and when the touch ends.<br>
+        /// If there are multiple touch points, then this will be emitted when the first touch occurs and
+        /// then when the last finger is lifted.<br>
+        /// An interrupted event will also be emitted (if it occurs).<br>
+        /// </summary>
+        public event EventHandler<TouchEventArgs> TouchEvent
+        {
+            add
+            {
+                lock (this)
+                {
+                    _stageTouchHandler += value;
+                    _stageTouchCallbackDelegate = OnStageTouch;
+                    this.TouchSignal().Connect(_stageTouchCallbackDelegate);
+                }
+            }
+            remove
+            {
+                lock (this)
+                {
+                    if (_stageTouchHandler != null)
+                    {
+                        this.TouchSignal().Disconnect(_stageTouchCallbackDelegate);
+                    }
+                    _stageTouchHandler -= value;
+                }
+            }
+        }
+
+        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);
+            }
+        }
+
+        /// <summary>
+        /// Wheel event arguments.
+        /// </summary>
+        public class WheelEventArgs : EventArgs
+        {
+            private Wheel _wheel;
+
+            /// <summary>
+            /// Wheel.
+            /// </summary>
+            public Wheel Wheel
+            {
+                get
+                {
+                    return _wheel;
+                }
+                set
+                {
+                    _wheel = value;
+                }
+            }
+        }
+
+        private event EventHandler<WheelEventArgs> _stageWheelHandler;
+        private EventCallbackDelegateType1 _stageWheelCallbackDelegate;
+
+        /// <summary>
+        /// Event emitted when wheel event is received.
+        /// </summary>
+        public event EventHandler<WheelEventArgs> WheelEvent
+        {
+            add
+            {
+                if (_stageWheelHandler == null)
+                {
+                    _stageWheelCallbackDelegate = OnStageWheel;
+                    WheelEventSignal().Connect(_stageWheelCallbackDelegate);
+                }
+                _stageWheelHandler += value;
+            }
+            remove
+            {
+                _stageWheelHandler -= value;
+                if (_stageWheelHandler == null && WheelEventSignal().Empty() == false)
+                {
+                    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);
+            }
+        }
+
+        /// <summary>
+        /// Key event arguments.
+        /// </summary>
+        public class KeyEventArgs : EventArgs
+        {
+            private Key _key;
+
+            /// <summary>
+            /// Key
+            /// </summary>
+            public Key Key
+            {
+                get
+                {
+                    return _key;
+                }
+                set
+                {
+                    _key = value;
+                }
+            }
+        }
+
+        private event EventHandler<KeyEventArgs> _stageKeyHandler;
+        private EventCallbackDelegateType1 _stageKeyCallbackDelegate;
+
+        /// <summary>
+        /// Event emitted when key event is received.
+        /// </summary>
+        public event EventHandler<KeyEventArgs> KeyEvent
+        {
+            add
+            {
+                if (_stageKeyHandler == null)
+                {
+                    _stageKeyCallbackDelegate = OnStageKey;
+                    KeyEventSignal().Connect(_stageKeyCallbackDelegate);
+                }
+                _stageKeyHandler += value;
+            }
+            remove
+            {
+                _stageKeyHandler -= value;
+                if (_stageKeyHandler == null && KeyEventSignal().Empty() == false)
+                {
+                    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;
+
+        internal event EventHandler EventProcessingFinished
+        {
+            add
+            {
+                if (_stageEventProcessingFinishedEventHandler == null)
+                {
+                    _stageEventProcessingFinishedEventCallbackDelegate = OnEventProcessingFinished;
+                    EventProcessingFinishedSignal().Connect(_stageEventProcessingFinishedEventCallbackDelegate);
+                }
+                _stageEventProcessingFinishedEventHandler += value;
+
+            }
+            remove
+            {
+                _stageEventProcessingFinishedEventHandler -= value;
+                if (_stageEventProcessingFinishedEventHandler == null && EventProcessingFinishedSignal().Empty() == false)
+                {
+                    EventProcessingFinishedSignal().Disconnect(_stageEventProcessingFinishedEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Stage EventProcessingFinishedSignal
+        private void OnEventProcessingFinished()
+        {
+            if (_stageEventProcessingFinishedEventHandler != null)
+            {
+                _stageEventProcessingFinishedEventHandler(this, null);
+            }
+        }
+
+
+        private EventHandler _stageContextLostEventHandler;
+        private EventCallbackDelegateType0 _stageContextLostEventCallbackDelegate;
+
+        internal event EventHandler ContextLost
+        {
+            add
+            {
+                if (_stageContextLostEventHandler == null)
+                {
+                    _stageContextLostEventCallbackDelegate = OnContextLost;
+                    ContextLostSignal().Connect(_stageContextLostEventCallbackDelegate);
+                }
+                _stageContextLostEventHandler += value;
+            }
+            remove
+            {
+                _stageContextLostEventHandler -= value;
+                if (_stageContextLostEventHandler == null && ContextLostSignal().Empty() == false)
+                {
+                    ContextLostSignal().Disconnect(_stageContextLostEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Stage ContextLostSignal
+        private void OnContextLost()
+        {
+            if (_stageContextLostEventHandler != null)
+            {
+                _stageContextLostEventHandler(this, null);
+            }
+        }
+
+
+        private EventHandler _stageContextRegainedEventHandler;
+        private EventCallbackDelegateType0 _stageContextRegainedEventCallbackDelegate;
+
+        internal event EventHandler ContextRegained
+        {
+            add
+            {
+                if (_stageContextRegainedEventHandler == null)
+                {
+                    _stageContextRegainedEventCallbackDelegate = OnContextRegained;
+                    ContextRegainedSignal().Connect(_stageContextRegainedEventCallbackDelegate);
+                }
+                _stageContextRegainedEventHandler += value;
+            }
+            remove
+            {
+                _stageContextRegainedEventHandler -= value;
+                if (_stageContextRegainedEventHandler == null && ContextRegainedSignal().Empty() == false)
+                {
+                    this.ContextRegainedSignal().Disconnect(_stageContextRegainedEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Stage ContextRegainedSignal
+        private void OnContextRegained()
+        {
+            if (_stageContextRegainedEventHandler != null)
+            {
+                _stageContextRegainedEventHandler(this, null);
+            }
+        }
+
+
+        private EventHandler _stageSceneCreatedEventHandler;
+        private EventCallbackDelegateType0 _stageSceneCreatedEventCallbackDelegate;
+
+        internal event EventHandler SceneCreated
+        {
+            add
+            {
+                if (_stageSceneCreatedEventHandler == null)
+                {
+                    _stageSceneCreatedEventCallbackDelegate = OnSceneCreated;
+                    SceneCreatedSignal().Connect(_stageSceneCreatedEventCallbackDelegate);
+                }
+                _stageSceneCreatedEventHandler += value;
+            }
+            remove
+            {
+                _stageSceneCreatedEventHandler -= value;
+                if (_stageSceneCreatedEventHandler == null && SceneCreatedSignal().Empty() == false)
+                {
+                    SceneCreatedSignal().Disconnect(_stageSceneCreatedEventCallbackDelegate);
+                }
+            }
+        }
+
+        // Callback for Stage SceneCreatedSignal
+        private void OnSceneCreated()
+        {
+            if (_stageSceneCreatedEventHandler != null)
+            {
+                _stageSceneCreatedEventHandler(this, null);
+            }
+        }
+
+        /// <summary>
+        /// Window size property (read-only).
+        /// </summary>
+        public Vector2 Size
+        {
+            get
+            {
+                Vector2 ret = GetSize();
+                return ret;
+            }
+        }
+
+        /// <summary>
+        /// Background color property.
+        /// </summary>
+        public Vector4 BackgroundColor
+        {
+            set
+            {
+                SetBackgroundColor(value);
+            }
+            get
+            {
+                Vector4 ret = GetBackgroundColor();
+                return ret;
+            }
+        }
+
+        /// <summary>
+        /// Dpi property (read-only).<br>
+        /// Retrieves the DPI of the display device to which the Window is connected.<br>
+        /// </summary>
+        public Vector2 Dpi
+        {
+            get
+            {
+                return GetDpi();
+            }
+        }
+
+        /// <summary>
+        /// Layer count property (read-only).<br>
+        /// Queries the number of on-Window layers.<br>
+        /// </summary>
+        public uint LayerCount
+        {
+            get
+            {
+                return GetLayerCount();
+            }
+        }
     }
 }