Separate C# classes into Internal and Public
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / public / ScrollBar.cs
@@ -186,40 +186,8 @@ public class ScrollPositionIntervalReachedEventArgs : 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_ScrollBar_Property(swigCPtr);
-          }
-          swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-        }
-        global::System.GC.SuppressFinalize(this);
-      }
-    }
-  
-    public Property() : this(NDalicPINVOKE.new_ScrollBar_Property(), true) {
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-  
+  public class Property
+  {
     public static readonly int SCROLL_DIRECTION = NDalicPINVOKE.ScrollBar_Property_SCROLL_DIRECTION_get();
     public static readonly int INDICATOR_HEIGHT_POLICY = NDalicPINVOKE.ScrollBar_Property_INDICATOR_HEIGHT_POLICY_get();
     public static readonly int INDICATOR_FIXED_HEIGHT = NDalicPINVOKE.ScrollBar_Property_INDICATOR_FIXED_HEIGHT_get();
@@ -229,7 +197,6 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     public static readonly int INDICATOR_MINIMUM_HEIGHT = NDalicPINVOKE.ScrollBar_Property_INDICATOR_MINIMUM_HEIGHT_get();
     public static readonly int INDICATOR_START_PADDING = NDalicPINVOKE.ScrollBar_Property_INDICATOR_START_PADDING_get();
     public static readonly int INDICATOR_END_PADDING = NDalicPINVOKE.ScrollBar_Property_INDICATOR_END_PADDING_get();
-  
   }
 
   public ScrollBar (ScrollBar.Direction direction) : this (NDalicPINVOKE.ScrollBar_New__SWIG_0((int)direction), true) {
@@ -244,13 +211,7 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public ScrollBar Assign(ScrollBar scrollBar) {
-    ScrollBar ret = new ScrollBar(NDalicPINVOKE.ScrollBar_Assign(swigCPtr, ScrollBar.getCPtr(scrollBar)), false);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public new static ScrollBar DownCast(BaseHandle handle) {
+  internal new static ScrollBar DownCast(BaseHandle handle) {
     ScrollBar ret = new ScrollBar(NDalicPINVOKE.ScrollBar_DownCast(BaseHandle.getCPtr(handle)), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
@@ -272,17 +233,6 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     return ret;
   }
 
-  public void SetScrollPositionIntervals(VectorFloat positions) {
-    NDalicPINVOKE.ScrollBar_SetScrollPositionIntervals(swigCPtr, VectorFloat.getCPtr(positions));
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
-  public VectorFloat GetScrollPositionIntervals() {
-    VectorFloat ret = new VectorFloat(NDalicPINVOKE.ScrollBar_GetScrollPositionIntervals(swigCPtr), true);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
   public void SetScrollDirection(ScrollBar.Direction direction) {
     NDalicPINVOKE.ScrollBar_SetScrollDirection(swigCPtr, (int)direction);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
@@ -294,45 +244,45 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     return ret;
   }
 
-  public void SetIndicatorHeightPolicy(ScrollBar.IndicatorHeightPolicyType policy) {
+  private void SetIndicatorHeightPolicy(ScrollBar.IndicatorHeightPolicyType policy) {
     NDalicPINVOKE.ScrollBar_SetIndicatorHeightPolicy(swigCPtr, (int)policy);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public ScrollBar.IndicatorHeightPolicyType GetIndicatorHeightPolicy() {
+  private ScrollBar.IndicatorHeightPolicyType GetIndicatorHeightPolicy() {
     ScrollBar.IndicatorHeightPolicyType ret = (ScrollBar.IndicatorHeightPolicyType)NDalicPINVOKE.ScrollBar_GetIndicatorHeightPolicy(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public void SetIndicatorFixedHeight(float height) {
+  private void SetIndicatorFixedHeight(float height) {
     NDalicPINVOKE.ScrollBar_SetIndicatorFixedHeight(swigCPtr, height);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public float GetIndicatorFixedHeight() {
+  private float GetIndicatorFixedHeight() {
     float ret = NDalicPINVOKE.ScrollBar_GetIndicatorFixedHeight(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public void SetIndicatorShowDuration(float durationSeconds) {
+  private void SetIndicatorShowDuration(float durationSeconds) {
     NDalicPINVOKE.ScrollBar_SetIndicatorShowDuration(swigCPtr, durationSeconds);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public float GetIndicatorShowDuration() {
+  private float GetIndicatorShowDuration() {
     float ret = NDalicPINVOKE.ScrollBar_GetIndicatorShowDuration(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public void SetIndicatorHideDuration(float durationSeconds) {
+  private void SetIndicatorHideDuration(float durationSeconds) {
     NDalicPINVOKE.ScrollBar_SetIndicatorHideDuration(swigCPtr, durationSeconds);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public float GetIndicatorHideDuration() {
+  private float GetIndicatorHideDuration() {
     float ret = NDalicPINVOKE.ScrollBar_GetIndicatorHideDuration(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
@@ -348,23 +298,18 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public VoidSignal PanFinishedSignal() {
+  internal VoidSignal PanFinishedSignal() {
     VoidSignal ret = new VoidSignal(NDalicPINVOKE.ScrollBar_PanFinishedSignal(swigCPtr), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public FloatSignal ScrollPositionIntervalReachedSignal() {
+  internal FloatSignal ScrollPositionIntervalReachedSignal() {
     FloatSignal ret = new FloatSignal(NDalicPINVOKE.ScrollBar_ScrollPositionIntervalReachedSignal(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
-  }
-
   public enum Direction {
     Vertical = 0,
     Horizontal
@@ -406,7 +351,7 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( ScrollBar.Property.INDICATOR_FIXED_HEIGHT).Get( ref temp );
+      GetProperty( ScrollBar.Property.INDICATOR_FIXED_HEIGHT).Get( out temp );
       return temp;
     }
     set
@@ -419,7 +364,7 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( ScrollBar.Property.INDICATOR_SHOW_DURATION).Get( ref temp );
+      GetProperty( ScrollBar.Property.INDICATOR_SHOW_DURATION).Get( out temp );
       return temp;
     }
     set
@@ -432,7 +377,7 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( ScrollBar.Property.INDICATOR_HIDE_DURATION).Get( ref temp );
+      GetProperty( ScrollBar.Property.INDICATOR_HIDE_DURATION).Get( out temp );
       return temp;
     }
     set
@@ -458,7 +403,7 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( ScrollBar.Property.INDICATOR_MINIMUM_HEIGHT).Get( ref temp );
+      GetProperty( ScrollBar.Property.INDICATOR_MINIMUM_HEIGHT).Get( out temp );
       return temp;
     }
     set
@@ -471,7 +416,7 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( ScrollBar.Property.INDICATOR_START_PADDING).Get( ref temp );
+      GetProperty( ScrollBar.Property.INDICATOR_START_PADDING).Get( out temp );
       return temp;
     }
     set
@@ -484,7 +429,7 @@ public class ScrollPositionIntervalReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( ScrollBar.Property.INDICATOR_END_PADDING).Get( ref temp );
+      GetProperty( ScrollBar.Property.INDICATOR_END_PADDING).Get( out temp );
       return temp;
     }
     set