d3816fd5d7a004bd0bff84278f09fb1d78d77a7e
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_text_editable.eo.cs
1 #pragma warning disable CS1591
2 using System;
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
5 using System.Linq;
6 using System.ComponentModel;
7 namespace Efl { namespace Ui { 
8 /// <summary>Efl UI text editable class</summary>
9 [TextEditableNativeInherit]
10 public class TextEditable : Efl.Ui.Text, Efl.Eo.IWrapper
11 {
12     ///<summary>Pointer to the native class description.</summary>
13     public override System.IntPtr NativeClass {
14         get {
15             if (((object)this).GetType() == typeof (TextEditable))
16                 return Efl.Ui.TextEditableNativeInherit.GetEflClassStatic();
17             else
18                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
19         }
20     }
21     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
22         efl_ui_text_editable_class_get();
23     ///<summary>Creates a new instance.</summary>
24     ///<param name="parent">Parent instance.</param>
25     ///<param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
26     public TextEditable(Efl.Object parent
27             , System.String style = null) :
28         base(efl_ui_text_editable_class_get(), typeof(TextEditable), parent)
29     {
30         if (Efl.Eo.Globals.ParamHelperCheck(style))
31             SetStyle(Efl.Eo.Globals.GetParamHelper(style));
32         FinishInstantiation();
33     }
34     ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
35     protected TextEditable(System.IntPtr raw) : base(raw)
36     {
37                 RegisterEventProxies();
38     }
39     ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
40     protected TextEditable(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
41     ///<summary>Verifies if the given object is equal to this one.</summary>
42     public override bool Equals(object obj)
43     {
44         var other = obj as Efl.Object;
45         if (other == null)
46             return false;
47         return this.NativeHandle == other.NativeHandle;
48     }
49     ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
50     public override int GetHashCode()
51     {
52         return this.NativeHandle.ToInt32();
53     }
54     ///<summary>Turns the native pointer into a string representation.</summary>
55     public override String ToString()
56     {
57         return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
58     }
59     ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
60     protected override void RegisterEventProxies()
61     {
62         base.RegisterEventProxies();
63     }
64     private static IntPtr GetEflClassStatic()
65     {
66         return Efl.Ui.TextEditable.efl_ui_text_editable_class_get();
67     }
68 }
69 public class TextEditableNativeInherit : Efl.Ui.TextNativeInherit{
70     public new  static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
71     public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
72     {
73         var descs = new System.Collections.Generic.List<Efl_Op_Description>();
74         var methods = Efl.Eo.Globals.GetUserMethods(type);
75         descs.AddRange(base.GetEoOps(type));
76         return descs;
77     }
78     public override IntPtr GetEflClass()
79     {
80         return Efl.Ui.TextEditable.efl_ui_text_editable_class_get();
81     }
82     public static new  IntPtr GetEflClassStatic()
83     {
84         return Efl.Ui.TextEditable.efl_ui_text_editable_class_get();
85     }
86 }
87 } }