f4ff655223d2095e4761c5cdd2e9c0bbfe2a8ae4
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / 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.9
22 //
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
26
27 namespace Tizen.NUI
28 {
29
30     using System;
31     using System.Runtime.InteropServices;
32
33
34     public class TextEditor : View
35     {
36         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
37
38         internal TextEditor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TextEditor_SWIGUpcast(cPtr), cMemoryOwn)
39         {
40             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
41         }
42
43         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TextEditor obj)
44         {
45             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
46         }
47
48         ~TextEditor()
49         {
50             DisposeQueue.Instance.Add(this);
51         }
52
53         public override void Dispose()
54         {
55             if (!Stage.IsInstalled())
56             {
57                 DisposeQueue.Instance.Add(this);
58                 return;
59             }
60
61             lock (this)
62             {
63                 if (swigCPtr.Handle != global::System.IntPtr.Zero)
64                 {
65                     if (swigCMemOwn)
66                     {
67                         swigCMemOwn = false;
68                         NDalicPINVOKE.delete_TextEditor(swigCPtr);
69                     }
70                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
71                 }
72                 global::System.GC.SuppressFinalize(this);
73                 base.Dispose();
74             }
75         }
76
77
78
79         /**
80           * @brief Event arguments that passed via TextChanged signal
81           *
82           */
83         public class TextChangedEventArgs : EventArgs
84         {
85             private TextEditor _textEditor;
86             /**
87               * @brief TextEditor - is the texteditor control which has the text contents changed.
88               *
89               */
90             public TextEditor TextEditor
91             {
92                 get
93                 {
94                     return _textEditor;
95                 }
96                 set
97                 {
98                     _textEditor = value;
99                 }
100             }
101         }
102
103         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
104         private delegate void TextChangedCallbackDelegate(IntPtr textEditor);
105         private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;
106         private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;
107
108         /**
109           * @brief Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
110           * (in the type of TextChangedEventHandler-DaliEventHandler<object,TextChangedEventArgs>) 
111           * provided by the user. TextChanged signal is emitted when the text changes.
112           */
113         public event EventHandler<TextChangedEventArgs> TextChanged
114         {
115             add
116             {
117                 if (_textEditorTextChangedEventHandler == null)
118                 {
119                     _textEditorTextChangedCallbackDelegate = (OnTextChanged);
120                     TextChangedSignal().Connect(_textEditorTextChangedCallbackDelegate);
121                 }
122                 _textEditorTextChangedEventHandler += value;
123             }
124             remove
125             {
126                 _textEditorTextChangedEventHandler -= value;
127                 if (_textEditorTextChangedEventHandler == null && _textEditorTextChangedCallbackDelegate != null)
128                 {
129                     TextChangedSignal().Disconnect(_textEditorTextChangedCallbackDelegate);
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 = Tizen.NUI.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         {
151             TextEditor ret = new TextEditor(cPtr, false);
152             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
153             return ret;
154         }
155
156
157         internal class Property : global::System.IDisposable
158         {
159             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
160             protected bool swigCMemOwn;
161
162             internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
163             {
164                 swigCMemOwn = cMemoryOwn;
165                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
166             }
167
168             internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
169             {
170                 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
171             }
172
173             ~Property()
174             {
175                 Dispose();
176             }
177
178             public virtual void Dispose()
179             {
180                 lock (this)
181                 {
182                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
183                     {
184                         if (swigCMemOwn)
185                         {
186                             swigCMemOwn = false;
187                             NDalicPINVOKE.delete_TextEditor_Property(swigCPtr);
188                         }
189                         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
190                     }
191                     global::System.GC.SuppressFinalize(this);
192                 }
193             }
194
195             internal Property() : this(NDalicPINVOKE.new_TextEditor_Property(), true)
196             {
197                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
198             }
199
200             internal static readonly int RENDERING_BACKEND = NDalicPINVOKE.TextEditor_Property_RENDERING_BACKEND_get();
201             internal static readonly int TEXT = NDalicPINVOKE.TextEditor_Property_TEXT_get();
202             internal static readonly int TEXT_COLOR = NDalicPINVOKE.TextEditor_Property_TEXT_COLOR_get();
203             internal static readonly int FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_FONT_FAMILY_get();
204             internal static readonly int FONT_STYLE = NDalicPINVOKE.TextEditor_Property_FONT_STYLE_get();
205             internal static readonly int POINT_SIZE = NDalicPINVOKE.TextEditor_Property_POINT_SIZE_get();
206             internal static readonly int HORIZONTAL_ALIGNMENT = NDalicPINVOKE.TextEditor_Property_HORIZONTAL_ALIGNMENT_get();
207             internal static readonly int SCROLL_THRESHOLD = NDalicPINVOKE.TextEditor_Property_SCROLL_THRESHOLD_get();
208             internal static readonly int SCROLL_SPEED = NDalicPINVOKE.TextEditor_Property_SCROLL_SPEED_get();
209             internal static readonly int PRIMARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_PRIMARY_CURSOR_COLOR_get();
210             internal static readonly int SECONDARY_CURSOR_COLOR = NDalicPINVOKE.TextEditor_Property_SECONDARY_CURSOR_COLOR_get();
211             internal static readonly int ENABLE_CURSOR_BLINK = NDalicPINVOKE.TextEditor_Property_ENABLE_CURSOR_BLINK_get();
212             internal static readonly int CURSOR_BLINK_INTERVAL = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_INTERVAL_get();
213             internal static readonly int CURSOR_BLINK_DURATION = NDalicPINVOKE.TextEditor_Property_CURSOR_BLINK_DURATION_get();
214             internal static readonly int CURSOR_WIDTH = NDalicPINVOKE.TextEditor_Property_CURSOR_WIDTH_get();
215             internal static readonly int GRAB_HANDLE_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_IMAGE_get();
216             internal static readonly int GRAB_HANDLE_PRESSED_IMAGE = NDalicPINVOKE.TextEditor_Property_GRAB_HANDLE_PRESSED_IMAGE_get();
217             internal static readonly int SELECTION_HANDLE_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_LEFT_get();
218             internal static readonly int SELECTION_HANDLE_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_IMAGE_RIGHT_get();
219             internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_LEFT_get();
220             internal static readonly int SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT_get();
221             internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_LEFT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_LEFT_get();
222             internal static readonly int SELECTION_HANDLE_MARKER_IMAGE_RIGHT = NDalicPINVOKE.TextEditor_Property_SELECTION_HANDLE_MARKER_IMAGE_RIGHT_get();
223             internal static readonly int SELECTION_HIGHLIGHT_COLOR = NDalicPINVOKE.TextEditor_Property_SELECTION_HIGHLIGHT_COLOR_get();
224             internal static readonly int DECORATION_BOUNDING_BOX = NDalicPINVOKE.TextEditor_Property_DECORATION_BOUNDING_BOX_get();
225             internal static readonly int ENABLE_MARKUP = NDalicPINVOKE.TextEditor_Property_ENABLE_MARKUP_get();
226             internal static readonly int INPUT_COLOR = NDalicPINVOKE.TextEditor_Property_INPUT_COLOR_get();
227             internal static readonly int INPUT_FONT_FAMILY = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_FAMILY_get();
228             internal static readonly int INPUT_FONT_STYLE = NDalicPINVOKE.TextEditor_Property_INPUT_FONT_STYLE_get();
229             internal static readonly int INPUT_POINT_SIZE = NDalicPINVOKE.TextEditor_Property_INPUT_POINT_SIZE_get();
230             internal static readonly int LINE_SPACING = NDalicPINVOKE.TextEditor_Property_LINE_SPACING_get();
231             internal static readonly int INPUT_LINE_SPACING = NDalicPINVOKE.TextEditor_Property_INPUT_LINE_SPACING_get();
232             internal static readonly int UNDERLINE = NDalicPINVOKE.TextEditor_Property_UNDERLINE_get();
233             internal static readonly int INPUT_UNDERLINE = NDalicPINVOKE.TextEditor_Property_INPUT_UNDERLINE_get();
234             internal static readonly int SHADOW = NDalicPINVOKE.TextEditor_Property_SHADOW_get();
235             internal static readonly int INPUT_SHADOW = NDalicPINVOKE.TextEditor_Property_INPUT_SHADOW_get();
236             internal static readonly int EMBOSS = NDalicPINVOKE.TextEditor_Property_EMBOSS_get();
237             internal static readonly int INPUT_EMBOSS = NDalicPINVOKE.TextEditor_Property_INPUT_EMBOSS_get();
238             internal static readonly int OUTLINE = NDalicPINVOKE.TextEditor_Property_OUTLINE_get();
239             internal static readonly int INPUT_OUTLINE = NDalicPINVOKE.TextEditor_Property_INPUT_OUTLINE_get();
240
241         }
242
243         internal class InputStyle : global::System.IDisposable
244         {
245             private global::System.Runtime.InteropServices.HandleRef swigCPtr;
246             protected bool swigCMemOwn;
247
248             internal InputStyle(global::System.IntPtr cPtr, bool cMemoryOwn)
249             {
250                 swigCMemOwn = cMemoryOwn;
251                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
252             }
253
254             internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputStyle obj)
255             {
256                 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
257             }
258
259             ~InputStyle()
260             {
261                 Dispose();
262             }
263
264             public virtual void Dispose()
265             {
266                 lock (this)
267                 {
268                     if (swigCPtr.Handle != global::System.IntPtr.Zero)
269                     {
270                         if (swigCMemOwn)
271                         {
272                             swigCMemOwn = false;
273                             NDalicPINVOKE.delete_TextEditor_InputStyle(swigCPtr);
274                         }
275                         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
276                     }
277                     global::System.GC.SuppressFinalize(this);
278                 }
279             }
280
281             internal InputStyle() : this(NDalicPINVOKE.new_TextEditor_InputStyle(), true)
282             {
283                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
284             }
285
286             internal enum Mask
287             {
288                 None = 0x0000,
289                 Color = 0x0001,
290                 FontFamily = 0x0002,
291                 PointSize = 0x0004,
292                 FontStyle = 0x0008,
293                 LineSpacing = 0x0010,
294                 Underline = 0x0020,
295                 Shadow = 0x0040,
296                 Emboss = 0x0080,
297                 Outline = 0x0100
298             }
299
300         }
301
302         public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
303         {
304             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
305
306         }
307         internal TextEditor(TextEditor handle) : this(NDalicPINVOKE.new_TextEditor__SWIG_1(TextEditor.getCPtr(handle)), true)
308         {
309             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
310         }
311
312         internal TextEditor Assign(TextEditor handle)
313         {
314             TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_Assign(swigCPtr, TextEditor.getCPtr(handle)), false);
315             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
316             return ret;
317         }
318
319         public new static TextEditor DownCast(BaseHandle handle)
320         {
321             TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
322             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
323             return ret;
324         }
325
326         internal TextEditorSignal TextChangedSignal()
327         {
328             TextEditorSignal ret = new TextEditorSignal(NDalicPINVOKE.TextEditor_TextChangedSignal(swigCPtr), false);
329             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
330             return ret;
331         }
332
333         internal SWIGTYPE_p_Dali__SignalT_void_fDali__Toolkit__TextEditor_Dali__Toolkit__TextEditor__InputStyle__MaskF_t InputStyleChangedSignal()
334         {
335             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);
336             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
337             return ret;
338         }
339
340         internal enum PropertyRange
341         {
342             PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
343             PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
344         }
345
346         public int RenderingBackend
347         {
348             get
349             {
350                 int temp = 0;
351                 GetProperty(TextEditor.Property.RENDERING_BACKEND).Get(ref temp);
352                 return temp;
353             }
354             set
355             {
356                 SetProperty(TextEditor.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
357             }
358         }
359         public string Text
360         {
361             get
362             {
363                 string temp;
364                 GetProperty(TextEditor.Property.TEXT).Get(out temp);
365                 return temp;
366             }
367             set
368             {
369                 SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));
370             }
371         }
372         public Vector4 TextColor
373         {
374             get
375             {
376                 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
377                 GetProperty(TextEditor.Property.TEXT_COLOR).Get(temp);
378                 return temp;
379             }
380             set
381             {
382                 SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
383             }
384         }
385         public string FontFamily
386         {
387             get
388             {
389                 string temp;
390                 GetProperty(TextEditor.Property.FONT_FAMILY).Get(out temp);
391                 return temp;
392             }
393             set
394             {
395                 SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
396             }
397         }
398         public PropertyMap FontStyle
399         {
400             get
401             {
402                 PropertyMap temp = new PropertyMap();
403                 GetProperty(TextEditor.Property.FONT_STYLE).Get(temp);
404                 return temp;
405             }
406             set
407             {
408                 SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
409             }
410         }
411         public float PointSize
412         {
413             get
414             {
415                 float temp = 0.0f;
416                 GetProperty(TextEditor.Property.POINT_SIZE).Get(ref temp);
417                 return temp;
418             }
419             set
420             {
421                 SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
422             }
423         }
424         public string HorizontalAlignment
425         {
426             get
427             {
428                 string temp;
429                 GetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT).Get(out temp);
430                 return temp;
431             }
432             set
433             {
434                 SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
435             }
436         }
437         public float ScrollThreshold
438         {
439             get
440             {
441                 float temp = 0.0f;
442                 GetProperty(TextEditor.Property.SCROLL_THRESHOLD).Get(ref temp);
443                 return temp;
444             }
445             set
446             {
447                 SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
448             }
449         }
450         public float ScrollSpeed
451         {
452             get
453             {
454                 float temp = 0.0f;
455                 GetProperty(TextEditor.Property.SCROLL_SPEED).Get(ref temp);
456                 return temp;
457             }
458             set
459             {
460                 SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
461             }
462         }
463         public Vector4 PrimaryCursorColor
464         {
465             get
466             {
467                 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
468                 GetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR).Get(temp);
469                 return temp;
470             }
471             set
472             {
473                 SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
474             }
475         }
476         public Vector4 SecondaryCursorColor
477         {
478             get
479             {
480                 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
481                 GetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR).Get(temp);
482                 return temp;
483             }
484             set
485             {
486                 SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
487             }
488         }
489         public bool EnableCursorBlink
490         {
491             get
492             {
493                 bool temp = false;
494                 GetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK).Get(ref temp);
495                 return temp;
496             }
497             set
498             {
499                 SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
500             }
501         }
502         public float CursorBlinkInterval
503         {
504             get
505             {
506                 float temp = 0.0f;
507                 GetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL).Get(ref temp);
508                 return temp;
509             }
510             set
511             {
512                 SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
513             }
514         }
515         public float CursorBlinkDuration
516         {
517             get
518             {
519                 float temp = 0.0f;
520                 GetProperty(TextEditor.Property.CURSOR_BLINK_DURATION).Get(ref temp);
521                 return temp;
522             }
523             set
524             {
525                 SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
526             }
527         }
528         public int CursorWidth
529         {
530             get
531             {
532                 int temp = 0;
533                 GetProperty(TextEditor.Property.CURSOR_WIDTH).Get(ref temp);
534                 return temp;
535             }
536             set
537             {
538                 SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
539             }
540         }
541         public string GrabHandleImage
542         {
543             get
544             {
545                 string temp;
546                 GetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE).Get(out temp);
547                 return temp;
548             }
549             set
550             {
551                 SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
552             }
553         }
554         public string GrabHandlePressedImage
555         {
556             get
557             {
558                 string temp;
559                 GetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE).Get(out temp);
560                 return temp;
561             }
562             set
563             {
564                 SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
565             }
566         }
567         public PropertyMap SelectionHandleImageLeft
568         {
569             get
570             {
571                 PropertyMap temp = new PropertyMap();
572                 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT).Get(temp);
573                 return temp;
574             }
575             set
576             {
577                 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
578             }
579         }
580         public PropertyMap SelectionHandleImageRight
581         {
582             get
583             {
584                 PropertyMap temp = new PropertyMap();
585                 GetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT).Get(temp);
586                 return temp;
587             }
588             set
589             {
590                 SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
591             }
592         }
593         public PropertyMap SelectionHandlePressedImageLeft
594         {
595             get
596             {
597                 PropertyMap temp = new PropertyMap();
598                 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT).Get(temp);
599                 return temp;
600             }
601             set
602             {
603                 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
604             }
605         }
606         public PropertyMap SelectionHandlePressedImageRight
607         {
608             get
609             {
610                 PropertyMap temp = new PropertyMap();
611                 GetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT).Get(temp);
612                 return temp;
613             }
614             set
615             {
616                 SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
617             }
618         }
619         public PropertyMap SelectionHandleMarkerImageLeft
620         {
621             get
622             {
623                 PropertyMap temp = new PropertyMap();
624                 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT).Get(temp);
625                 return temp;
626             }
627             set
628             {
629                 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
630             }
631         }
632         public PropertyMap SelectionHandleMarkerImageRight
633         {
634             get
635             {
636                 PropertyMap temp = new PropertyMap();
637                 GetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT).Get(temp);
638                 return temp;
639             }
640             set
641             {
642                 SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
643             }
644         }
645         public Vector4 SelectionHighlightColor
646         {
647             get
648             {
649                 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
650                 GetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR).Get(temp);
651                 return temp;
652             }
653             set
654             {
655                 SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
656             }
657         }
658         public Rectangle DecorationBoundingBox
659         {
660             get
661             {
662                 Rectangle temp = new Rectangle(0, 0, 0, 0);
663                 GetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX).Get(temp);
664                 return temp;
665             }
666             set
667             {
668                 SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
669             }
670         }
671         public bool EnableMarkup
672         {
673             get
674             {
675                 bool temp = false;
676                 GetProperty(TextEditor.Property.ENABLE_MARKUP).Get(ref temp);
677                 return temp;
678             }
679             set
680             {
681                 SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
682             }
683         }
684         public Vector4 InputColor
685         {
686             get
687             {
688                 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
689                 GetProperty(TextEditor.Property.INPUT_COLOR).Get(temp);
690                 return temp;
691             }
692             set
693             {
694                 SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
695             }
696         }
697         public string InputFontFamily
698         {
699             get
700             {
701                 string temp;
702                 GetProperty(TextEditor.Property.INPUT_FONT_FAMILY).Get(out temp);
703                 return temp;
704             }
705             set
706             {
707                 SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
708             }
709         }
710         public PropertyMap InputFontStyle
711         {
712             get
713             {
714                 PropertyMap temp = new PropertyMap();
715                 GetProperty(TextEditor.Property.INPUT_FONT_STYLE).Get(temp);
716                 return temp;
717             }
718             set
719             {
720                 SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
721             }
722         }
723         public float InputPointSize
724         {
725             get
726             {
727                 float temp = 0.0f;
728                 GetProperty(TextEditor.Property.INPUT_POINT_SIZE).Get(ref temp);
729                 return temp;
730             }
731             set
732             {
733                 SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
734             }
735         }
736         public float LineSpacing
737         {
738             get
739             {
740                 float temp = 0.0f;
741                 GetProperty(TextEditor.Property.LINE_SPACING).Get(ref temp);
742                 return temp;
743             }
744             set
745             {
746                 SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
747             }
748         }
749         public float InputLineSpacing
750         {
751             get
752             {
753                 float temp = 0.0f;
754                 GetProperty(TextEditor.Property.INPUT_LINE_SPACING).Get(ref temp);
755                 return temp;
756             }
757             set
758             {
759                 SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
760             }
761         }
762         public PropertyMap Underline
763         {
764             get
765             {
766                 PropertyMap temp = new PropertyMap();
767                 GetProperty(TextEditor.Property.UNDERLINE).Get(temp);
768                 return temp;
769             }
770             set
771             {
772                 SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
773             }
774         }
775         public PropertyMap InputUnderline
776         {
777             get
778             {
779                 PropertyMap temp = new PropertyMap();
780                 GetProperty(TextEditor.Property.INPUT_UNDERLINE).Get(temp);
781                 return temp;
782             }
783             set
784             {
785                 SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
786             }
787         }
788         public PropertyMap Shadow
789         {
790             get
791             {
792                 PropertyMap temp = new PropertyMap();
793                 GetProperty(TextEditor.Property.SHADOW).Get(temp);
794                 return temp;
795             }
796             set
797             {
798                 SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
799             }
800         }
801         public PropertyMap InputShadow
802         {
803             get
804             {
805                 PropertyMap temp = new PropertyMap();
806                 GetProperty(TextEditor.Property.INPUT_SHADOW).Get(temp);
807                 return temp;
808             }
809             set
810             {
811                 SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
812             }
813         }
814         public PropertyMap Emboss
815         {
816             get
817             {
818                 PropertyMap temp = new PropertyMap();
819                 GetProperty(TextEditor.Property.EMBOSS).Get(temp);
820                 return temp;
821             }
822             set
823             {
824                 SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
825             }
826         }
827         public PropertyMap InputEmboss
828         {
829             get
830             {
831                 PropertyMap temp = new PropertyMap();
832                 GetProperty(TextEditor.Property.INPUT_EMBOSS).Get(temp);
833                 return temp;
834             }
835             set
836             {
837                 SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
838             }
839         }
840         public PropertyMap Outline
841         {
842             get
843             {
844                 PropertyMap temp = new PropertyMap();
845                 GetProperty(TextEditor.Property.OUTLINE).Get(temp);
846                 return temp;
847             }
848             set
849             {
850                 SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
851             }
852         }
853         public PropertyMap InputOutline
854         {
855             get
856             {
857                 PropertyMap temp = new PropertyMap();
858                 GetProperty(TextEditor.Property.INPUT_OUTLINE).Get(temp);
859                 return temp;
860             }
861             set
862             {
863                 SetProperty(TextEditor.Property.INPUT_OUTLINE, new Tizen.NUI.PropertyValue(value));
864             }
865         }
866
867     }
868
869 }