+++ /dev/null
-//------------------------------------------------------------------------------
-// <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 AlignType
- {
- TOP_BEGIN = 0,
- TOP_CENTER,
- TOP_END,
- CENTER_BEGIN,
- CENTER,
- CENTER_END,
- BOTTOM_BEGIN,
- BOTTOM_CENTER,
- BOTTOM_END
- }
-}
-*/
\ No newline at end of file
using Tizen.NUI.BaseComponents;
- public class Builder : BaseHandle
+ internal class Builder : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class Camera : Animatable
+ internal class Camera : Animatable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+++ /dev/null
-//------------------------------------------------------------------------------
-// <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 enum ClampState
- {
- NotClamped,
- ClampedToMin,
- ClampedToMax
- }
-
-}
+++ /dev/null
-//------------------------------------------------------------------------------
-// <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 ClampState2D : global::System.IDisposable
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal ClampState2D(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(ClampState2D obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- //A Flag to check who called Dispose(). (By User or DisposeQueue)
- private bool isDisposeQueued = false;
- //A Flat to check if it is already disposed.
- protected bool disposed = false;
-
- protected enum DisposeTypes
- {
- Explicit, //Called By User
- Implicit, //Called by DisposeQueue
- }
-
- ~ClampState2D()
- {
- if (!isDisposeQueued)
- {
- isDisposeQueued = true;
- DisposeQueue.Instance.Add(this);
- }
- }
-
- public void Dispose()
- {
- //Throw excpetion if Dispose() is called in separate thread.
- if (!Window.IsInstalled())
- {
- throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
- }
-
- if (isDisposeQueued)
- {
- Dispose(DisposeTypes.Implicit);
- }
- else
- {
- Dispose(DisposeTypes.Explicit);
- System.GC.SuppressFinalize(this);
- }
- }
-
- protected virtual void Dispose(DisposeTypes type)
- {
- if (disposed)
- {
- return;
- }
-
- if (type == DisposeTypes.Explicit)
- {
- //Called by User
- //Release your own managed resources here.
- //You should release all of your own disposable objects here.
-
- }
-
- //Release your own unmanaged resources here.
- //You should not access any managed member here except static instance.
- //because the execution order of Finalizes is non-deterministic.
-
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_ClampState2D(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
-
- disposed = true;
- }
-
-
- public ClampState x
- {
- set
- {
- NDalicPINVOKE.ClampState2D_x_set(swigCPtr, (int)value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get
- {
- ClampState ret = (ClampState)NDalicPINVOKE.ClampState2D_x_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public ClampState y
- {
- set
- {
- NDalicPINVOKE.ClampState2D_y_set(swigCPtr, (int)value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get
- {
- ClampState ret = (ClampState)NDalicPINVOKE.ClampState2D_y_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- public ClampState2D() : this(NDalicPINVOKE.new_ClampState2D(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- }
-
-}
namespace Tizen.NUI
{
- public class ConnectionTrackerInterface : SignalObserver
+ internal class ConnectionTrackerInterface : SignalObserver
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+++ /dev/null
-//------------------------------------------------------------------------------
-// <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 enum ControlOrientationType
- {
- Up,
- Left,
- Down,
- Right
- }
-
-}
namespace Tizen.NUI
{
- public class CustomActor : Animatable
+ internal class CustomActor : Animatable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
using Tizen.NUI.BaseComponents;
- public class CustomActorImpl : RefObject
+ internal class CustomActorImpl : RefObject
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public enum DefaultItemLayoutProperty
+ internal enum DefaultItemLayoutProperty
{
TYPE = 0,
ITEM_SIZE,
namespace Tizen.NUI
{
- public enum DefaultItemLayoutType
+ internal enum DefaultItemLayoutType
{
DEPTH,
GRID,
namespace Tizen.NUI
{
- public class DefaultRuler : Ruler
+ internal class DefaultRuler : Ruler
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class EventThreadCallback : global::System.IDisposable
+ internal class EventThreadCallback : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI
{
- public class FixedRuler : Ruler
+ internal class FixedRuler : Ruler
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
using Tizen.NUI.BaseComponents;
- public class GestureDetector : BaseHandle
+ internal class GestureDetector : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
using Tizen.NUI.BaseComponents;
- public class Item : global::System.IDisposable
+ internal class Item : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI
{
- public class ItemContainer : global::System.IDisposable, global::System.Collections.IEnumerable
+ internal class ItemContainer : global::System.IDisposable, global::System.Collections.IEnumerable
, global::System.Collections.Generic.IEnumerable<Item>
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
using Tizen.NUI.BaseComponents;
- public class ItemFactory : global::System.IDisposable
+ internal class ItemFactory : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI
{
- public class ItemIdContainer : global::System.IDisposable, global::System.Collections.IEnumerable
+ internal class ItemIdContainer : global::System.IDisposable, global::System.Collections.IEnumerable
, global::System.Collections.Generic.IList<uint>
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class ItemLayout : RefObject
+ internal class ItemLayout : RefObject
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
base.Dispose(type);
}
- public void SetOrientation(ControlOrientationType orientation)
- {
- NDalicPINVOKE.ItemLayout_SetOrientation(swigCPtr, (int)orientation);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public ControlOrientationType GetOrientation()
- {
- ControlOrientationType ret = (ControlOrientationType)NDalicPINVOKE.ItemLayout_GetOrientation(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
public void SetLayoutProperties(PropertyMap properties)
{
namespace Tizen.NUI
{
- public class ItemRange : global::System.IDisposable
+ internal class ItemRange : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
using System.Runtime.InteropServices;
- public class ItemView : Scrollable
+ internal class ItemView : Scrollable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
using System.Runtime.InteropServices;
using Tizen.NUI.BaseComponents;
- public class LongPressGestureDetector : GestureDetector
+ internal class LongPressGestureDetector : GestureDetector
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+++ /dev/null
-//------------------------------------------------------------------------------
-// <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 enum Meta
- {
- DIMENSION_COUNT = 2
- }
-
-}
return ret;
}
- public static PropertyCondition VariableStepCondition(VectorFloat steps)
- {
- PropertyCondition ret = new PropertyCondition(NDalicPINVOKE.VariableStepCondition(VectorFloat.getCPtr(steps)), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
public static int WEIGHT
{
get
return ret;
}
- public static bool IsVertical(ControlOrientationType orientation)
- {
- bool ret = NDalicPINVOKE.IsVertical((int)orientation);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public static bool IsHorizontal(ControlOrientationType orientation)
- {
- bool ret = NDalicPINVOKE.IsHorizontal((int)orientation);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
public static SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t NewItemLayout(DefaultItemLayoutType type)
{
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ScrollView_Property_WHEEL_SCROLL_DISTANCE_STEP_get")]
public static extern int ScrollView_Property_WHEEL_SCROLL_DISTANCE_STEP_get();
+ [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ScrollView_Property_SCROLL_MODE_get")]
+ public static extern int ScrollView_Property_SCROLL_MODE_get();
+
[global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ScrollView_Property_SCROLL_POSITION_get")]
public static extern int ScrollView_Property_SCROLL_POSITION_get();
namespace Tizen.NUI
{
- public static class Object
+ internal static class Object
{
public static PropertyValue GetProperty(global::System.Runtime.InteropServices.HandleRef handle, int index)
{
using Tizen.NUI.BaseComponents;
- public class PanGestureDetector : GestureDetector
+ internal class PanGestureDetector : GestureDetector
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
using Tizen.NUI.BaseComponents;
- public class PinchGestureDetector : GestureDetector
+ internal class PinchGestureDetector : GestureDetector
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+++ /dev/null
-//------------------------------------------------------------------------------
-// <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 enum PositionInheritanceMode
- {
- INHERIT_PARENT_POSITION,
- USE_PARENT_POSITION,
- USE_PARENT_POSITION_PLUS_LOCAL_POSITION,
- DONT_INHERIT_POSITION
- }
-
-}
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * 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.
namespace Tizen.NUI
{
- public class ProgressBarValueChangedSignal : global::System.IDisposable
+ internal class ProgressBarValueChangedSignal : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI
{
- public class RefObject : global::System.IDisposable
+ internal class RefObject : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI
{
- public class Ruler : RefObject
+ internal class Ruler : RefObject
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class RulerDomain : global::System.IDisposable
+ internal class RulerDomain : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI
{
- public class RulerPtr : global::System.IDisposable
+ internal class RulerPtr : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI
{
- public class SWIGTYPE_p_CallbackBase
+ internal class SWIGTYPE_p_CallbackBase
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class SWIGTYPE_p_Dali__CallbackBase
+ internal class SWIGTYPE_p_Dali__CallbackBase
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class SWIGTYPE_p_Dali__FunctorDelegate
+ internal class SWIGTYPE_p_Dali__FunctorDelegate
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class SWIGTYPE_p_Dali__Internal__Texture
+ internal class SWIGTYPE_p_Dali__Internal__Texture
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t
+ internal class SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class SWIGTYPE_p_Dali__SignalT_void_fDali__Actor_bool_Dali__DevelActor__VisibilityChange__TypeF_t
+ internal class SWIGTYPE_p_Dali__SignalT_void_fDali__Actor_bool_Dali__DevelActor__VisibilityChange__TypeF_t
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class SignalObserver : global::System.IDisposable
+ internal class SignalObserver : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
/// <summary>
/// Slider is a control to enable sliding an indicator between two values.
/// </summary>
- public class Slider : View
+ internal class Slider : View
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class SlotObserver : global::System.IDisposable
+ internal class SlotObserver : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
using System.Runtime.InteropServices;
using Tizen.NUI.BaseComponents;
- public class TapGestureDetector : GestureDetector
+ internal class TapGestureDetector : GestureDetector
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
return ret;
}
- internal void GetPropertyIndices(VectorInteger indices)
- {
- NDalicPINVOKE.TypeInfo_GetPropertyIndices(swigCPtr, VectorInteger.getCPtr(indices));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
public string GetPropertyName(int index)
{
string ret = NDalicPINVOKE.TypeInfo_GetPropertyName(swigCPtr, index);
+++ /dev/null
-//------------------------------------------------------------------------------
-// <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 VectorFloat : global::System.IDisposable
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal VectorFloat(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(VectorFloat obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- //A Flag to check who called Dispose(). (By User or DisposeQueue)
- private bool isDisposeQueued = false;
- //A Flat to check if it is already disposed.
- protected bool disposed = false;
-
-
- ~VectorFloat()
- {
- if (!isDisposeQueued)
- {
- isDisposeQueued = true;
- DisposeQueue.Instance.Add(this);
- }
- }
-
- public void Dispose()
- {
- //Throw excpetion if Dispose() is called in separate thread.
- if (!Window.IsInstalled())
- {
- throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
- }
-
- if (isDisposeQueued)
- {
- Dispose(DisposeTypes.Implicit);
- }
- else
- {
- Dispose(DisposeTypes.Explicit);
- System.GC.SuppressFinalize(this);
- }
- }
-
- protected virtual void Dispose(DisposeTypes type)
- {
- if (disposed)
- {
- return;
- }
-
- if (type == DisposeTypes.Explicit)
- {
- //Called by User
- //Release your own managed resources here.
- //You should release all of your own disposable objects here.
-
- }
-
- //Release your own unmanaged resources here.
- //You should not access any managed member here except static instance.
- //because the execution order of Finalizes is non-deterministic.
-
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_VectorFloat(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
-
- disposed = true;
- }
-
- public VectorFloat() : this(NDalicPINVOKE.new_VectorFloat__SWIG_0(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public VectorFloat(VectorFloat vector) : this(NDalicPINVOKE.new_VectorFloat__SWIG_1(VectorFloat.getCPtr(vector)), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public VectorFloat Assign(VectorFloat vector)
- {
- VectorFloat ret = new VectorFloat(NDalicPINVOKE.VectorFloat_Assign(swigCPtr, VectorFloat.getCPtr(vector)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public SWIGTYPE_p_float Begin()
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.VectorFloat_Begin(swigCPtr);
- SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public SWIGTYPE_p_float End()
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.VectorFloat_End(swigCPtr);
- SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public SWIGTYPE_p_float ValueOfIndex(uint index)
- {
- SWIGTYPE_p_float ret = new SWIGTYPE_p_float(NDalicPINVOKE.VectorFloat_ValueOfIndex__SWIG_0(swigCPtr, index), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void PushBack(float element)
- {
- NDalicPINVOKE.VectorFloat_PushBack(swigCPtr, element);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Insert(SWIGTYPE_p_float at, float element)
- {
- NDalicPINVOKE.VectorFloat_Insert__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(at), element);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Insert(SWIGTYPE_p_float at, SWIGTYPE_p_float from, SWIGTYPE_p_float to)
- {
- NDalicPINVOKE.VectorFloat_Insert__SWIG_1(swigCPtr, SWIGTYPE_p_float.getCPtr(at), SWIGTYPE_p_float.getCPtr(from), SWIGTYPE_p_float.getCPtr(to));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Reserve(uint count)
- {
- NDalicPINVOKE.VectorFloat_Reserve(swigCPtr, count);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Resize(uint count)
- {
- NDalicPINVOKE.VectorFloat_Resize__SWIG_0(swigCPtr, count);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Resize(uint count, float item)
- {
- NDalicPINVOKE.VectorFloat_Resize__SWIG_1(swigCPtr, count, item);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public SWIGTYPE_p_float Erase(SWIGTYPE_p_float iterator)
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.VectorFloat_Erase__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(iterator));
- SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public SWIGTYPE_p_float Erase(SWIGTYPE_p_float first, SWIGTYPE_p_float last)
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.VectorFloat_Erase__SWIG_1(swigCPtr, SWIGTYPE_p_float.getCPtr(first), SWIGTYPE_p_float.getCPtr(last));
- SWIGTYPE_p_float ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void Remove(SWIGTYPE_p_float iterator)
- {
- NDalicPINVOKE.VectorFloat_Remove(swigCPtr, SWIGTYPE_p_float.getCPtr(iterator));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Swap(VectorFloat vector)
- {
- NDalicPINVOKE.VectorFloat_Swap(swigCPtr, VectorFloat.getCPtr(vector));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Clear()
- {
- NDalicPINVOKE.VectorFloat_Clear(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Release()
- {
- NDalicPINVOKE.VectorFloat_Release(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public static readonly int BaseType = NDalicPINVOKE.VectorFloat_BaseType_get();
-
- }
-
-}
+++ /dev/null
-//------------------------------------------------------------------------------
-// <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 VectorInteger : global::System.IDisposable
- {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal VectorInteger(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(VectorInteger obj)
- {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- //A Flag to check who called Dispose(). (By User or DisposeQueue)
- private bool isDisposeQueued = false;
- //A Flat to check if it is already disposed.
- protected bool disposed = false;
-
-
- ~VectorInteger()
- {
- if (!isDisposeQueued)
- {
- isDisposeQueued = true;
- DisposeQueue.Instance.Add(this);
- }
- }
-
- public void Dispose()
- {
- //Throw excpetion if Dispose() is called in separate thread.
- if (!Window.IsInstalled())
- {
- throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
- }
-
- if (isDisposeQueued)
- {
- Dispose(DisposeTypes.Implicit);
- }
- else
- {
- Dispose(DisposeTypes.Explicit);
- System.GC.SuppressFinalize(this);
- }
- }
-
- protected virtual void Dispose(DisposeTypes type)
- {
- if (disposed)
- {
- return;
- }
-
- if (type == DisposeTypes.Explicit)
- {
- //Called by User
- //Release your own managed resources here.
- //You should release all of your own disposable objects here.
-
- }
-
- //Release your own unmanaged resources here.
- //You should not access any managed member here except static instance.
- //because the execution order of Finalizes is non-deterministic.
-
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_VectorInteger(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
-
- disposed = true;
- }
-
-
-
- public VectorInteger() : this(NDalicPINVOKE.new_VectorInteger__SWIG_0(), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public VectorInteger(VectorInteger vector) : this(NDalicPINVOKE.new_VectorInteger__SWIG_1(VectorInteger.getCPtr(vector)), true)
- {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public VectorInteger Assign(VectorInteger vector)
- {
- VectorInteger ret = new VectorInteger(NDalicPINVOKE.VectorInteger_Assign(swigCPtr, VectorInteger.getCPtr(vector)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public SWIGTYPE_p_int Begin()
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.VectorInteger_Begin(swigCPtr);
- SWIGTYPE_p_int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public SWIGTYPE_p_int End()
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.VectorInteger_End(swigCPtr);
- SWIGTYPE_p_int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public SWIGTYPE_p_int ValueOfIndex(uint index)
- {
- SWIGTYPE_p_int ret = new SWIGTYPE_p_int(NDalicPINVOKE.VectorInteger_ValueOfIndex__SWIG_0(swigCPtr, index), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void PushBack(int element)
- {
- NDalicPINVOKE.VectorInteger_PushBack(swigCPtr, element);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Insert(SWIGTYPE_p_int at, int element)
- {
- NDalicPINVOKE.VectorInteger_Insert__SWIG_0(swigCPtr, SWIGTYPE_p_int.getCPtr(at), element);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Insert(SWIGTYPE_p_int at, SWIGTYPE_p_int from, SWIGTYPE_p_int to)
- {
- NDalicPINVOKE.VectorInteger_Insert__SWIG_1(swigCPtr, SWIGTYPE_p_int.getCPtr(at), SWIGTYPE_p_int.getCPtr(from), SWIGTYPE_p_int.getCPtr(to));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Reserve(uint count)
- {
- NDalicPINVOKE.VectorInteger_Reserve(swigCPtr, count);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Resize(uint count)
- {
- NDalicPINVOKE.VectorInteger_Resize__SWIG_0(swigCPtr, count);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Resize(uint count, int item)
- {
- NDalicPINVOKE.VectorInteger_Resize__SWIG_1(swigCPtr, count, item);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public SWIGTYPE_p_int Erase(SWIGTYPE_p_int iterator)
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.VectorInteger_Erase__SWIG_0(swigCPtr, SWIGTYPE_p_int.getCPtr(iterator));
- SWIGTYPE_p_int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public SWIGTYPE_p_int Erase(SWIGTYPE_p_int first, SWIGTYPE_p_int last)
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.VectorInteger_Erase__SWIG_1(swigCPtr, SWIGTYPE_p_int.getCPtr(first), SWIGTYPE_p_int.getCPtr(last));
- SWIGTYPE_p_int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
- public void Remove(SWIGTYPE_p_int iterator)
- {
- NDalicPINVOKE.VectorInteger_Remove(swigCPtr, SWIGTYPE_p_int.getCPtr(iterator));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Swap(VectorInteger vector)
- {
- NDalicPINVOKE.VectorInteger_Swap(swigCPtr, VectorInteger.getCPtr(vector));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Clear()
- {
- NDalicPINVOKE.VectorInteger_Clear(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void Release()
- {
- NDalicPINVOKE.VectorInteger_Release(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public static readonly int BaseType = NDalicPINVOKE.VectorInteger_BaseType_get();
-
- }
-
-}
+++ /dev/null
-//------------------------------------------------------------------------------
-// <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;
- }
-
- //A Flag to check who called Dispose(). (By User or DisposeQueue)
- private bool isDisposeQueued = false;
- //A Flat to check if it is already disposed.
- protected bool disposed = false;
-
-
- ~ViewContainer()
- {
- if (!isDisposeQueued)
- {
- isDisposeQueued = true;
- DisposeQueue.Instance.Add(this);
- }
- }
-
- public void Dispose()
- {
- //Throw excpetion if Dispose() is called in separate thread.
- if (!Window.IsInstalled())
- {
- throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
- }
-
- if (isDisposeQueued)
- {
- Dispose(DisposeTypes.Implicit);
- }
- else
- {
- Dispose(DisposeTypes.Explicit);
- System.GC.SuppressFinalize(this);
- }
- }
-
- protected virtual void Dispose(DisposeTypes type)
- {
- if (disposed)
- {
- return;
- }
-
- if (type == DisposeTypes.Explicit)
- {
- //Called by User
- //Release your own managed resources here.
- //You should release all of your own disposable objects here.
-
- }
-
- //Release your own unmanaged resources here.
- //You should not access any managed member here except static instance.
- //because the execution order of Finalizes is non-deterministic.
-
- 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);
- }
-
- disposed = true;
- }
-
-
-
- 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();
- }
-
- }
-
-}
namespace Tizen.NUI
{
- public class ViewImpl : CustomActorImpl
+ internal class ViewImpl : CustomActorImpl
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
namespace Tizen.NUI
{
- public class ViewResourceReadySignal : global::System.IDisposable
+ internal class ViewResourceReadySignal : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI
{
using Tizen.NUI.BaseComponents;
- public class ViewSignal : global::System.IDisposable
+ internal class ViewSignal : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI
{
- public class ViewVisibilityChangedSignal : global::System.IDisposable
+ internal class ViewVisibilityChangedSignal : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * 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.
public class ViewWrapper : View
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected ViewWrapperImpl viewWrapperImpl;
+ internal ViewWrapperImpl viewWrapperImpl;
internal ViewWrapper(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.ViewWrapper_SWIGUpcast(cPtr), cMemoryOwn)
{
}
- public ViewWrapper(string typeName, ViewWrapperImpl implementation) : this(NDalicManualPINVOKE.ViewWrapper_New(typeName, ViewWrapperImpl.getCPtr(implementation)), true)
+ internal ViewWrapper(string typeName, ViewWrapperImpl implementation) : this(NDalicManualPINVOKE.ViewWrapper_New(typeName, ViewWrapperImpl.getCPtr(implementation)), true)
{
viewWrapperImpl = implementation;
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * 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.
using Tizen.NUI.BaseComponents;
namespace Tizen.NUI
{
- public sealed class ViewWrapperImpl : ViewImpl
+ internal sealed class ViewWrapperImpl : ViewImpl
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
public delegate void OnStageConnectionDelegate(int depth);
namespace Tizen.NUI
{
- public class VoidSignal : global::System.IDisposable
+ internal class VoidSignal : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
namespace Tizen.NUI
{
- public class WindowFocusSignalType : global::System.IDisposable
+ internal class WindowFocusSignalType : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
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);
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);
namespace Tizen.NUI
{
+ public enum ScrollModeType
+ {
+ XAxisScrollEnabled,
+ XAxisSnapToInterval,
+ XAxisScrollBoundary,
+ YAxisScrollEnabled,
+ YAxisSnapToInterval,
+ YAxisScrollBoundary
+ }
+
/// <summary>
/// This specifies whether the Actor uses its own color, or inherits.
/// </summary>
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- internal void DeleteRow(uint rowIndex, ViewContainer removed)
- {
- NDalicPINVOKE.TableView_DeleteRow__SWIG_1(swigCPtr, rowIndex, ViewContainer.getCPtr(removed));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
/// <summary>
/// Inserts a new column to the given index.
/// </summary>
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- internal void DeleteColumn(uint columnIndex, ViewContainer removed)
- {
- NDalicPINVOKE.TableView_DeleteColumn__SWIG_1(swigCPtr, columnIndex, ViewContainer.getCPtr(removed));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
/// <summary>
/// Resizes the TableView.
/// </summary>
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- internal void Resize(uint rows, uint columns, ViewContainer removed)
- {
- NDalicPINVOKE.TableView_Resize__SWIG_1(swigCPtr, rows, columns, ViewContainer.getCPtr(removed));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
/// <summary>
/// Sets horizontal and vertical padding between cells.
/// </summary>
return ret;
}
- internal void SetScrollPositionIntervals(VectorFloat positions)
- {
- NDalicPINVOKE.ScrollBar_SetScrollPositionIntervals(swigCPtr, VectorFloat.getCPtr(positions));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- internal VectorFloat GetScrollPositionIntervals()
- {
- VectorFloat ret = new VectorFloat(NDalicPINVOKE.ScrollBar_GetScrollPositionIntervals(swigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
-
internal void SetScrollDirection(ScrollBar.Direction direction)
{
NDalicPINVOKE.ScrollBar_SetScrollDirection(swigCPtr, (int)direction);
disposed = true;
}
- internal ClampState2D scale
- {
- set
- {
- NDalicPINVOKE.ScrollView_ClampEvent_scale_set(swigCPtr, ClampState2D.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ScrollView_ClampEvent_scale_get(swigCPtr);
- ClampState2D ret = (cPtr == global::System.IntPtr.Zero) ? null : new ClampState2D(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- internal ClampState2D position
- {
- set
- {
- NDalicPINVOKE.ScrollView_ClampEvent_position_set(swigCPtr, ClampState2D.getCPtr(value));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get
- {
- global::System.IntPtr cPtr = NDalicPINVOKE.ScrollView_ClampEvent_position_get(swigCPtr);
- ClampState2D ret = (cPtr == global::System.IntPtr.Zero) ? null : new ClampState2D(cPtr, false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
- internal ClampState rotation
- {
- set
- {
- NDalicPINVOKE.ScrollView_ClampEvent_rotation_set(swigCPtr, (int)value);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
- get
- {
- ClampState ret = (ClampState)NDalicPINVOKE.ScrollView_ClampEvent_rotation_get(swigCPtr);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- }
-
public ClampEvent() : this(NDalicPINVOKE.new_ScrollView_ClampEvent(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
public static readonly int PANNING_ENABLED = NDalicPINVOKE.ScrollView_Property_PANNING_ENABLED_get();
public static readonly int AXIS_AUTO_LOCK_ENABLED = NDalicPINVOKE.ScrollView_Property_AXIS_AUTO_LOCK_ENABLED_get();
public static readonly int WHEEL_SCROLL_DISTANCE_STEP = NDalicPINVOKE.ScrollView_Property_WHEEL_SCROLL_DISTANCE_STEP_get();
+ public static readonly int SCROLL_MODE = NDalicPINVOKE.ScrollView_Property_SCROLL_MODE_get();
public static readonly int SCROLL_POSITION = NDalicPINVOKE.ScrollView_Property_SCROLL_POSITION_get();
public static readonly int SCROLL_PRE_POSITION = NDalicPINVOKE.ScrollView_Property_SCROLL_PRE_POSITION_get();
public static readonly int SCROLL_PRE_POSITION_X = NDalicPINVOKE.ScrollView_Property_SCROLL_PRE_POSITION_X_get();
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public void SetRulerX(RulerPtr ruler)
- {
- NDalicPINVOKE.ScrollView_SetRulerX(swigCPtr, RulerPtr.getCPtr(ruler));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public void SetRulerY(RulerPtr ruler)
- {
- NDalicPINVOKE.ScrollView_SetRulerY(swigCPtr, RulerPtr.getCPtr(ruler));
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
public void SetScrollSensitive(bool sensitive)
{
}
}
+ public PropertyMap ScrollMode
+ {
+ get
+ {
+ PropertyValue value = GetProperty( ScrollView.Property.SCROLL_MODE );
+ PropertyMap map = new PropertyMap();
+ value.Get( map );
+ return map;
+ }
+ set
+ {
+ SetProperty( ScrollView.Property.SCROLL_MODE, new PropertyValue( value ) );
+ }
+ }
+
}
}