DALi C# Tizen GBS build:
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / automatic / csharp / TextField.cs
1 /** Copyright (c) 2016 Samsung Electronics Co., Ltd.
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 *
15 */
16 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
17 //------------------------------------------------------------------------------
18 // <auto-generated />
19 //
20 // This file was automatically generated by SWIG (http://www.swig.org).
21 // Version 3.0.9
22 //
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
26
27 namespace Dali {
28
29 using System;
30 using System.Runtime.InteropServices;
31
32
33 public class TextField : View {
34   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
35
36   internal TextField(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextField_SWIGUpcast(cPtr), cMemoryOwn) {
37     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
38   }
39
40   internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextField obj) {
41     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
42   }
43
44   ~TextField() {
45     Dispose();
46   }
47
48   public override void Dispose() {
49     lock(this) {
50       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
51         if (swigCMemOwn) {
52           swigCMemOwn = false;
53           NDalicPINVOKE.delete_TextField(swigCPtr);
54         }
55         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
56       }
57       global::System.GC.SuppressFinalize(this);
58       base.Dispose();
59     }
60   }
61
62
63 public class TextChangedEventArgs : EventArgs
64 {
65    private TextField _textField;
66
67    public TextField TextField
68    {
69       get
70       {
71          return _textField;
72       }
73       set
74       {
75          _textField = value;
76       }
77    }
78 }
79
80 public class MaxLengthReachedEventArgs : EventArgs
81 {
82    private TextField _textField;
83
84    public TextField TextField
85    {
86       get
87       {
88          return _textField;
89       }
90       set
91       {
92          _textField = value;
93       }
94    }
95 }
96
97
98   [UnmanagedFunctionPointer(CallingConvention.StdCall)]
99   private delegate void TextChangedCallbackDelegate(IntPtr textField);
100   private DaliEventHandler<object,TextChangedEventArgs> _textFieldTextChangedEventHandler;
101   private TextChangedCallbackDelegate _textFieldTextChangedCallbackDelegate;
102   
103   [UnmanagedFunctionPointer(CallingConvention.StdCall)]
104   private delegate void MaxLengthReachedCallbackDelegate(IntPtr textField);
105   private DaliEventHandler<object,MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;
106   private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;
107
108   public event DaliEventHandler<object,TextChangedEventArgs> TextChanged
109   {
110      add
111      {
112         lock(this)
113         {
114            // Restricted to only one listener
115            if (_textFieldTextChangedEventHandler == null)
116            {
117               _textFieldTextChangedEventHandler += value;
118
119               _textFieldTextChangedCallbackDelegate = new TextChangedCallbackDelegate(OnTextChanged);
120               this.TextChangedSignal().Connect(_textFieldTextChangedCallbackDelegate);
121            }
122         }
123      }
124
125      remove
126      {
127         lock(this)
128         {
129            if (_textFieldTextChangedEventHandler != null)
130            {
131               this.TextChangedSignal().Disconnect(_textFieldTextChangedCallbackDelegate);
132            }
133
134            _textFieldTextChangedEventHandler -= value;
135         }
136      }
137   }
138
139  private void OnTextChanged(IntPtr textField)
140   {
141    TextChangedEventArgs e = new TextChangedEventArgs();
142
143    // Populate all members of "e" (TextChangedEventArgs) with real data
144    e.TextField = Dali.TextField.GetTextFieldFromPtr(textField);
145
146    if (_textFieldTextChangedEventHandler != null)
147    {
148       //here we send all data to user event handlers
149       _textFieldTextChangedEventHandler(this, e);
150    }
151
152   }
153
154   public event DaliEventHandler<object,MaxLengthReachedEventArgs> MaxLengthReached
155   {
156      add
157      {
158         lock(this)
159         {
160            // Restricted to only one listener
161            if (_textFieldMaxLengthReachedEventHandler == null)
162            {
163               _textFieldMaxLengthReachedEventHandler += value;
164
165               _textFieldMaxLengthReachedCallbackDelegate = new MaxLengthReachedCallbackDelegate(OnMaxLengthReached);
166               this.MaxLengthReachedSignal().Connect(_textFieldMaxLengthReachedCallbackDelegate);
167            }
168         }
169      }
170
171      remove
172      {
173         lock(this)
174         {
175            if (_textFieldMaxLengthReachedEventHandler != null)
176            {
177               this.MaxLengthReachedSignal().Disconnect(_textFieldMaxLengthReachedCallbackDelegate);
178            }
179
180            _textFieldMaxLengthReachedEventHandler -= value;
181         }
182      }
183   }
184
185  private void OnMaxLengthReached(IntPtr textField)
186   {
187    MaxLengthReachedEventArgs e = new MaxLengthReachedEventArgs();
188
189    // Populate all members of "e" (MaxLengthReachedEventArgs) with real data
190    e.TextField = Dali.TextField.GetTextFieldFromPtr(textField);
191
192    if (_textFieldMaxLengthReachedEventHandler != null)
193    {
194       //here we send all data to user event handlers
195       _textFieldMaxLengthReachedEventHandler(this, e);
196    }
197
198   }
199
200  public static TextField GetTextFieldFromPtr(global::System.IntPtr cPtr) {
201    TextField ret = new TextField(cPtr, false);
202    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
203     return ret;
204   }
205
206
207   public class Property : global::System.IDisposable {
208     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
209     protected bool swigCMemOwn;
210   
211     internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
212       swigCMemOwn = cMemoryOwn;
213       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
214     }
215   
216     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
217       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
218     }
219   
220     ~Property() {
221       Dispose();
222     }
223   
224     public virtual void Dispose() {
225       lock(this) {
226         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
227           if (swigCMemOwn) {
228             swigCMemOwn = false;
229             NDalicPINVOKE.delete_TextField_Property(swigCPtr);
230           }
231           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
232         }
233         global::System.GC.SuppressFinalize(this);
234       }
235     }
236   
237     public Property() : this(NDalicPINVOKE.new_TextField_Property(), true) {
238       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
239     }
240   
241     public static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
242     public static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
243     public static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();
244     public static readonly int PLACEHOLDER_TEXT_FOCUSED = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_FOCUSED_get();
245     public static readonly int FONT_FAMILY = NDalicPINVOKE.TextField_Property_FONT_FAMILY_get();
246     public static readonly int FONT_STYLE = NDalicPINVOKE.TextField_Property_FONT_STYLE_get();
247     public static readonly int POINT_SIZE = NDalicPINVOKE.TextField_Property_POINT_SIZE_get();
248     public static readonly int MAX_LENGTH = NDalicPINVOKE.TextField_Property_MAX_LENGTH_get();
249     public static readonly int EXCEED_POLICY = NDalicPINVOKE.TextField_Property_EXCEED_POLICY_get();
250     public static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_HORIZONTAL_ALIGNMENT_get();
251     public static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_VERTICAL_ALIGNMENT_get();
252     public static readonly int TEXT_COLOR = NDalicPINVOKE.TextField_Property_TEXT_COLOR_get();
253     public static readonly int PLACEHOLDER_TEXT_COLOR = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_COLOR_get();
254     public static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextField_Property_SHADOW_OFFSET_get();
255     public static readonly int SHADOW_COLOR = NDalicPINVOKE.TextField_Property_SHADOW_COLOR_get();
256     public static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_PRIMARY_CURSOR_COLOR_get();
257     public static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_SECONDARY_CURSOR_COLOR_get();
258     public static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextField_Property_ENABLE_CURSOR_BLINK_get();
259     public static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_INTERVAL_get();
260     public static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_DURATION_get();
261     public static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextField_Property_CURSOR_WIDTH_get();
262     public static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_IMAGE_get();
263     public static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
264     public static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextField_Property_SCROLL_THRESHOLD_get();
265     public static readonly int SCROLL_SPEED = NDalicPINVOKE.TextField_Property_SCROLL_SPEED_get();
266     public static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
267     public static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
268     public static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
269     public static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
270     public static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
271     public static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
272     public static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextField_Property_SELECTION_HIGHLIGHT_COLOR_get();
273     public static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextField_Property_DECORATION_BOUNDING_BOX_get();
274     public static readonly int INPUT_METHOD_SETTINGS = NDalicPINVOKE.TextField_Property_INPUT_METHOD_SETTINGS_get();
275     public static readonly int INPUT_COLOR = NDalicPINVOKE.TextField_Property_INPUT_COLOR_get();
276     public static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextField_Property_ENABLE_MARKUP_get();
277     public static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextField_Property_INPUT_FONT_FAMILY_get();
278     public static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextField_Property_INPUT_FONT_STYLE_get();
279     public static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextField_Property_INPUT_POINT_SIZE_get();
280     public static readonly int UNDERLINE = NDalicPINVOKE.TextField_Property_UNDERLINE_get();
281     public static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextField_Property_INPUT_UNDERLINE_get();
282     public static readonly int SHADOW = NDalicPINVOKE.TextField_Property_SHADOW_get();
283     public static readonly int INPUT_SHADOW = NDalicPINVOKE.TextField_Property_INPUT_SHADOW_get();
284     public static readonly int EMBOSS = NDalicPINVOKE.TextField_Property_EMBOSS_get();
285     public static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();
286     public static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();
287     public static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();
288   
289   }
290
291   public class InputStyle : global::System.IDisposable {
292     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
293     protected bool swigCMemOwn;
294   
295     internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn) {
296       swigCMemOwn = cMemoryOwn;
297       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
298     }
299   
300     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj) {
301       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
302     }
303   
304     ~InputStyle() {
305       Dispose();
306     }
307   
308     public virtual void Dispose() {
309       lock(this) {
310         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
311           if (swigCMemOwn) {
312             swigCMemOwn = false;
313             NDalicPINVOKE.delete_TextField_InputStyle(swigCPtr);
314           }
315           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
316         }
317         global::System.GC.SuppressFinalize(this);
318       }
319     }
320   
321     public InputStyle() : this(NDalicPINVOKE.new_TextField_InputStyle(), true) {
322       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
323     }
324   
325     public enum Mask {
326       NONE = 0x0000,
327       COLOR = 0x0001,
328       FONT_FAMILY = 0x0002,
329       POINT_SIZE = 0x0004,
330       FONT_STYLE = 0x0008,
331       UNDERLINE = 0x0010,
332       SHADOW = 0x0020,
333       EMBOSS = 0x0040,
334       OUTLINE = 0x0080
335     }
336   
337   }
338
339   public TextField () : this (NDalicPINVOKE.TextField_New(), true) {
340       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
341
342   }
343   public TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true) {
344     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
345   }
346
347   public TextField Assign(TextField handle) {
348     TextField ret = new TextField(NDalicPINVOKE.TextField_Assign(swigCPtr, TextField.getCPtr(handle)), false);
349     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
350     return ret;
351   }
352
353   public new static TextField DownCast(BaseHandle handle) {
354     TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
355     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
356     return ret;
357   }
358
359   public TextFieldSignal TextChangedSignal() {
360     TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
361     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
362     return ret;
363   }
364
365   public TextFieldSignal MaxLengthReachedSignal() {
366     TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
367     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
368     return ret;
369   }
370
371   public SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal() {
372     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);
373     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
374     return ret;
375   }
376
377   public enum PropertyRange {
378     PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
379     PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000
380   }
381
382   public enum ExceedPolicyType {
383     EXCEED_POLICY_ORIGINAL,
384     EXCEED_POLICY_CLIP
385   }
386
387   public int RenderingBackend 
388   { 
389     get 
390     {
391       int temp = 0;
392       GetProperty( TextField.Property.RENDERING_BACKEND).Get( ref temp );
393       return temp;
394     }
395     set 
396     { 
397       SetProperty( TextField.Property.RENDERING_BACKEND, new Dali.Property.Value( value ) );
398     }
399   }
400   public string Text 
401   { 
402     get 
403     {
404       string temp;
405       GetProperty( TextField.Property.TEXT).Get( out temp );
406       return temp;
407     }
408     set 
409     { 
410       SetProperty( TextField.Property.TEXT, new Dali.Property.Value( value ) );
411     }
412   }
413   public string PlaceholderText 
414   { 
415     get 
416     {
417       string temp;
418       GetProperty( TextField.Property.PLACEHOLDER_TEXT).Get( out temp );
419       return temp;
420     }
421     set 
422     { 
423       SetProperty( TextField.Property.PLACEHOLDER_TEXT, new Dali.Property.Value( value ) );
424     }
425   }
426   public string PlaceholderTextFocused 
427   { 
428     get 
429     {
430       string temp;
431       GetProperty( TextField.Property.PLACEHOLDER_TEXT_FOCUSED).Get( out temp );
432       return temp;
433     }
434     set 
435     { 
436       SetProperty( TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Dali.Property.Value( value ) );
437     }
438   }
439   public string FontFamily 
440   { 
441     get 
442     {
443       string temp;
444       GetProperty( TextField.Property.FONT_FAMILY).Get( out temp );
445       return temp;
446     }
447     set 
448     { 
449       SetProperty( TextField.Property.FONT_FAMILY, new Dali.Property.Value( value ) );
450     }
451   }
452   public string FontStyle 
453   { 
454     get 
455     {
456       string temp;
457       GetProperty( TextField.Property.FONT_STYLE).Get( out temp );
458       return temp;
459     }
460     set 
461     { 
462       SetProperty( TextField.Property.FONT_STYLE, new Dali.Property.Value( value ) );
463     }
464   }
465   public float PointSize 
466   { 
467     get 
468     {
469       float temp = 0.0f;
470       GetProperty( TextField.Property.POINT_SIZE).Get( ref temp );
471       return temp;
472     }
473     set 
474     { 
475       SetProperty( TextField.Property.POINT_SIZE, new Dali.Property.Value( value ) );
476     }
477   }
478   public int MaxLength 
479   { 
480     get 
481     {
482       int temp = 0;
483       GetProperty( TextField.Property.MAX_LENGTH).Get( ref temp );
484       return temp;
485     }
486     set 
487     { 
488       SetProperty( TextField.Property.MAX_LENGTH, new Dali.Property.Value( value ) );
489     }
490   }
491   public int ExceedPolicy 
492   { 
493     get 
494     {
495       int temp = 0;
496       GetProperty( TextField.Property.EXCEED_POLICY).Get( ref temp );
497       return temp;
498     }
499     set 
500     { 
501       SetProperty( TextField.Property.EXCEED_POLICY, new Dali.Property.Value( value ) );
502     }
503   }
504   public string HorizontalAlignment 
505   { 
506     get 
507     {
508       string temp;
509       GetProperty( TextField.Property.HORIZONTAL_ALIGNMENT).Get( out temp );
510       return temp;
511     }
512     set 
513     { 
514       SetProperty( TextField.Property.HORIZONTAL_ALIGNMENT, new Dali.Property.Value( value ) );
515     }
516   }
517   public string VerticalAlignment 
518   { 
519     get 
520     {
521       string temp;
522       GetProperty( TextField.Property.VERTICAL_ALIGNMENT).Get( out temp );
523       return temp;
524     }
525     set 
526     { 
527       SetProperty( TextField.Property.VERTICAL_ALIGNMENT, new Dali.Property.Value( value ) );
528     }
529   }
530   public Vector4 TextColor 
531   { 
532     get 
533     {
534       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
535       GetProperty( TextField.Property.TEXT_COLOR).Get(  temp );
536       return temp;
537     }
538     set 
539     { 
540       SetProperty( TextField.Property.TEXT_COLOR, new Dali.Property.Value( value ) );
541     }
542   }
543   public Vector4 PlaceholderTextColor 
544   { 
545     get 
546     {
547       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
548       GetProperty( TextField.Property.PLACEHOLDER_TEXT_COLOR).Get(  temp );
549       return temp;
550     }
551     set 
552     { 
553       SetProperty( TextField.Property.PLACEHOLDER_TEXT_COLOR, new Dali.Property.Value( value ) );
554     }
555   }
556   public Vector2 ShadowOffset 
557   { 
558     get 
559     {
560       Vector2 temp = new Vector2(0.0f,0.0f);
561       GetProperty( TextField.Property.SHADOW_OFFSET).Get(  temp );
562       return temp;
563     }
564     set 
565     { 
566       SetProperty( TextField.Property.SHADOW_OFFSET, new Dali.Property.Value( value ) );
567     }
568   }
569   public Vector4 ShadowColor 
570   { 
571     get 
572     {
573       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
574       GetProperty( TextField.Property.SHADOW_COLOR).Get(  temp );
575       return temp;
576     }
577     set 
578     { 
579       SetProperty( TextField.Property.SHADOW_COLOR, new Dali.Property.Value( value ) );
580     }
581   }
582   public Vector4 PrimaryCursorColor 
583   { 
584     get 
585     {
586       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
587       GetProperty( TextField.Property.PRIMARY_CURSOR_COLOR).Get(  temp );
588       return temp;
589     }
590     set 
591     { 
592       SetProperty( TextField.Property.PRIMARY_CURSOR_COLOR, new Dali.Property.Value( value ) );
593     }
594   }
595   public Vector4 SecondaryCursorColor 
596   { 
597     get 
598     {
599       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
600       GetProperty( TextField.Property.SECONDARY_CURSOR_COLOR).Get(  temp );
601       return temp;
602     }
603     set 
604     { 
605       SetProperty( TextField.Property.SECONDARY_CURSOR_COLOR, new Dali.Property.Value( value ) );
606     }
607   }
608   public bool EnableCursorBlink 
609   { 
610     get 
611     {
612       bool temp = false;
613       GetProperty( TextField.Property.ENABLE_CURSOR_BLINK).Get( ref temp );
614       return temp;
615     }
616     set 
617     { 
618       SetProperty( TextField.Property.ENABLE_CURSOR_BLINK, new Dali.Property.Value( value ) );
619     }
620   }
621   public float CursorBlinkInterval 
622   { 
623     get 
624     {
625       float temp = 0.0f;
626       GetProperty( TextField.Property.CURSOR_BLINK_INTERVAL).Get( ref temp );
627       return temp;
628     }
629     set 
630     { 
631       SetProperty( TextField.Property.CURSOR_BLINK_INTERVAL, new Dali.Property.Value( value ) );
632     }
633   }
634   public float CursorBlinkDuration 
635   { 
636     get 
637     {
638       float temp = 0.0f;
639       GetProperty( TextField.Property.CURSOR_BLINK_DURATION).Get( ref temp );
640       return temp;
641     }
642     set 
643     { 
644       SetProperty( TextField.Property.CURSOR_BLINK_DURATION, new Dali.Property.Value( value ) );
645     }
646   }
647   public int CursorWidth 
648   { 
649     get 
650     {
651       int temp = 0;
652       GetProperty( TextField.Property.CURSOR_WIDTH).Get( ref temp );
653       return temp;
654     }
655     set 
656     { 
657       SetProperty( TextField.Property.CURSOR_WIDTH, new Dali.Property.Value( value ) );
658     }
659   }
660   public string GrabHandleImage 
661   { 
662     get 
663     {
664       string temp;
665       GetProperty( TextField.Property.GRAB_HANDLE_IMAGE).Get( out temp );
666       return temp;
667     }
668     set 
669     { 
670       SetProperty( TextField.Property.GRAB_HANDLE_IMAGE, new Dali.Property.Value( value ) );
671     }
672   }
673   public string GrabHandlePressedImage 
674   { 
675     get 
676     {
677       string temp;
678       GetProperty( TextField.Property.GRAB_HANDLE_PRESSED_IMAGE).Get( out temp );
679       return temp;
680     }
681     set 
682     { 
683       SetProperty( TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Dali.Property.Value( value ) );
684     }
685   }
686   public float ScrollThreshold 
687   { 
688     get 
689     {
690       float temp = 0.0f;
691       GetProperty( TextField.Property.SCROLL_THRESHOLD).Get( ref temp );
692       return temp;
693     }
694     set 
695     { 
696       SetProperty( TextField.Property.SCROLL_THRESHOLD, new Dali.Property.Value( value ) );
697     }
698   }
699   public float ScrollSpeed 
700   { 
701     get 
702     {
703       float temp = 0.0f;
704       GetProperty( TextField.Property.SCROLL_SPEED).Get( ref temp );
705       return temp;
706     }
707     set 
708     { 
709       SetProperty( TextField.Property.SCROLL_SPEED, new Dali.Property.Value( value ) );
710     }
711   }
712   public Dali.Property.Map SelectionHandleImageLeft 
713   { 
714     get 
715     {
716       Dali.Property.Map temp = new Dali.Property.Map();
717       GetProperty( TextField.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(  temp );
718       return temp;
719     }
720     set 
721     { 
722       SetProperty( TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Dali.Property.Value( value ) );
723     }
724   }
725   public Dali.Property.Map SelectionHandleImageRight 
726   { 
727     get 
728     {
729       Dali.Property.Map temp = new Dali.Property.Map();
730       GetProperty( TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(  temp );
731       return temp;
732     }
733     set 
734     { 
735       SetProperty( TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Dali.Property.Value( value ) );
736     }
737   }
738   public Dali.Property.Map SelectionHandlePressedImageLeft 
739   { 
740     get 
741     {
742       Dali.Property.Map temp = new Dali.Property.Map();
743       GetProperty( TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(  temp );
744       return temp;
745     }
746     set 
747     { 
748       SetProperty( TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Dali.Property.Value( value ) );
749     }
750   }
751   public Dali.Property.Map SelectionHandlePressedImageRight 
752   { 
753     get 
754     {
755       Dali.Property.Map temp = new Dali.Property.Map();
756       GetProperty( TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(  temp );
757       return temp;
758     }
759     set 
760     { 
761       SetProperty( TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Dali.Property.Value( value ) );
762     }
763   }
764   public Dali.Property.Map SelectionHandleMarkerImageLeft 
765   { 
766     get 
767     {
768       Dali.Property.Map temp = new Dali.Property.Map();
769       GetProperty( TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(  temp );
770       return temp;
771     }
772     set 
773     { 
774       SetProperty( TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Dali.Property.Value( value ) );
775     }
776   }
777   public Dali.Property.Map SelectionHandleMarkerImageRight 
778   { 
779     get 
780     {
781       Dali.Property.Map temp = new Dali.Property.Map();
782       GetProperty( TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(  temp );
783       return temp;
784     }
785     set 
786     { 
787       SetProperty( TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Dali.Property.Value( value ) );
788     }
789   }
790   public Vector4 SelectionHighlightColor 
791   { 
792     get 
793     {
794       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
795       GetProperty( TextField.Property.SELECTION_HIGHLIGHT_COLOR).Get(  temp );
796       return temp;
797     }
798     set 
799     { 
800       SetProperty( TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Dali.Property.Value( value ) );
801     }
802   }
803   public RectInteger DecorationBoundingBox 
804   { 
805     get 
806     {
807       RectInteger temp = new RectInteger(0,0,0,0);
808       GetProperty( TextField.Property.DECORATION_BOUNDING_BOX).Get(  temp );
809       return temp;
810     }
811     set 
812     { 
813       SetProperty( TextField.Property.DECORATION_BOUNDING_BOX, new Dali.Property.Value( value ) );
814     }
815   }
816   public Dali.Property.Map InputMethodSettings 
817   { 
818     get 
819     {
820       Dali.Property.Map temp = new Dali.Property.Map();
821       GetProperty( TextField.Property.INPUT_METHOD_SETTINGS).Get(  temp );
822       return temp;
823     }
824     set 
825     { 
826       SetProperty( TextField.Property.INPUT_METHOD_SETTINGS, new Dali.Property.Value( value ) );
827     }
828   }
829   public Vector4 InputColor 
830   { 
831     get 
832     {
833       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
834       GetProperty( TextField.Property.INPUT_COLOR).Get(  temp );
835       return temp;
836     }
837     set 
838     { 
839       SetProperty( TextField.Property.INPUT_COLOR, new Dali.Property.Value( value ) );
840     }
841   }
842   public bool EnableMarkup 
843   { 
844     get 
845     {
846       bool temp = false;
847       GetProperty( TextField.Property.ENABLE_MARKUP).Get( ref temp );
848       return temp;
849     }
850     set 
851     { 
852       SetProperty( TextField.Property.ENABLE_MARKUP, new Dali.Property.Value( value ) );
853     }
854   }
855   public string InputFontFamily 
856   { 
857     get 
858     {
859       string temp;
860       GetProperty( TextField.Property.INPUT_FONT_FAMILY).Get( out temp );
861       return temp;
862     }
863     set 
864     { 
865       SetProperty( TextField.Property.INPUT_FONT_FAMILY, new Dali.Property.Value( value ) );
866     }
867   }
868   public string InputFontStyle 
869   { 
870     get 
871     {
872       string temp;
873       GetProperty( TextField.Property.INPUT_FONT_STYLE).Get( out temp );
874       return temp;
875     }
876     set 
877     { 
878       SetProperty( TextField.Property.INPUT_FONT_STYLE, new Dali.Property.Value( value ) );
879     }
880   }
881   public float InputPointSize 
882   { 
883     get 
884     {
885       float temp = 0.0f;
886       GetProperty( TextField.Property.INPUT_POINT_SIZE).Get( ref temp );
887       return temp;
888     }
889     set 
890     { 
891       SetProperty( TextField.Property.INPUT_POINT_SIZE, new Dali.Property.Value( value ) );
892     }
893   }
894   public string Underline 
895   { 
896     get 
897     {
898       string temp;
899       GetProperty( TextField.Property.UNDERLINE).Get( out temp );
900       return temp;
901     }
902     set 
903     { 
904       SetProperty( TextField.Property.UNDERLINE, new Dali.Property.Value( value ) );
905     }
906   }
907   public string InputUnderline 
908   { 
909     get 
910     {
911       string temp;
912       GetProperty( TextField.Property.INPUT_UNDERLINE).Get( out temp );
913       return temp;
914     }
915     set 
916     { 
917       SetProperty( TextField.Property.INPUT_UNDERLINE, new Dali.Property.Value( value ) );
918     }
919   }
920   public string Shadow 
921   { 
922     get 
923     {
924       string temp;
925       GetProperty( TextField.Property.SHADOW).Get( out temp );
926       return temp;
927     }
928     set 
929     { 
930       SetProperty( TextField.Property.SHADOW, new Dali.Property.Value( value ) );
931     }
932   }
933   public string InputShadow 
934   { 
935     get 
936     {
937       string temp;
938       GetProperty( TextField.Property.INPUT_SHADOW).Get( out temp );
939       return temp;
940     }
941     set 
942     { 
943       SetProperty( TextField.Property.INPUT_SHADOW, new Dali.Property.Value( value ) );
944     }
945   }
946   public string Emboss 
947   { 
948     get 
949     {
950       string temp;
951       GetProperty( TextField.Property.EMBOSS).Get( out temp );
952       return temp;
953     }
954     set 
955     { 
956       SetProperty( TextField.Property.EMBOSS, new Dali.Property.Value( value ) );
957     }
958   }
959   public string InputEmboss 
960   { 
961     get 
962     {
963       string temp;
964       GetProperty( TextField.Property.INPUT_EMBOSS).Get( out temp );
965       return temp;
966     }
967     set 
968     { 
969       SetProperty( TextField.Property.INPUT_EMBOSS, new Dali.Property.Value( value ) );
970     }
971   }
972   public string Outline 
973   { 
974     get 
975     {
976       string temp;
977       GetProperty( TextField.Property.OUTLINE).Get( out temp );
978       return temp;
979     }
980     set 
981     { 
982       SetProperty( TextField.Property.OUTLINE, new Dali.Property.Value( value ) );
983     }
984   }
985   public string InputOutline 
986   { 
987     get 
988     {
989       string temp;
990       GetProperty( TextField.Property.INPUT_OUTLINE).Get( out temp );
991       return temp;
992     }
993     set 
994     { 
995       SetProperty( TextField.Property.INPUT_OUTLINE, new Dali.Property.Value( value ) );
996     }
997   }
998
999 }
1000
1001 }