Add SetProperty and GetProperty to Visuals.
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / SWIG / events / accessibilitymanager-event.i
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 %define ACCESSIBILITY_EVENTHANDLER_TYPEMAP_EVENTARG(NameSpace, ClassName)
19   %typemap(csimports) NameSpace::ClassName %{
20     using System;
21     using System.Runtime.InteropServices;
22 %}
23
24 %enddef
25
26
27 %define ACCESSIBILITY_EVENTHANDLER_TYPEMAP_HELPER(NameSpace, ClassName)
28   %typemap(cscode) NameSpace::ClassName %{
29
30
31     /**
32       * @brief Event arguments that passed via StatusChanged signal
33       *
34       */
35     public class StatusChangedEventArgs : EventArgs
36     {
37       private AccessibilityManager _accessibilityManager;
38
39       public AccessibilityManager AccessibilityManager
40       {
41         get
42         {
43           return _accessibilityManager;
44         }
45         set
46         {
47           _accessibilityManager = value;
48         }
49       }
50     }
51
52     /**
53       * @brief Event arguments that passed via ActionNext signal
54       *
55       */
56     public class ActionNextEventArgs : EventArgs
57     {
58       private AccessibilityManager _accessibilityManager;
59
60       public AccessibilityManager AccessibilityManager
61       {
62         get
63         {
64           return _accessibilityManager;
65         }
66         set
67         {
68           _accessibilityManager = value;
69         }
70       }
71     }
72
73     /**
74       * @brief Event arguments that passed via ActionPrevious signal
75       *
76       */
77     public class ActionPreviousEventArgs : EventArgs
78     {
79       private AccessibilityManager _accessibilityManager;
80
81       public AccessibilityManager AccessibilityManager
82       {
83         get
84         {
85           return _accessibilityManager;
86         }
87         set
88         {
89           _accessibilityManager = value;
90         }
91       }
92     }
93
94     /**
95       * @brief Event arguments that passed via ActionActivate signal
96       *
97       */
98     public class ActionActivateEventArgs : EventArgs
99     {
100       private AccessibilityManager _accessibilityManager;
101
102       public AccessibilityManager AccessibilityManager
103       {
104         get
105         {
106           return _accessibilityManager;
107         }
108         set
109         {
110           _accessibilityManager = value;
111         }
112       }
113     }
114
115     /**
116       * @brief Event arguments that passed via ActionRead signal
117       *
118       */
119     public class ActionReadEventArgs : EventArgs
120     {
121       private AccessibilityManager _accessibilityManager;
122
123       public AccessibilityManager AccessibilityManager
124       {
125         get
126         {
127           return _accessibilityManager;
128         }
129         set
130         {
131           _accessibilityManager = value;
132         }
133       }
134     }
135
136     /**
137       * @brief Event arguments that passed via ActionOver signal
138       *
139       */
140     public class ActionOverEventArgs : EventArgs
141     {
142       private AccessibilityManager _accessibilityManager;
143
144       public AccessibilityManager AccessibilityManager
145       {
146         get
147         {
148           return _accessibilityManager;
149         }
150         set
151         {
152           _accessibilityManager = value;
153         }
154       }
155     }
156
157     /**
158       * @brief Event arguments that passed via ActionReadNext signal
159       *
160       */
161     public class ActionReadNextEventArgs : EventArgs
162     {
163       private AccessibilityManager _accessibilityManager;
164
165       public AccessibilityManager AccessibilityManager
166       {
167         get
168         {
169           return _accessibilityManager;
170         }
171         set
172         {
173           _accessibilityManager = value;
174         }
175       }
176     }
177
178     /**
179       * @brief Event arguments that passed via ActionReadPrevious signal
180       *
181       */
182     public class ActionReadPreviousEventArgs : EventArgs
183     {
184       private AccessibilityManager _accessibilityManager;
185
186       public AccessibilityManager AccessibilityManager
187       {
188         get
189         {
190           return _accessibilityManager;
191         }
192         set
193         {
194           _accessibilityManager = value;
195         }
196       }
197     }
198
199     /**
200       * @brief Event arguments that passed via ActionUp signal
201       *
202       */
203     public class ActionUpEventArgs : EventArgs
204     {
205       private AccessibilityManager _accessibilityManager;
206
207       public AccessibilityManager AccessibilityManager
208       {
209         get
210         {
211           return _accessibilityManager;
212         }
213         set
214         {
215           _accessibilityManager = value;
216         }
217       }
218     }
219
220     /**
221       * @brief Event arguments that passed via ActionDown signal
222       *
223       */
224     public class ActionDownEventArgs : EventArgs
225     {
226       private AccessibilityManager _accessibilityManager;
227
228       public AccessibilityManager AccessibilityManager
229       {
230         get
231         {
232           return _accessibilityManager;
233         }
234         set
235         {
236           _accessibilityManager = value;
237         }
238       }
239     }
240
241     /**
242       * @brief Event arguments that passed via ActionClearFocus signal
243       *
244       */
245     public class ActionClearFocusEventArgs : EventArgs
246     {
247       private AccessibilityManager _accessibilityManager;
248
249       public AccessibilityManager AccessibilityManager
250       {
251         get
252         {
253           return _accessibilityManager;
254         }
255         set
256         {
257           _accessibilityManager = value;
258         }
259       }
260     }
261
262     /**
263       * @brief Event arguments that passed via ActionBack signal
264       *
265       */
266     public class ActionBackEventArgs : EventArgs
267     {
268       private AccessibilityManager _accessibilityManager;
269
270       public AccessibilityManager AccessibilityManager
271       {
272         get
273         {
274           return _accessibilityManager;
275         }
276         set
277         {
278           _accessibilityManager = value;
279         }
280       }
281     }
282
283     /**
284       * @brief Event arguments that passed via ActionScrollUp signal
285       *
286       */
287     public class ActionScrollUpEventArgs : EventArgs
288     {
289       private AccessibilityManager _accessibilityManager;
290
291       public AccessibilityManager AccessibilityManager
292       {
293         get
294         {
295           return _accessibilityManager;
296         }
297         set
298         {
299           _accessibilityManager = value;
300         }
301       }
302     }
303
304     /**
305       * @brief Event arguments that passed via ActionScrollDown signal
306       *
307       */
308     public class ActionScrollDownEventArgs : EventArgs
309     {
310       private AccessibilityManager _accessibilityManager;
311
312       public AccessibilityManager AccessibilityManager
313       {
314         get
315         {
316           return _accessibilityManager;
317         }
318         set
319         {
320           _accessibilityManager = value;
321         }
322       }
323     }
324
325     /**
326       * @brief Event arguments that passed via ActionPageLeft signal
327       *
328       */
329     public class ActionPageLeftEventArgs : EventArgs
330     {
331       private AccessibilityManager _accessibilityManager;
332
333       public AccessibilityManager AccessibilityManager
334       {
335         get
336         {
337           return _accessibilityManager;
338         }
339         set
340         {
341           _accessibilityManager = value;
342         }
343       }
344     }
345
346     /**
347       * @brief Event arguments that passed via ActionPageRight signal
348       *
349       */
350     public class ActionPageRightEventArgs : EventArgs
351     {
352       private AccessibilityManager _accessibilityManager;
353
354       public AccessibilityManager AccessibilityManager
355       {
356         get
357         {
358           return _accessibilityManager;
359         }
360         set
361         {
362           _accessibilityManager = value;
363         }
364       }
365     }
366
367     /**
368       * @brief Event arguments that passed via ActionPageUp signal
369       *
370       */
371     public class ActionPageUpEventArgs : EventArgs
372     {
373       private AccessibilityManager _accessibilityManager;
374
375       public AccessibilityManager AccessibilityManager
376       {
377         get
378         {
379           return _accessibilityManager;
380         }
381         set
382         {
383           _accessibilityManager = value;
384         }
385       }
386     }
387
388     /**
389       * @brief Event arguments that passed via ActionPageDown signal
390       *
391       */
392     public class ActionPageDownEventArgs : EventArgs
393     {
394       private AccessibilityManager _accessibilityManager;
395
396       public AccessibilityManager AccessibilityManager
397       {
398         get
399         {
400           return _accessibilityManager;
401         }
402         set
403         {
404           _accessibilityManager = value;
405         }
406       }
407     }
408
409     /**
410       * @brief Event arguments that passed via ActionMoveToFirst signal
411       *
412       */
413     public class ActionMoveToFirstEventArgs : EventArgs
414     {
415       private AccessibilityManager _accessibilityManager;
416
417       public AccessibilityManager AccessibilityManager
418       {
419         get
420         {
421           return _accessibilityManager;
422         }
423         set
424         {
425           _accessibilityManager = value;
426         }
427       }
428     }
429
430     /**
431       * @brief Event arguments that passed via ActionMoveToLast signal
432       *
433       */
434     public class ActionMoveToLastEventArgs : EventArgs
435     {
436       private AccessibilityManager _accessibilityManager;
437
438       public AccessibilityManager AccessibilityManager
439       {
440         get
441         {
442           return _accessibilityManager;
443         }
444         set
445         {
446           _accessibilityManager = value;
447         }
448       }
449     }
450
451     /**
452       * @brief Event arguments that passed via ActionReadFromTop signal
453       *
454       */
455     public class ActionReadFromTopEventArgs : EventArgs
456     {
457       private AccessibilityManager _accessibilityManager;
458
459       public AccessibilityManager AccessibilityManager
460       {
461         get
462         {
463           return _accessibilityManager;
464         }
465         set
466         {
467           _accessibilityManager = value;
468         }
469       }
470     }
471
472     /**
473       * @brief Event arguments that passed via ActionReadFromNext signal
474       *
475       */
476     public class ActionReadFromNextEventArgs : EventArgs
477     {
478       private AccessibilityManager _accessibilityManager;
479
480       public AccessibilityManager AccessibilityManager
481       {
482         get
483         {
484           return _accessibilityManager;
485         }
486         set
487         {
488           _accessibilityManager = value;
489         }
490       }
491     }
492
493     /**
494       * @brief Event arguments that passed via ActionZoom signal
495       *
496       */
497     public class ActionZoomEventArgs : EventArgs
498     {
499       private AccessibilityManager _accessibilityManager;
500
501       public AccessibilityManager AccessibilityManager
502       {
503         get
504         {
505           return _accessibilityManager;
506         }
507         set
508         {
509           _accessibilityManager = value;
510         }
511       }
512     }
513
514     /**
515       * @brief Event arguments that passed via ActionReadIndicatorInformation signal
516       *
517       */
518     public class ActionReadIndicatorInformationEventArgs : EventArgs
519     {
520       private AccessibilityManager _accessibilityManager;
521
522       public AccessibilityManager AccessibilityManager
523       {
524         get
525         {
526           return _accessibilityManager;
527         }
528         set
529         {
530           _accessibilityManager = value;
531         }
532       }
533     }
534
535     /**
536       * @brief Event arguments that passed via ActionReadPauseResume signal
537       *
538       */
539     public class ActionReadPauseResumeEventArgs : EventArgs
540     {
541       private AccessibilityManager _accessibilityManager;
542
543       public AccessibilityManager AccessibilityManager
544       {
545         get
546         {
547           return _accessibilityManager;
548         }
549         set
550         {
551           _accessibilityManager = value;
552         }
553       }
554     }
555
556     /**
557       * @brief Event arguments that passed via ActionStartStop signal
558       *
559       */
560     public class ActionStartStopEventArgs : EventArgs
561     {
562       private AccessibilityManager _accessibilityManager;
563
564       public AccessibilityManager AccessibilityManager
565       {
566         get
567         {
568           return _accessibilityManager;
569         }
570         set
571         {
572           _accessibilityManager = value;
573         }
574       }
575     }
576
577     /**
578       * @brief Event arguments that passed via ActionScroll signal
579       *
580       */
581     public class ActionScrollEventArgs : EventArgs
582     {
583       private AccessibilityManager _accessibilityManager;
584       private TouchEvent _touchEvent;
585
586       public AccessibilityManager AccessibilityManager
587       {
588         get
589         {
590           return _accessibilityManager;
591         }
592         set
593         {
594           _accessibilityManager = value;
595         }
596       }
597
598       public TouchEvent TouchEvent
599       {
600         get
601         {
602           return _touchEvent;
603         }
604         set
605         {
606           _touchEvent = value;
607         }
608       }
609     }
610
611     /**
612       * @brief Event arguments that passed via ActionPageUp signal
613       *
614       */
615     public class FocusChangedEventArgs : EventArgs
616     {
617       private Actor _actorCurrent;
618       private Actor _actorNext;
619
620       public Actor ActorCurrent
621       {
622         get
623         {
624           return _actorCurrent;
625         }
626         set
627         {
628           _actorCurrent = value;
629         }
630       }
631
632       public Actor ActorNext
633       {
634         get
635         {
636           return _actorNext;
637         }
638         set
639         {
640           _actorNext = value;
641         }
642       }
643     }
644
645     /**
646       * @brief Event arguments that passed via FocusedActorActivated signal
647       *
648       */
649     public class FocusedActorActivatedEventArgs : EventArgs
650     {
651       private Actor _actor;
652
653
654       public Actor Actor
655       {
656         get
657         {
658           return _actor;
659         }
660         set
661         {
662           _actor = value;
663         }
664       }
665     }
666
667     /**
668       * @brief Event arguments that passed via FocusOvershot signal
669       *
670       */
671     public class FocusOvershotEventArgs : EventArgs
672     {
673       private Actor _currentFocusedActor;
674       private AccessibilityManager.FocusOvershotDirection _focusOvershotDirection;
675
676       public Actor CurrentFocusedActor
677       {
678         get
679         {
680           return _currentFocusedActor;
681         }
682         set
683         {
684           _currentFocusedActor = value;
685         }
686       }
687
688       public AccessibilityManager.FocusOvershotDirection FocusOvershotDirection
689       {
690         get
691         {
692           return _focusOvershotDirection;
693         }
694         set
695         {
696           _focusOvershotDirection = value;
697         }
698       }
699     }
700
701
702     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
703     private delegate bool StatusChangedEventCallbackDelegate(IntPtr accessibilityManager);
704     private DaliEventHandlerWithReturnType<object,StatusChangedEventArgs,bool> _accessibilityManagerStatusChangedEventHandler;
705     private StatusChangedEventCallbackDelegate _accessibilityManagerStatusChangedEventCallbackDelegate;
706
707     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
708     private delegate bool ActionNextEventCallbackDelegate(IntPtr accessibilityManager);
709     private DaliEventHandlerWithReturnType<object,ActionNextEventArgs,bool> _accessibilityManagerActionNextEventHandler;
710     private ActionNextEventCallbackDelegate _accessibilityManagerActionNextEventCallbackDelegate;
711
712     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
713     private delegate bool ActionPreviousEventCallbackDelegate(IntPtr accessibilityManager);
714     private DaliEventHandlerWithReturnType<object,ActionPreviousEventArgs,bool> _accessibilityManagerActionPreviousEventHandler;
715     private ActionPreviousEventCallbackDelegate _accessibilityManagerActionPreviousEventCallbackDelegate;
716
717     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
718     private delegate bool ActionActivateEventCallbackDelegate(IntPtr accessibilityManager);
719     private DaliEventHandlerWithReturnType<object,ActionActivateEventArgs,bool> _accessibilityManagerActionActivateEventHandler;
720     private ActionActivateEventCallbackDelegate _accessibilityManagerActionActivateEventCallbackDelegate;
721
722     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
723     private delegate bool ActionReadEventCallbackDelegate(IntPtr accessibilityManager);
724     private DaliEventHandlerWithReturnType<object,ActionReadEventArgs,bool> _accessibilityManagerActionReadEventHandler;
725     private ActionReadEventCallbackDelegate _accessibilityManagerActionReadEventCallbackDelegate;
726
727     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
728     private delegate bool ActionOverEventCallbackDelegate(IntPtr accessibilityManager);
729     private DaliEventHandlerWithReturnType<object,ActionOverEventArgs,bool> _accessibilityManagerActionOverEventHandler;
730     private ActionOverEventCallbackDelegate _accessibilityManagerActionOverEventCallbackDelegate;
731
732     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
733     private delegate bool ActionReadNextEventCallbackDelegate(IntPtr accessibilityManager);
734     private DaliEventHandlerWithReturnType<object,ActionReadNextEventArgs,bool> _accessibilityManagerActionReadNextEventHandler;
735     private ActionReadNextEventCallbackDelegate _accessibilityManagerActionReadNextEventCallbackDelegate;
736
737     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
738     private delegate bool ActionReadPreviousEventCallbackDelegate(IntPtr accessibilityManager);
739     private DaliEventHandlerWithReturnType<object,ActionReadPreviousEventArgs,bool> _accessibilityManagerActionReadPreviousEventHandler;
740     private ActionReadPreviousEventCallbackDelegate _accessibilityManagerActionReadPreviousEventCallbackDelegate;
741
742     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
743     private delegate bool ActionUpEventCallbackDelegate(IntPtr accessibilityManager);
744     private DaliEventHandlerWithReturnType<object,ActionUpEventArgs,bool> _accessibilityManagerActionUpEventHandler;
745     private ActionUpEventCallbackDelegate _accessibilityManagerActionUpEventCallbackDelegate;
746
747     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
748     private delegate bool ActionDownEventCallbackDelegate(IntPtr accessibilityManager);
749     private DaliEventHandlerWithReturnType<object,ActionDownEventArgs,bool> _accessibilityManagerActionDownEventHandler;
750     private ActionDownEventCallbackDelegate _accessibilityManagerActionDownEventCallbackDelegate;
751
752     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
753     private delegate bool ActionClearFocusEventCallbackDelegate(IntPtr accessibilityManager);
754     private DaliEventHandlerWithReturnType<object,ActionClearFocusEventArgs,bool> _accessibilityManagerActionClearFocusEventHandler;
755     private ActionClearFocusEventCallbackDelegate _accessibilityManagerActionClearFocusEventCallbackDelegate;
756
757     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
758     private delegate bool ActionBackEventCallbackDelegate(IntPtr accessibilityManager);
759     private DaliEventHandlerWithReturnType<object,ActionBackEventArgs,bool> _accessibilityManagerActionBackEventHandler;
760     private ActionBackEventCallbackDelegate _accessibilityManagerActionBackEventCallbackDelegate;
761
762     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
763     private delegate bool ActionScrollUpEventCallbackDelegate(IntPtr accessibilityManager);
764     private DaliEventHandlerWithReturnType<object,ActionScrollUpEventArgs,bool> _accessibilityManagerActionScrollUpEventHandler;
765     private ActionScrollUpEventCallbackDelegate _accessibilityManagerActionScrollUpEventCallbackDelegate;
766
767     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
768     private delegate bool ActionScrollDownEventCallbackDelegate(IntPtr accessibilityManager);
769     private DaliEventHandlerWithReturnType<object,ActionScrollDownEventArgs,bool> _accessibilityManagerActionScrollDownEventHandler;
770     private ActionScrollDownEventCallbackDelegate _accessibilityManagerActionScrollDownEventCallbackDelegate;
771
772     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
773     private delegate bool ActionPageLeftEventCallbackDelegate(IntPtr accessibilityManager);
774     private DaliEventHandlerWithReturnType<object,ActionPageLeftEventArgs,bool> _accessibilityManagerActionPageLeftEventHandler;
775     private ActionPageLeftEventCallbackDelegate _accessibilityManagerActionPageLeftEventCallbackDelegate;
776
777     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
778     private delegate bool ActionPageRightEventCallbackDelegate(IntPtr accessibilityManager);
779     private DaliEventHandlerWithReturnType<object,ActionPageRightEventArgs,bool> _accessibilityManagerActionPageRightEventHandler;
780     private ActionPageRightEventCallbackDelegate _accessibilityManagerActionPageRightEventCallbackDelegate;
781
782     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
783     private delegate bool ActionPageUpEventCallbackDelegate(IntPtr accessibilityManager);
784     private DaliEventHandlerWithReturnType<object,ActionPageUpEventArgs,bool> _accessibilityManagerActionPageUpEventHandler;
785     private ActionPageUpEventCallbackDelegate _accessibilityManagerActionPageUpEventCallbackDelegate;
786
787     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
788     private delegate bool ActionPageDownEventCallbackDelegate(IntPtr accessibilityManager);
789     private DaliEventHandlerWithReturnType<object,ActionPageDownEventArgs,bool> _accessibilityManagerActionPageDownEventHandler;
790     private ActionPageDownEventCallbackDelegate _accessibilityManagerActionPageDownEventCallbackDelegate;
791
792     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
793     private delegate bool ActionMoveToFirstEventCallbackDelegate(IntPtr accessibilityManager);
794     private DaliEventHandlerWithReturnType<object,ActionMoveToFirstEventArgs,bool> _accessibilityManagerActionMoveToFirstEventHandler;
795     private ActionMoveToFirstEventCallbackDelegate _accessibilityManagerActionMoveToFirstEventCallbackDelegate;
796
797     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
798     private delegate bool ActionMoveToLastEventCallbackDelegate(IntPtr accessibilityManager);
799     private DaliEventHandlerWithReturnType<object,ActionMoveToLastEventArgs,bool> _accessibilityManagerActionMoveToLastEventHandler;
800     private ActionMoveToLastEventCallbackDelegate _accessibilityManagerActionMoveToLastEventCallbackDelegate;
801
802     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
803     private delegate bool ActionReadFromTopEventCallbackDelegate(IntPtr accessibilityManager);
804     private DaliEventHandlerWithReturnType<object,ActionReadFromTopEventArgs,bool> _accessibilityManagerActionReadFromTopEventHandler;
805     private ActionReadFromTopEventCallbackDelegate _accessibilityManagerActionReadFromTopEventCallbackDelegate;
806
807     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
808     private delegate bool ActionReadFromNextEventCallbackDelegate(IntPtr accessibilityManager);
809     private DaliEventHandlerWithReturnType<object,ActionReadFromNextEventArgs,bool> _accessibilityManagerActionReadFromNextEventHandler;
810     private ActionReadFromNextEventCallbackDelegate _accessibilityManagerActionReadFromNextEventCallbackDelegate;
811
812     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
813     private delegate bool ActionZoomEventCallbackDelegate(IntPtr accessibilityManager);
814     private DaliEventHandlerWithReturnType<object,ActionZoomEventArgs,bool> _accessibilityManagerActionZoomEventHandler;
815     private ActionZoomEventCallbackDelegate _accessibilityManagerActionZoomEventCallbackDelegate;
816
817     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
818     private delegate bool ActionReadIndicatorInformationEventCallbackDelegate(IntPtr accessibilityManager);
819     private DaliEventHandlerWithReturnType<object,ActionReadIndicatorInformationEventArgs,bool> _accessibilityManagerActionReadIndicatorInformationEventHandler;
820     private ActionReadIndicatorInformationEventCallbackDelegate _accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate;
821
822     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
823     private delegate bool ActionReadPauseResumeEventCallbackDelegate(IntPtr accessibilityManager);
824     private DaliEventHandlerWithReturnType<object,ActionReadPauseResumeEventArgs,bool> _accessibilityManagerActionReadPauseResumeEventHandler;
825     private ActionReadPauseResumeEventCallbackDelegate _accessibilityManagerActionReadPauseResumeEventCallbackDelegate;
826
827     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
828     private delegate bool ActionStartStopEventCallbackDelegate(IntPtr accessibilityManager);
829     private DaliEventHandlerWithReturnType<object,ActionStartStopEventArgs,bool> _accessibilityManagerActionStartStopEventHandler;
830     private ActionStartStopEventCallbackDelegate _accessibilityManagerActionStartStopEventCallbackDelegate;
831
832     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
833     private delegate bool ActionScrollEventCallbackDelegate(IntPtr accessibilityManager, IntPtr touchEvent);
834     private DaliEventHandlerWithReturnType<object,ActionScrollEventArgs,bool> _accessibilityManagerActionScrollEventHandler;
835     private ActionScrollEventCallbackDelegate _accessibilityManagerActionScrollEventCallbackDelegate;
836
837     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
838     private delegate void FocusChangedEventCallbackDelegate(IntPtr actor1, IntPtr actor2);
839     private DaliEventHandler<object,FocusChangedEventArgs> _accessibilityManagerFocusChangedEventHandler;
840     private FocusChangedEventCallbackDelegate _accessibilityManagerFocusChangedEventCallbackDelegate;
841
842     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
843     private delegate void FocusedActorActivatedEventCallbackDelegate(IntPtr actor);
844     private DaliEventHandler<object,FocusedActorActivatedEventArgs> _accessibilityManagerFocusedActorActivatedEventHandler;
845     private FocusedActorActivatedEventCallbackDelegate _accessibilityManagerFocusedActorActivatedEventCallbackDelegate;
846
847     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
848     private delegate void FocusOvershotEventCallbackDelegate(IntPtr currentFocusedActor, AccessibilityManager.FocusOvershotDirection direction);
849     private DaliEventHandler<object,FocusOvershotEventArgs> _accessibilityManagerFocusOvershotEventHandler;
850     private FocusOvershotEventCallbackDelegate _accessibilityManagerFocusOvershotEventCallbackDelegate;
851
852     public event DaliEventHandlerWithReturnType<object,StatusChangedEventArgs,bool> StatusChanged
853     {
854       add
855       {
856         lock(this)
857         {
858           // Restricted to only one listener
859           if (_accessibilityManagerStatusChangedEventHandler == null)
860           {
861             _accessibilityManagerStatusChangedEventHandler += value;
862
863             _accessibilityManagerStatusChangedEventCallbackDelegate = new StatusChangedEventCallbackDelegate(OnStatusChanged);
864             this.StatusChangedSignal().Connect(_accessibilityManagerStatusChangedEventCallbackDelegate);
865           }
866         }
867       }
868
869       remove
870       {
871         lock(this)
872         {
873           if (_accessibilityManagerStatusChangedEventHandler != null)
874           {
875             this.StatusChangedSignal().Disconnect(_accessibilityManagerStatusChangedEventCallbackDelegate);
876           }
877
878           _accessibilityManagerStatusChangedEventHandler -= value;
879         }
880       }
881     }
882
883     // Callback for AccessibilityManager StatusChangedSignal
884     private bool OnStatusChanged(IntPtr data)
885     {
886       StatusChangedEventArgs e = new StatusChangedEventArgs();
887
888       // Populate all members of "e" (StatusChangedEventArgs) with real data
889       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
890
891       if (_accessibilityManagerStatusChangedEventHandler != null)
892       {
893         //here we send all data to user event handlers
894         return _accessibilityManagerStatusChangedEventHandler(this, e, true);
895       }
896       return false;
897     }
898
899     public event DaliEventHandlerWithReturnType<object,ActionNextEventArgs,bool> ActionNext
900     {
901       add
902       {
903         lock(this)
904         {
905           // Restricted to only one listener
906           if (_accessibilityManagerActionNextEventHandler == null)
907           {
908             _accessibilityManagerActionNextEventHandler += value;
909
910             _accessibilityManagerActionNextEventCallbackDelegate = new ActionNextEventCallbackDelegate(OnActionNext);
911             this.ActionNextSignal().Connect(_accessibilityManagerActionNextEventCallbackDelegate);
912           }
913         }
914       }
915
916       remove
917       {
918         lock(this)
919         {
920           if (_accessibilityManagerActionNextEventHandler != null)
921           {
922             this.ActionNextSignal().Disconnect(_accessibilityManagerActionNextEventCallbackDelegate);
923           }
924
925           _accessibilityManagerActionNextEventHandler -= value;
926         }
927       }
928     }
929
930     // Callback for AccessibilityManager ActionNextSignal
931     private bool OnActionNext(IntPtr data)
932     {
933       ActionNextEventArgs e = new ActionNextEventArgs();
934
935       // Populate all members of "e" (ActionNextEventArgs) with real data
936       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
937
938       if (_accessibilityManagerActionNextEventHandler != null)
939       {
940         //here we send all data to user event handlers
941         return _accessibilityManagerActionNextEventHandler(this, e, true);
942       }
943       return false;
944     }
945
946     public event DaliEventHandlerWithReturnType<object,ActionPreviousEventArgs,bool> ActionPrevious
947     {
948       add
949       {
950         lock(this)
951         {
952           // Restricted to only one listener
953           if (_accessibilityManagerActionPreviousEventHandler == null)
954           {
955             _accessibilityManagerActionPreviousEventHandler += value;
956
957             _accessibilityManagerActionPreviousEventCallbackDelegate = new ActionPreviousEventCallbackDelegate(OnActionPrevious);
958             this.ActionPreviousSignal().Connect(_accessibilityManagerActionPreviousEventCallbackDelegate);
959           }
960         }
961       }
962
963       remove
964       {
965         lock(this)
966         {
967           if (_accessibilityManagerActionPreviousEventHandler != null)
968           {
969             this.ActionPreviousSignal().Disconnect(_accessibilityManagerActionPreviousEventCallbackDelegate);
970           }
971
972           _accessibilityManagerActionPreviousEventHandler -= value;
973         }
974       }
975     }
976
977     // Callback for AccessibilityManager ActionPreviousSignal
978     private bool OnActionPrevious(IntPtr data)
979     {
980       ActionPreviousEventArgs e = new ActionPreviousEventArgs();
981
982       // Populate all members of "e" (ActionPreviousEventArgs) with real data
983       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
984
985       if (_accessibilityManagerActionPreviousEventHandler != null)
986       {
987         //here we send all data to user event handlers
988         return _accessibilityManagerActionPreviousEventHandler(this, e, true);
989       }
990       return false;
991     }
992
993     public event DaliEventHandlerWithReturnType<object,ActionActivateEventArgs,bool> ActionActivate
994     {
995       add
996       {
997         lock(this)
998         {
999           // Restricted to only one listener
1000           if (_accessibilityManagerActionActivateEventHandler == null)
1001           {
1002             _accessibilityManagerActionActivateEventHandler += value;
1003
1004             _accessibilityManagerActionActivateEventCallbackDelegate = new ActionActivateEventCallbackDelegate(OnActionActivate);
1005             this.ActionActivateSignal().Connect(_accessibilityManagerActionActivateEventCallbackDelegate);
1006           }
1007         }
1008       }
1009
1010       remove
1011       {
1012         lock(this)
1013         {
1014           if (_accessibilityManagerActionActivateEventHandler != null)
1015           {
1016             this.ActionActivateSignal().Disconnect(_accessibilityManagerActionActivateEventCallbackDelegate);
1017           }
1018
1019           _accessibilityManagerActionActivateEventHandler -= value;
1020         }
1021       }
1022     }
1023
1024     // Callback for AccessibilityManager ActionActivateSignal
1025     private bool OnActionActivate(IntPtr data)
1026     {
1027       ActionActivateEventArgs e = new ActionActivateEventArgs();
1028
1029       // Populate all members of "e" (ActionActivateEventArgs) with real data
1030       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1031
1032       if (_accessibilityManagerActionActivateEventHandler != null)
1033       {
1034         //here we send all data to user event handlers
1035         return _accessibilityManagerActionActivateEventHandler(this, e, true);
1036       }
1037       return false;
1038     }
1039
1040     public event DaliEventHandlerWithReturnType<object,ActionReadEventArgs,bool> ActionRead
1041     {
1042       add
1043       {
1044         lock(this)
1045         {
1046           // Restricted to only one listener
1047           if (_accessibilityManagerActionReadEventHandler == null)
1048           {
1049             _accessibilityManagerActionReadEventHandler += value;
1050
1051             _accessibilityManagerActionReadEventCallbackDelegate = new ActionReadEventCallbackDelegate(OnActionRead);
1052             this.ActionReadSignal().Connect(_accessibilityManagerActionReadEventCallbackDelegate);
1053           }
1054         }
1055       }
1056
1057       remove
1058       {
1059         lock(this)
1060         {
1061           if (_accessibilityManagerActionReadEventHandler != null)
1062           {
1063             this.ActionReadSignal().Disconnect(_accessibilityManagerActionReadEventCallbackDelegate);
1064           }
1065
1066           _accessibilityManagerActionReadEventHandler -= value;
1067         }
1068       }
1069     }
1070
1071     // Callback for AccessibilityManager ActionReadSignal
1072     private bool OnActionRead(IntPtr data)
1073     {
1074       ActionReadEventArgs e = new ActionReadEventArgs();
1075
1076       // Populate all members of "e" (ActionReadEventArgs) with real data
1077       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1078
1079       if (_accessibilityManagerActionReadEventHandler != null)
1080       {
1081         //here we send all data to user event handlers
1082         return _accessibilityManagerActionReadEventHandler(this, e, true);
1083       }
1084       return false;
1085     }
1086
1087     public event DaliEventHandlerWithReturnType<object,ActionOverEventArgs,bool> ActionOver
1088     {
1089       add
1090       {
1091         lock(this)
1092         {
1093           // Restricted to only one listener
1094           if (_accessibilityManagerActionOverEventHandler == null)
1095           {
1096             _accessibilityManagerActionOverEventHandler += value;
1097
1098             _accessibilityManagerActionOverEventCallbackDelegate = new ActionOverEventCallbackDelegate(OnActionOver);
1099             this.ActionOverSignal().Connect(_accessibilityManagerActionOverEventCallbackDelegate);
1100           }
1101         }
1102       }
1103
1104       remove
1105       {
1106         lock(this)
1107         {
1108           if (_accessibilityManagerActionOverEventHandler != null)
1109           {
1110             this.ActionOverSignal().Disconnect(_accessibilityManagerActionOverEventCallbackDelegate);
1111           }
1112
1113           _accessibilityManagerActionOverEventHandler -= value;
1114         }
1115       }
1116     }
1117
1118     // Callback for AccessibilityManager ActionOverSignal
1119     private bool OnActionOver(IntPtr data)
1120     {
1121       ActionOverEventArgs e = new ActionOverEventArgs();
1122
1123       // Populate all members of "e" (ActionOverEventArgs) with real data
1124       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1125
1126       if (_accessibilityManagerActionOverEventHandler != null)
1127       {
1128         //here we send all data to user event handlers
1129         return _accessibilityManagerActionOverEventHandler(this, e, true);
1130       }
1131       return false;
1132     }
1133
1134     public event DaliEventHandlerWithReturnType<object,ActionReadNextEventArgs,bool> ActionReadNext
1135     {
1136       add
1137       {
1138         lock(this)
1139         {
1140           // Restricted to only one listener
1141           if (_accessibilityManagerActionReadNextEventHandler == null)
1142           {
1143             _accessibilityManagerActionReadNextEventHandler += value;
1144
1145             _accessibilityManagerActionReadNextEventCallbackDelegate = new ActionReadNextEventCallbackDelegate(OnActionReadNext);
1146             this.ActionReadNextSignal().Connect(_accessibilityManagerActionReadNextEventCallbackDelegate);
1147           }
1148         }
1149       }
1150
1151       remove
1152       {
1153         lock(this)
1154         {
1155           if (_accessibilityManagerActionReadNextEventHandler != null)
1156           {
1157             this.ActionReadNextSignal().Disconnect(_accessibilityManagerActionReadNextEventCallbackDelegate);
1158           }
1159
1160           _accessibilityManagerActionReadNextEventHandler -= value;
1161         }
1162       }
1163     }
1164
1165     // Callback for AccessibilityManager ActionReadNextSignal
1166     private bool OnActionReadNext(IntPtr data)
1167     {
1168       ActionReadNextEventArgs e = new ActionReadNextEventArgs();
1169
1170       // Populate all members of "e" (ActionReadNextEventArgs) with real data
1171       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1172
1173       if (_accessibilityManagerActionReadNextEventHandler != null)
1174       {
1175         //here we send all data to user event handlers
1176         return _accessibilityManagerActionReadNextEventHandler(this, e, true);
1177       }
1178       return false;
1179     }
1180
1181
1182     public event DaliEventHandlerWithReturnType<object,ActionReadPreviousEventArgs,bool> ActionReadPrevious
1183     {
1184       add
1185       {
1186         lock(this)
1187         {
1188           // Restricted to only one listener
1189           if (_accessibilityManagerActionReadPreviousEventHandler == null)
1190           {
1191             _accessibilityManagerActionReadPreviousEventHandler += value;
1192
1193             _accessibilityManagerActionReadPreviousEventCallbackDelegate = new ActionReadPreviousEventCallbackDelegate(OnActionReadPrevious);
1194             this.ActionReadPreviousSignal().Connect(_accessibilityManagerActionReadPreviousEventCallbackDelegate);
1195           }
1196         }
1197       }
1198
1199       remove
1200       {
1201         lock(this)
1202         {
1203           if (_accessibilityManagerActionReadPreviousEventHandler != null)
1204           {
1205             this.ActionReadPreviousSignal().Disconnect(_accessibilityManagerActionReadPreviousEventCallbackDelegate);
1206           }
1207
1208           _accessibilityManagerActionReadPreviousEventHandler -= value;
1209         }
1210       }
1211     }
1212
1213     // Callback for AccessibilityManager ActionReadPreviousSignal
1214     private bool OnActionReadPrevious(IntPtr data)
1215     {
1216       ActionReadPreviousEventArgs e = new ActionReadPreviousEventArgs();
1217
1218       // Populate all members of "e" (ActionReadPreviousEventArgs) with real data
1219       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1220
1221       if (_accessibilityManagerActionReadPreviousEventHandler != null)
1222       {
1223         //here we send all data to user event handlers
1224         return _accessibilityManagerActionReadPreviousEventHandler(this, e, true);
1225       }
1226       return false;
1227     }
1228
1229     public event DaliEventHandlerWithReturnType<object,ActionUpEventArgs,bool> ActionUp
1230     {
1231       add
1232       {
1233         lock(this)
1234         {
1235           // Restricted to only one listener
1236           if (_accessibilityManagerActionUpEventHandler == null)
1237           {
1238             _accessibilityManagerActionUpEventHandler += value;
1239
1240             _accessibilityManagerActionUpEventCallbackDelegate = new ActionUpEventCallbackDelegate(OnActionUp);
1241             this.ActionUpSignal().Connect(_accessibilityManagerActionUpEventCallbackDelegate);
1242           }
1243         }
1244       }
1245
1246       remove
1247       {
1248         lock(this)
1249         {
1250           if (_accessibilityManagerActionUpEventHandler != null)
1251           {
1252             this.ActionUpSignal().Disconnect(_accessibilityManagerActionUpEventCallbackDelegate);
1253           }
1254
1255           _accessibilityManagerActionUpEventHandler -= value;
1256         }
1257       }
1258     }
1259
1260     // Callback for AccessibilityManager ActionUpSignal
1261     private bool OnActionUp(IntPtr data)
1262     {
1263       ActionUpEventArgs e = new ActionUpEventArgs();
1264
1265       // Populate all members of "e" (ActionUpEventArgs) with real data
1266       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1267
1268       if (_accessibilityManagerActionUpEventHandler != null)
1269       {
1270         //here we send all data to user event handlers
1271         return _accessibilityManagerActionUpEventHandler(this, e, true);
1272       }
1273       return false;
1274     }
1275
1276     public event DaliEventHandlerWithReturnType<object,ActionDownEventArgs,bool> ActionDown
1277     {
1278       add
1279       {
1280         lock(this)
1281         {
1282           // Restricted to only one listener
1283           if (_accessibilityManagerActionDownEventHandler == null)
1284           {
1285             _accessibilityManagerActionDownEventHandler += value;
1286
1287             _accessibilityManagerActionDownEventCallbackDelegate = new ActionDownEventCallbackDelegate(OnActionDown);
1288             this.ActionDownSignal().Connect(_accessibilityManagerActionDownEventCallbackDelegate);
1289           }
1290         }
1291       }
1292
1293       remove
1294       {
1295         lock(this)
1296         {
1297           if (_accessibilityManagerActionDownEventHandler != null)
1298           {
1299             this.ActionDownSignal().Disconnect(_accessibilityManagerActionDownEventCallbackDelegate);
1300           }
1301
1302           _accessibilityManagerActionDownEventHandler -= value;
1303         }
1304       }
1305     }
1306
1307     // Callback for AccessibilityManager ActionDownSignal
1308     private bool OnActionDown(IntPtr data)
1309     {
1310       ActionDownEventArgs e = new ActionDownEventArgs();
1311
1312       // Populate all members of "e" (ActionDownEventArgs) with real data
1313       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1314
1315       if (_accessibilityManagerActionDownEventHandler != null)
1316       {
1317         //here we send all data to user event handlers
1318         return _accessibilityManagerActionDownEventHandler(this, e, true);
1319       }
1320       return false;
1321     }
1322
1323     public event DaliEventHandlerWithReturnType<object,ActionClearFocusEventArgs,bool> ActionClearFocus
1324     {
1325       add
1326       {
1327         lock(this)
1328         {
1329           // Restricted to only one listener
1330           if (_accessibilityManagerActionClearFocusEventHandler == null)
1331           {
1332             _accessibilityManagerActionClearFocusEventHandler += value;
1333
1334             _accessibilityManagerActionClearFocusEventCallbackDelegate = new ActionClearFocusEventCallbackDelegate(OnActionClearFocus);
1335             this.ActionClearFocusSignal().Connect(_accessibilityManagerActionClearFocusEventCallbackDelegate);
1336           }
1337         }
1338       }
1339
1340       remove
1341       {
1342         lock(this)
1343         {
1344           if (_accessibilityManagerActionClearFocusEventHandler != null)
1345           {
1346             this.ActionClearFocusSignal().Disconnect(_accessibilityManagerActionClearFocusEventCallbackDelegate);
1347           }
1348
1349           _accessibilityManagerActionClearFocusEventHandler -= value;
1350         }
1351       }
1352     }
1353
1354     // Callback for AccessibilityManager ActionClearFocusSignal
1355     private bool OnActionClearFocus(IntPtr data)
1356     {
1357       ActionClearFocusEventArgs e = new ActionClearFocusEventArgs();
1358
1359       // Populate all members of "e" (ActionClearFocusEventArgs) with real data
1360       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1361
1362       if (_accessibilityManagerActionClearFocusEventHandler != null)
1363       {
1364         //here we send all data to user event handlers
1365         return _accessibilityManagerActionClearFocusEventHandler(this, e, true);
1366       }
1367       return false;
1368     }
1369
1370     public event DaliEventHandlerWithReturnType<object,ActionBackEventArgs,bool> ActionBack
1371     {
1372       add
1373       {
1374         lock(this)
1375         {
1376           // Restricted to only one listener
1377           if (_accessibilityManagerActionBackEventHandler == null)
1378           {
1379             _accessibilityManagerActionBackEventHandler += value;
1380
1381             _accessibilityManagerActionBackEventCallbackDelegate = new ActionBackEventCallbackDelegate(OnActionBack);
1382             this.ActionBackSignal().Connect(_accessibilityManagerActionBackEventCallbackDelegate);
1383           }
1384         }
1385       }
1386
1387       remove
1388       {
1389         lock(this)
1390         {
1391           if (_accessibilityManagerActionBackEventHandler != null)
1392           {
1393             this.ActionBackSignal().Disconnect(_accessibilityManagerActionBackEventCallbackDelegate);
1394           }
1395
1396           _accessibilityManagerActionBackEventHandler -= value;
1397         }
1398       }
1399     }
1400
1401     // Callback for AccessibilityManager ActionBackSignal
1402     private bool OnActionBack(IntPtr data)
1403     {
1404       ActionBackEventArgs e = new ActionBackEventArgs();
1405
1406       // Populate all members of "e" (ActionBackEventArgs) with real data
1407       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1408
1409       if (_accessibilityManagerActionBackEventHandler != null)
1410       {
1411         //here we send all data to user event handlers
1412         return _accessibilityManagerActionBackEventHandler(this, e, true);
1413       }
1414       return false;
1415     }
1416
1417     public event DaliEventHandlerWithReturnType<object,ActionScrollUpEventArgs,bool> ActionScrollUp
1418     {
1419       add
1420       {
1421         lock(this)
1422         {
1423           // Restricted to only one listener
1424           if (_accessibilityManagerActionScrollUpEventHandler == null)
1425           {
1426             _accessibilityManagerActionScrollUpEventHandler += value;
1427
1428             _accessibilityManagerActionScrollUpEventCallbackDelegate = new ActionScrollUpEventCallbackDelegate(OnActionScrollUp);
1429             this.ActionScrollUpSignal().Connect(_accessibilityManagerActionScrollUpEventCallbackDelegate);
1430           }
1431         }
1432       }
1433
1434       remove
1435       {
1436         lock(this)
1437         {
1438           if (_accessibilityManagerActionScrollUpEventHandler != null)
1439           {
1440             this.ActionScrollUpSignal().Disconnect(_accessibilityManagerActionScrollUpEventCallbackDelegate);
1441           }
1442
1443           _accessibilityManagerActionScrollUpEventHandler -= value;
1444         }
1445       }
1446     }
1447
1448     // Callback for AccessibilityManager ActionScrollUpSignal
1449     private bool OnActionScrollUp(IntPtr data)
1450     {
1451       ActionScrollUpEventArgs e = new ActionScrollUpEventArgs();
1452
1453       // Populate all members of "e" (ActionScrollUpEventArgs) with real data
1454       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1455
1456       if (_accessibilityManagerActionScrollUpEventHandler != null)
1457       {
1458         //here we send all data to user event handlers
1459         return _accessibilityManagerActionScrollUpEventHandler(this, e, true);
1460       }
1461       return false;
1462     }
1463
1464     public event DaliEventHandlerWithReturnType<object,ActionScrollDownEventArgs,bool> ActionScrollDown
1465     {
1466       add
1467       {
1468         lock(this)
1469         {
1470           // Restricted to only one listener
1471           if (_accessibilityManagerActionScrollDownEventHandler == null)
1472           {
1473             _accessibilityManagerActionScrollDownEventHandler += value;
1474
1475             _accessibilityManagerActionScrollDownEventCallbackDelegate = new ActionScrollDownEventCallbackDelegate(OnActionScrollDown);
1476             this.ActionScrollDownSignal().Connect(_accessibilityManagerActionScrollDownEventCallbackDelegate);
1477           }
1478         }
1479       }
1480
1481       remove
1482       {
1483         lock(this)
1484         {
1485           if (_accessibilityManagerActionScrollDownEventHandler != null)
1486           {
1487             this.ActionScrollDownSignal().Disconnect(_accessibilityManagerActionScrollDownEventCallbackDelegate);
1488           }
1489
1490           _accessibilityManagerActionScrollDownEventHandler -= value;
1491         }
1492       }
1493     }
1494
1495     // Callback for AccessibilityManager ActionScrollDownSignal
1496     private bool OnActionScrollDown(IntPtr data)
1497     {
1498       ActionScrollDownEventArgs e = new ActionScrollDownEventArgs();
1499
1500       // Populate all members of "e" (ActionScrollDownEventArgs) with real data
1501       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1502
1503       if (_accessibilityManagerActionScrollDownEventHandler != null)
1504       {
1505         //here we send all data to user event handlers
1506         return _accessibilityManagerActionScrollDownEventHandler(this, e, true);
1507       }
1508       return false;
1509     }
1510
1511
1512     public event DaliEventHandlerWithReturnType<object,ActionPageLeftEventArgs,bool> ActionPageLeft
1513     {
1514       add
1515       {
1516         lock(this)
1517         {
1518           // Restricted to only one listener
1519           if (_accessibilityManagerActionPageLeftEventHandler == null)
1520           {
1521             _accessibilityManagerActionPageLeftEventHandler += value;
1522
1523             _accessibilityManagerActionPageLeftEventCallbackDelegate = new ActionPageLeftEventCallbackDelegate(OnActionPageLeft);
1524             this.ActionPageLeftSignal().Connect(_accessibilityManagerActionPageLeftEventCallbackDelegate);
1525           }
1526         }
1527       }
1528
1529       remove
1530       {
1531         lock(this)
1532         {
1533           if (_accessibilityManagerActionPageLeftEventHandler != null)
1534           {
1535             this.ActionPageLeftSignal().Disconnect(_accessibilityManagerActionPageLeftEventCallbackDelegate);
1536           }
1537
1538           _accessibilityManagerActionPageLeftEventHandler -= value;
1539         }
1540       }
1541     }
1542
1543     // Callback for AccessibilityManager ActionPageLeftSignal
1544     private bool OnActionPageLeft(IntPtr data)
1545     {
1546       ActionPageLeftEventArgs e = new ActionPageLeftEventArgs();
1547
1548       // Populate all members of "e" (ActionPageLeftEventArgs) with real data
1549       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1550
1551       if (_accessibilityManagerActionPageLeftEventHandler != null)
1552       {
1553         //here we send all data to user event handlers
1554         return _accessibilityManagerActionPageLeftEventHandler(this, e, true);
1555       }
1556       return false;
1557     }
1558
1559     public event DaliEventHandlerWithReturnType<object,ActionPageRightEventArgs,bool> ActionPageRight
1560     {
1561       add
1562       {
1563         lock(this)
1564         {
1565           // Restricted to only one listener
1566           if (_accessibilityManagerActionPageRightEventHandler == null)
1567           {
1568             _accessibilityManagerActionPageRightEventHandler += value;
1569
1570             _accessibilityManagerActionPageRightEventCallbackDelegate = new ActionPageRightEventCallbackDelegate(OnActionPageRight);
1571             this.ActionPageRightSignal().Connect(_accessibilityManagerActionPageRightEventCallbackDelegate);
1572           }
1573         }
1574       }
1575
1576       remove
1577       {
1578         lock(this)
1579         {
1580           if (_accessibilityManagerActionPageRightEventHandler != null)
1581           {
1582             this.ActionPageRightSignal().Disconnect(_accessibilityManagerActionPageRightEventCallbackDelegate);
1583           }
1584
1585           _accessibilityManagerActionPageRightEventHandler -= value;
1586         }
1587       }
1588     }
1589
1590     // Callback for AccessibilityManager ActionPageRightSignal
1591     private bool OnActionPageRight(IntPtr data)
1592     {
1593       ActionPageRightEventArgs e = new ActionPageRightEventArgs();
1594
1595       // Populate all members of "e" (ActionPageRightEventArgs) with real data
1596       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1597
1598       if (_accessibilityManagerActionPageRightEventHandler != null)
1599       {
1600         //here we send all data to user event handlers
1601         return _accessibilityManagerActionPageRightEventHandler(this, e, true);
1602       }
1603       return false;
1604     }
1605
1606     public event DaliEventHandlerWithReturnType<object,ActionPageUpEventArgs, bool> ActionPageUp
1607     {
1608       add
1609       {
1610         lock(this)
1611         {
1612           // Restricted to only one listener
1613           if (_accessibilityManagerActionPageUpEventHandler == null)
1614           {
1615             _accessibilityManagerActionPageUpEventHandler += value;
1616
1617             _accessibilityManagerActionPageUpEventCallbackDelegate = new ActionPageUpEventCallbackDelegate(OnActionPageUp);
1618             this.ActionPageUpSignal().Connect(_accessibilityManagerActionPageUpEventCallbackDelegate);
1619           }
1620         }
1621       }
1622
1623       remove
1624       {
1625         lock(this)
1626         {
1627           if (_accessibilityManagerActionPageUpEventHandler != null)
1628           {
1629             this.ActionPageUpSignal().Disconnect(_accessibilityManagerActionPageUpEventCallbackDelegate);
1630           }
1631
1632           _accessibilityManagerActionPageUpEventHandler -= value;
1633         }
1634       }
1635     }
1636
1637     // Callback for AccessibilityManager ActionPageUpSignal
1638     private bool OnActionPageUp(IntPtr data)
1639     {
1640       ActionPageUpEventArgs e = new ActionPageUpEventArgs();
1641
1642       // Populate all members of "e" (ActionPageUpEventArgs) with real data
1643       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1644
1645       if (_accessibilityManagerActionPageUpEventHandler != null)
1646       {
1647         //here we send all data to user event handlers
1648         return _accessibilityManagerActionPageUpEventHandler(this, e, true);
1649       }
1650       return false;
1651     }
1652
1653
1654     public event DaliEventHandlerWithReturnType<object,ActionPageDownEventArgs,bool> ActionPageDown
1655     {
1656       add
1657       {
1658         lock(this)
1659         {
1660           // Restricted to only one listener
1661           if (_accessibilityManagerActionPageDownEventHandler == null)
1662           {
1663             _accessibilityManagerActionPageDownEventHandler += value;
1664
1665             _accessibilityManagerActionPageDownEventCallbackDelegate = new ActionPageDownEventCallbackDelegate(OnActionPageDown);
1666             this.ActionPageDownSignal().Connect(_accessibilityManagerActionPageDownEventCallbackDelegate);
1667           }
1668         }
1669       }
1670
1671       remove
1672       {
1673         lock(this)
1674         {
1675           if (_accessibilityManagerActionPageDownEventHandler != null)
1676           {
1677             this.ActionPageDownSignal().Disconnect(_accessibilityManagerActionPageDownEventCallbackDelegate);
1678           }
1679
1680           _accessibilityManagerActionPageDownEventHandler -= value;
1681         }
1682       }
1683     }
1684
1685     // Callback for AccessibilityManager ActionPageDownSignal
1686     private bool OnActionPageDown(IntPtr data)
1687     {
1688       ActionPageDownEventArgs e = new ActionPageDownEventArgs();
1689
1690       // Populate all members of "e" (ActionPageDownEventArgs) with real data
1691       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1692
1693       if (_accessibilityManagerActionPageDownEventHandler != null)
1694       {
1695         //here we send all data to user event handlers
1696         return _accessibilityManagerActionPageDownEventHandler(this, e, true);
1697       }
1698       return false;
1699     }
1700
1701
1702     public event DaliEventHandlerWithReturnType<object,ActionMoveToFirstEventArgs,bool> ActionMoveToFirst
1703     {
1704       add
1705       {
1706         lock(this)
1707         {
1708           // Restricted to only one listener
1709           if (_accessibilityManagerActionMoveToFirstEventHandler == null)
1710           {
1711             _accessibilityManagerActionMoveToFirstEventHandler += value;
1712
1713             _accessibilityManagerActionMoveToFirstEventCallbackDelegate = new ActionMoveToFirstEventCallbackDelegate(OnActionMoveToFirst);
1714             this.ActionMoveToFirstSignal().Connect(_accessibilityManagerActionMoveToFirstEventCallbackDelegate);
1715           }
1716         }
1717       }
1718
1719       remove
1720       {
1721         lock(this)
1722         {
1723           if (_accessibilityManagerActionMoveToFirstEventHandler != null)
1724           {
1725             this.ActionMoveToFirstSignal().Disconnect(_accessibilityManagerActionMoveToFirstEventCallbackDelegate);
1726           }
1727
1728           _accessibilityManagerActionMoveToFirstEventHandler -= value;
1729         }
1730       }
1731     }
1732
1733     // Callback for AccessibilityManager ActionMoveToFirstSignal
1734     private bool OnActionMoveToFirst(IntPtr data)
1735     {
1736       ActionMoveToFirstEventArgs e = new ActionMoveToFirstEventArgs();
1737
1738       // Populate all members of "e" (ActionMoveToFirstEventArgs) with real data
1739       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1740
1741       if (_accessibilityManagerActionMoveToFirstEventHandler != null)
1742       {
1743         //here we send all data to user event handlers
1744         return _accessibilityManagerActionMoveToFirstEventHandler(this, e, true);
1745       }
1746       return false;
1747     }
1748
1749     public event DaliEventHandlerWithReturnType<object,ActionMoveToLastEventArgs,bool> ActionMoveToLast
1750     {
1751       add
1752       {
1753         lock(this)
1754         {
1755           // Restricted to only one listener
1756           if (_accessibilityManagerActionMoveToLastEventHandler == null)
1757           {
1758             _accessibilityManagerActionMoveToLastEventHandler += value;
1759
1760             _accessibilityManagerActionMoveToLastEventCallbackDelegate = new ActionMoveToLastEventCallbackDelegate(OnActionMoveToLast);
1761             this.ActionMoveToLastSignal().Connect(_accessibilityManagerActionMoveToLastEventCallbackDelegate);
1762           }
1763         }
1764       }
1765
1766       remove
1767       {
1768         lock(this)
1769         {
1770           if (_accessibilityManagerActionMoveToLastEventHandler != null)
1771           {
1772             this.ActionMoveToLastSignal().Disconnect(_accessibilityManagerActionMoveToLastEventCallbackDelegate);
1773           }
1774
1775           _accessibilityManagerActionMoveToLastEventHandler -= value;
1776         }
1777       }
1778     }
1779
1780     // Callback for AccessibilityManager ActionMoveToLastSignal
1781     private bool OnActionMoveToLast(IntPtr data)
1782     {
1783       ActionMoveToLastEventArgs e = new ActionMoveToLastEventArgs();
1784
1785       // Populate all members of "e" (ActionMoveToLastEventArgs) with real data
1786       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1787
1788       if (_accessibilityManagerActionMoveToLastEventHandler != null)
1789       {
1790         //here we send all data to user event handlers
1791         return _accessibilityManagerActionMoveToLastEventHandler(this, e, true);
1792       }
1793       return false;
1794     }
1795
1796     public event DaliEventHandlerWithReturnType<object,ActionReadFromTopEventArgs,bool> ActionReadFromTop
1797     {
1798       add
1799       {
1800         lock(this)
1801         {
1802           // Restricted to only one listener
1803           if (_accessibilityManagerActionReadFromTopEventHandler == null)
1804           {
1805             _accessibilityManagerActionReadFromTopEventHandler += value;
1806
1807             _accessibilityManagerActionReadFromTopEventCallbackDelegate = new ActionReadFromTopEventCallbackDelegate(OnActionReadFromTop);
1808             this.ActionReadFromTopSignal().Connect(_accessibilityManagerActionReadFromTopEventCallbackDelegate);
1809           }
1810         }
1811       }
1812
1813       remove
1814       {
1815         lock(this)
1816         {
1817           if (_accessibilityManagerActionReadFromTopEventHandler != null)
1818           {
1819             this.ActionReadFromTopSignal().Disconnect(_accessibilityManagerActionReadFromTopEventCallbackDelegate);
1820           }
1821
1822           _accessibilityManagerActionReadFromTopEventHandler -= value;
1823         }
1824       }
1825     }
1826
1827     // Callback for AccessibilityManager ActionReadFromTopSignal
1828     private bool OnActionReadFromTop(IntPtr data)
1829     {
1830       ActionReadFromTopEventArgs e = new ActionReadFromTopEventArgs();
1831
1832       // Populate all members of "e" (ActionReadFromTopEventArgs) with real data
1833       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1834
1835       if (_accessibilityManagerActionReadFromTopEventHandler != null)
1836       {
1837         //here we send all data to user event handlers
1838         return _accessibilityManagerActionReadFromTopEventHandler(this, e, true);
1839       }
1840       return false;
1841     }
1842
1843     public event DaliEventHandlerWithReturnType<object,ActionReadFromNextEventArgs,bool> ActionReadFromNext
1844     {
1845       add
1846       {
1847         lock(this)
1848         {
1849           // Restricted to only one listener
1850           if (_accessibilityManagerActionReadFromNextEventHandler == null)
1851           {
1852             _accessibilityManagerActionReadFromNextEventHandler += value;
1853
1854             _accessibilityManagerActionReadFromNextEventCallbackDelegate = new ActionReadFromNextEventCallbackDelegate(OnActionReadFromNext);
1855             this.ActionReadFromNextSignal().Connect(_accessibilityManagerActionReadFromNextEventCallbackDelegate);
1856           }
1857         }
1858       }
1859
1860       remove
1861       {
1862         lock(this)
1863         {
1864           if (_accessibilityManagerActionReadFromNextEventHandler != null)
1865           {
1866             this.ActionReadFromNextSignal().Disconnect(_accessibilityManagerActionReadFromNextEventCallbackDelegate);
1867           }
1868
1869           _accessibilityManagerActionReadFromNextEventHandler -= value;
1870         }
1871       }
1872     }
1873
1874     // Callback for AccessibilityManager ActionReadFromNextSignal
1875     private bool OnActionReadFromNext(IntPtr data)
1876     {
1877       ActionReadFromNextEventArgs e = new ActionReadFromNextEventArgs();
1878
1879       // Populate all members of "e" (ActionReadFromNextEventArgs) with real data
1880       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1881
1882       if (_accessibilityManagerActionReadFromNextEventHandler != null)
1883       {
1884         //here we send all data to user event handlers
1885         return _accessibilityManagerActionReadFromNextEventHandler(this, e, true);
1886       }
1887       return false;
1888     }
1889
1890     public event DaliEventHandlerWithReturnType<object,ActionZoomEventArgs,bool> ActionZoom
1891     {
1892       add
1893       {
1894         lock(this)
1895         {
1896           // Restricted to only one listener
1897           if (_accessibilityManagerActionZoomEventHandler == null)
1898           {
1899             _accessibilityManagerActionZoomEventHandler += value;
1900
1901             _accessibilityManagerActionZoomEventCallbackDelegate = new ActionZoomEventCallbackDelegate(OnActionZoom);
1902             this.ActionZoomSignal().Connect(_accessibilityManagerActionZoomEventCallbackDelegate);
1903           }
1904         }
1905       }
1906
1907       remove
1908       {
1909         lock(this)
1910         {
1911           if (_accessibilityManagerActionZoomEventHandler != null)
1912           {
1913             this.ActionZoomSignal().Disconnect(_accessibilityManagerActionZoomEventCallbackDelegate);
1914           }
1915
1916           _accessibilityManagerActionZoomEventHandler -= value;
1917         }
1918       }
1919     }
1920
1921     // Callback for AccessibilityManager ActionZoomSignal
1922     private bool OnActionZoom(IntPtr data)
1923     {
1924       ActionZoomEventArgs e = new ActionZoomEventArgs();
1925
1926       // Populate all members of "e" (ActionZoomEventArgs) with real data
1927       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1928
1929       if (_accessibilityManagerActionZoomEventHandler != null)
1930       {
1931         //here we send all data to user event handlers
1932         return _accessibilityManagerActionZoomEventHandler(this, e, true);
1933       }
1934       return false;
1935     }
1936
1937     public event DaliEventHandlerWithReturnType<object,ActionReadIndicatorInformationEventArgs,bool> ActionReadIndicatorInformation
1938     {
1939       add
1940       {
1941         lock(this)
1942         {
1943           // Restricted to only one listener
1944           if (_accessibilityManagerActionReadIndicatorInformationEventHandler == null)
1945           {
1946             _accessibilityManagerActionReadIndicatorInformationEventHandler += value;
1947
1948             _accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate = new ActionReadIndicatorInformationEventCallbackDelegate(OnActionReadIndicatorInformation);
1949             this.ActionReadIndicatorInformationSignal().Connect(_accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate);
1950           }
1951         }
1952       }
1953
1954       remove
1955       {
1956         lock(this)
1957         {
1958           if (_accessibilityManagerActionReadIndicatorInformationEventHandler != null)
1959           {
1960             this.ActionReadIndicatorInformationSignal().Disconnect(_accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate);
1961           }
1962
1963           _accessibilityManagerActionReadIndicatorInformationEventHandler -= value;
1964         }
1965       }
1966     }
1967
1968     // Callback for AccessibilityManager ActionReadIndicatorInformationSignal
1969     private bool OnActionReadIndicatorInformation(IntPtr data)
1970     {
1971       ActionReadIndicatorInformationEventArgs e = new ActionReadIndicatorInformationEventArgs();
1972
1973       // Populate all members of "e" (ActionReadIndicatorInformationEventArgs) with real data
1974       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1975
1976       if (_accessibilityManagerActionReadIndicatorInformationEventHandler != null)
1977       {
1978         //here we send all data to user event handlers
1979         return _accessibilityManagerActionReadIndicatorInformationEventHandler(this, e, true);
1980       }
1981       return false;
1982     }
1983
1984     public event DaliEventHandlerWithReturnType<object,ActionReadPauseResumeEventArgs,bool> ActionReadPauseResume
1985     {
1986       add
1987       {
1988         lock(this)
1989         {
1990           // Restricted to only one listener
1991           if (_accessibilityManagerActionReadPauseResumeEventHandler == null)
1992           {
1993             _accessibilityManagerActionReadPauseResumeEventHandler += value;
1994
1995             _accessibilityManagerActionReadPauseResumeEventCallbackDelegate = new ActionReadPauseResumeEventCallbackDelegate(OnActionReadPauseResume);
1996             this.ActionReadPauseResumeSignal().Connect(_accessibilityManagerActionReadPauseResumeEventCallbackDelegate);
1997           }
1998         }
1999       }
2000
2001       remove
2002       {
2003         lock(this)
2004         {
2005           if (_accessibilityManagerActionReadPauseResumeEventHandler != null)
2006           {
2007             this.ActionReadPauseResumeSignal().Disconnect(_accessibilityManagerActionReadPauseResumeEventCallbackDelegate);
2008           }
2009
2010           _accessibilityManagerActionReadPauseResumeEventHandler -= value;
2011         }
2012       }
2013     }
2014
2015     // Callback for AccessibilityManager ActionReadPauseResumeSignal
2016     private bool OnActionReadPauseResume(IntPtr data)
2017     {
2018       ActionReadPauseResumeEventArgs e = new ActionReadPauseResumeEventArgs();
2019
2020       // Populate all members of "e" (ActionReadPauseResumeEventArgs) with real data
2021       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
2022
2023       if (_accessibilityManagerActionReadPauseResumeEventHandler != null)
2024       {
2025         //here we send all data to user event handlers
2026         return _accessibilityManagerActionReadPauseResumeEventHandler(this, e, true);
2027       }
2028       return false;
2029     }
2030
2031     public event DaliEventHandlerWithReturnType<object,ActionStartStopEventArgs,bool> ActionStartStop
2032     {
2033       add
2034       {
2035         lock(this)
2036         {
2037           // Restricted to only one listener
2038           if (_accessibilityManagerActionStartStopEventHandler == null)
2039           {
2040             _accessibilityManagerActionStartStopEventHandler += value;
2041
2042             _accessibilityManagerActionStartStopEventCallbackDelegate = new ActionStartStopEventCallbackDelegate(OnActionStartStop);
2043             this.ActionStartStopSignal().Connect(_accessibilityManagerActionStartStopEventCallbackDelegate);
2044           }
2045         }
2046       }
2047
2048       remove
2049       {
2050         lock(this)
2051         {
2052           if (_accessibilityManagerActionStartStopEventHandler != null)
2053           {
2054             this.ActionStartStopSignal().Disconnect(_accessibilityManagerActionStartStopEventCallbackDelegate);
2055           }
2056
2057           _accessibilityManagerActionStartStopEventHandler -= value;
2058         }
2059       }
2060     }
2061
2062     // Callback for AccessibilityManager ActionStartStopSignal
2063     private bool OnActionStartStop(IntPtr data)
2064     {
2065       ActionStartStopEventArgs e = new ActionStartStopEventArgs();
2066
2067       // Populate all members of "e" (ActionStartStopEventArgs) with real data
2068       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
2069
2070       if (_accessibilityManagerActionStartStopEventHandler != null)
2071       {
2072         //here we send all data to user event handlers
2073         return _accessibilityManagerActionStartStopEventHandler(this, e, true);
2074       }
2075       return false;
2076     }
2077
2078     public event DaliEventHandlerWithReturnType<object,ActionScrollEventArgs,bool> ActionScroll
2079     {
2080       add
2081       {
2082         lock(this)
2083         {
2084           // Restricted to only one listener
2085           if (_accessibilityManagerActionScrollEventHandler == null)
2086           {
2087             _accessibilityManagerActionScrollEventHandler += value;
2088
2089             _accessibilityManagerActionScrollEventCallbackDelegate = new ActionScrollEventCallbackDelegate(OnActionScroll);
2090             this.ActionScrollSignal().Connect(_accessibilityManagerActionScrollEventCallbackDelegate);
2091           }
2092         }
2093       }
2094
2095       remove
2096       {
2097         lock(this)
2098         {
2099           if (_accessibilityManagerActionScrollEventHandler != null)
2100           {
2101             this.ActionScrollSignal().Disconnect(_accessibilityManagerActionScrollEventCallbackDelegate);
2102           }
2103
2104           _accessibilityManagerActionScrollEventHandler -= value;
2105         }
2106       }
2107     }
2108
2109     // Callback for AccessibilityManager ActionScrollSignal
2110     private bool OnActionScroll(IntPtr accessibilityManager, IntPtr touchEvent)
2111     {
2112       ActionScrollEventArgs e = new ActionScrollEventArgs();
2113
2114       // Populate all members of "e" (ActionScrollEventArgs) with real data
2115       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(accessibilityManager);
2116       e.TouchEvent = TouchEvent.GetTouchEventFromPtr(touchEvent);
2117
2118       if (_accessibilityManagerActionScrollEventHandler != null)
2119       {
2120         //here we send all data to user event handlers
2121         return _accessibilityManagerActionScrollEventHandler(this, e, true);
2122       }
2123       return false;
2124     }
2125
2126     public event DaliEventHandler<object,FocusChangedEventArgs> FocusChanged
2127     {
2128       add
2129       {
2130         lock(this)
2131         {
2132           // Restricted to only one listener
2133           if (_accessibilityManagerFocusChangedEventHandler == null)
2134           {
2135             _accessibilityManagerFocusChangedEventHandler += value;
2136
2137             _accessibilityManagerFocusChangedEventCallbackDelegate = new FocusChangedEventCallbackDelegate(OnFocusChanged);
2138             this.FocusChangedSignal().Connect(_accessibilityManagerFocusChangedEventCallbackDelegate);
2139           }
2140         }
2141       }
2142
2143       remove
2144       {
2145         lock(this)
2146         {
2147           if (_accessibilityManagerFocusChangedEventHandler != null)
2148           {
2149             this.FocusChangedSignal().Disconnect(_accessibilityManagerFocusChangedEventCallbackDelegate);
2150           }
2151
2152           _accessibilityManagerFocusChangedEventHandler -= value;
2153         }
2154       }
2155     }
2156
2157     // Callback for AccessibilityManager FocusChangedSignal
2158     private void OnFocusChanged(IntPtr actor1, IntPtr actor2)
2159     {
2160       FocusChangedEventArgs e = new FocusChangedEventArgs();
2161
2162       // Populate all members of "e" (FocusChangedEventArgs) with real data
2163       e.ActorCurrent = Actor.GetActorFromPtr(actor1);
2164       e.ActorNext = Actor.GetActorFromPtr(actor2);
2165
2166       if (_accessibilityManagerFocusChangedEventHandler != null)
2167       {
2168         //here we send all data to user event handlers
2169         _accessibilityManagerFocusChangedEventHandler(this, e);
2170       }
2171     }
2172
2173     public event DaliEventHandler<object,FocusedActorActivatedEventArgs> FocusedActorActivated
2174     {
2175       add
2176       {
2177         lock(this)
2178         {
2179           // Restricted to only one listener
2180           if (_accessibilityManagerFocusedActorActivatedEventHandler == null)
2181           {
2182             _accessibilityManagerFocusedActorActivatedEventHandler += value;
2183
2184             _accessibilityManagerFocusedActorActivatedEventCallbackDelegate = new FocusedActorActivatedEventCallbackDelegate(OnFocusedActorActivated);
2185             this.FocusedActorActivatedSignal().Connect(_accessibilityManagerFocusedActorActivatedEventCallbackDelegate);
2186           }
2187         }
2188       }
2189
2190       remove
2191       {
2192         lock(this)
2193         {
2194           if (_accessibilityManagerFocusedActorActivatedEventHandler != null)
2195           {
2196             this.FocusedActorActivatedSignal().Disconnect(_accessibilityManagerFocusedActorActivatedEventCallbackDelegate);
2197           }
2198
2199           _accessibilityManagerFocusedActorActivatedEventHandler -= value;
2200         }
2201       }
2202     }
2203
2204     // Callback for AccessibilityManager FocusedActorActivatedSignal
2205     private void OnFocusedActorActivated(IntPtr actor)
2206     {
2207       FocusedActorActivatedEventArgs e = new FocusedActorActivatedEventArgs();
2208
2209       // Populate all members of "e" (FocusedActorActivatedEventArgs) with real data
2210       e.Actor = Actor.GetActorFromPtr(actor);
2211
2212       if (_accessibilityManagerFocusedActorActivatedEventHandler != null)
2213       {
2214         //here we send all data to user event handlers
2215         _accessibilityManagerFocusedActorActivatedEventHandler(this, e);
2216       }
2217     }
2218
2219
2220     public event DaliEventHandler<object,FocusOvershotEventArgs> FocusOvershot
2221     {
2222       add
2223       {
2224         lock(this)
2225         {
2226           // Restricted to only one listener
2227           if (_accessibilityManagerFocusOvershotEventHandler == null)
2228           {
2229             _accessibilityManagerFocusOvershotEventHandler += value;
2230
2231             _accessibilityManagerFocusOvershotEventCallbackDelegate = new FocusOvershotEventCallbackDelegate(OnFocusOvershot);
2232             this.FocusOvershotSignal().Connect(_accessibilityManagerFocusOvershotEventCallbackDelegate);
2233           }
2234         }
2235       }
2236
2237       remove
2238       {
2239         lock(this)
2240         {
2241           if (_accessibilityManagerFocusOvershotEventHandler != null)
2242           {
2243             this.FocusOvershotSignal().Disconnect(_accessibilityManagerFocusOvershotEventCallbackDelegate);
2244           }
2245
2246           _accessibilityManagerFocusOvershotEventHandler -= value;
2247         }
2248       }
2249     }
2250
2251     // Callback for AccessibilityManager FocusOvershotSignal
2252     private void OnFocusOvershot(IntPtr currentFocusedActor, AccessibilityManager.FocusOvershotDirection direction)
2253     {
2254       FocusOvershotEventArgs e = new FocusOvershotEventArgs();
2255
2256       // Populate all members of "e" (FocusOvershotEventArgs) with real data
2257       e.CurrentFocusedActor = Actor.GetActorFromPtr(currentFocusedActor);
2258       e.FocusOvershotDirection = direction;
2259
2260       if (_accessibilityManagerFocusOvershotEventHandler != null)
2261       {
2262         //here we send all data to user event handlers
2263         _accessibilityManagerFocusOvershotEventHandler(this, e);
2264       }
2265     }
2266
2267
2268     public static ClassName Get ## ClassName ## FromPtr(global::System.IntPtr cPtr) {
2269       ClassName ret = new ClassName(cPtr, false);
2270       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2271       return ret;
2272     }
2273
2274     %}
2275     %enddef
2276
2277 %define DALI_ACCESSIBILITY_EVENTHANDLER_PARAM( NameSpace, ClassName)
2278   ACCESSIBILITY_EVENTHANDLER_TYPEMAP_EVENTARG( NameSpace, ClassName);
2279   ACCESSIBILITY_EVENTHANDLER_TYPEMAP_HELPER( NameSpace, ClassName);
2280   %enddef
2281
2282   namespace Dali
2283 {
2284   DALI_ACCESSIBILITY_EVENTHANDLER_PARAM( Dali::Toolkit, AccessibilityManager);
2285 }
2286
2287