Text Control devel Properties manual binding
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 10 May 2017 08:00:13 +0000 (17:00 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 11 May 2017 13:26:51 +0000 (22:26 +0900)
- TextEditor / TextField / TextLabel

Change-Id: I67dac52150c46b1a74cfe6557abdd66c24381c44
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
src/Tizen.NUI/src/internal/ManualPINVOKE.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs

index 4509c49..f2fcee0 100644 (file)
@@ -548,6 +548,37 @@ namespace Tizen.NUI
         public static extern global::System.IntPtr ImfManager_SWIGUpcast(global::System.IntPtr jarg1);
 
         /////////////////////////////////////////////////////////////
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_SMOOTH_SCROLL_get")]
+        public static extern int TextEditor_Property_SMOOTH_SCROLL_get();
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_SMOOTH_SCROLL_DURATION_get")]
+        public static extern int TextEditor_Property_SMOOTH_SCROLL_DURATION_get();
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_ENABLE_SCROLL_BAR_get")]
+        public static extern int TextEditor_Property_ENABLE_SCROLL_BAR_get();
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get")]
+        public static extern int TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get();
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_SCROLL_BAR_FADE_DURATION_get")]
+        public static extern int TextEditor_Property_SCROLL_BAR_FADE_DURATION_get();
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextEditor_Property_PIXEL_SIZE_get")]
+        public static extern int TextEditor_Property_PIXEL_SIZE_get();
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextField_Property_HIDDEN_INPUT_SETTINGS_get")]
+        public static extern int TextField_Property_HIDDEN_INPUT_SETTINGS_get();
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextField_Property_PIXEL_SIZE_get")]
+        public static extern int TextField_Property_PIXEL_SIZE_get();
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextLabel_Property_PIXEL_SIZE_get")]
+        public static extern int TextLabel_Property_PIXEL_SIZE_get();
+
+        [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_TextLabel_Property_ELLIPSIS_get")]
+        public static extern int TextLabel_Property_ELLIPSIS_get();
+
+
 
     }
 }
index 8f2a7a5..fdc33dc 100644 (file)
@@ -240,6 +240,12 @@ namespace Tizen.NUI.BaseComponents
             internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
             internal static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
             internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
+            internal static readonly int SMOOTH_SCROLL = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_get();
+            internal static readonly int SMOOTH_SCROLL_DURATION = NDalicManualPINVOKE.TextEditor_Property_SMOOTH_SCROLL_DURATION_get();
+            internal static readonly int ENABLE_SCROLL_BAR = NDalicManualPINVOKE.TextEditor_Property_ENABLE_SCROLL_BAR_get();
+            internal static readonly int SCROLL_BAR_SHOW_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_SHOW_DURATION_get();
+            internal static readonly int SCROLL_BAR_FADE_DURATION = NDalicManualPINVOKE.TextEditor_Property_SCROLL_BAR_FADE_DURATION_get();
+            internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextEditor_Property_PIXEL_SIZE_get();
 
         }
 
@@ -1079,6 +1085,108 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
+        /// <summary>
+        /// SmoothScroll property.
+        /// </summary>
+        public bool SmoothScroll
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextEditor.Property.SMOOTH_SCROLL).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SMOOTH_SCROLL, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// SmoothScrollDuration property.
+        /// </summary>
+        public float SmoothScrollDuration
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.SMOOTH_SCROLL_DURATION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SMOOTH_SCROLL_DURATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// EnableScrollBar property.
+        /// </summary>
+        public bool EnableScrollBar
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextEditor.Property.ENABLE_SCROLL_BAR).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.ENABLE_SCROLL_BAR, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// ScrollBarShowDuration property.
+        /// </summary>
+        public float ScrollBarShowDuration
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.SCROLL_BAR_SHOW_DURATION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SCROLL_BAR_SHOW_DURATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// ScrollBarFadeDuration property.
+        /// </summary>
+        public float ScrollBarFadeDuration
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.SCROLL_BAR_FADE_DURATION).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.SCROLL_BAR_FADE_DURATION, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// PixelSize property.
+        /// </summary>
+        public float PixelSize
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextEditor.Property.PIXEL_SIZE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextEditor.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
     }
 
 }
index 3975a76..3044e8a 100644 (file)
@@ -312,6 +312,8 @@ namespace Tizen.NUI.BaseComponents
             internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();
             internal static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();
             internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();
+            internal static readonly int HIDDEN_INPUT_SETTINGS = NDalicManualPINVOKE.TextField_Property_HIDDEN_INPUT_SETTINGS_get();
+            internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextField_Property_PIXEL_SIZE_get();
 
         }
 
@@ -1322,6 +1324,40 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
+        /// <summary>
+        /// HiddenInputSettings property.
+        /// </summary>
+        public Tizen.NUI.PropertyMap HiddenInputSettings
+        {
+            get
+            {
+                Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
+                GetProperty(TextField.Property.HIDDEN_INPUT_SETTINGS).Get(temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.HIDDEN_INPUT_SETTINGS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// PixelSize property.
+        /// </summary>
+        public float PixelSize
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextField.Property.PIXEL_SIZE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextField.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
     }
 
 }
index 3794ec8..523731a 100644 (file)
@@ -145,6 +145,8 @@ namespace Tizen.NUI.BaseComponents
             internal static readonly int SHADOW = NDalicPINVOKE.TextLabel_Property_SHADOW_get();
             internal static readonly int EMBOSS = NDalicPINVOKE.TextLabel_Property_EMBOSS_get();
             internal static readonly int OUTLINE = NDalicPINVOKE.TextLabel_Property_OUTLINE_get();
+            internal static readonly int PIXEL_SIZE = NDalicManualPINVOKE.TextLabel_Property_PIXEL_SIZE_get();
+            internal static readonly int ELLIPSIS = NDalicManualPINVOKE.TextLabel_Property_ELLIPSIS_get();
 
         }
 
@@ -706,5 +708,41 @@ namespace Tizen.NUI.BaseComponents
             }
         }
 
+        /// <summary>
+        /// PixelSize property.<br>
+        /// The size of font in pixels.<br>
+        /// </summary>
+        public float PixelSize
+        {
+            get
+            {
+                float temp = 0.0f;
+                GetProperty(TextLabel.Property.PIXEL_SIZE).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.PIXEL_SIZE, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
+        /// <summary>
+        /// Ellipsis property.<br>
+        /// Enable or disable the ellipsis.<br>
+        /// </summary>
+        public bool Ellipsis
+        {
+            get
+            {
+                bool temp = false;
+                GetProperty(TextLabel.Property.ELLIPSIS).Get(ref temp);
+                return temp;
+            }
+            set
+            {
+                SetProperty(TextLabel.Property.ELLIPSIS, new Tizen.NUI.PropertyValue(value));
+            }
+        }
+
     }
 }