source: trunk/fl5/src/com/longtailvideo/jwplayer/view/ControlBarComponent.as @ 376

Revision 376, 3.0 KB checked in by zach, 4 years ago (diff)

Updating CoreComponent interfaces

RevLine 
[376]1package com.longtailvideo.jwplayer.view {
2        import flash.events.Event;
3        import flash.display.DisplayObject;
[307]4       
[376]5                /**
6         * Sent when the user interface requests that the player play the currently loaded media
7         *
8         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_PLAY
9         */
10        [Event(name="jwPlayerViewPlay", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
11
12        /**
13         * Sent when the user interface requests that the player pause the currently playing media
14         *
15         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_PAUSE
16         */
17        [Event(name="jwPlayerViewPause", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
18
19        /**
20         * Sent when the user interface requests that the player stop the currently playing media
21         *
22         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_STOP
23         */
24        [Event(name="jwPlayerViewStop", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
25
26        /**
27         * Sent when the user interface requests that the player play the next item in its playlist
28         *
29         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_NEXT
30         */
31        [Event(name="jwPlayerViewNext", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
32
33        /**
34         * Sent when the user interface requests that the player play the previous item in its playlist
35         *
36         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_PREV
37         */
38        [Event(name="jwPlayerViewPrev", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
39
40        /**
41         * Sent when the user interface requests that the player navigate to the playlist item's <code>link</code> property
42         *
43         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_LINK
44         */
45        [Event(name="jwPlayerViewLink", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
46
47        /**
48         *
49         *
50         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_MUTE
51         */
52        [Event(name="jwPlayerViewMute", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
53
54        /**
55         *
56         *
57         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_FULLSCREEN
58         */
59        [Event(name="jwPlayerViewFullscreen", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
60
61        /**
62         *
63         *
64         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_VOLUME
65         */
66        [Event(name="jwPlayerViewVolume", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
67
68        /**
69         *
70         *
71         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_SEEK
72         */
73        [Event(name="jwPlayerViewSeek", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
74       
75       
76        public class ControlBarComponent extends CoreComponent implements IControlbarComponent {
77                public function ControlBarComponent() {
78                        //TODO: implement function
79                        super();
80                }
81               
82               
83                public function addButton(name:String, icon:DisplayObject, clickHandler:Function):void {
84                        //TODO: implement function
85                }
86               
87               
88                public function removeButton(name:String):void {
89                        //TODO: implement function
90                }
91        }
[307]92}
Note: See TracBrowser for help on using the repository browser.