Added scrollMode property to ScrollView to simplify Rulers
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / public / 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 (!Window.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  internal 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
214   {
215     public static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextField_Property_RENDERING_BACKEND_get();
216     public static readonly int TEXT = NDalicPINVOKE.TextField_Property_TEXT_get();
217     public static readonly int PLACEHOLDER_TEXT = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_get();
218     public static readonly int PLACEHOLDER_TEXT_FOCUSED = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_FOCUSED_get();
219     public static readonly int FONT_FAMILY = NDalicPINVOKE.TextField_Property_FONT_FAMILY_get();
220     public static readonly int FONT_STYLE = NDalicPINVOKE.TextField_Property_FONT_STYLE_get();
221     public static readonly int POINT_SIZE = NDalicPINVOKE.TextField_Property_POINT_SIZE_get();
222     public static readonly int MAX_LENGTH = NDalicPINVOKE.TextField_Property_MAX_LENGTH_get();
223     public static readonly int EXCEED_POLICY = NDalicPINVOKE.TextField_Property_EXCEED_POLICY_get();
224     public static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_HORIZONTAL_ALIGNMENT_get();
225     public static readonly int VERTICAL_ALIGNMENT = NDalicPINVOKE.TextField_Property_VERTICAL_ALIGNMENT_get();
226     public static readonly int TEXT_COLOR = NDalicPINVOKE.TextField_Property_TEXT_COLOR_get();
227     public static readonly int PLACEHOLDER_TEXT_COLOR = NDalicPINVOKE.TextField_Property_PLACEHOLDER_TEXT_COLOR_get();
228     public static readonly int SHADOW_OFFSET = NDalicPINVOKE.TextField_Property_SHADOW_OFFSET_get();
229     public static readonly int SHADOW_COLOR = NDalicPINVOKE.TextField_Property_SHADOW_COLOR_get();
230     public static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_PRIMARY_CURSOR_COLOR_get();
231     public static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextField_Property_SECONDARY_CURSOR_COLOR_get();
232     public static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextField_Property_ENABLE_CURSOR_BLINK_get();
233     public static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_INTERVAL_get();
234     public static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextField_Property_CURSOR_BLINK_DURATION_get();
235     public static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextField_Property_CURSOR_WIDTH_get();
236     public static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_IMAGE_get();
237     public static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextField_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
238     public static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextField_Property_SCROLL_THRESHOLD_get();
239     public static readonly int SCROLL_SPEED = NDalicPINVOKE.TextField_Property_SCROLL_SPEED_get();
240     public static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
241     public static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
242     public static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
243     public static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
244     public static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
245     public static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextField_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
246     public static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextField_Property_SELECTION_HIGHLIGHT_COLOR_get();
247     public static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextField_Property_DECORATION_BOUNDING_BOX_get();
248     public static readonly int INPUT_METHOD_SETTINGS = NDalicPINVOKE.TextField_Property_INPUT_METHOD_SETTINGS_get();
249     public static readonly int INPUT_COLOR = NDalicPINVOKE.TextField_Property_INPUT_COLOR_get();
250     public static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextField_Property_ENABLE_MARKUP_get();
251     public static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextField_Property_INPUT_FONT_FAMILY_get();
252     public static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextField_Property_INPUT_FONT_STYLE_get();
253     public static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextField_Property_INPUT_POINT_SIZE_get();
254     public static readonly int UNDERLINE = NDalicPINVOKE.TextField_Property_UNDERLINE_get();
255     public static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextField_Property_INPUT_UNDERLINE_get();
256     public static readonly int SHADOW = NDalicPINVOKE.TextField_Property_SHADOW_get();
257     public static readonly int INPUT_SHADOW = NDalicPINVOKE.TextField_Property_INPUT_SHADOW_get();
258     public static readonly int EMBOSS = NDalicPINVOKE.TextField_Property_EMBOSS_get();
259     public static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextField_Property_INPUT_EMBOSS_get();
260     public static readonly int OUTLINE = NDalicPINVOKE.TextField_Property_OUTLINE_get();
261     public static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextField_Property_INPUT_OUTLINE_get();
262   
263   }
264
265   public class InputStyle
266   {
267     public enum Mask
268     {
269       NONE = 0x0000,
270       COLOR = 0x0001,
271       FONT_FAMILY = 0x0002,
272       POINT_SIZE = 0x0004,
273       FONT_STYLE = 0x0008,
274       UNDERLINE = 0x0010,
275       SHADOW = 0x0020,
276       EMBOSS = 0x0040,
277       OUTLINE = 0x0080
278     }
279   }
280
281   public TextField () : this (NDalicPINVOKE.TextField_New(), true) {
282       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
283
284   }
285   public TextField(TextField handle) : this(NDalicPINVOKE.new_TextField__SWIG_1(TextField.getCPtr(handle)), true) {
286     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
287   }
288
289   internal new static TextField DownCast(BaseHandle handle) {
290     TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
291     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
292     return ret;
293   }
294
295   internal TextFieldSignal TextChangedSignal() {
296     TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_TextChangedSignal(swigCPtr), false);
297     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
298     return ret;
299   }
300
301   internal TextFieldSignal MaxLengthReachedSignal() {
302     TextFieldSignal ret = new TextFieldSignal(NDalicPINVOKE.TextField_MaxLengthReachedSignal(swigCPtr), false);
303     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
304     return ret;
305   }
306
307   internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextField_Dali__Toolkit__TextField__InputStyle__MaskF_t InputStyleChangedSignal() {
308     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);
309     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
310     return ret;
311   }
312
313   public enum ExceedPolicyType {
314     EXCEED_POLICY_ORIGINAL,
315     EXCEED_POLICY_CLIP
316   }
317
318   public string Text
319   {
320     get
321     {
322       string temp;
323       GetProperty( TextField.Property.TEXT).Get( out temp );
324       return temp;
325     }
326     set
327     {
328       SetProperty( TextField.Property.TEXT, new Dali.Property.Value( value ) );
329     }
330   }
331   public string PlaceholderText
332   {
333     get
334     {
335       string temp;
336       GetProperty( TextField.Property.PLACEHOLDER_TEXT).Get( out temp );
337       return temp;
338     }
339     set
340     {
341       SetProperty( TextField.Property.PLACEHOLDER_TEXT, new Dali.Property.Value( value ) );
342     }
343   }
344   public string PlaceholderTextFocused
345   {
346     get
347     {
348       string temp;
349       GetProperty( TextField.Property.PLACEHOLDER_TEXT_FOCUSED).Get( out temp );
350       return temp;
351     }
352     set
353     {
354       SetProperty( TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Dali.Property.Value( value ) );
355     }
356   }
357   public string FontFamily
358   {
359     get
360     {
361       string temp;
362       GetProperty( TextField.Property.FONT_FAMILY).Get( out temp );
363       return temp;
364     }
365     set
366     {
367       SetProperty( TextField.Property.FONT_FAMILY, new Dali.Property.Value( value ) );
368     }
369   }
370   public Dali.Property.Map FontStyle
371   {
372     get
373     {
374       Dali.Property.Map temp = new Dali.Property.Map();
375       GetProperty( TextField.Property.FONT_STYLE).Get(  temp );
376       return temp;
377     }
378     set
379     {
380       SetProperty( TextField.Property.FONT_STYLE, new Dali.Property.Value( value ) );
381     }
382   }
383   public float PointSize
384   {
385     get
386     {
387       float temp = 0.0f;
388       GetProperty( TextField.Property.POINT_SIZE).Get( out temp );
389       return temp;
390     }
391     set
392     {
393       SetProperty( TextField.Property.POINT_SIZE, new Dali.Property.Value( value ) );
394     }
395   }
396   public int MaxLength
397   {
398     get
399     {
400       int temp = 0;
401       GetProperty( TextField.Property.MAX_LENGTH).Get( out temp );
402       return temp;
403     }
404     set
405     {
406       SetProperty( TextField.Property.MAX_LENGTH, new Dali.Property.Value( value ) );
407     }
408   }
409   public int ExceedPolicy
410   {
411     get
412     {
413       int temp = 0;
414       GetProperty( TextField.Property.EXCEED_POLICY).Get( out temp );
415       return temp;
416     }
417     set
418     {
419       SetProperty( TextField.Property.EXCEED_POLICY, new Dali.Property.Value( value ) );
420     }
421   }
422   public string HorizontalAlignment
423   {
424     get
425     {
426       string temp;
427       GetProperty( TextField.Property.HORIZONTAL_ALIGNMENT).Get( out temp );
428       return temp;
429     }
430     set
431     {
432       SetProperty( TextField.Property.HORIZONTAL_ALIGNMENT, new Dali.Property.Value( value ) );
433     }
434   }
435   public string VerticalAlignment
436   {
437     get
438     {
439       string temp;
440       GetProperty( TextField.Property.VERTICAL_ALIGNMENT).Get( out temp );
441       return temp;
442     }
443     set
444     {
445       SetProperty( TextField.Property.VERTICAL_ALIGNMENT, new Dali.Property.Value( value ) );
446     }
447   }
448   public Vector4 TextColor
449   {
450     get
451     {
452       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
453       GetProperty( TextField.Property.TEXT_COLOR).Get(  temp );
454       return temp;
455     }
456     set
457     {
458       SetProperty( TextField.Property.TEXT_COLOR, new Dali.Property.Value( value ) );
459     }
460   }
461   public Vector4 PlaceholderTextColor
462   {
463     get
464     {
465       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
466       GetProperty( TextField.Property.PLACEHOLDER_TEXT_COLOR).Get(  temp );
467       return temp;
468     }
469     set
470     {
471       SetProperty( TextField.Property.PLACEHOLDER_TEXT_COLOR, new Dali.Property.Value( value ) );
472     }
473   }
474   public Vector2 ShadowOffset
475   {
476     get
477     {
478       Vector2 temp = new Vector2(0.0f,0.0f);
479       GetProperty( TextField.Property.SHADOW_OFFSET).Get(  temp );
480       return temp;
481     }
482     set
483     {
484       SetProperty( TextField.Property.SHADOW_OFFSET, new Dali.Property.Value( value ) );
485     }
486   }
487   public Vector4 ShadowColor
488   {
489     get
490     {
491       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
492       GetProperty( TextField.Property.SHADOW_COLOR).Get(  temp );
493       return temp;
494     }
495     set
496     {
497       SetProperty( TextField.Property.SHADOW_COLOR, new Dali.Property.Value( value ) );
498     }
499   }
500   public Vector4 PrimaryCursorColor
501   {
502     get
503     {
504       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
505       GetProperty( TextField.Property.PRIMARY_CURSOR_COLOR).Get(  temp );
506       return temp;
507     }
508     set
509     {
510       SetProperty( TextField.Property.PRIMARY_CURSOR_COLOR, new Dali.Property.Value( value ) );
511     }
512   }
513   public Vector4 SecondaryCursorColor
514   {
515     get
516     {
517       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
518       GetProperty( TextField.Property.SECONDARY_CURSOR_COLOR).Get(  temp );
519       return temp;
520     }
521     set
522     {
523       SetProperty( TextField.Property.SECONDARY_CURSOR_COLOR, new Dali.Property.Value( value ) );
524     }
525   }
526   public bool EnableCursorBlink
527   {
528     get
529     {
530       bool temp = false;
531       GetProperty( TextField.Property.ENABLE_CURSOR_BLINK).Get( out temp );
532       return temp;
533     }
534     set
535     {
536       SetProperty( TextField.Property.ENABLE_CURSOR_BLINK, new Dali.Property.Value( value ) );
537     }
538   }
539   public float CursorBlinkInterval
540   {
541     get
542     {
543       float temp = 0.0f;
544       GetProperty( TextField.Property.CURSOR_BLINK_INTERVAL).Get( out temp );
545       return temp;
546     }
547     set
548     {
549       SetProperty( TextField.Property.CURSOR_BLINK_INTERVAL, new Dali.Property.Value( value ) );
550     }
551   }
552   public float CursorBlinkDuration
553   {
554     get
555     {
556       float temp = 0.0f;
557       GetProperty( TextField.Property.CURSOR_BLINK_DURATION).Get( out temp );
558       return temp;
559     }
560     set
561     {
562       SetProperty( TextField.Property.CURSOR_BLINK_DURATION, new Dali.Property.Value( value ) );
563     }
564   }
565   public int CursorWidth
566   {
567     get
568     {
569       int temp = 0;
570       GetProperty( TextField.Property.CURSOR_WIDTH).Get( out temp );
571       return temp;
572     }
573     set
574     {
575       SetProperty( TextField.Property.CURSOR_WIDTH, new Dali.Property.Value( value ) );
576     }
577   }
578   public string GrabHandleImage
579   {
580     get
581     {
582       string temp;
583       GetProperty( TextField.Property.GRAB_HANDLE_IMAGE).Get( out temp );
584       return temp;
585     }
586     set
587     {
588       SetProperty( TextField.Property.GRAB_HANDLE_IMAGE, new Dali.Property.Value( value ) );
589     }
590   }
591   public string GrabHandlePressedImage
592   {
593     get
594     {
595       string temp;
596       GetProperty( TextField.Property.GRAB_HANDLE_PRESSED_IMAGE).Get( out temp );
597       return temp;
598     }
599     set
600     {
601       SetProperty( TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Dali.Property.Value( value ) );
602     }
603   }
604   public float ScrollThreshold
605   {
606     get
607     {
608       float temp = 0.0f;
609       GetProperty( TextField.Property.SCROLL_THRESHOLD).Get( out temp );
610       return temp;
611     }
612     set
613     {
614       SetProperty( TextField.Property.SCROLL_THRESHOLD, new Dali.Property.Value( value ) );
615     }
616   }
617   public float ScrollSpeed
618   {
619     get
620     {
621       float temp = 0.0f;
622       GetProperty( TextField.Property.SCROLL_SPEED).Get( out temp );
623       return temp;
624     }
625     set
626     {
627       SetProperty( TextField.Property.SCROLL_SPEED, new Dali.Property.Value( value ) );
628     }
629   }
630   public Dali.Property.Map SelectionHandleImageLeft
631   {
632     get
633     {
634       Dali.Property.Map temp = new Dali.Property.Map();
635       GetProperty( TextField.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(  temp );
636       return temp;
637     }
638     set
639     {
640       SetProperty( TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Dali.Property.Value( value ) );
641     }
642   }
643   public Dali.Property.Map SelectionHandleImageRight
644   {
645     get
646     {
647       Dali.Property.Map temp = new Dali.Property.Map();
648       GetProperty( TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(  temp );
649       return temp;
650     }
651     set
652     {
653       SetProperty( TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Dali.Property.Value( value ) );
654     }
655   }
656   public Dali.Property.Map SelectionHandlePressedImageLeft
657   {
658     get
659     {
660       Dali.Property.Map temp = new Dali.Property.Map();
661       GetProperty( TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(  temp );
662       return temp;
663     }
664     set
665     {
666       SetProperty( TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Dali.Property.Value( value ) );
667     }
668   }
669   public Dali.Property.Map SelectionHandlePressedImageRight
670   {
671     get
672     {
673       Dali.Property.Map temp = new Dali.Property.Map();
674       GetProperty( TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(  temp );
675       return temp;
676     }
677     set
678     {
679       SetProperty( TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Dali.Property.Value( value ) );
680     }
681   }
682   public Dali.Property.Map SelectionHandleMarkerImageLeft
683   {
684     get
685     {
686       Dali.Property.Map temp = new Dali.Property.Map();
687       GetProperty( TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(  temp );
688       return temp;
689     }
690     set
691     {
692       SetProperty( TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Dali.Property.Value( value ) );
693     }
694   }
695   public Dali.Property.Map SelectionHandleMarkerImageRight
696   {
697     get
698     {
699       Dali.Property.Map temp = new Dali.Property.Map();
700       GetProperty( TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(  temp );
701       return temp;
702     }
703     set
704     {
705       SetProperty( TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Dali.Property.Value( value ) );
706     }
707   }
708   public Vector4 SelectionHighlightColor
709   {
710     get
711     {
712       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
713       GetProperty( TextField.Property.SELECTION_HIGHLIGHT_COLOR).Get(  temp );
714       return temp;
715     }
716     set
717     {
718       SetProperty( TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Dali.Property.Value( value ) );
719     }
720   }
721   public Rectangle DecorationBoundingBox
722   {
723     get
724     {
725       Rectangle temp = new Rectangle(0,0,0,0);
726       GetProperty( TextField.Property.DECORATION_BOUNDING_BOX).Get(  temp );
727       return temp;
728     }
729     set
730     {
731       SetProperty( TextField.Property.DECORATION_BOUNDING_BOX, new Dali.Property.Value( value ) );
732     }
733   }
734   public Dali.Property.Map InputMethodSettings
735   {
736     get
737     {
738       Dali.Property.Map temp = new Dali.Property.Map();
739       GetProperty( TextField.Property.INPUT_METHOD_SETTINGS).Get(  temp );
740       return temp;
741     }
742     set
743     {
744       SetProperty( TextField.Property.INPUT_METHOD_SETTINGS, new Dali.Property.Value( value ) );
745     }
746   }
747   public Vector4 InputColor
748   {
749     get
750     {
751       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
752       GetProperty( TextField.Property.INPUT_COLOR).Get(  temp );
753       return temp;
754     }
755     set
756     {
757       SetProperty( TextField.Property.INPUT_COLOR, new Dali.Property.Value( value ) );
758     }
759   }
760   public bool EnableMarkup
761   {
762     get
763     {
764       bool temp = false;
765       GetProperty( TextField.Property.ENABLE_MARKUP).Get( out temp );
766       return temp;
767     }
768     set
769     {
770       SetProperty( TextField.Property.ENABLE_MARKUP, new Dali.Property.Value( value ) );
771     }
772   }
773   public string InputFontFamily
774   {
775     get
776     {
777       string temp;
778       GetProperty( TextField.Property.INPUT_FONT_FAMILY).Get( out temp );
779       return temp;
780     }
781     set
782     {
783       SetProperty( TextField.Property.INPUT_FONT_FAMILY, new Dali.Property.Value( value ) );
784     }
785   }
786   public Dali.Property.Map InputFontStyle
787   {
788     get
789     {
790       Dali.Property.Map temp = new Dali.Property.Map();
791       GetProperty( TextField.Property.INPUT_FONT_STYLE).Get(  temp );
792       return temp;
793     }
794     set
795     {
796       SetProperty( TextField.Property.INPUT_FONT_STYLE, new Dali.Property.Value( value ) );
797     }
798   }
799   public float InputPointSize
800   {
801     get
802     {
803       float temp = 0.0f;
804       GetProperty( TextField.Property.INPUT_POINT_SIZE).Get( out temp );
805       return temp;
806     }
807     set
808     {
809       SetProperty( TextField.Property.INPUT_POINT_SIZE, new Dali.Property.Value( value ) );
810     }
811   }
812   public Dali.Property.Map Underline
813   {
814     get
815     {
816       Dali.Property.Map temp = new Dali.Property.Map();
817       GetProperty( TextField.Property.UNDERLINE).Get(  temp );
818       return temp;
819     }
820     set
821     {
822       SetProperty( TextField.Property.UNDERLINE, new Dali.Property.Value( value ) );
823     }
824   }
825   public Dali.Property.Map InputUnderline
826   {
827     get
828     {
829       Dali.Property.Map temp = new Dali.Property.Map();
830       GetProperty( TextField.Property.INPUT_UNDERLINE).Get(  temp );
831       return temp;
832     }
833     set
834     {
835       SetProperty( TextField.Property.INPUT_UNDERLINE, new Dali.Property.Value( value ) );
836     }
837   }
838   public Dali.Property.Map Shadow
839   {
840     get
841     {
842       Dali.Property.Map temp = new Dali.Property.Map();
843       GetProperty( TextField.Property.SHADOW).Get(  temp );
844       return temp;
845     }
846     set
847     {
848       SetProperty( TextField.Property.SHADOW, new Dali.Property.Value( value ) );
849     }
850   }
851   public Dali.Property.Map InputShadow
852   {
853     get
854     {
855       Dali.Property.Map temp = new Dali.Property.Map();
856       GetProperty( TextField.Property.INPUT_SHADOW).Get(  temp );
857       return temp;
858     }
859     set
860     {
861       SetProperty( TextField.Property.INPUT_SHADOW, new Dali.Property.Value( value ) );
862     }
863   }
864   public Dali.Property.Map Emboss
865   {
866     get
867     {
868       Dali.Property.Map temp = new Dali.Property.Map();
869       GetProperty( TextField.Property.EMBOSS).Get(  temp );
870       return temp;
871     }
872     set
873     {
874       SetProperty( TextField.Property.EMBOSS, new Dali.Property.Value( value ) );
875     }
876   }
877   public Dali.Property.Map InputEmboss
878   {
879     get
880     {
881       Dali.Property.Map temp = new Dali.Property.Map();
882       GetProperty( TextField.Property.INPUT_EMBOSS).Get(  temp );
883       return temp;
884     }
885     set
886     {
887       SetProperty( TextField.Property.INPUT_EMBOSS, new Dali.Property.Value( value ) );
888     }
889   }
890   public Dali.Property.Map Outline
891   {
892     get
893     {
894       Dali.Property.Map temp = new Dali.Property.Map();
895       GetProperty( TextField.Property.OUTLINE).Get(  temp );
896       return temp;
897     }
898     set
899     {
900       SetProperty( TextField.Property.OUTLINE, new Dali.Property.Value( value ) );
901     }
902   }
903   public Dali.Property.Map InputOutline
904   {
905     get
906     {
907       Dali.Property.Map temp = new Dali.Property.Map();
908       GetProperty( TextField.Property.INPUT_OUTLINE).Get(  temp );
909       return temp;
910     }
911     set
912     {
913       SetProperty( TextField.Property.INPUT_OUTLINE, new Dali.Property.Value( value ) );
914     }
915   }
916
917 }
918
919 }