Note that some Text propeties in devel api can't be changed
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / public / TextEditor.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 TextEditor : View {
34   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
35
36   internal TextEditor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextEditor_SWIGUpcast(cPtr), cMemoryOwn) {
37     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
38   }
39
40   internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextEditor obj) {
41     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
42   }
43
44   ~TextEditor() {
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_TextEditor(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 /**
70   * @brief Event arguments that passed via TextChanged signal
71   *
72   */
73 public class TextChangedEventArgs : EventArgs
74 {
75    private TextEditor _textEditor;
76    /**
77      * @brief TextEditor - is the texteditor control which has the text contents changed.
78      *
79      */
80    public TextEditor TextEditor
81    {
82       get
83       {
84          return _textEditor;
85       }
86       set
87       {
88          _textEditor = value;
89       }
90    }
91 }
92
93   [UnmanagedFunctionPointer(CallingConvention.StdCall)]
94   private delegate void TextChangedCallbackDelegate(IntPtr textEditor);
95   private DaliEventHandler<object,TextChangedEventArgs> _textEditorTextChangedEventHandler;
96   private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;
97
98   /**
99     * @brief Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
100     * (in the type of TextChangedEventHandler-DaliEventHandler<object,TextChangedEventArgs>) 
101     * provided by the user. TextChanged signal is emitted when the text changes.
102     */
103   public event DaliEventHandler<object,TextChangedEventArgs> TextChanged
104   {
105      add
106      {
107         lock(this)
108         {
109            // Restricted to only one listener
110            if (_textEditorTextChangedEventHandler == null)
111            {
112               _textEditorTextChangedEventHandler += value;
113
114               _textEditorTextChangedCallbackDelegate = new TextChangedCallbackDelegate(OnTextChanged);
115               this.TextChangedSignal().Connect(_textEditorTextChangedCallbackDelegate);
116            }
117         }
118      }
119
120      remove
121      {
122         lock(this)
123         {
124            if (_textEditorTextChangedEventHandler != null)
125            {
126               this.TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);
127            }
128
129            _textEditorTextChangedEventHandler -= value;
130         }
131      }
132   }
133
134  private void OnTextChanged(IntPtr textEditor)
135   {
136    TextChangedEventArgs e = new TextChangedEventArgs();
137
138    // Populate all members of "e" (TextChangedEventArgs) with real data
139    e.TextEditor = Dali.TextEditor.GetTextEditorFromPtr(textEditor);
140
141    if (_textEditorTextChangedEventHandler != null)
142    {
143       //here we send all data to user event handlers
144       _textEditorTextChangedEventHandler(this, e);
145    }
146
147   }
148
149  internal static TextEditor GetTextEditorFromPtr(global::System.IntPtr cPtr) {
150     TextEditor ret = new TextEditor(cPtr, false);
151    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
152     return ret;
153   }
154
155
156   public class Property
157   {
158     public static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
159     public static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
160     public static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();
161     public static readonly int FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_FONT_FAMILY_get();
162     public static readonly int FONT_STYLE = NDalicPINVOKE.TextEditor_Property_FONT_STYLE_get();
163     public static readonly int POINT_SIZE = NDalicPINVOKE.TextEditor_Property_POINT_SIZE_get();
164     public static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextEditor_Property_HORIZONTAL_ALIGNMENT_get();
165     public static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextEditor_Property_SCROLL_THRESHOLD_get();
166     public static readonly int SCROLL_SPEED = NDalicPINVOKE.TextEditor_Property_SCROLL_SPEED_get();
167     public static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_PRIMARY_CURSOR_COLOR_get();
168     public static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_SECONDARY_CURSOR_COLOR_get();
169     public static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextEditor_Property_ENABLE_CURSOR_BLINK_get();
170     public static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_INTERVAL_get();
171     public static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_DURATION_get();
172     public static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextEditor_Property_CURSOR_WIDTH_get();
173     public static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_IMAGE_get();
174     public static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
175     public static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
176     public static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
177     public static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
178     public static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
179     public static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
180     public static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
181     public static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get();
182     public static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextEditor_Property_DECORATION_BOUNDING_BOX_get();
183     public static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextEditor_Property_ENABLE_MARKUP_get();
184     public static readonly int INPUT_COLOR = NDalicPINVOKE.TextEditor_Property_INPUT_COLOR_get();
185     public static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_FAMILY_get();
186     public static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_STYLE_get();
187     public static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextEditor_Property_INPUT_POINT_SIZE_get();
188     public static readonly int LINE_SPACING = NDalicPINVOKE.TextEditor_Property_LINE_SPACING_get();
189     public static readonly int INPUT_LINE_SPACING = NDalicPINVOKE.TextEditor_Property_INPUT_LINE_SPACING_get();
190     public static readonly int UNDERLINE = NDalicPINVOKE.TextEditor_Property_UNDERLINE_get();
191     public static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextEditor_Property_INPUT_UNDERLINE_get();
192     public static readonly int SHADOW = NDalicPINVOKE.TextEditor_Property_SHADOW_get();
193     public static readonly int INPUT_SHADOW = NDalicPINVOKE.TextEditor_Property_INPUT_SHADOW_get();
194     public static readonly int EMBOSS = NDalicPINVOKE.TextEditor_Property_EMBOSS_get();
195     public static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
196     public static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
197     public static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
198   }
199
200   public class InputStyle
201   {
202     public enum Mask 
203     {
204       NONE = 0x0000,
205       COLOR = 0x0001,
206       FONT_FAMILY = 0x0002,
207       POINT_SIZE = 0x0004,
208       FONT_STYLE = 0x0008,
209       LINE_SPACING = 0x0010,
210       UNDERLINE = 0x0020,
211       SHADOW = 0x0040,
212       EMBOSS = 0x0080,
213       OUTLINE = 0x0100
214     }
215   }
216
217   public TextEditor () : this (NDalicPINVOKE.TextEditor_New(), true) {
218       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
219
220   }
221   public TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true) {
222     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
223   }
224
225   internal new static TextEditor DownCast(BaseHandle handle) {
226     TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
227     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
228     return ret;
229   }
230
231   internal TextEditorSignal TextChangedSignal() {
232     TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
233     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
234     return ret;
235   }
236
237   internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal() {
238     SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t(NDalicPINVOKE.TextEditor_InputStyleChangedSignal(swigCPtr), false);
239     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
240     return ret;
241   }
242
243   public string Text
244   {
245     get
246     {
247       string temp;
248       GetProperty( TextEditor.Property.TEXT).Get( out temp );
249       return temp;
250     }
251     set
252     {
253       SetProperty( TextEditor.Property.TEXT, new Dali.Property.Value( value ) );
254     }
255   }
256   public Vector4 TextColor
257   {
258     get
259     {
260       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
261       GetProperty( TextEditor.Property.TEXT_COLOR).Get(  temp );
262       return temp;
263     }
264     set
265     {
266       SetProperty( TextEditor.Property.TEXT_COLOR, new Dali.Property.Value( value ) );
267     }
268   }
269   public string FontFamily
270   {
271     get
272     {
273       string temp;
274       GetProperty( TextEditor.Property.FONT_FAMILY).Get( out temp );
275       return temp;
276     }
277     set
278     {
279       SetProperty( TextEditor.Property.FONT_FAMILY, new Dali.Property.Value( value ) );
280     }
281   }
282   public Dali.Property.Map FontStyle
283   {
284     get
285     {
286       Dali.Property.Map temp = new Dali.Property.Map();
287       GetProperty( TextEditor.Property.FONT_STYLE).Get(  temp );
288       return temp;
289     }
290     set
291     {
292       SetProperty( TextEditor.Property.FONT_STYLE, new Dali.Property.Value( value ) );
293     }
294   }
295   public float PointSize
296   {
297     get
298     {
299       float temp = 0.0f;
300       GetProperty( TextEditor.Property.POINT_SIZE).Get( out temp );
301       return temp;
302     }
303     set
304     {
305       SetProperty( TextEditor.Property.POINT_SIZE, new Dali.Property.Value( value ) );
306     }
307   }
308   public string HorizontalAlignment
309   {
310     get
311     {
312       string temp;
313       GetProperty( TextEditor.Property.HORIZONTAL_ALIGNMENT).Get( out temp );
314       return temp;
315     }
316     set
317     {
318       SetProperty( TextEditor.Property.HORIZONTAL_ALIGNMENT, new Dali.Property.Value( value ) );
319     }
320   }
321   public float ScrollThreshold
322   {
323     get
324     {
325       float temp = 0.0f;
326       GetProperty( TextEditor.Property.SCROLL_THRESHOLD).Get( out temp );
327       return temp;
328     }
329     set
330     {
331       SetProperty( TextEditor.Property.SCROLL_THRESHOLD, new Dali.Property.Value( value ) );
332     }
333   }
334   public float ScrollSpeed
335   {
336     get
337     {
338       float temp = 0.0f;
339       GetProperty( TextEditor.Property.SCROLL_SPEED).Get( out temp );
340       return temp;
341     }
342     set
343     {
344       SetProperty( TextEditor.Property.SCROLL_SPEED, new Dali.Property.Value( value ) );
345     }
346   }
347   public Vector4 PrimaryCursorColor
348   {
349     get
350     {
351       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
352       GetProperty( TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(  temp );
353       return temp;
354     }
355     set
356     {
357       SetProperty( TextEditor.Property.PRIMARY_CURSOR_COLOR, new Dali.Property.Value( value ) );
358     }
359   }
360   public Vector4 SecondaryCursorColor
361   {
362     get
363     {
364       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
365       GetProperty( TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(  temp );
366       return temp;
367     }
368     set
369     {
370       SetProperty( TextEditor.Property.SECONDARY_CURSOR_COLOR, new Dali.Property.Value( value ) );
371     }
372   }
373   public bool EnableCursorBlink
374   {
375     get
376     {
377       bool temp = false;
378       GetProperty( TextEditor.Property.ENABLE_CURSOR_BLINK).Get( out temp );
379       return temp;
380     }
381     set
382     {
383       SetProperty( TextEditor.Property.ENABLE_CURSOR_BLINK, new Dali.Property.Value( value ) );
384     }
385   }
386   public float CursorBlinkInterval
387   {
388     get
389     {
390       float temp = 0.0f;
391       GetProperty( TextEditor.Property.CURSOR_BLINK_INTERVAL).Get( out temp );
392       return temp;
393     }
394     set
395     {
396       SetProperty( TextEditor.Property.CURSOR_BLINK_INTERVAL, new Dali.Property.Value( value ) );
397     }
398   }
399   public float CursorBlinkDuration
400   {
401     get
402     {
403       float temp = 0.0f;
404       GetProperty( TextEditor.Property.CURSOR_BLINK_DURATION).Get( out temp );
405       return temp;
406     }
407     set
408     {
409       SetProperty( TextEditor.Property.CURSOR_BLINK_DURATION, new Dali.Property.Value( value ) );
410     }
411   }
412   public int CursorWidth
413   {
414     get
415     {
416       int temp = 0;
417       GetProperty( TextEditor.Property.CURSOR_WIDTH).Get( out temp );
418       return temp;
419     }
420     set
421     {
422       SetProperty( TextEditor.Property.CURSOR_WIDTH, new Dali.Property.Value( value ) );
423     }
424   }
425   public string GrabHandleImage
426   {
427     get
428     {
429       string temp;
430       GetProperty( TextEditor.Property.GRAB_HANDLE_IMAGE).Get( out temp );
431       return temp;
432     }
433     set
434     {
435       SetProperty( TextEditor.Property.GRAB_HANDLE_IMAGE, new Dali.Property.Value( value ) );
436     }
437   }
438   public string GrabHandlePressedImage
439   {
440     get
441     {
442       string temp;
443       GetProperty( TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get( out temp );
444       return temp;
445     }
446     set
447     {
448       SetProperty( TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Dali.Property.Value( value ) );
449     }
450   }
451   public Dali.Property.Map SelectionHandleImageLeft
452   {
453     get
454     {
455       Dali.Property.Map temp = new Dali.Property.Map();
456       GetProperty( TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(  temp );
457       return temp;
458     }
459     set
460     {
461       SetProperty( TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Dali.Property.Value( value ) );
462     }
463   }
464   public Dali.Property.Map SelectionHandleImageRight
465   {
466     get
467     {
468       Dali.Property.Map temp = new Dali.Property.Map();
469       GetProperty( TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(  temp );
470       return temp;
471     }
472     set
473     {
474       SetProperty( TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Dali.Property.Value( value ) );
475     }
476   }
477   public Dali.Property.Map SelectionHandlePressedImageLeft
478   {
479     get
480     {
481       Dali.Property.Map temp = new Dali.Property.Map();
482       GetProperty( TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(  temp );
483       return temp;
484     }
485     set
486     {
487       SetProperty( TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Dali.Property.Value( value ) );
488     }
489   }
490   public Dali.Property.Map SelectionHandlePressedImageRight
491   {
492     get
493     {
494       Dali.Property.Map temp = new Dali.Property.Map();
495       GetProperty( TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(  temp );
496       return temp;
497     }
498     set
499     {
500       SetProperty( TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Dali.Property.Value( value ) );
501     }
502   }
503   public Dali.Property.Map SelectionHandleMarkerImageLeft
504   {
505     get
506     {
507       Dali.Property.Map temp = new Dali.Property.Map();
508       GetProperty( TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(  temp );
509       return temp;
510     }
511     set
512     {
513       SetProperty( TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Dali.Property.Value( value ) );
514     }
515   }
516   public Dali.Property.Map SelectionHandleMarkerImageRight
517   {
518     get
519     {
520       Dali.Property.Map temp = new Dali.Property.Map();
521       GetProperty( TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(  temp );
522       return temp;
523     }
524     set
525     {
526       SetProperty( TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Dali.Property.Value( value ) );
527     }
528   }
529   public Vector4 SelectionHighlightColor
530   {
531     get
532     {
533       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
534       GetProperty( TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(  temp );
535       return temp;
536     }
537     set
538     {
539       SetProperty( TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Dali.Property.Value( value ) );
540     }
541   }
542   public Rectangle DecorationBoundingBox
543   {
544     get
545     {
546       Rectangle temp = new Rectangle(0,0,0,0);
547       GetProperty( TextEditor.Property.DECORATION_BOUNDING_BOX).Get(  temp );
548       return temp;
549     }
550     set
551     {
552       SetProperty( TextEditor.Property.DECORATION_BOUNDING_BOX, new Dali.Property.Value( value ) );
553     }
554   }
555   public bool EnableMarkup
556   {
557     get
558     {
559       bool temp = false;
560       GetProperty( TextEditor.Property.ENABLE_MARKUP).Get( out temp );
561       return temp;
562     }
563     set
564     {
565       SetProperty( TextEditor.Property.ENABLE_MARKUP, new Dali.Property.Value( value ) );
566     }
567   }
568   public Vector4 InputColor
569   {
570     get
571     {
572       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
573       GetProperty( TextEditor.Property.INPUT_COLOR).Get(  temp );
574       return temp;
575     }
576     set
577     {
578       SetProperty( TextEditor.Property.INPUT_COLOR, new Dali.Property.Value( value ) );
579     }
580   }
581   public string InputFontFamily
582   {
583     get
584     {
585       string temp;
586       GetProperty( TextEditor.Property.INPUT_FONT_FAMILY).Get( out temp );
587       return temp;
588     }
589     set
590     {
591       SetProperty( TextEditor.Property.INPUT_FONT_FAMILY, new Dali.Property.Value( value ) );
592     }
593   }
594   public Dali.Property.Map InputFontStyle
595   {
596     get
597     {
598       Dali.Property.Map temp = new Dali.Property.Map();
599       GetProperty( TextEditor.Property.INPUT_FONT_STYLE).Get(  temp );
600       return temp;
601     }
602     set
603     {
604       SetProperty( TextEditor.Property.INPUT_FONT_STYLE, new Dali.Property.Value( value ) );
605     }
606   }
607   public float InputPointSize
608   {
609     get
610     {
611       float temp = 0.0f;
612       GetProperty( TextEditor.Property.INPUT_POINT_SIZE).Get( out temp );
613       return temp;
614     }
615     set
616     {
617       SetProperty( TextEditor.Property.INPUT_POINT_SIZE, new Dali.Property.Value( value ) );
618     }
619   }
620   public float LineSpacing
621   {
622     get
623     {
624       float temp = 0.0f;
625       GetProperty( TextEditor.Property.LINE_SPACING).Get( out temp );
626       return temp;
627     }
628     set
629     {
630       SetProperty( TextEditor.Property.LINE_SPACING, new Dali.Property.Value( value ) );
631     }
632   }
633   public float InputLineSpacing
634   {
635     get
636     {
637       float temp = 0.0f;
638       GetProperty( TextEditor.Property.INPUT_LINE_SPACING).Get( out temp );
639       return temp;
640     }
641     set
642     {
643       SetProperty( TextEditor.Property.INPUT_LINE_SPACING, new Dali.Property.Value( value ) );
644     }
645   }
646   public Dali.Property.Map Underline
647   {
648     get
649     {
650       Dali.Property.Map temp = new Dali.Property.Map();
651       GetProperty( TextEditor.Property.UNDERLINE).Get(  temp );
652       return temp;
653     }
654     set
655     {
656       SetProperty( TextEditor.Property.UNDERLINE, new Dali.Property.Value( value ) );
657     }
658   }
659   public Dali.Property.Map InputUnderline
660   {
661     get
662     {
663       Dali.Property.Map temp = new Dali.Property.Map();
664       GetProperty( TextEditor.Property.INPUT_UNDERLINE).Get(  temp );
665       return temp;
666     }
667     set
668     {
669       SetProperty( TextEditor.Property.INPUT_UNDERLINE, new Dali.Property.Value( value ) );
670     }
671   }
672   public Dali.Property.Map Shadow
673   {
674     get
675     {
676       Dali.Property.Map temp = new Dali.Property.Map();
677       GetProperty( TextEditor.Property.SHADOW).Get(  temp );
678       return temp;
679     }
680     set
681     {
682       SetProperty( TextEditor.Property.SHADOW, new Dali.Property.Value( value ) );
683     }
684   }
685   public Dali.Property.Map InputShadow
686   {
687     get
688     {
689       Dali.Property.Map temp = new Dali.Property.Map();
690       GetProperty( TextEditor.Property.INPUT_SHADOW).Get(  temp );
691       return temp;
692     }
693     set
694     {
695       SetProperty( TextEditor.Property.INPUT_SHADOW, new Dali.Property.Value( value ) );
696     }
697   }
698   public Dali.Property.Map Emboss
699   {
700     get
701     {
702       Dali.Property.Map temp = new Dali.Property.Map();
703       GetProperty( TextEditor.Property.EMBOSS).Get(  temp );
704       return temp;
705     }
706     set
707     {
708       SetProperty( TextEditor.Property.EMBOSS, new Dali.Property.Value( value ) );
709     }
710   }
711   public Dali.Property.Map InputEmboss
712   {
713     get
714     {
715       Dali.Property.Map temp = new Dali.Property.Map();
716       GetProperty( TextEditor.Property.INPUT_EMBOSS).Get(  temp );
717       return temp;
718     }
719     set
720     {
721       SetProperty( TextEditor.Property.INPUT_EMBOSS, new Dali.Property.Value( value ) );
722     }
723   }
724   public Dali.Property.Map Outline
725   {
726     get
727     {
728       Dali.Property.Map temp = new Dali.Property.Map();
729       GetProperty( TextEditor.Property.OUTLINE).Get(  temp );
730       return temp;
731     }
732     set
733     {
734       SetProperty( TextEditor.Property.OUTLINE, new Dali.Property.Value( value ) );
735     }
736   }
737   public Dali.Property.Map InputOutline
738   {
739     get
740     {
741       Dali.Property.Map temp = new Dali.Property.Map();
742       GetProperty( TextEditor.Property.INPUT_OUTLINE).Get(  temp );
743       return temp;
744     }
745     set
746     {
747       SetProperty( TextEditor.Property.INPUT_OUTLINE, new Dali.Property.Value( value ) );
748     }
749   }
750
751 }
752
753 }