Merge "Add PRIVATECOMMAND of ImfEvent in text-controller" into devel/master
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / internal / 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  public 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 : global::System.IDisposable {
157     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
158     protected bool swigCMemOwn;
159   
160     internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
161       swigCMemOwn = cMemoryOwn;
162       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
163     }
164   
165     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
166       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
167     }
168   
169     ~Property() {
170       Dispose();
171     }
172   
173     public virtual void Dispose() {
174       lock(this) {
175         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
176           if (swigCMemOwn) {
177             swigCMemOwn = false;
178             NDalicPINVOKE.delete_TextEditor_Property(swigCPtr);
179           }
180           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
181         }
182         global::System.GC.SuppressFinalize(this);
183       }
184     }
185   
186     public Property() : this(NDalicPINVOKE.new_TextEditor_Property(), true) {
187       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
188     }
189   
190     public static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
191     public static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
192     public static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();
193     public static readonly int FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_FONT_FAMILY_get();
194     public static readonly int FONT_STYLE = NDalicPINVOKE.TextEditor_Property_FONT_STYLE_get();
195     public static readonly int POINT_SIZE = NDalicPINVOKE.TextEditor_Property_POINT_SIZE_get();
196     public static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextEditor_Property_HORIZONTAL_ALIGNMENT_get();
197     public static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextEditor_Property_SCROLL_THRESHOLD_get();
198     public static readonly int SCROLL_SPEED = NDalicPINVOKE.TextEditor_Property_SCROLL_SPEED_get();
199     public static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_PRIMARY_CURSOR_COLOR_get();
200     public static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_SECONDARY_CURSOR_COLOR_get();
201     public static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextEditor_Property_ENABLE_CURSOR_BLINK_get();
202     public static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_INTERVAL_get();
203     public static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_DURATION_get();
204     public static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextEditor_Property_CURSOR_WIDTH_get();
205     public static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_IMAGE_get();
206     public static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
207     public static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
208     public static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
209     public static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
210     public static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
211     public static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
212     public static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
213     public static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get();
214     public static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextEditor_Property_DECORATION_BOUNDING_BOX_get();
215     public static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextEditor_Property_ENABLE_MARKUP_get();
216     public static readonly int INPUT_COLOR = NDalicPINVOKE.TextEditor_Property_INPUT_COLOR_get();
217     public static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_FAMILY_get();
218     public static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_STYLE_get();
219     public static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextEditor_Property_INPUT_POINT_SIZE_get();
220     public static readonly int LINE_SPACING = NDalicPINVOKE.TextEditor_Property_LINE_SPACING_get();
221     public static readonly int INPUT_LINE_SPACING = NDalicPINVOKE.TextEditor_Property_INPUT_LINE_SPACING_get();
222     public static readonly int UNDERLINE = NDalicPINVOKE.TextEditor_Property_UNDERLINE_get();
223     public static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextEditor_Property_INPUT_UNDERLINE_get();
224     public static readonly int SHADOW = NDalicPINVOKE.TextEditor_Property_SHADOW_get();
225     public static readonly int INPUT_SHADOW = NDalicPINVOKE.TextEditor_Property_INPUT_SHADOW_get();
226     public static readonly int EMBOSS = NDalicPINVOKE.TextEditor_Property_EMBOSS_get();
227     public static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
228     public static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
229     public static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
230   
231   }
232
233   public class InputStyle : global::System.IDisposable {
234     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
235     protected bool swigCMemOwn;
236   
237     internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn) {
238       swigCMemOwn = cMemoryOwn;
239       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
240     }
241   
242     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj) {
243       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
244     }
245   
246     ~InputStyle() {
247       Dispose();
248     }
249   
250     public virtual void Dispose() {
251       lock(this) {
252         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
253           if (swigCMemOwn) {
254             swigCMemOwn = false;
255             NDalicPINVOKE.delete_TextEditor_InputStyle(swigCPtr);
256           }
257           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
258         }
259         global::System.GC.SuppressFinalize(this);
260       }
261     }
262   
263     public InputStyle() : this(NDalicPINVOKE.new_TextEditor_InputStyle(), true) {
264       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
265     }
266   
267     public enum Mask {
268       NONE = 0x0000,
269       COLOR = 0x0001,
270       FONT_FAMILY = 0x0002,
271       POINT_SIZE = 0x0004,
272       FONT_STYLE = 0x0008,
273       LINE_SPACING = 0x0010,
274       UNDERLINE = 0x0020,
275       SHADOW = 0x0040,
276       EMBOSS = 0x0080,
277       OUTLINE = 0x0100
278     }
279   
280   }
281
282   public TextEditor () : this (NDalicPINVOKE.TextEditor_New(), true) {
283       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
284
285   }
286   public TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true) {
287     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
288   }
289
290   public TextEditor Assign(TextEditor handle) {
291     TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_Assign(swigCPtr, TextEditor.getCPtr(handle)), false);
292     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
293     return ret;
294   }
295
296   public new static TextEditor DownCast(BaseHandle handle) {
297     TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
298     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
299     return ret;
300   }
301
302   public TextEditorSignal TextChangedSignal() {
303     TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
304     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
305     return ret;
306   }
307
308   public SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal() {
309     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);
310     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
311     return ret;
312   }
313
314   public enum PropertyRange {
315     PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
316     PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000
317   }
318
319   public int RenderingBackend
320   {
321     get
322     {
323       int temp = 0;
324       GetProperty( TextEditor.Property.RENDERING_BACKEND).Get( ref temp );
325       return temp;
326     }
327     set
328     {
329       SetProperty( TextEditor.Property.RENDERING_BACKEND, new Dali.Property.Value( value ) );
330     }
331   }
332   public string Text
333   {
334     get
335     {
336       string temp;
337       GetProperty( TextEditor.Property.TEXT).Get( out temp );
338       return temp;
339     }
340     set
341     {
342       SetProperty( TextEditor.Property.TEXT, new Dali.Property.Value( value ) );
343     }
344   }
345   public Vector4 TextColor
346   {
347     get
348     {
349       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
350       GetProperty( TextEditor.Property.TEXT_COLOR).Get(  temp );
351       return temp;
352     }
353     set
354     {
355       SetProperty( TextEditor.Property.TEXT_COLOR, new Dali.Property.Value( value ) );
356     }
357   }
358   public string FontFamily
359   {
360     get
361     {
362       string temp;
363       GetProperty( TextEditor.Property.FONT_FAMILY).Get( out temp );
364       return temp;
365     }
366     set
367     {
368       SetProperty( TextEditor.Property.FONT_FAMILY, new Dali.Property.Value( value ) );
369     }
370   }
371   public Dali.Property.Map FontStyle
372   {
373     get
374     {
375       Dali.Property.Map temp = new Dali.Property.Map();
376       GetProperty( TextEditor.Property.FONT_STYLE).Get(  temp );
377       return temp;
378     }
379     set
380     {
381       SetProperty( TextEditor.Property.FONT_STYLE, new Dali.Property.Value( value ) );
382     }
383   }
384   public float PointSize
385   {
386     get
387     {
388       float temp = 0.0f;
389       GetProperty( TextEditor.Property.POINT_SIZE).Get( ref temp );
390       return temp;
391     }
392     set
393     {
394       SetProperty( TextEditor.Property.POINT_SIZE, new Dali.Property.Value( value ) );
395     }
396   }
397   public string HorizontalAlignment
398   {
399     get
400     {
401       string temp;
402       GetProperty( TextEditor.Property.HORIZONTAL_ALIGNMENT).Get( out temp );
403       return temp;
404     }
405     set
406     {
407       SetProperty( TextEditor.Property.HORIZONTAL_ALIGNMENT, new Dali.Property.Value( value ) );
408     }
409   }
410   public float ScrollThreshold
411   {
412     get
413     {
414       float temp = 0.0f;
415       GetProperty( TextEditor.Property.SCROLL_THRESHOLD).Get( ref temp );
416       return temp;
417     }
418     set
419     {
420       SetProperty( TextEditor.Property.SCROLL_THRESHOLD, new Dali.Property.Value( value ) );
421     }
422   }
423   public float ScrollSpeed
424   {
425     get
426     {
427       float temp = 0.0f;
428       GetProperty( TextEditor.Property.SCROLL_SPEED).Get( ref temp );
429       return temp;
430     }
431     set
432     {
433       SetProperty( TextEditor.Property.SCROLL_SPEED, new Dali.Property.Value( value ) );
434     }
435   }
436   public Vector4 PrimaryCursorColor
437   {
438     get
439     {
440       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
441       GetProperty( TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(  temp );
442       return temp;
443     }
444     set
445     {
446       SetProperty( TextEditor.Property.PRIMARY_CURSOR_COLOR, new Dali.Property.Value( value ) );
447     }
448   }
449   public Vector4 SecondaryCursorColor
450   {
451     get
452     {
453       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
454       GetProperty( TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(  temp );
455       return temp;
456     }
457     set
458     {
459       SetProperty( TextEditor.Property.SECONDARY_CURSOR_COLOR, new Dali.Property.Value( value ) );
460     }
461   }
462   public bool EnableCursorBlink
463   {
464     get
465     {
466       bool temp = false;
467       GetProperty( TextEditor.Property.ENABLE_CURSOR_BLINK).Get( ref temp );
468       return temp;
469     }
470     set
471     {
472       SetProperty( TextEditor.Property.ENABLE_CURSOR_BLINK, new Dali.Property.Value( value ) );
473     }
474   }
475   public float CursorBlinkInterval
476   {
477     get
478     {
479       float temp = 0.0f;
480       GetProperty( TextEditor.Property.CURSOR_BLINK_INTERVAL).Get( ref temp );
481       return temp;
482     }
483     set
484     {
485       SetProperty( TextEditor.Property.CURSOR_BLINK_INTERVAL, new Dali.Property.Value( value ) );
486     }
487   }
488   public float CursorBlinkDuration
489   {
490     get
491     {
492       float temp = 0.0f;
493       GetProperty( TextEditor.Property.CURSOR_BLINK_DURATION).Get( ref temp );
494       return temp;
495     }
496     set
497     {
498       SetProperty( TextEditor.Property.CURSOR_BLINK_DURATION, new Dali.Property.Value( value ) );
499     }
500   }
501   public int CursorWidth
502   {
503     get
504     {
505       int temp = 0;
506       GetProperty( TextEditor.Property.CURSOR_WIDTH).Get( ref temp );
507       return temp;
508     }
509     set
510     {
511       SetProperty( TextEditor.Property.CURSOR_WIDTH, new Dali.Property.Value( value ) );
512     }
513   }
514   public string GrabHandleImage
515   {
516     get
517     {
518       string temp;
519       GetProperty( TextEditor.Property.GRAB_HANDLE_IMAGE).Get( out temp );
520       return temp;
521     }
522     set
523     {
524       SetProperty( TextEditor.Property.GRAB_HANDLE_IMAGE, new Dali.Property.Value( value ) );
525     }
526   }
527   public string GrabHandlePressedImage
528   {
529     get
530     {
531       string temp;
532       GetProperty( TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get( out temp );
533       return temp;
534     }
535     set
536     {
537       SetProperty( TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Dali.Property.Value( value ) );
538     }
539   }
540   public Dali.Property.Map SelectionHandleImageLeft
541   {
542     get
543     {
544       Dali.Property.Map temp = new Dali.Property.Map();
545       GetProperty( TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(  temp );
546       return temp;
547     }
548     set
549     {
550       SetProperty( TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Dali.Property.Value( value ) );
551     }
552   }
553   public Dali.Property.Map SelectionHandleImageRight
554   {
555     get
556     {
557       Dali.Property.Map temp = new Dali.Property.Map();
558       GetProperty( TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(  temp );
559       return temp;
560     }
561     set
562     {
563       SetProperty( TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Dali.Property.Value( value ) );
564     }
565   }
566   public Dali.Property.Map SelectionHandlePressedImageLeft
567   {
568     get
569     {
570       Dali.Property.Map temp = new Dali.Property.Map();
571       GetProperty( TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(  temp );
572       return temp;
573     }
574     set
575     {
576       SetProperty( TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Dali.Property.Value( value ) );
577     }
578   }
579   public Dali.Property.Map SelectionHandlePressedImageRight
580   {
581     get
582     {
583       Dali.Property.Map temp = new Dali.Property.Map();
584       GetProperty( TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(  temp );
585       return temp;
586     }
587     set
588     {
589       SetProperty( TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Dali.Property.Value( value ) );
590     }
591   }
592   public Dali.Property.Map SelectionHandleMarkerImageLeft
593   {
594     get
595     {
596       Dali.Property.Map temp = new Dali.Property.Map();
597       GetProperty( TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(  temp );
598       return temp;
599     }
600     set
601     {
602       SetProperty( TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Dali.Property.Value( value ) );
603     }
604   }
605   public Dali.Property.Map SelectionHandleMarkerImageRight
606   {
607     get
608     {
609       Dali.Property.Map temp = new Dali.Property.Map();
610       GetProperty( TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(  temp );
611       return temp;
612     }
613     set
614     {
615       SetProperty( TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Dali.Property.Value( value ) );
616     }
617   }
618   public Vector4 SelectionHighlightColor
619   {
620     get
621     {
622       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
623       GetProperty( TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(  temp );
624       return temp;
625     }
626     set
627     {
628       SetProperty( TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Dali.Property.Value( value ) );
629     }
630   }
631   public Rectangle DecorationBoundingBox
632   {
633     get
634     {
635       Rectangle temp = new Rectangle(0,0,0,0);
636       GetProperty( TextEditor.Property.DECORATION_BOUNDING_BOX).Get(  temp );
637       return temp;
638     }
639     set
640     {
641       SetProperty( TextEditor.Property.DECORATION_BOUNDING_BOX, new Dali.Property.Value( value ) );
642     }
643   }
644   public bool EnableMarkup
645   {
646     get
647     {
648       bool temp = false;
649       GetProperty( TextEditor.Property.ENABLE_MARKUP).Get( ref temp );
650       return temp;
651     }
652     set
653     {
654       SetProperty( TextEditor.Property.ENABLE_MARKUP, new Dali.Property.Value( value ) );
655     }
656   }
657   public Vector4 InputColor
658   {
659     get
660     {
661       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
662       GetProperty( TextEditor.Property.INPUT_COLOR).Get(  temp );
663       return temp;
664     }
665     set
666     {
667       SetProperty( TextEditor.Property.INPUT_COLOR, new Dali.Property.Value( value ) );
668     }
669   }
670   public string InputFontFamily
671   {
672     get
673     {
674       string temp;
675       GetProperty( TextEditor.Property.INPUT_FONT_FAMILY).Get( out temp );
676       return temp;
677     }
678     set
679     {
680       SetProperty( TextEditor.Property.INPUT_FONT_FAMILY, new Dali.Property.Value( value ) );
681     }
682   }
683   public Dali.Property.Map InputFontStyle
684   {
685     get
686     {
687       Dali.Property.Map temp = new Dali.Property.Map();
688       GetProperty( TextEditor.Property.INPUT_FONT_STYLE).Get(  temp );
689       return temp;
690     }
691     set
692     {
693       SetProperty( TextEditor.Property.INPUT_FONT_STYLE, new Dali.Property.Value( value ) );
694     }
695   }
696   public float InputPointSize
697   {
698     get
699     {
700       float temp = 0.0f;
701       GetProperty( TextEditor.Property.INPUT_POINT_SIZE).Get( ref temp );
702       return temp;
703     }
704     set
705     {
706       SetProperty( TextEditor.Property.INPUT_POINT_SIZE, new Dali.Property.Value( value ) );
707     }
708   }
709   public float LineSpacing
710   {
711     get
712     {
713       float temp = 0.0f;
714       GetProperty( TextEditor.Property.LINE_SPACING).Get( ref temp );
715       return temp;
716     }
717     set
718     {
719       SetProperty( TextEditor.Property.LINE_SPACING, new Dali.Property.Value( value ) );
720     }
721   }
722   public float InputLineSpacing
723   {
724     get
725     {
726       float temp = 0.0f;
727       GetProperty( TextEditor.Property.INPUT_LINE_SPACING).Get( ref temp );
728       return temp;
729     }
730     set
731     {
732       SetProperty( TextEditor.Property.INPUT_LINE_SPACING, new Dali.Property.Value( value ) );
733     }
734   }
735   public Dali.Property.Map Underline
736   {
737     get
738     {
739       Dali.Property.Map temp = new Dali.Property.Map();
740       GetProperty( TextEditor.Property.UNDERLINE).Get(  temp );
741       return temp;
742     }
743     set
744     {
745       SetProperty( TextEditor.Property.UNDERLINE, new Dali.Property.Value( value ) );
746     }
747   }
748   public Dali.Property.Map InputUnderline
749   {
750     get
751     {
752       Dali.Property.Map temp = new Dali.Property.Map();
753       GetProperty( TextEditor.Property.INPUT_UNDERLINE).Get(  temp );
754       return temp;
755     }
756     set
757     {
758       SetProperty( TextEditor.Property.INPUT_UNDERLINE, new Dali.Property.Value( value ) );
759     }
760   }
761   public Dali.Property.Map Shadow
762   {
763     get
764     {
765       Dali.Property.Map temp = new Dali.Property.Map();
766       GetProperty( TextEditor.Property.SHADOW).Get(  temp );
767       return temp;
768     }
769     set
770     {
771       SetProperty( TextEditor.Property.SHADOW, new Dali.Property.Value( value ) );
772     }
773   }
774   public Dali.Property.Map InputShadow
775   {
776     get
777     {
778       Dali.Property.Map temp = new Dali.Property.Map();
779       GetProperty( TextEditor.Property.INPUT_SHADOW).Get(  temp );
780       return temp;
781     }
782     set
783     {
784       SetProperty( TextEditor.Property.INPUT_SHADOW, new Dali.Property.Value( value ) );
785     }
786   }
787   public Dali.Property.Map Emboss
788   {
789     get
790     {
791       Dali.Property.Map temp = new Dali.Property.Map();
792       GetProperty( TextEditor.Property.EMBOSS).Get(  temp );
793       return temp;
794     }
795     set
796     {
797       SetProperty( TextEditor.Property.EMBOSS, new Dali.Property.Value( value ) );
798     }
799   }
800   public Dali.Property.Map InputEmboss
801   {
802     get
803     {
804       Dali.Property.Map temp = new Dali.Property.Map();
805       GetProperty( TextEditor.Property.INPUT_EMBOSS).Get(  temp );
806       return temp;
807     }
808     set
809     {
810       SetProperty( TextEditor.Property.INPUT_EMBOSS, new Dali.Property.Value( value ) );
811     }
812   }
813   public Dali.Property.Map Outline
814   {
815     get
816     {
817       Dali.Property.Map temp = new Dali.Property.Map();
818       GetProperty( TextEditor.Property.OUTLINE).Get(  temp );
819       return temp;
820     }
821     set
822     {
823       SetProperty( TextEditor.Property.OUTLINE, new Dali.Property.Value( value ) );
824     }
825   }
826   public Dali.Property.Map InputOutline
827   {
828     get
829     {
830       Dali.Property.Map temp = new Dali.Property.Map();
831       GetProperty( TextEditor.Property.INPUT_OUTLINE).Get(  temp );
832       return temp;
833     }
834     set
835     {
836       SetProperty( TextEditor.Property.INPUT_OUTLINE, new Dali.Property.Value( value ) );
837     }
838   }
839
840 }
841
842 }