home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / com / facebook / data / notes / NoteData.as < prev    next >
Encoding:
Text File  |  2010-06-23  |  4.6 KB  |  152 lines

  1. package com.facebook.data.notes
  2. {
  3.    import flash.events.Event;
  4.    import flash.events.EventDispatcher;
  5.    import flash.events.IEventDispatcher;
  6.    import mx.events.PropertyChangeEvent;
  7.    
  8.    public class NoteData implements IEventDispatcher
  9.    {
  10.       private var _2129224840note_id:String;
  11.       
  12.       private var _2003148228created_time:Date;
  13.       
  14.       private var _bindingEventDispatcher:EventDispatcher = new EventDispatcher(IEventDispatcher(this));
  15.       
  16.       private var _115792uid:String;
  17.       
  18.       private var _951530617content:String;
  19.       
  20.       private var _472881199updated_time:Date;
  21.       
  22.       private var _110371416title:String;
  23.       
  24.       public function NoteData()
  25.       {
  26.          super();
  27.       }
  28.       
  29.       public function dispatchEvent(param1:Event) : Boolean
  30.       {
  31.          return this._bindingEventDispatcher.dispatchEvent(param1);
  32.       }
  33.       
  34.       [Bindable(event="propertyChange")]
  35.       public function get created_time() : Date
  36.       {
  37.          return this._2003148228created_time;
  38.       }
  39.       
  40.       [Bindable(event="propertyChange")]
  41.       public function get note_id() : String
  42.       {
  43.          return this._2129224840note_id;
  44.       }
  45.       
  46.       public function addEventListener(param1:String, param2:Function, param3:Boolean = false, param4:int = 0, param5:Boolean = false) : void
  47.       {
  48.          this._bindingEventDispatcher.addEventListener(param1,param2,param3,param4,param5);
  49.       }
  50.       
  51.       public function set created_time(param1:Date) : void
  52.       {
  53.          var _loc2_:Object = this._2003148228created_time;
  54.          if(_loc2_ !== param1)
  55.          {
  56.             this._2003148228created_time = param1;
  57.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"created_time",_loc2_,param1));
  58.          }
  59.       }
  60.       
  61.       public function set note_id(param1:String) : void
  62.       {
  63.          var _loc2_:Object = this._2129224840note_id;
  64.          if(_loc2_ !== param1)
  65.          {
  66.             this._2129224840note_id = param1;
  67.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"note_id",_loc2_,param1));
  68.          }
  69.       }
  70.       
  71.       [Bindable(event="propertyChange")]
  72.       public function get updated_time() : Date
  73.       {
  74.          return this._472881199updated_time;
  75.       }
  76.       
  77.       public function willTrigger(param1:String) : Boolean
  78.       {
  79.          return this._bindingEventDispatcher.willTrigger(param1);
  80.       }
  81.       
  82.       [Bindable(event="propertyChange")]
  83.       public function get uid() : String
  84.       {
  85.          return this._115792uid;
  86.       }
  87.       
  88.       [Bindable(event="propertyChange")]
  89.       public function get title() : String
  90.       {
  91.          return this._110371416title;
  92.       }
  93.       
  94.       public function set uid(param1:String) : void
  95.       {
  96.          var _loc2_:Object = this._115792uid;
  97.          if(_loc2_ !== param1)
  98.          {
  99.             this._115792uid = param1;
  100.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"uid",_loc2_,param1));
  101.          }
  102.       }
  103.       
  104.       public function set updated_time(param1:Date) : void
  105.       {
  106.          var _loc2_:Object = this._472881199updated_time;
  107.          if(_loc2_ !== param1)
  108.          {
  109.             this._472881199updated_time = param1;
  110.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updated_time",_loc2_,param1));
  111.          }
  112.       }
  113.       
  114.       public function set title(param1:String) : void
  115.       {
  116.          var _loc2_:Object = this._110371416title;
  117.          if(_loc2_ !== param1)
  118.          {
  119.             this._110371416title = param1;
  120.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"title",_loc2_,param1));
  121.          }
  122.       }
  123.       
  124.       public function set content(param1:String) : void
  125.       {
  126.          var _loc2_:Object = this._951530617content;
  127.          if(_loc2_ !== param1)
  128.          {
  129.             this._951530617content = param1;
  130.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"content",_loc2_,param1));
  131.          }
  132.       }
  133.       
  134.       public function hasEventListener(param1:String) : Boolean
  135.       {
  136.          return this._bindingEventDispatcher.hasEventListener(param1);
  137.       }
  138.       
  139.       public function removeEventListener(param1:String, param2:Function, param3:Boolean = false) : void
  140.       {
  141.          this._bindingEventDispatcher.removeEventListener(param1,param2,param3);
  142.       }
  143.       
  144.       [Bindable(event="propertyChange")]
  145.       public function get content() : String
  146.       {
  147.          return this._951530617content;
  148.       }
  149.    }
  150. }
  151.  
  152.