Separate C# classes into Internal and Public
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / public / ScrollView.cs
@@ -149,81 +149,15 @@ public class SnapStartedEventArgs : EventArgs
      }
   }
 
-
-  public class ClampEvent : global::System.IDisposable {
-    private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-    protected bool swigCMemOwn;
-
-    internal ClampEvent(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(ClampEvent obj) {
-      return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
-    }
-
-    ~ClampEvent() {
-      Dispose();
-    }
-
-    public virtual void Dispose() {
-      lock(this) {
-        if (swigCPtr.Handle != global::System.IntPtr.Zero) {
-          if (swigCMemOwn) {
-            swigCMemOwn = false;
-            NDalicPINVOKE.delete_ScrollView_ClampEvent(swigCPtr);
-          }
-          swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-        }
-        global::System.GC.SuppressFinalize(this);
-      }
-    }
-
-    public 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;
-      }
-    }
-
-    public 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;
-      }
-    }
-
-    public 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 class SnapEvent : global::System.IDisposable {
     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
     protected bool swigCMemOwn;
@@ -303,40 +237,14 @@ public class SnapStartedEventArgs : 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_ScrollView_Property(swigCPtr);
-          }
-          swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-        }
-        global::System.GC.SuppressFinalize(this);
-      }
-    }
-
-    public Property() : this(NDalicPINVOKE.new_ScrollView_Property(), true) {
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-
+  
+  
+  
+  
+  public class Property
+  {
+  
+  
     public static readonly int WRAP_ENABLED = NDalicPINVOKE.ScrollView_Property_WRAP_ENABLED_get();
     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();
@@ -364,24 +272,15 @@ public class SnapStartedEventArgs : EventArgs
     public static readonly int SCROLL_DOMAIN_OFFSET = NDalicPINVOKE.ScrollView_Property_SCROLL_DOMAIN_OFFSET_get();
     public static readonly int SCROLL_POSITION_DELTA = NDalicPINVOKE.ScrollView_Property_SCROLL_POSITION_DELTA_get();
     public static readonly int START_PAGE_POSITION = NDalicPINVOKE.ScrollView_Property_START_PAGE_POSITION_get();
-
+  
   }
 
   public ScrollView () : this (NDalicPINVOKE.ScrollView_New(), true) {
       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
 
   }
-  public ScrollView(ScrollView handle) : this(NDalicPINVOKE.new_ScrollView__SWIG_1(ScrollView.getCPtr(handle)), true) {
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public ScrollView Assign(ScrollView handle) {
-    ScrollView ret = new ScrollView(NDalicPINVOKE.ScrollView_Assign(swigCPtr, ScrollView.getCPtr(handle)), false);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
 
-  public new static ScrollView DownCast(BaseHandle handle) {
+  internal new static ScrollView DownCast(BaseHandle handle) {
     ScrollView ret = new ScrollView(NDalicPINVOKE.ScrollView_DownCast(BaseHandle.getCPtr(handle)), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
@@ -431,16 +330,6 @@ public class SnapStartedEventArgs : EventArgs
     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) {
     NDalicPINVOKE.ScrollView_SetScrollSensitive(swigCPtr, sensitive);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -638,16 +527,11 @@ public class SnapStartedEventArgs : EventArgs
     return ret;
   }
 
-  public void ApplyConstraintToChildren(SWIGTYPE_p_Dali__Constraint constraint) {
+  internal void ApplyConstraintToChildren(SWIGTYPE_p_Dali__Constraint constraint) {
     NDalicPINVOKE.ScrollView_ApplyConstraintToChildren(swigCPtr, SWIGTYPE_p_Dali__Constraint.getCPtr(constraint));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public void RemoveConstraintsFromChildren() {
-    NDalicPINVOKE.ScrollView_RemoveConstraintsFromChildren(swigCPtr);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
   public void ApplyEffect(ScrollViewEffect effect) {
     NDalicPINVOKE.ScrollView_ApplyEffect(swigCPtr, ScrollViewEffect.getCPtr(effect));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -688,25 +572,18 @@ public class SnapStartedEventArgs : EventArgs
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public ScrollViewSnapStartedSignal SnapStartedSignal() {
+  internal ScrollViewSnapStartedSignal SnapStartedSignal() {
     ScrollViewSnapStartedSignal ret = new ScrollViewSnapStartedSignal(NDalicPINVOKE.ScrollView_SnapStartedSignal(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 bool WrapEnabled
   {
     get
     {
       bool temp = false;
-      GetProperty( ScrollView.Property.WRAP_ENABLED).Get( ref temp );
+      GetProperty( ScrollView.Property.WRAP_ENABLED).Get( out temp );
       return temp;
     }
     set
@@ -719,7 +596,7 @@ public class SnapStartedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( ScrollView.Property.PANNING_ENABLED).Get( ref temp );
+      GetProperty( ScrollView.Property.PANNING_ENABLED).Get( out temp );
       return temp;
     }
     set
@@ -732,7 +609,7 @@ public class SnapStartedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( ScrollView.Property.AXIS_AUTO_LOCK_ENABLED).Get( ref temp );
+      GetProperty( ScrollView.Property.AXIS_AUTO_LOCK_ENABLED).Get( out temp );
       return temp;
     }
     set
@@ -797,7 +674,7 @@ public class SnapStartedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( ScrollView.Property.OVERSHOOT_X).Get( ref temp );
+      GetProperty( ScrollView.Property.OVERSHOOT_X).Get( out temp );
       return temp;
     }
     set
@@ -810,7 +687,7 @@ public class SnapStartedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( ScrollView.Property.OVERSHOOT_Y).Get( ref temp );
+      GetProperty( ScrollView.Property.OVERSHOOT_Y).Get( out temp );
       return temp;
     }
     set
@@ -836,7 +713,7 @@ public class SnapStartedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( ScrollView.Property.WRAP).Get( ref temp );
+      GetProperty( ScrollView.Property.WRAP).Get( out temp );
       return temp;
     }
     set
@@ -849,7 +726,7 @@ public class SnapStartedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( ScrollView.Property.PANNING).Get( ref temp );
+      GetProperty( ScrollView.Property.PANNING).Get( out temp );
       return temp;
     }
     set
@@ -862,7 +739,7 @@ public class SnapStartedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( ScrollView.Property.SCROLLING).Get( ref temp );
+      GetProperty( ScrollView.Property.SCROLLING).Get( out temp );
       return temp;
     }
     set