Merge "DALi Version 1.2.40" into devel/master
[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 /*
582     // To be replaced by a new event that takes Touch
583     public class ActionScrollEventArgs : EventArgs
584     {
585       private AccessibilityManager _accessibilityManager;
586       private TouchEvent _touchEvent;
587
588       public AccessibilityManager AccessibilityManager
589       {
590         get
591         {
592           return _accessibilityManager;
593         }
594         set
595         {
596           _accessibilityManager = value;
597         }
598       }
599
600       public TouchEvent TouchEvent
601       {
602         get
603         {
604           return _touchEvent;
605         }
606         set
607         {
608           _touchEvent = value;
609         }
610       }
611     }
612 */
613
614     /**
615       * @brief Event arguments that passed via ActionPageUp signal
616       *
617       */
618     public class FocusChangedEventArgs : EventArgs
619     {
620       private Actor _actorCurrent;
621       private Actor _actorNext;
622
623       public Actor ActorCurrent
624       {
625         get
626         {
627           return _actorCurrent;
628         }
629         set
630         {
631           _actorCurrent = value;
632         }
633       }
634
635       public Actor ActorNext
636       {
637         get
638         {
639           return _actorNext;
640         }
641         set
642         {
643           _actorNext = value;
644         }
645       }
646     }
647
648     /**
649       * @brief Event arguments that passed via FocusedActorActivated signal
650       *
651       */
652     public class FocusedActorActivatedEventArgs : EventArgs
653     {
654       private Actor _actor;
655
656
657       public Actor Actor
658       {
659         get
660         {
661           return _actor;
662         }
663         set
664         {
665           _actor = value;
666         }
667       }
668     }
669
670     /**
671       * @brief Event arguments that passed via FocusOvershot signal
672       *
673       */
674     public class FocusOvershotEventArgs : EventArgs
675     {
676       private Actor _currentFocusedActor;
677       private AccessibilityManager.FocusOvershotDirection _focusOvershotDirection;
678
679       public Actor CurrentFocusedActor
680       {
681         get
682         {
683           return _currentFocusedActor;
684         }
685         set
686         {
687           _currentFocusedActor = value;
688         }
689       }
690
691       public AccessibilityManager.FocusOvershotDirection FocusOvershotDirection
692       {
693         get
694         {
695           return _focusOvershotDirection;
696         }
697         set
698         {
699           _focusOvershotDirection = value;
700         }
701       }
702     }
703
704
705     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
706     private delegate bool StatusChangedEventCallbackDelegate(IntPtr accessibilityManager);
707     private DaliEventHandlerWithReturnType<object,StatusChangedEventArgs,bool> _accessibilityManagerStatusChangedEventHandler;
708     private StatusChangedEventCallbackDelegate _accessibilityManagerStatusChangedEventCallbackDelegate;
709
710     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
711     private delegate bool ActionNextEventCallbackDelegate(IntPtr accessibilityManager);
712     private DaliEventHandlerWithReturnType<object,ActionNextEventArgs,bool> _accessibilityManagerActionNextEventHandler;
713     private ActionNextEventCallbackDelegate _accessibilityManagerActionNextEventCallbackDelegate;
714
715     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
716     private delegate bool ActionPreviousEventCallbackDelegate(IntPtr accessibilityManager);
717     private DaliEventHandlerWithReturnType<object,ActionPreviousEventArgs,bool> _accessibilityManagerActionPreviousEventHandler;
718     private ActionPreviousEventCallbackDelegate _accessibilityManagerActionPreviousEventCallbackDelegate;
719
720     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
721     private delegate bool ActionActivateEventCallbackDelegate(IntPtr accessibilityManager);
722     private DaliEventHandlerWithReturnType<object,ActionActivateEventArgs,bool> _accessibilityManagerActionActivateEventHandler;
723     private ActionActivateEventCallbackDelegate _accessibilityManagerActionActivateEventCallbackDelegate;
724
725     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
726     private delegate bool ActionReadEventCallbackDelegate(IntPtr accessibilityManager);
727     private DaliEventHandlerWithReturnType<object,ActionReadEventArgs,bool> _accessibilityManagerActionReadEventHandler;
728     private ActionReadEventCallbackDelegate _accessibilityManagerActionReadEventCallbackDelegate;
729
730     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
731     private delegate bool ActionOverEventCallbackDelegate(IntPtr accessibilityManager);
732     private DaliEventHandlerWithReturnType<object,ActionOverEventArgs,bool> _accessibilityManagerActionOverEventHandler;
733     private ActionOverEventCallbackDelegate _accessibilityManagerActionOverEventCallbackDelegate;
734
735     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
736     private delegate bool ActionReadNextEventCallbackDelegate(IntPtr accessibilityManager);
737     private DaliEventHandlerWithReturnType<object,ActionReadNextEventArgs,bool> _accessibilityManagerActionReadNextEventHandler;
738     private ActionReadNextEventCallbackDelegate _accessibilityManagerActionReadNextEventCallbackDelegate;
739
740     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
741     private delegate bool ActionReadPreviousEventCallbackDelegate(IntPtr accessibilityManager);
742     private DaliEventHandlerWithReturnType<object,ActionReadPreviousEventArgs,bool> _accessibilityManagerActionReadPreviousEventHandler;
743     private ActionReadPreviousEventCallbackDelegate _accessibilityManagerActionReadPreviousEventCallbackDelegate;
744
745     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
746     private delegate bool ActionUpEventCallbackDelegate(IntPtr accessibilityManager);
747     private DaliEventHandlerWithReturnType<object,ActionUpEventArgs,bool> _accessibilityManagerActionUpEventHandler;
748     private ActionUpEventCallbackDelegate _accessibilityManagerActionUpEventCallbackDelegate;
749
750     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
751     private delegate bool ActionDownEventCallbackDelegate(IntPtr accessibilityManager);
752     private DaliEventHandlerWithReturnType<object,ActionDownEventArgs,bool> _accessibilityManagerActionDownEventHandler;
753     private ActionDownEventCallbackDelegate _accessibilityManagerActionDownEventCallbackDelegate;
754
755     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
756     private delegate bool ActionClearFocusEventCallbackDelegate(IntPtr accessibilityManager);
757     private DaliEventHandlerWithReturnType<object,ActionClearFocusEventArgs,bool> _accessibilityManagerActionClearFocusEventHandler;
758     private ActionClearFocusEventCallbackDelegate _accessibilityManagerActionClearFocusEventCallbackDelegate;
759
760     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
761     private delegate bool ActionBackEventCallbackDelegate(IntPtr accessibilityManager);
762     private DaliEventHandlerWithReturnType<object,ActionBackEventArgs,bool> _accessibilityManagerActionBackEventHandler;
763     private ActionBackEventCallbackDelegate _accessibilityManagerActionBackEventCallbackDelegate;
764
765     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
766     private delegate bool ActionScrollUpEventCallbackDelegate(IntPtr accessibilityManager);
767     private DaliEventHandlerWithReturnType<object,ActionScrollUpEventArgs,bool> _accessibilityManagerActionScrollUpEventHandler;
768     private ActionScrollUpEventCallbackDelegate _accessibilityManagerActionScrollUpEventCallbackDelegate;
769
770     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
771     private delegate bool ActionScrollDownEventCallbackDelegate(IntPtr accessibilityManager);
772     private DaliEventHandlerWithReturnType<object,ActionScrollDownEventArgs,bool> _accessibilityManagerActionScrollDownEventHandler;
773     private ActionScrollDownEventCallbackDelegate _accessibilityManagerActionScrollDownEventCallbackDelegate;
774
775     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
776     private delegate bool ActionPageLeftEventCallbackDelegate(IntPtr accessibilityManager);
777     private DaliEventHandlerWithReturnType<object,ActionPageLeftEventArgs,bool> _accessibilityManagerActionPageLeftEventHandler;
778     private ActionPageLeftEventCallbackDelegate _accessibilityManagerActionPageLeftEventCallbackDelegate;
779
780     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
781     private delegate bool ActionPageRightEventCallbackDelegate(IntPtr accessibilityManager);
782     private DaliEventHandlerWithReturnType<object,ActionPageRightEventArgs,bool> _accessibilityManagerActionPageRightEventHandler;
783     private ActionPageRightEventCallbackDelegate _accessibilityManagerActionPageRightEventCallbackDelegate;
784
785     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
786     private delegate bool ActionPageUpEventCallbackDelegate(IntPtr accessibilityManager);
787     private DaliEventHandlerWithReturnType<object,ActionPageUpEventArgs,bool> _accessibilityManagerActionPageUpEventHandler;
788     private ActionPageUpEventCallbackDelegate _accessibilityManagerActionPageUpEventCallbackDelegate;
789
790     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
791     private delegate bool ActionPageDownEventCallbackDelegate(IntPtr accessibilityManager);
792     private DaliEventHandlerWithReturnType<object,ActionPageDownEventArgs,bool> _accessibilityManagerActionPageDownEventHandler;
793     private ActionPageDownEventCallbackDelegate _accessibilityManagerActionPageDownEventCallbackDelegate;
794
795     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
796     private delegate bool ActionMoveToFirstEventCallbackDelegate(IntPtr accessibilityManager);
797     private DaliEventHandlerWithReturnType<object,ActionMoveToFirstEventArgs,bool> _accessibilityManagerActionMoveToFirstEventHandler;
798     private ActionMoveToFirstEventCallbackDelegate _accessibilityManagerActionMoveToFirstEventCallbackDelegate;
799
800     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
801     private delegate bool ActionMoveToLastEventCallbackDelegate(IntPtr accessibilityManager);
802     private DaliEventHandlerWithReturnType<object,ActionMoveToLastEventArgs,bool> _accessibilityManagerActionMoveToLastEventHandler;
803     private ActionMoveToLastEventCallbackDelegate _accessibilityManagerActionMoveToLastEventCallbackDelegate;
804
805     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
806     private delegate bool ActionReadFromTopEventCallbackDelegate(IntPtr accessibilityManager);
807     private DaliEventHandlerWithReturnType<object,ActionReadFromTopEventArgs,bool> _accessibilityManagerActionReadFromTopEventHandler;
808     private ActionReadFromTopEventCallbackDelegate _accessibilityManagerActionReadFromTopEventCallbackDelegate;
809
810     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
811     private delegate bool ActionReadFromNextEventCallbackDelegate(IntPtr accessibilityManager);
812     private DaliEventHandlerWithReturnType<object,ActionReadFromNextEventArgs,bool> _accessibilityManagerActionReadFromNextEventHandler;
813     private ActionReadFromNextEventCallbackDelegate _accessibilityManagerActionReadFromNextEventCallbackDelegate;
814
815     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
816     private delegate bool ActionZoomEventCallbackDelegate(IntPtr accessibilityManager);
817     private DaliEventHandlerWithReturnType<object,ActionZoomEventArgs,bool> _accessibilityManagerActionZoomEventHandler;
818     private ActionZoomEventCallbackDelegate _accessibilityManagerActionZoomEventCallbackDelegate;
819
820     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
821     private delegate bool ActionReadIndicatorInformationEventCallbackDelegate(IntPtr accessibilityManager);
822     private DaliEventHandlerWithReturnType<object,ActionReadIndicatorInformationEventArgs,bool> _accessibilityManagerActionReadIndicatorInformationEventHandler;
823     private ActionReadIndicatorInformationEventCallbackDelegate _accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate;
824
825     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
826     private delegate bool ActionReadPauseResumeEventCallbackDelegate(IntPtr accessibilityManager);
827     private DaliEventHandlerWithReturnType<object,ActionReadPauseResumeEventArgs,bool> _accessibilityManagerActionReadPauseResumeEventHandler;
828     private ActionReadPauseResumeEventCallbackDelegate _accessibilityManagerActionReadPauseResumeEventCallbackDelegate;
829
830     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
831     private delegate bool ActionStartStopEventCallbackDelegate(IntPtr accessibilityManager);
832     private DaliEventHandlerWithReturnType<object,ActionStartStopEventArgs,bool> _accessibilityManagerActionStartStopEventHandler;
833     private ActionStartStopEventCallbackDelegate _accessibilityManagerActionStartStopEventCallbackDelegate;
834
835 /*
836     // To be replaced by a new event that takes Touch
837     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
838     private delegate bool ActionScrollEventCallbackDelegate(IntPtr accessibilityManager, IntPtr touchEvent);
839     private DaliEventHandlerWithReturnType<object,ActionScrollEventArgs,bool> _accessibilityManagerActionScrollEventHandler;
840     private ActionScrollEventCallbackDelegate _accessibilityManagerActionScrollEventCallbackDelegate;
841 */
842
843     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
844     private delegate void FocusChangedEventCallbackDelegate(IntPtr actor1, IntPtr actor2);
845     private DaliEventHandler<object,FocusChangedEventArgs> _accessibilityManagerFocusChangedEventHandler;
846     private FocusChangedEventCallbackDelegate _accessibilityManagerFocusChangedEventCallbackDelegate;
847
848     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
849     private delegate void FocusedActorActivatedEventCallbackDelegate(IntPtr actor);
850     private DaliEventHandler<object,FocusedActorActivatedEventArgs> _accessibilityManagerFocusedActorActivatedEventHandler;
851     private FocusedActorActivatedEventCallbackDelegate _accessibilityManagerFocusedActorActivatedEventCallbackDelegate;
852
853     [UnmanagedFunctionPointer(CallingConvention.StdCall)]
854     private delegate void FocusOvershotEventCallbackDelegate(IntPtr currentFocusedActor, AccessibilityManager.FocusOvershotDirection direction);
855     private DaliEventHandler<object,FocusOvershotEventArgs> _accessibilityManagerFocusOvershotEventHandler;
856     private FocusOvershotEventCallbackDelegate _accessibilityManagerFocusOvershotEventCallbackDelegate;
857
858     public event DaliEventHandlerWithReturnType<object,StatusChangedEventArgs,bool> StatusChanged
859     {
860       add
861       {
862         lock(this)
863         {
864           // Restricted to only one listener
865           if (_accessibilityManagerStatusChangedEventHandler == null)
866           {
867             _accessibilityManagerStatusChangedEventHandler += value;
868
869             _accessibilityManagerStatusChangedEventCallbackDelegate = new StatusChangedEventCallbackDelegate(OnStatusChanged);
870             this.StatusChangedSignal().Connect(_accessibilityManagerStatusChangedEventCallbackDelegate);
871           }
872         }
873       }
874
875       remove
876       {
877         lock(this)
878         {
879           if (_accessibilityManagerStatusChangedEventHandler != null)
880           {
881             this.StatusChangedSignal().Disconnect(_accessibilityManagerStatusChangedEventCallbackDelegate);
882           }
883
884           _accessibilityManagerStatusChangedEventHandler -= value;
885         }
886       }
887     }
888
889     // Callback for AccessibilityManager StatusChangedSignal
890     private bool OnStatusChanged(IntPtr data)
891     {
892       StatusChangedEventArgs e = new StatusChangedEventArgs();
893
894       // Populate all members of "e" (StatusChangedEventArgs) with real data
895       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
896
897       if (_accessibilityManagerStatusChangedEventHandler != null)
898       {
899         //here we send all data to user event handlers
900         return _accessibilityManagerStatusChangedEventHandler(this, e);
901       }
902       return false;
903     }
904
905     public event DaliEventHandlerWithReturnType<object,ActionNextEventArgs,bool> ActionNext
906     {
907       add
908       {
909         lock(this)
910         {
911           // Restricted to only one listener
912           if (_accessibilityManagerActionNextEventHandler == null)
913           {
914             _accessibilityManagerActionNextEventHandler += value;
915
916             _accessibilityManagerActionNextEventCallbackDelegate = new ActionNextEventCallbackDelegate(OnActionNext);
917             this.ActionNextSignal().Connect(_accessibilityManagerActionNextEventCallbackDelegate);
918           }
919         }
920       }
921
922       remove
923       {
924         lock(this)
925         {
926           if (_accessibilityManagerActionNextEventHandler != null)
927           {
928             this.ActionNextSignal().Disconnect(_accessibilityManagerActionNextEventCallbackDelegate);
929           }
930
931           _accessibilityManagerActionNextEventHandler -= value;
932         }
933       }
934     }
935
936     // Callback for AccessibilityManager ActionNextSignal
937     private bool OnActionNext(IntPtr data)
938     {
939       ActionNextEventArgs e = new ActionNextEventArgs();
940
941       // Populate all members of "e" (ActionNextEventArgs) with real data
942       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
943
944       if (_accessibilityManagerActionNextEventHandler != null)
945       {
946         //here we send all data to user event handlers
947         return _accessibilityManagerActionNextEventHandler(this, e);
948       }
949       return false;
950     }
951
952     public event DaliEventHandlerWithReturnType<object,ActionPreviousEventArgs,bool> ActionPrevious
953     {
954       add
955       {
956         lock(this)
957         {
958           // Restricted to only one listener
959           if (_accessibilityManagerActionPreviousEventHandler == null)
960           {
961             _accessibilityManagerActionPreviousEventHandler += value;
962
963             _accessibilityManagerActionPreviousEventCallbackDelegate = new ActionPreviousEventCallbackDelegate(OnActionPrevious);
964             this.ActionPreviousSignal().Connect(_accessibilityManagerActionPreviousEventCallbackDelegate);
965           }
966         }
967       }
968
969       remove
970       {
971         lock(this)
972         {
973           if (_accessibilityManagerActionPreviousEventHandler != null)
974           {
975             this.ActionPreviousSignal().Disconnect(_accessibilityManagerActionPreviousEventCallbackDelegate);
976           }
977
978           _accessibilityManagerActionPreviousEventHandler -= value;
979         }
980       }
981     }
982
983     // Callback for AccessibilityManager ActionPreviousSignal
984     private bool OnActionPrevious(IntPtr data)
985     {
986       ActionPreviousEventArgs e = new ActionPreviousEventArgs();
987
988       // Populate all members of "e" (ActionPreviousEventArgs) with real data
989       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
990
991       if (_accessibilityManagerActionPreviousEventHandler != null)
992       {
993         //here we send all data to user event handlers
994         return _accessibilityManagerActionPreviousEventHandler(this, e);
995       }
996       return false;
997     }
998
999     public event DaliEventHandlerWithReturnType<object,ActionActivateEventArgs,bool> ActionActivate
1000     {
1001       add
1002       {
1003         lock(this)
1004         {
1005           // Restricted to only one listener
1006           if (_accessibilityManagerActionActivateEventHandler == null)
1007           {
1008             _accessibilityManagerActionActivateEventHandler += value;
1009
1010             _accessibilityManagerActionActivateEventCallbackDelegate = new ActionActivateEventCallbackDelegate(OnActionActivate);
1011             this.ActionActivateSignal().Connect(_accessibilityManagerActionActivateEventCallbackDelegate);
1012           }
1013         }
1014       }
1015
1016       remove
1017       {
1018         lock(this)
1019         {
1020           if (_accessibilityManagerActionActivateEventHandler != null)
1021           {
1022             this.ActionActivateSignal().Disconnect(_accessibilityManagerActionActivateEventCallbackDelegate);
1023           }
1024
1025           _accessibilityManagerActionActivateEventHandler -= value;
1026         }
1027       }
1028     }
1029
1030     // Callback for AccessibilityManager ActionActivateSignal
1031     private bool OnActionActivate(IntPtr data)
1032     {
1033       ActionActivateEventArgs e = new ActionActivateEventArgs();
1034
1035       // Populate all members of "e" (ActionActivateEventArgs) with real data
1036       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1037
1038       if (_accessibilityManagerActionActivateEventHandler != null)
1039       {
1040         //here we send all data to user event handlers
1041         return _accessibilityManagerActionActivateEventHandler(this, e);
1042       }
1043       return false;
1044     }
1045
1046     public event DaliEventHandlerWithReturnType<object,ActionReadEventArgs,bool> ActionRead
1047     {
1048       add
1049       {
1050         lock(this)
1051         {
1052           // Restricted to only one listener
1053           if (_accessibilityManagerActionReadEventHandler == null)
1054           {
1055             _accessibilityManagerActionReadEventHandler += value;
1056
1057             _accessibilityManagerActionReadEventCallbackDelegate = new ActionReadEventCallbackDelegate(OnActionRead);
1058             this.ActionReadSignal().Connect(_accessibilityManagerActionReadEventCallbackDelegate);
1059           }
1060         }
1061       }
1062
1063       remove
1064       {
1065         lock(this)
1066         {
1067           if (_accessibilityManagerActionReadEventHandler != null)
1068           {
1069             this.ActionReadSignal().Disconnect(_accessibilityManagerActionReadEventCallbackDelegate);
1070           }
1071
1072           _accessibilityManagerActionReadEventHandler -= value;
1073         }
1074       }
1075     }
1076
1077     // Callback for AccessibilityManager ActionReadSignal
1078     private bool OnActionRead(IntPtr data)
1079     {
1080       ActionReadEventArgs e = new ActionReadEventArgs();
1081
1082       // Populate all members of "e" (ActionReadEventArgs) with real data
1083       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1084
1085       if (_accessibilityManagerActionReadEventHandler != null)
1086       {
1087         //here we send all data to user event handlers
1088         return _accessibilityManagerActionReadEventHandler(this, e);
1089       }
1090       return false;
1091     }
1092
1093     public event DaliEventHandlerWithReturnType<object,ActionOverEventArgs,bool> ActionOver
1094     {
1095       add
1096       {
1097         lock(this)
1098         {
1099           // Restricted to only one listener
1100           if (_accessibilityManagerActionOverEventHandler == null)
1101           {
1102             _accessibilityManagerActionOverEventHandler += value;
1103
1104             _accessibilityManagerActionOverEventCallbackDelegate = new ActionOverEventCallbackDelegate(OnActionOver);
1105             this.ActionOverSignal().Connect(_accessibilityManagerActionOverEventCallbackDelegate);
1106           }
1107         }
1108       }
1109
1110       remove
1111       {
1112         lock(this)
1113         {
1114           if (_accessibilityManagerActionOverEventHandler != null)
1115           {
1116             this.ActionOverSignal().Disconnect(_accessibilityManagerActionOverEventCallbackDelegate);
1117           }
1118
1119           _accessibilityManagerActionOverEventHandler -= value;
1120         }
1121       }
1122     }
1123
1124     // Callback for AccessibilityManager ActionOverSignal
1125     private bool OnActionOver(IntPtr data)
1126     {
1127       ActionOverEventArgs e = new ActionOverEventArgs();
1128
1129       // Populate all members of "e" (ActionOverEventArgs) with real data
1130       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1131
1132       if (_accessibilityManagerActionOverEventHandler != null)
1133       {
1134         //here we send all data to user event handlers
1135         return _accessibilityManagerActionOverEventHandler(this, e);
1136       }
1137       return false;
1138     }
1139
1140     public event DaliEventHandlerWithReturnType<object,ActionReadNextEventArgs,bool> ActionReadNext
1141     {
1142       add
1143       {
1144         lock(this)
1145         {
1146           // Restricted to only one listener
1147           if (_accessibilityManagerActionReadNextEventHandler == null)
1148           {
1149             _accessibilityManagerActionReadNextEventHandler += value;
1150
1151             _accessibilityManagerActionReadNextEventCallbackDelegate = new ActionReadNextEventCallbackDelegate(OnActionReadNext);
1152             this.ActionReadNextSignal().Connect(_accessibilityManagerActionReadNextEventCallbackDelegate);
1153           }
1154         }
1155       }
1156
1157       remove
1158       {
1159         lock(this)
1160         {
1161           if (_accessibilityManagerActionReadNextEventHandler != null)
1162           {
1163             this.ActionReadNextSignal().Disconnect(_accessibilityManagerActionReadNextEventCallbackDelegate);
1164           }
1165
1166           _accessibilityManagerActionReadNextEventHandler -= value;
1167         }
1168       }
1169     }
1170
1171     // Callback for AccessibilityManager ActionReadNextSignal
1172     private bool OnActionReadNext(IntPtr data)
1173     {
1174       ActionReadNextEventArgs e = new ActionReadNextEventArgs();
1175
1176       // Populate all members of "e" (ActionReadNextEventArgs) with real data
1177       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1178
1179       if (_accessibilityManagerActionReadNextEventHandler != null)
1180       {
1181         //here we send all data to user event handlers
1182         return _accessibilityManagerActionReadNextEventHandler(this, e);
1183       }
1184       return false;
1185     }
1186
1187
1188     public event DaliEventHandlerWithReturnType<object,ActionReadPreviousEventArgs,bool> ActionReadPrevious
1189     {
1190       add
1191       {
1192         lock(this)
1193         {
1194           // Restricted to only one listener
1195           if (_accessibilityManagerActionReadPreviousEventHandler == null)
1196           {
1197             _accessibilityManagerActionReadPreviousEventHandler += value;
1198
1199             _accessibilityManagerActionReadPreviousEventCallbackDelegate = new ActionReadPreviousEventCallbackDelegate(OnActionReadPrevious);
1200             this.ActionReadPreviousSignal().Connect(_accessibilityManagerActionReadPreviousEventCallbackDelegate);
1201           }
1202         }
1203       }
1204
1205       remove
1206       {
1207         lock(this)
1208         {
1209           if (_accessibilityManagerActionReadPreviousEventHandler != null)
1210           {
1211             this.ActionReadPreviousSignal().Disconnect(_accessibilityManagerActionReadPreviousEventCallbackDelegate);
1212           }
1213
1214           _accessibilityManagerActionReadPreviousEventHandler -= value;
1215         }
1216       }
1217     }
1218
1219     // Callback for AccessibilityManager ActionReadPreviousSignal
1220     private bool OnActionReadPrevious(IntPtr data)
1221     {
1222       ActionReadPreviousEventArgs e = new ActionReadPreviousEventArgs();
1223
1224       // Populate all members of "e" (ActionReadPreviousEventArgs) with real data
1225       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1226
1227       if (_accessibilityManagerActionReadPreviousEventHandler != null)
1228       {
1229         //here we send all data to user event handlers
1230         return _accessibilityManagerActionReadPreviousEventHandler(this, e);
1231       }
1232       return false;
1233     }
1234
1235     public event DaliEventHandlerWithReturnType<object,ActionUpEventArgs,bool> ActionUp
1236     {
1237       add
1238       {
1239         lock(this)
1240         {
1241           // Restricted to only one listener
1242           if (_accessibilityManagerActionUpEventHandler == null)
1243           {
1244             _accessibilityManagerActionUpEventHandler += value;
1245
1246             _accessibilityManagerActionUpEventCallbackDelegate = new ActionUpEventCallbackDelegate(OnActionUp);
1247             this.ActionUpSignal().Connect(_accessibilityManagerActionUpEventCallbackDelegate);
1248           }
1249         }
1250       }
1251
1252       remove
1253       {
1254         lock(this)
1255         {
1256           if (_accessibilityManagerActionUpEventHandler != null)
1257           {
1258             this.ActionUpSignal().Disconnect(_accessibilityManagerActionUpEventCallbackDelegate);
1259           }
1260
1261           _accessibilityManagerActionUpEventHandler -= value;
1262         }
1263       }
1264     }
1265
1266     // Callback for AccessibilityManager ActionUpSignal
1267     private bool OnActionUp(IntPtr data)
1268     {
1269       ActionUpEventArgs e = new ActionUpEventArgs();
1270
1271       // Populate all members of "e" (ActionUpEventArgs) with real data
1272       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1273
1274       if (_accessibilityManagerActionUpEventHandler != null)
1275       {
1276         //here we send all data to user event handlers
1277         return _accessibilityManagerActionUpEventHandler(this, e);
1278       }
1279       return false;
1280     }
1281
1282     public event DaliEventHandlerWithReturnType<object,ActionDownEventArgs,bool> ActionDown
1283     {
1284       add
1285       {
1286         lock(this)
1287         {
1288           // Restricted to only one listener
1289           if (_accessibilityManagerActionDownEventHandler == null)
1290           {
1291             _accessibilityManagerActionDownEventHandler += value;
1292
1293             _accessibilityManagerActionDownEventCallbackDelegate = new ActionDownEventCallbackDelegate(OnActionDown);
1294             this.ActionDownSignal().Connect(_accessibilityManagerActionDownEventCallbackDelegate);
1295           }
1296         }
1297       }
1298
1299       remove
1300       {
1301         lock(this)
1302         {
1303           if (_accessibilityManagerActionDownEventHandler != null)
1304           {
1305             this.ActionDownSignal().Disconnect(_accessibilityManagerActionDownEventCallbackDelegate);
1306           }
1307
1308           _accessibilityManagerActionDownEventHandler -= value;
1309         }
1310       }
1311     }
1312
1313     // Callback for AccessibilityManager ActionDownSignal
1314     private bool OnActionDown(IntPtr data)
1315     {
1316       ActionDownEventArgs e = new ActionDownEventArgs();
1317
1318       // Populate all members of "e" (ActionDownEventArgs) with real data
1319       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1320
1321       if (_accessibilityManagerActionDownEventHandler != null)
1322       {
1323         //here we send all data to user event handlers
1324         return _accessibilityManagerActionDownEventHandler(this, e);
1325       }
1326       return false;
1327     }
1328
1329     public event DaliEventHandlerWithReturnType<object,ActionClearFocusEventArgs,bool> ActionClearFocus
1330     {
1331       add
1332       {
1333         lock(this)
1334         {
1335           // Restricted to only one listener
1336           if (_accessibilityManagerActionClearFocusEventHandler == null)
1337           {
1338             _accessibilityManagerActionClearFocusEventHandler += value;
1339
1340             _accessibilityManagerActionClearFocusEventCallbackDelegate = new ActionClearFocusEventCallbackDelegate(OnActionClearFocus);
1341             this.ActionClearFocusSignal().Connect(_accessibilityManagerActionClearFocusEventCallbackDelegate);
1342           }
1343         }
1344       }
1345
1346       remove
1347       {
1348         lock(this)
1349         {
1350           if (_accessibilityManagerActionClearFocusEventHandler != null)
1351           {
1352             this.ActionClearFocusSignal().Disconnect(_accessibilityManagerActionClearFocusEventCallbackDelegate);
1353           }
1354
1355           _accessibilityManagerActionClearFocusEventHandler -= value;
1356         }
1357       }
1358     }
1359
1360     // Callback for AccessibilityManager ActionClearFocusSignal
1361     private bool OnActionClearFocus(IntPtr data)
1362     {
1363       ActionClearFocusEventArgs e = new ActionClearFocusEventArgs();
1364
1365       // Populate all members of "e" (ActionClearFocusEventArgs) with real data
1366       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1367
1368       if (_accessibilityManagerActionClearFocusEventHandler != null)
1369       {
1370         //here we send all data to user event handlers
1371         return _accessibilityManagerActionClearFocusEventHandler(this, e);
1372       }
1373       return false;
1374     }
1375
1376     public event DaliEventHandlerWithReturnType<object,ActionBackEventArgs,bool> ActionBack
1377     {
1378       add
1379       {
1380         lock(this)
1381         {
1382           // Restricted to only one listener
1383           if (_accessibilityManagerActionBackEventHandler == null)
1384           {
1385             _accessibilityManagerActionBackEventHandler += value;
1386
1387             _accessibilityManagerActionBackEventCallbackDelegate = new ActionBackEventCallbackDelegate(OnActionBack);
1388             this.ActionBackSignal().Connect(_accessibilityManagerActionBackEventCallbackDelegate);
1389           }
1390         }
1391       }
1392
1393       remove
1394       {
1395         lock(this)
1396         {
1397           if (_accessibilityManagerActionBackEventHandler != null)
1398           {
1399             this.ActionBackSignal().Disconnect(_accessibilityManagerActionBackEventCallbackDelegate);
1400           }
1401
1402           _accessibilityManagerActionBackEventHandler -= value;
1403         }
1404       }
1405     }
1406
1407     // Callback for AccessibilityManager ActionBackSignal
1408     private bool OnActionBack(IntPtr data)
1409     {
1410       ActionBackEventArgs e = new ActionBackEventArgs();
1411
1412       // Populate all members of "e" (ActionBackEventArgs) with real data
1413       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1414
1415       if (_accessibilityManagerActionBackEventHandler != null)
1416       {
1417         //here we send all data to user event handlers
1418         return _accessibilityManagerActionBackEventHandler(this, e);
1419       }
1420       return false;
1421     }
1422
1423     public event DaliEventHandlerWithReturnType<object,ActionScrollUpEventArgs,bool> ActionScrollUp
1424     {
1425       add
1426       {
1427         lock(this)
1428         {
1429           // Restricted to only one listener
1430           if (_accessibilityManagerActionScrollUpEventHandler == null)
1431           {
1432             _accessibilityManagerActionScrollUpEventHandler += value;
1433
1434             _accessibilityManagerActionScrollUpEventCallbackDelegate = new ActionScrollUpEventCallbackDelegate(OnActionScrollUp);
1435             this.ActionScrollUpSignal().Connect(_accessibilityManagerActionScrollUpEventCallbackDelegate);
1436           }
1437         }
1438       }
1439
1440       remove
1441       {
1442         lock(this)
1443         {
1444           if (_accessibilityManagerActionScrollUpEventHandler != null)
1445           {
1446             this.ActionScrollUpSignal().Disconnect(_accessibilityManagerActionScrollUpEventCallbackDelegate);
1447           }
1448
1449           _accessibilityManagerActionScrollUpEventHandler -= value;
1450         }
1451       }
1452     }
1453
1454     // Callback for AccessibilityManager ActionScrollUpSignal
1455     private bool OnActionScrollUp(IntPtr data)
1456     {
1457       ActionScrollUpEventArgs e = new ActionScrollUpEventArgs();
1458
1459       // Populate all members of "e" (ActionScrollUpEventArgs) with real data
1460       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1461
1462       if (_accessibilityManagerActionScrollUpEventHandler != null)
1463       {
1464         //here we send all data to user event handlers
1465         return _accessibilityManagerActionScrollUpEventHandler(this, e);
1466       }
1467       return false;
1468     }
1469
1470     public event DaliEventHandlerWithReturnType<object,ActionScrollDownEventArgs,bool> ActionScrollDown
1471     {
1472       add
1473       {
1474         lock(this)
1475         {
1476           // Restricted to only one listener
1477           if (_accessibilityManagerActionScrollDownEventHandler == null)
1478           {
1479             _accessibilityManagerActionScrollDownEventHandler += value;
1480
1481             _accessibilityManagerActionScrollDownEventCallbackDelegate = new ActionScrollDownEventCallbackDelegate(OnActionScrollDown);
1482             this.ActionScrollDownSignal().Connect(_accessibilityManagerActionScrollDownEventCallbackDelegate);
1483           }
1484         }
1485       }
1486
1487       remove
1488       {
1489         lock(this)
1490         {
1491           if (_accessibilityManagerActionScrollDownEventHandler != null)
1492           {
1493             this.ActionScrollDownSignal().Disconnect(_accessibilityManagerActionScrollDownEventCallbackDelegate);
1494           }
1495
1496           _accessibilityManagerActionScrollDownEventHandler -= value;
1497         }
1498       }
1499     }
1500
1501     // Callback for AccessibilityManager ActionScrollDownSignal
1502     private bool OnActionScrollDown(IntPtr data)
1503     {
1504       ActionScrollDownEventArgs e = new ActionScrollDownEventArgs();
1505
1506       // Populate all members of "e" (ActionScrollDownEventArgs) with real data
1507       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1508
1509       if (_accessibilityManagerActionScrollDownEventHandler != null)
1510       {
1511         //here we send all data to user event handlers
1512         return _accessibilityManagerActionScrollDownEventHandler(this, e);
1513       }
1514       return false;
1515     }
1516
1517
1518     public event DaliEventHandlerWithReturnType<object,ActionPageLeftEventArgs,bool> ActionPageLeft
1519     {
1520       add
1521       {
1522         lock(this)
1523         {
1524           // Restricted to only one listener
1525           if (_accessibilityManagerActionPageLeftEventHandler == null)
1526           {
1527             _accessibilityManagerActionPageLeftEventHandler += value;
1528
1529             _accessibilityManagerActionPageLeftEventCallbackDelegate = new ActionPageLeftEventCallbackDelegate(OnActionPageLeft);
1530             this.ActionPageLeftSignal().Connect(_accessibilityManagerActionPageLeftEventCallbackDelegate);
1531           }
1532         }
1533       }
1534
1535       remove
1536       {
1537         lock(this)
1538         {
1539           if (_accessibilityManagerActionPageLeftEventHandler != null)
1540           {
1541             this.ActionPageLeftSignal().Disconnect(_accessibilityManagerActionPageLeftEventCallbackDelegate);
1542           }
1543
1544           _accessibilityManagerActionPageLeftEventHandler -= value;
1545         }
1546       }
1547     }
1548
1549     // Callback for AccessibilityManager ActionPageLeftSignal
1550     private bool OnActionPageLeft(IntPtr data)
1551     {
1552       ActionPageLeftEventArgs e = new ActionPageLeftEventArgs();
1553
1554       // Populate all members of "e" (ActionPageLeftEventArgs) with real data
1555       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1556
1557       if (_accessibilityManagerActionPageLeftEventHandler != null)
1558       {
1559         //here we send all data to user event handlers
1560         return _accessibilityManagerActionPageLeftEventHandler(this, e);
1561       }
1562       return false;
1563     }
1564
1565     public event DaliEventHandlerWithReturnType<object,ActionPageRightEventArgs,bool> ActionPageRight
1566     {
1567       add
1568       {
1569         lock(this)
1570         {
1571           // Restricted to only one listener
1572           if (_accessibilityManagerActionPageRightEventHandler == null)
1573           {
1574             _accessibilityManagerActionPageRightEventHandler += value;
1575
1576             _accessibilityManagerActionPageRightEventCallbackDelegate = new ActionPageRightEventCallbackDelegate(OnActionPageRight);
1577             this.ActionPageRightSignal().Connect(_accessibilityManagerActionPageRightEventCallbackDelegate);
1578           }
1579         }
1580       }
1581
1582       remove
1583       {
1584         lock(this)
1585         {
1586           if (_accessibilityManagerActionPageRightEventHandler != null)
1587           {
1588             this.ActionPageRightSignal().Disconnect(_accessibilityManagerActionPageRightEventCallbackDelegate);
1589           }
1590
1591           _accessibilityManagerActionPageRightEventHandler -= value;
1592         }
1593       }
1594     }
1595
1596     // Callback for AccessibilityManager ActionPageRightSignal
1597     private bool OnActionPageRight(IntPtr data)
1598     {
1599       ActionPageRightEventArgs e = new ActionPageRightEventArgs();
1600
1601       // Populate all members of "e" (ActionPageRightEventArgs) with real data
1602       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1603
1604       if (_accessibilityManagerActionPageRightEventHandler != null)
1605       {
1606         //here we send all data to user event handlers
1607         return _accessibilityManagerActionPageRightEventHandler(this, e);
1608       }
1609       return false;
1610     }
1611
1612     public event DaliEventHandlerWithReturnType<object,ActionPageUpEventArgs, bool> ActionPageUp
1613     {
1614       add
1615       {
1616         lock(this)
1617         {
1618           // Restricted to only one listener
1619           if (_accessibilityManagerActionPageUpEventHandler == null)
1620           {
1621             _accessibilityManagerActionPageUpEventHandler += value;
1622
1623             _accessibilityManagerActionPageUpEventCallbackDelegate = new ActionPageUpEventCallbackDelegate(OnActionPageUp);
1624             this.ActionPageUpSignal().Connect(_accessibilityManagerActionPageUpEventCallbackDelegate);
1625           }
1626         }
1627       }
1628
1629       remove
1630       {
1631         lock(this)
1632         {
1633           if (_accessibilityManagerActionPageUpEventHandler != null)
1634           {
1635             this.ActionPageUpSignal().Disconnect(_accessibilityManagerActionPageUpEventCallbackDelegate);
1636           }
1637
1638           _accessibilityManagerActionPageUpEventHandler -= value;
1639         }
1640       }
1641     }
1642
1643     // Callback for AccessibilityManager ActionPageUpSignal
1644     private bool OnActionPageUp(IntPtr data)
1645     {
1646       ActionPageUpEventArgs e = new ActionPageUpEventArgs();
1647
1648       // Populate all members of "e" (ActionPageUpEventArgs) with real data
1649       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1650
1651       if (_accessibilityManagerActionPageUpEventHandler != null)
1652       {
1653         //here we send all data to user event handlers
1654         return _accessibilityManagerActionPageUpEventHandler(this, e);
1655       }
1656       return false;
1657     }
1658
1659
1660     public event DaliEventHandlerWithReturnType<object,ActionPageDownEventArgs,bool> ActionPageDown
1661     {
1662       add
1663       {
1664         lock(this)
1665         {
1666           // Restricted to only one listener
1667           if (_accessibilityManagerActionPageDownEventHandler == null)
1668           {
1669             _accessibilityManagerActionPageDownEventHandler += value;
1670
1671             _accessibilityManagerActionPageDownEventCallbackDelegate = new ActionPageDownEventCallbackDelegate(OnActionPageDown);
1672             this.ActionPageDownSignal().Connect(_accessibilityManagerActionPageDownEventCallbackDelegate);
1673           }
1674         }
1675       }
1676
1677       remove
1678       {
1679         lock(this)
1680         {
1681           if (_accessibilityManagerActionPageDownEventHandler != null)
1682           {
1683             this.ActionPageDownSignal().Disconnect(_accessibilityManagerActionPageDownEventCallbackDelegate);
1684           }
1685
1686           _accessibilityManagerActionPageDownEventHandler -= value;
1687         }
1688       }
1689     }
1690
1691     // Callback for AccessibilityManager ActionPageDownSignal
1692     private bool OnActionPageDown(IntPtr data)
1693     {
1694       ActionPageDownEventArgs e = new ActionPageDownEventArgs();
1695
1696       // Populate all members of "e" (ActionPageDownEventArgs) with real data
1697       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1698
1699       if (_accessibilityManagerActionPageDownEventHandler != null)
1700       {
1701         //here we send all data to user event handlers
1702         return _accessibilityManagerActionPageDownEventHandler(this, e);
1703       }
1704       return false;
1705     }
1706
1707
1708     public event DaliEventHandlerWithReturnType<object,ActionMoveToFirstEventArgs,bool> ActionMoveToFirst
1709     {
1710       add
1711       {
1712         lock(this)
1713         {
1714           // Restricted to only one listener
1715           if (_accessibilityManagerActionMoveToFirstEventHandler == null)
1716           {
1717             _accessibilityManagerActionMoveToFirstEventHandler += value;
1718
1719             _accessibilityManagerActionMoveToFirstEventCallbackDelegate = new ActionMoveToFirstEventCallbackDelegate(OnActionMoveToFirst);
1720             this.ActionMoveToFirstSignal().Connect(_accessibilityManagerActionMoveToFirstEventCallbackDelegate);
1721           }
1722         }
1723       }
1724
1725       remove
1726       {
1727         lock(this)
1728         {
1729           if (_accessibilityManagerActionMoveToFirstEventHandler != null)
1730           {
1731             this.ActionMoveToFirstSignal().Disconnect(_accessibilityManagerActionMoveToFirstEventCallbackDelegate);
1732           }
1733
1734           _accessibilityManagerActionMoveToFirstEventHandler -= value;
1735         }
1736       }
1737     }
1738
1739     // Callback for AccessibilityManager ActionMoveToFirstSignal
1740     private bool OnActionMoveToFirst(IntPtr data)
1741     {
1742       ActionMoveToFirstEventArgs e = new ActionMoveToFirstEventArgs();
1743
1744       // Populate all members of "e" (ActionMoveToFirstEventArgs) with real data
1745       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1746
1747       if (_accessibilityManagerActionMoveToFirstEventHandler != null)
1748       {
1749         //here we send all data to user event handlers
1750         return _accessibilityManagerActionMoveToFirstEventHandler(this, e);
1751       }
1752       return false;
1753     }
1754
1755     public event DaliEventHandlerWithReturnType<object,ActionMoveToLastEventArgs,bool> ActionMoveToLast
1756     {
1757       add
1758       {
1759         lock(this)
1760         {
1761           // Restricted to only one listener
1762           if (_accessibilityManagerActionMoveToLastEventHandler == null)
1763           {
1764             _accessibilityManagerActionMoveToLastEventHandler += value;
1765
1766             _accessibilityManagerActionMoveToLastEventCallbackDelegate = new ActionMoveToLastEventCallbackDelegate(OnActionMoveToLast);
1767             this.ActionMoveToLastSignal().Connect(_accessibilityManagerActionMoveToLastEventCallbackDelegate);
1768           }
1769         }
1770       }
1771
1772       remove
1773       {
1774         lock(this)
1775         {
1776           if (_accessibilityManagerActionMoveToLastEventHandler != null)
1777           {
1778             this.ActionMoveToLastSignal().Disconnect(_accessibilityManagerActionMoveToLastEventCallbackDelegate);
1779           }
1780
1781           _accessibilityManagerActionMoveToLastEventHandler -= value;
1782         }
1783       }
1784     }
1785
1786     // Callback for AccessibilityManager ActionMoveToLastSignal
1787     private bool OnActionMoveToLast(IntPtr data)
1788     {
1789       ActionMoveToLastEventArgs e = new ActionMoveToLastEventArgs();
1790
1791       // Populate all members of "e" (ActionMoveToLastEventArgs) with real data
1792       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1793
1794       if (_accessibilityManagerActionMoveToLastEventHandler != null)
1795       {
1796         //here we send all data to user event handlers
1797         return _accessibilityManagerActionMoveToLastEventHandler(this, e);
1798       }
1799       return false;
1800     }
1801
1802     public event DaliEventHandlerWithReturnType<object,ActionReadFromTopEventArgs,bool> ActionReadFromTop
1803     {
1804       add
1805       {
1806         lock(this)
1807         {
1808           // Restricted to only one listener
1809           if (_accessibilityManagerActionReadFromTopEventHandler == null)
1810           {
1811             _accessibilityManagerActionReadFromTopEventHandler += value;
1812
1813             _accessibilityManagerActionReadFromTopEventCallbackDelegate = new ActionReadFromTopEventCallbackDelegate(OnActionReadFromTop);
1814             this.ActionReadFromTopSignal().Connect(_accessibilityManagerActionReadFromTopEventCallbackDelegate);
1815           }
1816         }
1817       }
1818
1819       remove
1820       {
1821         lock(this)
1822         {
1823           if (_accessibilityManagerActionReadFromTopEventHandler != null)
1824           {
1825             this.ActionReadFromTopSignal().Disconnect(_accessibilityManagerActionReadFromTopEventCallbackDelegate);
1826           }
1827
1828           _accessibilityManagerActionReadFromTopEventHandler -= value;
1829         }
1830       }
1831     }
1832
1833     // Callback for AccessibilityManager ActionReadFromTopSignal
1834     private bool OnActionReadFromTop(IntPtr data)
1835     {
1836       ActionReadFromTopEventArgs e = new ActionReadFromTopEventArgs();
1837
1838       // Populate all members of "e" (ActionReadFromTopEventArgs) with real data
1839       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1840
1841       if (_accessibilityManagerActionReadFromTopEventHandler != null)
1842       {
1843         //here we send all data to user event handlers
1844         return _accessibilityManagerActionReadFromTopEventHandler(this, e);
1845       }
1846       return false;
1847     }
1848
1849     public event DaliEventHandlerWithReturnType<object,ActionReadFromNextEventArgs,bool> ActionReadFromNext
1850     {
1851       add
1852       {
1853         lock(this)
1854         {
1855           // Restricted to only one listener
1856           if (_accessibilityManagerActionReadFromNextEventHandler == null)
1857           {
1858             _accessibilityManagerActionReadFromNextEventHandler += value;
1859
1860             _accessibilityManagerActionReadFromNextEventCallbackDelegate = new ActionReadFromNextEventCallbackDelegate(OnActionReadFromNext);
1861             this.ActionReadFromNextSignal().Connect(_accessibilityManagerActionReadFromNextEventCallbackDelegate);
1862           }
1863         }
1864       }
1865
1866       remove
1867       {
1868         lock(this)
1869         {
1870           if (_accessibilityManagerActionReadFromNextEventHandler != null)
1871           {
1872             this.ActionReadFromNextSignal().Disconnect(_accessibilityManagerActionReadFromNextEventCallbackDelegate);
1873           }
1874
1875           _accessibilityManagerActionReadFromNextEventHandler -= value;
1876         }
1877       }
1878     }
1879
1880     // Callback for AccessibilityManager ActionReadFromNextSignal
1881     private bool OnActionReadFromNext(IntPtr data)
1882     {
1883       ActionReadFromNextEventArgs e = new ActionReadFromNextEventArgs();
1884
1885       // Populate all members of "e" (ActionReadFromNextEventArgs) with real data
1886       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1887
1888       if (_accessibilityManagerActionReadFromNextEventHandler != null)
1889       {
1890         //here we send all data to user event handlers
1891         return _accessibilityManagerActionReadFromNextEventHandler(this, e);
1892       }
1893       return false;
1894     }
1895
1896     public event DaliEventHandlerWithReturnType<object,ActionZoomEventArgs,bool> ActionZoom
1897     {
1898       add
1899       {
1900         lock(this)
1901         {
1902           // Restricted to only one listener
1903           if (_accessibilityManagerActionZoomEventHandler == null)
1904           {
1905             _accessibilityManagerActionZoomEventHandler += value;
1906
1907             _accessibilityManagerActionZoomEventCallbackDelegate = new ActionZoomEventCallbackDelegate(OnActionZoom);
1908             this.ActionZoomSignal().Connect(_accessibilityManagerActionZoomEventCallbackDelegate);
1909           }
1910         }
1911       }
1912
1913       remove
1914       {
1915         lock(this)
1916         {
1917           if (_accessibilityManagerActionZoomEventHandler != null)
1918           {
1919             this.ActionZoomSignal().Disconnect(_accessibilityManagerActionZoomEventCallbackDelegate);
1920           }
1921
1922           _accessibilityManagerActionZoomEventHandler -= value;
1923         }
1924       }
1925     }
1926
1927     // Callback for AccessibilityManager ActionZoomSignal
1928     private bool OnActionZoom(IntPtr data)
1929     {
1930       ActionZoomEventArgs e = new ActionZoomEventArgs();
1931
1932       // Populate all members of "e" (ActionZoomEventArgs) with real data
1933       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1934
1935       if (_accessibilityManagerActionZoomEventHandler != null)
1936       {
1937         //here we send all data to user event handlers
1938         return _accessibilityManagerActionZoomEventHandler(this, e);
1939       }
1940       return false;
1941     }
1942
1943     public event DaliEventHandlerWithReturnType<object,ActionReadIndicatorInformationEventArgs,bool> ActionReadIndicatorInformation
1944     {
1945       add
1946       {
1947         lock(this)
1948         {
1949           // Restricted to only one listener
1950           if (_accessibilityManagerActionReadIndicatorInformationEventHandler == null)
1951           {
1952             _accessibilityManagerActionReadIndicatorInformationEventHandler += value;
1953
1954             _accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate = new ActionReadIndicatorInformationEventCallbackDelegate(OnActionReadIndicatorInformation);
1955             this.ActionReadIndicatorInformationSignal().Connect(_accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate);
1956           }
1957         }
1958       }
1959
1960       remove
1961       {
1962         lock(this)
1963         {
1964           if (_accessibilityManagerActionReadIndicatorInformationEventHandler != null)
1965           {
1966             this.ActionReadIndicatorInformationSignal().Disconnect(_accessibilityManagerActionReadIndicatorInformationEventCallbackDelegate);
1967           }
1968
1969           _accessibilityManagerActionReadIndicatorInformationEventHandler -= value;
1970         }
1971       }
1972     }
1973
1974     // Callback for AccessibilityManager ActionReadIndicatorInformationSignal
1975     private bool OnActionReadIndicatorInformation(IntPtr data)
1976     {
1977       ActionReadIndicatorInformationEventArgs e = new ActionReadIndicatorInformationEventArgs();
1978
1979       // Populate all members of "e" (ActionReadIndicatorInformationEventArgs) with real data
1980       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
1981
1982       if (_accessibilityManagerActionReadIndicatorInformationEventHandler != null)
1983       {
1984         //here we send all data to user event handlers
1985         return _accessibilityManagerActionReadIndicatorInformationEventHandler(this, e);
1986       }
1987       return false;
1988     }
1989
1990     public event DaliEventHandlerWithReturnType<object,ActionReadPauseResumeEventArgs,bool> ActionReadPauseResume
1991     {
1992       add
1993       {
1994         lock(this)
1995         {
1996           // Restricted to only one listener
1997           if (_accessibilityManagerActionReadPauseResumeEventHandler == null)
1998           {
1999             _accessibilityManagerActionReadPauseResumeEventHandler += value;
2000
2001             _accessibilityManagerActionReadPauseResumeEventCallbackDelegate = new ActionReadPauseResumeEventCallbackDelegate(OnActionReadPauseResume);
2002             this.ActionReadPauseResumeSignal().Connect(_accessibilityManagerActionReadPauseResumeEventCallbackDelegate);
2003           }
2004         }
2005       }
2006
2007       remove
2008       {
2009         lock(this)
2010         {
2011           if (_accessibilityManagerActionReadPauseResumeEventHandler != null)
2012           {
2013             this.ActionReadPauseResumeSignal().Disconnect(_accessibilityManagerActionReadPauseResumeEventCallbackDelegate);
2014           }
2015
2016           _accessibilityManagerActionReadPauseResumeEventHandler -= value;
2017         }
2018       }
2019     }
2020
2021     // Callback for AccessibilityManager ActionReadPauseResumeSignal
2022     private bool OnActionReadPauseResume(IntPtr data)
2023     {
2024       ActionReadPauseResumeEventArgs e = new ActionReadPauseResumeEventArgs();
2025
2026       // Populate all members of "e" (ActionReadPauseResumeEventArgs) with real data
2027       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
2028
2029       if (_accessibilityManagerActionReadPauseResumeEventHandler != null)
2030       {
2031         //here we send all data to user event handlers
2032         return _accessibilityManagerActionReadPauseResumeEventHandler(this, e);
2033       }
2034       return false;
2035     }
2036
2037     public event DaliEventHandlerWithReturnType<object,ActionStartStopEventArgs,bool> ActionStartStop
2038     {
2039       add
2040       {
2041         lock(this)
2042         {
2043           // Restricted to only one listener
2044           if (_accessibilityManagerActionStartStopEventHandler == null)
2045           {
2046             _accessibilityManagerActionStartStopEventHandler += value;
2047
2048             _accessibilityManagerActionStartStopEventCallbackDelegate = new ActionStartStopEventCallbackDelegate(OnActionStartStop);
2049             this.ActionStartStopSignal().Connect(_accessibilityManagerActionStartStopEventCallbackDelegate);
2050           }
2051         }
2052       }
2053
2054       remove
2055       {
2056         lock(this)
2057         {
2058           if (_accessibilityManagerActionStartStopEventHandler != null)
2059           {
2060             this.ActionStartStopSignal().Disconnect(_accessibilityManagerActionStartStopEventCallbackDelegate);
2061           }
2062
2063           _accessibilityManagerActionStartStopEventHandler -= value;
2064         }
2065       }
2066     }
2067
2068     // Callback for AccessibilityManager ActionStartStopSignal
2069     private bool OnActionStartStop(IntPtr data)
2070     {
2071       ActionStartStopEventArgs e = new ActionStartStopEventArgs();
2072
2073       // Populate all members of "e" (ActionStartStopEventArgs) with real data
2074       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(data);
2075
2076       if (_accessibilityManagerActionStartStopEventHandler != null)
2077       {
2078         //here we send all data to user event handlers
2079         return _accessibilityManagerActionStartStopEventHandler(this, e);
2080       }
2081       return false;
2082     }
2083
2084 /*
2085     // To be replaced by a new event that takes Touch
2086     public event DaliEventHandlerWithReturnType<object,ActionScrollEventArgs,bool> ActionScroll
2087     {
2088       add
2089       {
2090         lock(this)
2091         {
2092           // Restricted to only one listener
2093           if (_accessibilityManagerActionScrollEventHandler == null)
2094           {
2095             _accessibilityManagerActionScrollEventHandler += value;
2096
2097             _accessibilityManagerActionScrollEventCallbackDelegate = new ActionScrollEventCallbackDelegate(OnActionScroll);
2098             this.ActionScrollSignal().Connect(_accessibilityManagerActionScrollEventCallbackDelegate);
2099           }
2100         }
2101       }
2102
2103       remove
2104       {
2105         lock(this)
2106         {
2107           if (_accessibilityManagerActionScrollEventHandler != null)
2108           {
2109             this.ActionScrollSignal().Disconnect(_accessibilityManagerActionScrollEventCallbackDelegate);
2110           }
2111
2112           _accessibilityManagerActionScrollEventHandler -= value;
2113         }
2114       }
2115     }
2116
2117     // Callback for AccessibilityManager ActionScrollSignal
2118     private bool OnActionScroll(IntPtr accessibilityManager, IntPtr touchEvent)
2119     {
2120       ActionScrollEventArgs e = new ActionScrollEventArgs();
2121
2122       // Populate all members of "e" (ActionScrollEventArgs) with real data
2123       e.AccessibilityManager = AccessibilityManager.GetAccessibilityManagerFromPtr(accessibilityManager);
2124       e.TouchEvent = TouchEvent.GetTouchEventFromPtr(touchEvent);
2125
2126       if (_accessibilityManagerActionScrollEventHandler != null)
2127       {
2128         //here we send all data to user event handlers
2129         return _accessibilityManagerActionScrollEventHandler(this, e);
2130       }
2131       return false;
2132     }
2133 */
2134
2135     public event DaliEventHandler<object,FocusChangedEventArgs> FocusChanged
2136     {
2137       add
2138       {
2139         lock(this)
2140         {
2141           // Restricted to only one listener
2142           if (_accessibilityManagerFocusChangedEventHandler == null)
2143           {
2144             _accessibilityManagerFocusChangedEventHandler += value;
2145
2146             _accessibilityManagerFocusChangedEventCallbackDelegate = new FocusChangedEventCallbackDelegate(OnFocusChanged);
2147             this.FocusChangedSignal().Connect(_accessibilityManagerFocusChangedEventCallbackDelegate);
2148           }
2149         }
2150       }
2151
2152       remove
2153       {
2154         lock(this)
2155         {
2156           if (_accessibilityManagerFocusChangedEventHandler != null)
2157           {
2158             this.FocusChangedSignal().Disconnect(_accessibilityManagerFocusChangedEventCallbackDelegate);
2159           }
2160
2161           _accessibilityManagerFocusChangedEventHandler -= value;
2162         }
2163       }
2164     }
2165
2166     // Callback for AccessibilityManager FocusChangedSignal
2167     private void OnFocusChanged(IntPtr actor1, IntPtr actor2)
2168     {
2169       FocusChangedEventArgs e = new FocusChangedEventArgs();
2170
2171       // Populate all members of "e" (FocusChangedEventArgs) with real data
2172       e.ActorCurrent = Actor.GetActorFromPtr(actor1);
2173       e.ActorNext = Actor.GetActorFromPtr(actor2);
2174
2175       if (_accessibilityManagerFocusChangedEventHandler != null)
2176       {
2177         //here we send all data to user event handlers
2178         _accessibilityManagerFocusChangedEventHandler(this, e);
2179       }
2180     }
2181
2182     public event DaliEventHandler<object,FocusedActorActivatedEventArgs> FocusedActorActivated
2183     {
2184       add
2185       {
2186         lock(this)
2187         {
2188           // Restricted to only one listener
2189           if (_accessibilityManagerFocusedActorActivatedEventHandler == null)
2190           {
2191             _accessibilityManagerFocusedActorActivatedEventHandler += value;
2192
2193             _accessibilityManagerFocusedActorActivatedEventCallbackDelegate = new FocusedActorActivatedEventCallbackDelegate(OnFocusedActorActivated);
2194             this.FocusedActorActivatedSignal().Connect(_accessibilityManagerFocusedActorActivatedEventCallbackDelegate);
2195           }
2196         }
2197       }
2198
2199       remove
2200       {
2201         lock(this)
2202         {
2203           if (_accessibilityManagerFocusedActorActivatedEventHandler != null)
2204           {
2205             this.FocusedActorActivatedSignal().Disconnect(_accessibilityManagerFocusedActorActivatedEventCallbackDelegate);
2206           }
2207
2208           _accessibilityManagerFocusedActorActivatedEventHandler -= value;
2209         }
2210       }
2211     }
2212
2213     // Callback for AccessibilityManager FocusedActorActivatedSignal
2214     private void OnFocusedActorActivated(IntPtr actor)
2215     {
2216       FocusedActorActivatedEventArgs e = new FocusedActorActivatedEventArgs();
2217
2218       // Populate all members of "e" (FocusedActorActivatedEventArgs) with real data
2219       e.Actor = Actor.GetActorFromPtr(actor);
2220
2221       if (_accessibilityManagerFocusedActorActivatedEventHandler != null)
2222       {
2223         //here we send all data to user event handlers
2224         _accessibilityManagerFocusedActorActivatedEventHandler(this, e);
2225       }
2226     }
2227
2228
2229     public event DaliEventHandler<object,FocusOvershotEventArgs> FocusOvershot
2230     {
2231       add
2232       {
2233         lock(this)
2234         {
2235           // Restricted to only one listener
2236           if (_accessibilityManagerFocusOvershotEventHandler == null)
2237           {
2238             _accessibilityManagerFocusOvershotEventHandler += value;
2239
2240             _accessibilityManagerFocusOvershotEventCallbackDelegate = new FocusOvershotEventCallbackDelegate(OnFocusOvershot);
2241             this.FocusOvershotSignal().Connect(_accessibilityManagerFocusOvershotEventCallbackDelegate);
2242           }
2243         }
2244       }
2245
2246       remove
2247       {
2248         lock(this)
2249         {
2250           if (_accessibilityManagerFocusOvershotEventHandler != null)
2251           {
2252             this.FocusOvershotSignal().Disconnect(_accessibilityManagerFocusOvershotEventCallbackDelegate);
2253           }
2254
2255           _accessibilityManagerFocusOvershotEventHandler -= value;
2256         }
2257       }
2258     }
2259
2260     // Callback for AccessibilityManager FocusOvershotSignal
2261     private void OnFocusOvershot(IntPtr currentFocusedActor, AccessibilityManager.FocusOvershotDirection direction)
2262     {
2263       FocusOvershotEventArgs e = new FocusOvershotEventArgs();
2264
2265       // Populate all members of "e" (FocusOvershotEventArgs) with real data
2266       e.CurrentFocusedActor = Actor.GetActorFromPtr(currentFocusedActor);
2267       e.FocusOvershotDirection = direction;
2268
2269       if (_accessibilityManagerFocusOvershotEventHandler != null)
2270       {
2271         //here we send all data to user event handlers
2272         _accessibilityManagerFocusOvershotEventHandler(this, e);
2273       }
2274     }
2275
2276
2277     public static ClassName Get ## ClassName ## FromPtr(global::System.IntPtr cPtr) {
2278       ClassName ret = new ClassName(cPtr, false);
2279       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2280       return ret;
2281     }
2282
2283     %}
2284     %enddef
2285
2286 %define DALI_ACCESSIBILITY_EVENTHANDLER_PARAM( NameSpace, ClassName)
2287   ACCESSIBILITY_EVENTHANDLER_TYPEMAP_EVENTARG( NameSpace, ClassName);
2288   ACCESSIBILITY_EVENTHANDLER_TYPEMAP_HELPER( NameSpace, ClassName);
2289   %enddef
2290
2291   namespace Dali
2292 {
2293   DALI_ACCESSIBILITY_EVENTHANDLER_PARAM( Dali::Toolkit, AccessibilityManager);
2294 }
2295
2296