Separate C# classes into Internal and Public
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / public / TextField.cs
@@ -203,47 +203,15 @@ public class MaxLengthReachedEventArgs : EventArgs
 
   }
 
public static TextField GetTextFieldFromPtr(global::System.IntPtr cPtr) {
internal static TextField GetTextFieldFromPtr(global::System.IntPtr cPtr) {
    TextField ret = new TextField(cPtr, false);
    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
 
-  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_TextField_Property(swigCPtr);
-          }
-          swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-        }
-        global::System.GC.SuppressFinalize(this);
-      }
-    }
-  
-    public Property() : this(NDalicPINVOKE.new_TextField_Property(), true) {
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-  
+  public class Property
+  {
     public static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
     public static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
     public static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();
@@ -294,41 +262,10 @@ public class MaxLengthReachedEventArgs : EventArgs
   
   }
 
-  public class InputStyle : global::System.IDisposable {
-    private global::System.Runtime.InteropServices.HandleRef swigCPtr;
-    protected bool swigCMemOwn;
-  
-    internal InputStyle(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(InputStyle obj) {
-      return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
-    }
-  
-    ~InputStyle() {
-      Dispose();
-    }
-  
-    public virtual void Dispose() {
-      lock(this) {
-        if (swigCPtr.Handle != global::System.IntPtr.Zero) {
-          if (swigCMemOwn) {
-            swigCMemOwn = false;
-            NDalicPINVOKE.delete_TextField_InputStyle(swigCPtr);
-          }
-          swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
-        }
-        global::System.GC.SuppressFinalize(this);
-      }
-    }
-  
-    public InputStyle() : this(NDalicPINVOKE.new_TextField_InputStyle(), true) {
-      if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    }
-  
-    public enum Mask {
+  public class InputStyle
+  {
+    public enum Mask
+    {
       NONE = 0x0000,
       COLOR = 0x0001,
       FONT_FAMILY = 0x0002,
@@ -339,7 +276,6 @@ public class MaxLengthReachedEventArgs : EventArgs
       EMBOSS = 0x0040,
       OUTLINE = 0x0080
     }
-  
   }
 
   public TextField () : this (NDalicPINVOKE.TextField_New(), true) {
@@ -350,59 +286,35 @@ public class MaxLengthReachedEventArgs : EventArgs
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
   }
 
-  public TextField Assign(TextField handle) {
-    TextField ret = new TextField(NDalicPINVOKE.TextField_Assign(swigCPtr, TextField.getCPtr(handle)), false);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-    return ret;
-  }
-
-  public new static TextField DownCast(BaseHandle handle) {
+  internal new static TextField DownCast(BaseHandle handle) {
     TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public TextFieldSignal TextChangedSignal() {
+  internal TextFieldSignal TextChangedSignal() {
     TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public TextFieldSignal MaxLengthReachedSignal() {
+  internal TextFieldSignal MaxLengthReachedSignal() {
     TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 
-  public SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal() {
+  internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal() {
     SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t(NDalicPINVOKE.TextField_InputStyleChangedSignal(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 ExceedPolicyType {
     EXCEED_POLICY_ORIGINAL,
     EXCEED_POLICY_CLIP
   }
 
-  public int RenderingBackend
-  {
-    get
-    {
-      int temp = 0;
-      GetProperty( TextField.Property.RENDERING_BACKEND).Get( ref temp );
-      return temp;
-    }
-    set
-    {
-      SetProperty( TextField.Property.RENDERING_BACKEND, new Dali.Property.Value( value ) );
-    }
-  }
   public string Text
   {
     get
@@ -473,7 +385,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( TextField.Property.POINT_SIZE).Get( ref temp );
+      GetProperty( TextField.Property.POINT_SIZE).Get( out temp );
       return temp;
     }
     set
@@ -486,7 +398,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       int temp = 0;
-      GetProperty( TextField.Property.MAX_LENGTH).Get( ref temp );
+      GetProperty( TextField.Property.MAX_LENGTH).Get( out temp );
       return temp;
     }
     set
@@ -499,7 +411,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       int temp = 0;
-      GetProperty( TextField.Property.EXCEED_POLICY).Get( ref temp );
+      GetProperty( TextField.Property.EXCEED_POLICY).Get( out temp );
       return temp;
     }
     set
@@ -616,7 +528,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( TextField.Property.ENABLE_CURSOR_BLINK).Get( ref temp );
+      GetProperty( TextField.Property.ENABLE_CURSOR_BLINK).Get( out temp );
       return temp;
     }
     set
@@ -629,7 +541,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( TextField.Property.CURSOR_BLINK_INTERVAL).Get( ref temp );
+      GetProperty( TextField.Property.CURSOR_BLINK_INTERVAL).Get( out temp );
       return temp;
     }
     set
@@ -642,7 +554,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( TextField.Property.CURSOR_BLINK_DURATION).Get( ref temp );
+      GetProperty( TextField.Property.CURSOR_BLINK_DURATION).Get( out temp );
       return temp;
     }
     set
@@ -655,7 +567,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       int temp = 0;
-      GetProperty( TextField.Property.CURSOR_WIDTH).Get( ref temp );
+      GetProperty( TextField.Property.CURSOR_WIDTH).Get( out temp );
       return temp;
     }
     set
@@ -694,7 +606,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( TextField.Property.SCROLL_THRESHOLD).Get( ref temp );
+      GetProperty( TextField.Property.SCROLL_THRESHOLD).Get( out temp );
       return temp;
     }
     set
@@ -707,7 +619,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( TextField.Property.SCROLL_SPEED).Get( ref temp );
+      GetProperty( TextField.Property.SCROLL_SPEED).Get( out temp );
       return temp;
     }
     set
@@ -850,7 +762,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       bool temp = false;
-      GetProperty( TextField.Property.ENABLE_MARKUP).Get( ref temp );
+      GetProperty( TextField.Property.ENABLE_MARKUP).Get( out temp );
       return temp;
     }
     set
@@ -889,7 +801,7 @@ public class MaxLengthReachedEventArgs : EventArgs
     get
     {
       float temp = 0.0f;
-      GetProperty( TextField.Property.INPUT_POINT_SIZE).Get( ref temp );
+      GetProperty( TextField.Property.INPUT_POINT_SIZE).Get( out temp );
       return temp;
     }
     set