[NUI] Open Text InputFilter APIs
authorBowon Ryu <bowon.ryu@samsung.com>
Fri, 10 Sep 2021 05:52:57 +0000 (14:52 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 21 Dec 2021 09:32:16 +0000 (18:32 +0900)
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/TextConstants.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditorEvent.cs
src/Tizen.NUI/src/public/BaseComponents/TextEvent.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextFieldEvent.cs
src/Tizen.NUI/src/public/Common/NUIConstants.cs

index 47bad7a..755d7d6 100644 (file)
@@ -33,19 +33,17 @@ namespace Tizen.NUI.Text
     /// The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods. <br />
     /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetInputFilter"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetInputFilter"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetInputFilter"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.GetInputFilter"/>. <br />
     /// </remarks>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public struct InputFilter
     {
         /// <summary>
         /// A regular expression in the set of characters to be accepted by the inputFilter.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
         public string Accepted { get; set; }
 
         /// <summary>
         /// A regular expression in the set of characters to be rejected by the inputFilter.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
         public string Rejected { get; set; }
     }
 
index 7c8200c..a3fae2d 100755 (executable)
@@ -1670,7 +1670,7 @@ namespace Tizen.NUI.BaseComponents
         /// editor.SetInputFilter(inputFilter); // acceptable inputs are 4, 5, 6, 7, 8, 9
         /// </code>
         /// </example>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void SetInputFilter(InputFilter inputFilter)
         {
             SetProperty(TextEditor.Property.InputFilter, new PropertyValue(TextMapHelper.GetInputFilterMap(inputFilter)));
@@ -1683,7 +1683,7 @@ namespace Tizen.NUI.BaseComponents
         /// <remarks>
         /// <see cref="Tizen.NUI.Text.InputFilter"/>
         /// </remarks>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public InputFilter GetInputFilter()
         {
             var map = new PropertyMap();
index bff88a3..45f5cc4 100755 (executable)
@@ -275,7 +275,7 @@ namespace Tizen.NUI.BaseComponents
         /// };
         /// </code>
         /// </example>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public event EventHandler<InputFilteredEventArgs> InputFiltered
         {
             add
index 7aa5e99..f63d485 100644 (file)
@@ -36,7 +36,7 @@ namespace Tizen.NUI.BaseComponents
     /// <summary>
     /// InputFilteredEventArgs is a class to record input filter event arguments which will be sent to user.
     /// </summary>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public class InputFilteredEventArgs : EventArgs
     {
         /// <summary>
@@ -44,7 +44,7 @@ namespace Tizen.NUI.BaseComponents
         /// If the input is filtered by the Accepted Regex of the InputFilter, the Accept type is stored. <br />
         /// If the input is filtered by the Rejected Regex of the InputFilter, the Reject type is stored. <br />
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public InputFilterType Type { get; set; }
     }
 }
\ No newline at end of file
index 4d742a0..5a8acc0 100755 (executable)
@@ -1828,7 +1828,7 @@ namespace Tizen.NUI.BaseComponents
         /// field.SetInputFilter(inputFilter); // acceptable inputs are 4, 5, 6, 7, 8, 9
         /// </code>
         /// </example>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public void SetInputFilter(InputFilter inputFilter)
         {
             SetProperty(TextField.Property.InputFilter, new PropertyValue(TextMapHelper.GetInputFilterMap(inputFilter)));
@@ -1841,7 +1841,7 @@ namespace Tizen.NUI.BaseComponents
         /// <remarks>
         /// <see cref="Tizen.NUI.Text.InputFilter"/>
         /// </remarks>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public InputFilter GetInputFilter()
         {
             var map = new PropertyMap();
index 088d9cd..3471105 100755 (executable)
@@ -237,7 +237,7 @@ namespace Tizen.NUI.BaseComponents
         /// };
         /// </code>
         /// </example>
-        [EditorBrowsable(EditorBrowsableState.Never)]
+        /// <since_tizen> 9 </since_tizen>
         public event EventHandler<InputFilteredEventArgs> InputFiltered
         {
             add
index 5353b9b..c99806f 100755 (executable)
@@ -1988,19 +1988,17 @@ namespace Tizen.NUI
     /// <remarks>
     /// The type of InputFilter that is stored in the <see cref="Tizen.NUI.BaseComponents.InputFilteredEventArgs"/> when the input is filtered. <br />
     /// </remarks>
-    [EditorBrowsable(EditorBrowsableState.Never)]
+    /// <since_tizen> 9 </since_tizen>
     public enum InputFilterType
     {
         /// <summary>
         /// The type of InputFilter is Accept.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
         Accept,
 
         /// <summary>
         /// The type of InputFilter is Reject.
         /// </summary>
-        [EditorBrowsable(EditorBrowsableState.Never)]
         Reject
     }