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