Remove Actor class and move Actor APIs into View
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / internal / Popup.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 Popup : View {
34   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
35
36   internal Popup(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Popup_SWIGUpcast(cPtr), cMemoryOwn) {
37     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
38   }
39
40   internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Popup obj) {
41     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
42   }
43
44   ~Popup() {
45     DisposeQueue.Instance.Add(this);
46   }
47
48   public override void Dispose() {
49     if (!Stage.IsInstalled()) {
50       DisposeQueue.Instance.Add(this);
51       return;
52     }
53
54     lock(this) {
55       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
56         if (swigCMemOwn) {
57           swigCMemOwn = false;
58           NDalicPINVOKE.delete_Popup(swigCPtr);
59         }
60         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
61       }
62       global::System.GC.SuppressFinalize(this);
63       base.Dispose();
64     }
65   }
66
67
68
69   public class OutsideTouchedEventArgs : EventArgs
70   {
71   }
72
73   public class ShowingEventArgs : EventArgs
74   {
75   }
76
77   public class ShownEventArgs : EventArgs
78   {
79   }
80
81   public class HidingEventArgs : EventArgs
82   {
83   }
84
85   public class HiddenEventArgs : EventArgs
86   {
87   }
88
89   [UnmanagedFunctionPointer(CallingConvention.StdCall)]
90   private delegate void OutsideTouchedEventCallbackDelegate();
91   private DaliEventHandler<object,OutsideTouchedEventArgs> _popUpOutsideTouchedEventHandler;
92   private OutsideTouchedEventCallbackDelegate _popUpOutsideTouchedEventCallbackDelegate;
93
94   [UnmanagedFunctionPointer(CallingConvention.StdCall)]
95   private delegate void ShowingEventCallbackDelegate();
96   private DaliEventHandler<object,ShowingEventArgs> _popUpShowingEventHandler;
97   private ShowingEventCallbackDelegate _popUpShowingEventCallbackDelegate;
98
99   [UnmanagedFunctionPointer(CallingConvention.StdCall)]
100   private delegate void ShownEventCallbackDelegate();
101   private DaliEventHandler<object,ShownEventArgs> _popUpShownEventHandler;
102   private ShownEventCallbackDelegate _popUpShownEventCallbackDelegate;
103
104   [UnmanagedFunctionPointer(CallingConvention.StdCall)]
105   private delegate void HidingEventCallbackDelegate();
106   private DaliEventHandler<object,HidingEventArgs> _popUpHidingEventHandler;
107   private HidingEventCallbackDelegate _popUpHidingEventCallbackDelegate;
108
109   [UnmanagedFunctionPointer(CallingConvention.StdCall)]
110   private delegate void HiddenEventCallbackDelegate();
111   private DaliEventHandler<object,HiddenEventArgs> _popUpHiddenEventHandler;
112   private HiddenEventCallbackDelegate _popUpHiddenEventCallbackDelegate;
113
114   public event DaliEventHandler<object,OutsideTouchedEventArgs> OutsideTouched
115   {
116      add
117      {
118         lock(this)
119         {
120            // Restricted to only one listener
121            if (_popUpOutsideTouchedEventHandler == null)
122            {
123               _popUpOutsideTouchedEventHandler += value;
124
125               _popUpOutsideTouchedEventCallbackDelegate = new OutsideTouchedEventCallbackDelegate(OnOutsideTouched);
126               this.OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);
127            }
128         }
129      }
130
131      remove
132      {
133         lock(this)
134         {
135            if (_popUpOutsideTouchedEventHandler != null)
136            {
137               this.OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallbackDelegate);
138            }
139
140            _popUpOutsideTouchedEventHandler -= value;
141         }
142      }
143   }
144
145   // Callback for Popup OutsideTouchedSignal
146   private void OnOutsideTouched()
147   {
148      OutsideTouchedEventArgs e = new OutsideTouchedEventArgs();
149
150      if (_popUpOutsideTouchedEventHandler != null)
151      {
152         //here we send all data to user event handlers
153         _popUpOutsideTouchedEventHandler(this, e);
154      }
155   }
156
157   public event DaliEventHandler<object,ShowingEventArgs> Showing
158   {
159      add
160      {
161         lock(this)
162         {
163            // Restricted to only one listener
164            if (_popUpShowingEventHandler == null)
165            {
166               _popUpShowingEventHandler += value;
167
168               _popUpShowingEventCallbackDelegate = new ShowingEventCallbackDelegate(OnShowing);
169               this.ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);
170            }
171         }
172      }
173
174      remove
175      {
176         lock(this)
177         {
178            if (_popUpShowingEventHandler != null)
179            {
180               this.ShowingSignal().Disconnect(_popUpShowingEventCallbackDelegate);
181            }
182
183            _popUpShowingEventHandler -= value;
184         }
185      }
186   }
187
188   // Callback for ShowingSignal
189   private void OnShowing()
190   {
191      ShowingEventArgs e = new ShowingEventArgs();
192
193      if (_popUpShowingEventHandler != null)
194      {
195         //here we send all data to user event handlers
196         _popUpShowingEventHandler(this, e);
197      }
198   }
199
200
201   public event DaliEventHandler<object,ShownEventArgs> Shown
202   {
203      add
204      {
205         lock(this)
206         {
207            // Restricted to only one listener
208            if (_popUpShownEventHandler == null)
209            {
210               _popUpShownEventHandler += value;
211
212               _popUpShownEventCallbackDelegate = new ShownEventCallbackDelegate(OnShown);
213               this.ShownSignal().Connect(_popUpShownEventCallbackDelegate);
214            }
215         }
216      }
217
218      remove
219      {
220         lock(this)
221         {
222            if (_popUpShownEventHandler != null)
223            {
224               this.ShownSignal().Disconnect(_popUpShownEventCallbackDelegate);
225            }
226
227            _popUpShownEventHandler -= value;
228         }
229      }
230   }
231
232   // Callback for ShownSignal
233   private void OnShown()
234   {
235      ShownEventArgs e = new ShownEventArgs();
236
237      if (_popUpShownEventHandler != null)
238      {
239         //here we send all data to user event handlers
240         _popUpShownEventHandler(this, e);
241      }
242   }
243
244   public event DaliEventHandler<object,HidingEventArgs> Hiding
245   {
246      add
247      {
248         lock(this)
249         {
250            // Restricted to only one listener
251            if (_popUpHidingEventHandler == null)
252            {
253               _popUpHidingEventHandler += value;
254
255               _popUpHidingEventCallbackDelegate = new HidingEventCallbackDelegate(OnHiding);
256               this.HidingSignal().Connect(_popUpHidingEventCallbackDelegate);
257            }
258         }
259      }
260
261      remove
262      {
263         lock(this)
264         {
265            if (_popUpHidingEventHandler != null)
266            {
267               this.HidingSignal().Disconnect(_popUpHidingEventCallbackDelegate);
268            }
269
270            _popUpHidingEventHandler -= value;
271         }
272      }
273   }
274
275   // Callback for HidingSignal
276   private void OnHiding()
277   {
278      HidingEventArgs e = new HidingEventArgs();
279
280      if (_popUpHidingEventHandler != null)
281      {
282         //here we send all data to user event handlers
283         _popUpHidingEventHandler(this, e);
284      }
285   }
286
287   public event DaliEventHandler<object,HiddenEventArgs> Hidden
288   {
289      add
290      {
291         lock(this)
292         {
293            // Restricted to only one listener
294            if (_popUpHiddenEventHandler == null)
295            {
296               _popUpHiddenEventHandler += value;
297
298               _popUpHiddenEventCallbackDelegate = new HiddenEventCallbackDelegate(OnHidden);
299               this.HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);
300            }
301         }
302      }
303
304      remove
305      {
306         lock(this)
307         {
308            if (_popUpHiddenEventHandler != null)
309            {
310               this.HiddenSignal().Disconnect(_popUpHiddenEventCallbackDelegate);
311            }
312
313            _popUpHiddenEventHandler -= value;
314         }
315      }
316   }
317
318   // Callback for HiddenSignal
319   private void OnHidden()
320   {
321      HiddenEventArgs e = new HiddenEventArgs();
322
323      if (_popUpHiddenEventHandler != null)
324      {
325         //here we send all data to user event handlers
326         _popUpHiddenEventHandler(this, e);
327      }
328   }
329
330   public class Property : global::System.IDisposable {
331     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
332     protected bool swigCMemOwn;
333   
334     internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
335       swigCMemOwn = cMemoryOwn;
336       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
337     }
338   
339     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
340       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
341     }
342   
343     ~Property() {
344       Dispose();
345     }
346   
347     public virtual void Dispose() {
348       lock(this) {
349         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
350           if (swigCMemOwn) {
351             swigCMemOwn = false;
352             NDalicPINVOKE.delete_Popup_Property(swigCPtr);
353           }
354           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
355         }
356         global::System.GC.SuppressFinalize(this);
357       }
358     }
359   
360     public Property() : this(NDalicPINVOKE.new_Popup_Property(), true) {
361       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
362     }
363   
364     public static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();
365     public static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();
366     public static readonly int FOOTER = NDalicPINVOKE.Popup_Property_FOOTER_get();
367     public static readonly int DISPLAY_STATE = NDalicPINVOKE.Popup_Property_DISPLAY_STATE_get();
368     public static readonly int TOUCH_TRANSPARENT = NDalicPINVOKE.Popup_Property_TOUCH_TRANSPARENT_get();
369     public static readonly int TAIL_VISIBILITY = NDalicPINVOKE.Popup_Property_TAIL_VISIBILITY_get();
370     public static readonly int TAIL_POSITION = NDalicPINVOKE.Popup_Property_TAIL_POSITION_get();
371     public static readonly int CONTEXTUAL_MODE = NDalicPINVOKE.Popup_Property_CONTEXTUAL_MODE_get();
372     public static readonly int ANIMATION_DURATION = NDalicPINVOKE.Popup_Property_ANIMATION_DURATION_get();
373     public static readonly int ANIMATION_MODE = NDalicPINVOKE.Popup_Property_ANIMATION_MODE_get();
374     public static readonly int ENTRY_ANIMATION = NDalicPINVOKE.Popup_Property_ENTRY_ANIMATION_get();
375     public static readonly int EXIT_ANIMATION = NDalicPINVOKE.Popup_Property_EXIT_ANIMATION_get();
376     public static readonly int AUTO_HIDE_DELAY = NDalicPINVOKE.Popup_Property_AUTO_HIDE_DELAY_get();
377     public static readonly int BACKING_ENABLED = NDalicPINVOKE.Popup_Property_BACKING_ENABLED_get();
378     public static readonly int BACKING_COLOR = NDalicPINVOKE.Popup_Property_BACKING_COLOR_get();
379     public static readonly int POPUP_BACKGROUND_IMAGE = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_IMAGE_get();
380     public static readonly int POPUP_BACKGROUND_BORDER = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_BORDER_get();
381     public static readonly int TAIL_UP_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_UP_IMAGE_get();
382     public static readonly int TAIL_DOWN_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_DOWN_IMAGE_get();
383     public static readonly int TAIL_LEFT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_LEFT_IMAGE_get();
384     public static readonly int TAIL_RIGHT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_RIGHT_IMAGE_get();
385   
386   }
387
388   public Popup () : this (NDalicPINVOKE.Popup_New(), true) {
389       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
390
391   }
392   public Popup(Popup handle) : this(NDalicPINVOKE.new_Popup__SWIG_1(Popup.getCPtr(handle)), true) {
393     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
394   }
395
396   public Popup Assign(Popup handle) {
397     Popup ret = new Popup(NDalicPINVOKE.Popup_Assign(swigCPtr, Popup.getCPtr(handle)), false);
398     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
399     return ret;
400   }
401
402   public new static Popup DownCast(BaseHandle handle) {
403     Popup ret = new Popup(NDalicPINVOKE.Popup_DownCast(BaseHandle.getCPtr(handle)), true);
404     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
405     return ret;
406   }
407
408   public void SetTitle(View titleView) {
409     NDalicPINVOKE.Popup_SetTitle(swigCPtr, View.getCPtr(titleView));
410     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
411   }
412
413   public View GetTitle() {
414     View ret = new View(NDalicPINVOKE.Popup_GetTitle(swigCPtr), true);
415     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
416     return ret;
417   }
418
419   public void SetContent(View content) {
420     NDalicPINVOKE.Popup_SetContent(swigCPtr, View.getCPtr(content));
421     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
422   }
423
424   public View GetContent() {
425     View ret = new View(NDalicPINVOKE.Popup_GetContent(swigCPtr), true);
426     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
427     return ret;
428   }
429
430   public void SetFooter(View footer) {
431     NDalicPINVOKE.Popup_SetFooter(swigCPtr, View.getCPtr(footer));
432     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
433   }
434
435   public View GetFooter() {
436     View ret = new View(NDalicPINVOKE.Popup_GetFooter(swigCPtr), true);
437     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
438     return ret;
439   }
440
441   public void SetDisplayState(Popup.DisplayStateType displayState) {
442     NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);
443     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
444   }
445
446   public Popup.DisplayStateType GetDisplayState() {
447     Popup.DisplayStateType ret = (Popup.DisplayStateType)NDalicPINVOKE.Popup_GetDisplayState(swigCPtr);
448     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
449     return ret;
450   }
451
452   public VoidSignal OutsideTouchedSignal() {
453     VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_OutsideTouchedSignal(swigCPtr), false);
454     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
455     return ret;
456   }
457
458   public VoidSignal ShowingSignal() {
459     VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShowingSignal(swigCPtr), false);
460     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
461     return ret;
462   }
463
464   public VoidSignal ShownSignal() {
465     VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShownSignal(swigCPtr), false);
466     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
467     return ret;
468   }
469
470   public VoidSignal HidingSignal() {
471     VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HidingSignal(swigCPtr), false);
472     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
473     return ret;
474   }
475
476   public VoidSignal HiddenSignal() {
477     VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HiddenSignal(swigCPtr), false);
478     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
479     return ret;
480   }
481
482   public enum PropertyRange {
483     PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
484     PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000
485   }
486
487   public enum DisplayStateType {
488     SHOWING,
489     SHOWN,
490     HIDING,
491     HIDDEN
492   }
493
494   public enum AnimationModeType {
495     NONE,
496     ZOOM,
497     FADE,
498     CUSTOM
499   }
500
501   public enum ContextualModeType {
502     NON_CONTEXTUAL,
503     ABOVE,
504     RIGHT,
505     BELOW,
506     LEFT
507   }
508
509   public Dali.Property.Map Title
510   {
511     get
512     {
513       Dali.Property.Map temp = new Dali.Property.Map();
514       GetProperty( Popup.Property.TITLE).Get(  temp );
515       return temp;
516     }
517     set
518     {
519       SetProperty( Popup.Property.TITLE, new Dali.Property.Value( value ) );
520     }
521   }
522   public Dali.Property.Map Content
523   {
524     get
525     {
526       Dali.Property.Map temp = new Dali.Property.Map();
527       GetProperty( Popup.Property.CONTENT).Get(  temp );
528       return temp;
529     }
530     set
531     {
532       SetProperty( Popup.Property.CONTENT, new Dali.Property.Value( value ) );
533     }
534   }
535   public Dali.Property.Map Footer
536   {
537     get
538     {
539       Dali.Property.Map temp = new Dali.Property.Map();
540       GetProperty( Popup.Property.FOOTER).Get(  temp );
541       return temp;
542     }
543     set
544     {
545       SetProperty( Popup.Property.FOOTER, new Dali.Property.Value( value ) );
546     }
547   }
548   public string DisplayState
549   {
550     get
551     {
552       string temp;
553       GetProperty( Popup.Property.DISPLAY_STATE).Get( out temp );
554       return temp;
555     }
556     set
557     {
558       SetProperty( Popup.Property.DISPLAY_STATE, new Dali.Property.Value( value ) );
559     }
560   }
561   public bool TouchTransparent
562   {
563     get
564     {
565       bool temp = false;
566       GetProperty( Popup.Property.TOUCH_TRANSPARENT).Get( ref temp );
567       return temp;
568     }
569     set
570     {
571       SetProperty( Popup.Property.TOUCH_TRANSPARENT, new Dali.Property.Value( value ) );
572     }
573   }
574   public bool TailVisibility
575   {
576     get
577     {
578       bool temp = false;
579       GetProperty( Popup.Property.TAIL_VISIBILITY).Get( ref temp );
580       return temp;
581     }
582     set
583     {
584       SetProperty( Popup.Property.TAIL_VISIBILITY, new Dali.Property.Value( value ) );
585     }
586   }
587   public Vector3 TailPosition
588   {
589     get
590     {
591       Vector3 temp = new Vector3(0.0f,0.0f,0.0f);
592       GetProperty( Popup.Property.TAIL_POSITION).Get(  temp );
593       return temp;
594     }
595     set
596     {
597       SetProperty( Popup.Property.TAIL_POSITION, new Dali.Property.Value( value ) );
598     }
599   }
600   public string ContextualMode
601   {
602     get
603     {
604       string temp;
605       GetProperty( Popup.Property.CONTEXTUAL_MODE).Get( out temp );
606       return temp;
607     }
608     set
609     {
610       SetProperty( Popup.Property.CONTEXTUAL_MODE, new Dali.Property.Value( value ) );
611     }
612   }
613   public float AnimationDuration
614   {
615     get
616     {
617       float temp = 0.0f;
618       GetProperty( Popup.Property.ANIMATION_DURATION).Get( ref temp );
619       return temp;
620     }
621     set
622     {
623       SetProperty( Popup.Property.ANIMATION_DURATION, new Dali.Property.Value( value ) );
624     }
625   }
626   public string AnimationMode
627   {
628     get
629     {
630       string temp;
631       GetProperty( Popup.Property.ANIMATION_MODE).Get( out temp );
632       return temp;
633     }
634     set
635     {
636       SetProperty( Popup.Property.ANIMATION_MODE, new Dali.Property.Value( value ) );
637     }
638   }
639   public Dali.Property.Map EntryAnimation
640   {
641     get
642     {
643       Dali.Property.Map temp = new Dali.Property.Map();
644       GetProperty( Popup.Property.ENTRY_ANIMATION).Get(  temp );
645       return temp;
646     }
647     set
648     {
649       SetProperty( Popup.Property.ENTRY_ANIMATION, new Dali.Property.Value( value ) );
650     }
651   }
652   public Dali.Property.Map ExitAnimation
653   {
654     get
655     {
656       Dali.Property.Map temp = new Dali.Property.Map();
657       GetProperty( Popup.Property.EXIT_ANIMATION).Get(  temp );
658       return temp;
659     }
660     set
661     {
662       SetProperty( Popup.Property.EXIT_ANIMATION, new Dali.Property.Value( value ) );
663     }
664   }
665   public int AutoHideDelay
666   {
667     get
668     {
669       int temp = 0;
670       GetProperty( Popup.Property.AUTO_HIDE_DELAY).Get( ref temp );
671       return temp;
672     }
673     set
674     {
675       SetProperty( Popup.Property.AUTO_HIDE_DELAY, new Dali.Property.Value( value ) );
676     }
677   }
678   public bool BackingEnabled
679   {
680     get
681     {
682       bool temp = false;
683       GetProperty( Popup.Property.BACKING_ENABLED).Get( ref temp );
684       return temp;
685     }
686     set
687     {
688       SetProperty( Popup.Property.BACKING_ENABLED, new Dali.Property.Value( value ) );
689     }
690   }
691   public Vector4 BackingColor
692   {
693     get
694     {
695       Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f);
696       GetProperty( Popup.Property.BACKING_COLOR).Get(  temp );
697       return temp;
698     }
699     set
700     {
701       SetProperty( Popup.Property.BACKING_COLOR, new Dali.Property.Value( value ) );
702     }
703   }
704   public string PopupBackgroundImage
705   {
706     get
707     {
708       string temp;
709       GetProperty( Popup.Property.POPUP_BACKGROUND_IMAGE).Get( out temp );
710       return temp;
711     }
712     set
713     {
714       SetProperty( Popup.Property.POPUP_BACKGROUND_IMAGE, new Dali.Property.Value( value ) );
715     }
716   }
717   public Rectangle PopupBackgroundBorder
718   {
719     get
720     {
721       Rectangle temp = new Rectangle(0,0,0,0);
722       GetProperty( Popup.Property.POPUP_BACKGROUND_BORDER).Get(  temp );
723       return temp;
724     }
725     set
726     {
727       SetProperty( Popup.Property.POPUP_BACKGROUND_BORDER, new Dali.Property.Value( value ) );
728     }
729   }
730   public string TailUpImage
731   {
732     get
733     {
734       string temp;
735       GetProperty( Popup.Property.TAIL_UP_IMAGE).Get( out temp );
736       return temp;
737     }
738     set
739     {
740       SetProperty( Popup.Property.TAIL_UP_IMAGE, new Dali.Property.Value( value ) );
741     }
742   }
743   public string TailDownImage
744   {
745     get
746     {
747       string temp;
748       GetProperty( Popup.Property.TAIL_DOWN_IMAGE).Get( out temp );
749       return temp;
750     }
751     set
752     {
753       SetProperty( Popup.Property.TAIL_DOWN_IMAGE, new Dali.Property.Value( value ) );
754     }
755   }
756   public string TailLeftImage
757   {
758     get
759     {
760       string temp;
761       GetProperty( Popup.Property.TAIL_LEFT_IMAGE).Get( out temp );
762       return temp;
763     }
764     set
765     {
766       SetProperty( Popup.Property.TAIL_LEFT_IMAGE, new Dali.Property.Value( value ) );
767     }
768   }
769   public string TailRightImage
770   {
771     get
772     {
773       string temp;
774       GetProperty( Popup.Property.TAIL_RIGHT_IMAGE).Get( out temp );
775       return temp;
776     }
777     set
778     {
779       SetProperty( Popup.Property.TAIL_RIGHT_IMAGE, new Dali.Property.Value( value ) );
780     }
781   }
782
783 }
784
785 }