source: code/Website/open-flash-chart/com/adobe/webapis/events/ServiceEvent.as

Last change on this file was 7849, checked in by dennisw, 15 years ago
File size: 2.6 KB
Line 
1/*
2 Adobe Systems Incorporated(r) Source Code License Agreement
3 Copyright(c) 2005 Adobe Systems Incorporated. All rights reserved.
4
5 Please read this Source Code License Agreement carefully before using
6 the source code.
7
8 Adobe Systems Incorporated grants to you a perpetual, worldwide, non-exclusive,
9 no-charge, royalty-free, irrevocable copyright license, to reproduce,
10 prepare derivative works of, publicly display, publicly perform, and
11 distribute this source code and such derivative works in source or
12 object code form without any attribution requirements.
13
14 The name "Adobe Systems Incorporated" must not be used to endorse or promote products
15 derived from the source code without prior written permission.
16
17 You agree to indemnify, hold harmless and defend Adobe Systems Incorporated from and
18 against any loss, damage, claims or lawsuits, including attorney's
19 fees that arise or result from your use or distribution of the source
20 code.
21
22 THIS SOURCE CODE IS PROVIDED "AS IS" AND "WITH ALL FAULTS", WITHOUT
23 ANY TECHNICAL SUPPORT OR ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
24 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ALSO, THERE IS NO WARRANTY OF
26 NON-INFRINGEMENT, TITLE OR QUIET ENJOYMENT. IN NO EVENT SHALL MACROMEDIA
27 OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
28 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
29 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
30 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
31 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
32 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOURCE CODE, EVEN IF
33 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34*/
35
36
37package com.adobe.webapis.events
38{
39
40 import flash.events.Event;
41
42 /**
43 * Event class that contains data loaded from remote services.
44 *
45 * @author Mike Chambers
46 */
47 public class ServiceEvent extends Event
48 {
49 private var _data:Object = new Object();;
50
51 /**
52 * Constructor for ServiceEvent class.
53 *
54 * @param type The type of event that the instance represents.
55 */
56 public function ServiceEvent(type:String, bubbles:Boolean = false,
57 cancelable:Boolean=false)
58 {
59 super(type, bubbles, cancelable);
60 }
61
62 /**
63 * This object contains data loaded in response
64 * to remote service calls, and properties associated with that call.
65 */
66 public function get data():Object
67 {
68 return _data;
69 }
70
71 public function set data(d:Object):void
72 {
73 _data = d;
74 }
75
76
77 }
78}
Note: See TracBrowser for help on using the repository browser.