Separate C# classes into Internal and Public
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / public / Scrollable.cs
@@ -255,40 +255,8 @@ public class CompletedEventArgs : EventArgs
   }
 
 
-  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() {
-      Dispose();
-    }
-  
-    public virtual void Dispose() {
-      lock(this) {
-        if (swigCPtr.Handle != global::System.IntPtr.Zero) {
-          if (swigCMemOwn) {
-            swigCMemOwn = false;
-            NDalicPINVOKE.delete_Scrollable_Property(swigCPtr);
-          }
-          swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-        }
-        global::System.GC.SuppressFinalize(this);
-      }
-    }
-  
-    public Property() : this(NDalicPINVOKE.new_Scrollable_Property(), true) {
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-  
+  public class Property
+  {
     public static readonly int OVERSHOOT_EFFECT_COLOR = NDalicPINVOKE.Scrollable_Property_OVERSHOOT_EFFECT_COLOR_get();
     public static readonly int OVERSHOOT_ANIMATION_SPEED = NDalicPINVOKE.Scrollable_Property_OVERSHOOT_ANIMATION_SPEED_get();
     public static readonly int OVERSHOOT_ENABLED = NDalicPINVOKE.Scrollable_Property_OVERSHOOT_ENABLED_get();
@@ -303,7 +271,6 @@ public class CompletedEventArgs : EventArgs
     public static readonly int SCROLL_POSITION_MAX_Y = NDalicPINVOKE.Scrollable_Property_SCROLL_POSITION_MAX_Y_get();
     public static readonly int CAN_SCROLL_VERTICAL = NDalicPINVOKE.Scrollable_Property_CAN_SCROLL_VERTICAL_get();
     public static readonly int CAN_SCROLL_HORIZONTAL = NDalicPINVOKE.Scrollable_Property_CAN_SCROLL_HORIZONTAL_get();
-  
   }
 
   public Scrollable() : this(NDalicPINVOKE.new_Scrollable__SWIG_0(), true) {
@@ -314,76 +281,63 @@ public class CompletedEventArgs : EventArgs
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public Scrollable Assign(Scrollable handle) {
-    Scrollable ret = new Scrollable(NDalicPINVOKE.Scrollable_Assign(swigCPtr, Scrollable.getCPtr(handle)), false);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public new static Scrollable DownCast(BaseHandle handle) {
+  internal new static Scrollable DownCast(BaseHandle handle) {
     Scrollable ret = new Scrollable(NDalicPINVOKE.Scrollable_DownCast(BaseHandle.getCPtr(handle)), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public bool IsOvershootEnabled() {
+  private bool IsOvershootEnabled() {
     bool ret = NDalicPINVOKE.Scrollable_IsOvershootEnabled(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public void SetOvershootEnabled(bool enable) {
+  private void SetOvershootEnabled(bool enable) {
     NDalicPINVOKE.Scrollable_SetOvershootEnabled(swigCPtr, enable);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public void SetOvershootEffectColor(Vector4 color) {
+  private void SetOvershootEffectColor(Vector4 color) {
     NDalicPINVOKE.Scrollable_SetOvershootEffectColor(swigCPtr, Vector4.getCPtr(color));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public Vector4 GetOvershootEffectColor() {
+  private Vector4 GetOvershootEffectColor() {
     Vector4 ret = new Vector4(NDalicPINVOKE.Scrollable_GetOvershootEffectColor(swigCPtr), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public void SetOvershootAnimationSpeed(float pixelsPerSecond) {
+  private void SetOvershootAnimationSpeed(float pixelsPerSecond) {
     NDalicPINVOKE.Scrollable_SetOvershootAnimationSpeed(swigCPtr, pixelsPerSecond);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public float GetOvershootAnimationSpeed() {
+  private float GetOvershootAnimationSpeed() {
     float ret = NDalicPINVOKE.Scrollable_GetOvershootAnimationSpeed(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public ScrollableSignal ScrollStartedSignal() {
+  internal ScrollableSignal ScrollStartedSignal() {
     ScrollableSignal ret = new ScrollableSignal(NDalicPINVOKE.Scrollable_ScrollStartedSignal(swigCPtr), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public ScrollableSignal ScrollUpdatedSignal() {
+  internal ScrollableSignal ScrollUpdatedSignal() {
     ScrollableSignal ret = new ScrollableSignal(NDalicPINVOKE.Scrollable_ScrollUpdatedSignal(swigCPtr), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public ScrollableSignal ScrollCompletedSignal() {
+  internal ScrollableSignal ScrollCompletedSignal() {
     ScrollableSignal ret = new ScrollableSignal(NDalicPINVOKE.Scrollable_ScrollCompletedSignal(swigCPtr), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public enum PropertyRange {
-    PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
-    PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000,
-    ANIMATABLE_PROPERTY_START_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX,
-    ANIMATABLE_PROPERTY_END_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX+1000
-  }
-
   public Vector4 OvershootEffectColor
   {
     get
@@ -402,7 +356,7 @@ public class CompletedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( Scrollable.Property.OVERSHOOT_ANIMATION_SPEED).Get( ref temp );
+      GetProperty( Scrollable.Property.OVERSHOOT_ANIMATION_SPEED).Get( out temp );
       return temp;
     }
     set
@@ -415,7 +369,7 @@ public class CompletedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( Scrollable.Property.OVERSHOOT_ENABLED).Get( ref temp );
+      GetProperty( Scrollable.Property.OVERSHOOT_ENABLED).Get( out temp );
       return temp;
     }
     set
@@ -441,7 +395,7 @@ public class CompletedEventArgs : EventArgs
     get
     {
       int temp = 0;
-      GetProperty( Scrollable.Property.SCROLL_TO_ALPHA_FUNCTION).Get( ref temp );
+      GetProperty( Scrollable.Property.SCROLL_TO_ALPHA_FUNCTION).Get( out temp );
       return temp;
     }
     set
@@ -493,7 +447,7 @@ public class CompletedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( Scrollable.Property.CAN_SCROLL_VERTICAL).Get( ref temp );
+      GetProperty( Scrollable.Property.CAN_SCROLL_VERTICAL).Get( out temp );
       return temp;
     }
     set
@@ -506,7 +460,7 @@ public class CompletedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( Scrollable.Property.CAN_SCROLL_HORIZONTAL).Get( ref temp );
+      GetProperty( Scrollable.Property.CAN_SCROLL_HORIZONTAL).Get( out temp );
       return temp;
     }
     set