亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? observer.as

?? PureMVC框架
?? AS
字號(hào):
/*
 PureMVC - Copyright(c) 2006-08 Futurescale, Inc., Some rights reserved.
 Your reuse is governed by the Creative Commons Attribution 3.0 United States License
*/
package org.puremvc.as3.patterns.observer
{
	import org.puremvc.as3.interfaces.*;

	/**
	 * A base <code>IObserver</code> implementation.
	 * 
	 * <P> 
	 * An <code>Observer</code> is an object that encapsulates information
	 * about an interested object with a method that should 
	 * be called when a particular <code>INotification</code> is broadcast. </P>
	 * 
	 * <P>
	 * In PureMVC, the <code>Observer</code> class assumes these responsibilities:
	 * <UL>
	 * <LI>Encapsulate the notification (callback) method of the interested object.</LI>
	 * <LI>Encapsulate the notification context (this) of the interested object.</LI>
	 * <LI>Provide methods for setting the notification method and context.</LI>
	 * <LI>Provide a method for notifying the interested object.</LI>
	 * </UL>
	 * 
	 * @see org.puremvc.as3.core.view.View View
	 * @see org.puremvc.as3.patterns.observer.Notification Notification
	 */
	public class Observer implements IObserver
	{
		private var notify:Function;
		private var context:Object;
	
		/**
		 * Constructor. 
		 * 
		 * <P>
		 * The notification method on the interested object should take 
		 * one parameter of type <code>INotification</code></P>
		 * 
		 * @param notifyMethod the notification method of the interested object
		 * @param notifyContext the notification context of the interested object
		 */
		public function Observer( notifyMethod:Function, notifyContext:Object ) 
		{
			setNotifyMethod( notifyMethod );
			setNotifyContext( notifyContext );
		}
		
		/**
		 * Set the notification method.
		 * 
		 * <P>
		 * The notification method should take one parameter of type <code>INotification</code>.</P>
		 * 
		 * @param notifyMethod the notification (callback) method of the interested object.
		 */
		public function setNotifyMethod( notifyMethod:Function ):void
		{
			notify = notifyMethod;
		}
		
		/**
		 * Set the notification context.
		 * 
		 * @param notifyContext the notification context (this) of the interested object.
		 */
		public function setNotifyContext( notifyContext:Object ):void
		{
			context = notifyContext;
		}
		
		/**
		 * Get the notification method.
		 * 
		 * @return the notification (callback) method of the interested object.
		 */
		private function getNotifyMethod():Function
		{
			return notify;
		}
		
		/**
		 * Get the notification context.
		 * 
		 * @return the notification context (<code>this</code>) of the interested object.
		 */
		private function getNotifyContext():Object
		{
			return context;
		}
		
		/**
		 * Notify the interested object.
		 * 
		 * @param notification the <code>INotification</code> to pass to the interested object's notification method.
		 */
		public function notifyObserver( notification:INotification ):void
		{
			this.getNotifyMethod().apply(this.getNotifyContext(),[notification]);
		}
	
		/**
		 * Compare an object to the notification context. 
		 * 
		 * @param object the object to compare
		 * @return boolean indicating if the object and the notification context are the same
		 */
		 public function compareNotifyContext( object:Object ):Boolean
		 {
		 	return object === this.context;
		 }		
	}
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
最新国产成人在线观看| 欧美一区二区三区啪啪| 亚洲国产成人av| 欧美不卡视频一区| 色噜噜狠狠成人网p站| 狠狠色综合色综合网络| 亚洲午夜精品17c| 国产色一区二区| 这里是久久伊人| 色诱亚洲精品久久久久久| 久久精品国产77777蜜臀| 亚洲精品一卡二卡| 国产女人aaa级久久久级| 欧美精品在欧美一区二区少妇| 成人免费毛片a| 老司机午夜精品| 亚洲v日本v欧美v久久精品| 中文字幕亚洲综合久久菠萝蜜| 欧美成人a视频| 欧美日韩国产首页| 91欧美激情一区二区三区成人| 国产精华液一区二区三区| 麻豆视频一区二区| 日韩精品一二三四| 亚洲电影在线播放| 一区二区三区四区高清精品免费观看| 久久亚洲精华国产精华液| 日韩欧美国产电影| 777a∨成人精品桃花网| 欧美视频三区在线播放| 91老师片黄在线观看| 99热国产精品| 9l国产精品久久久久麻豆| 国产成人小视频| 国产一区二区毛片| 国产精品性做久久久久久| 国产美女在线精品| 国产精品夜夜嗨| 大白屁股一区二区视频| 成人激情免费网站| 波多野结衣中文字幕一区 | 色婷婷精品久久二区二区蜜臀av | 亚洲国产精品欧美一二99| 亚洲欧美日韩一区| 成人综合在线视频| 午夜成人免费视频| 日韩欧美卡一卡二| 欧美日韩在线播放一区| 成人av中文字幕| 久久99精品国产.久久久久| 一区二区三区电影在线播| 久久精品网站免费观看| 欧美成人伊人久久综合网| 欧美少妇bbb| 99精品桃花视频在线观看| 韩日av一区二区| 欧美国产一区视频在线观看| 日韩欧美不卡一区| 久久久久亚洲蜜桃| 国产欧美一区二区三区在线老狼| 中文字幕亚洲视频| 亚洲国产精品一区二区www | 亚洲欧美国产77777| 亚洲精品高清视频在线观看| 亚洲成人动漫在线免费观看| 欧美aaaaaa午夜精品| 国产很黄免费观看久久| 99在线精品免费| 欧美军同video69gay| wwwwww.欧美系列| 18欧美亚洲精品| 日本亚洲电影天堂| 国产一二精品视频| 色综合天天综合网天天狠天天| 欧美人体做爰大胆视频| 久久综合久久久久88| 亚洲欧美日韩精品久久久久| 强制捆绑调教一区二区| 岛国一区二区在线观看| 欧美军同video69gay| 日本一区二区三区视频视频| 亚洲成人av福利| 国产精品香蕉一区二区三区| 欧美三级电影在线看| 久久日韩精品一区二区五区| 亚洲激情男女视频| 精品一区二区在线视频| 色婷婷国产精品久久包臀 | 亚洲精品一区二区三区精华液| 国产精品你懂的在线| 日产精品久久久久久久性色| 9人人澡人人爽人人精品| 日韩女优电影在线观看| 亚洲乱码国产乱码精品精的特点 | 亚洲欧洲精品一区二区三区| 日韩黄色在线观看| 91网站最新地址| 精品日韩一区二区三区免费视频| 一色屋精品亚洲香蕉网站| 美日韩一区二区| 在线精品视频小说1| 国产亚洲欧美日韩日本| 日本一道高清亚洲日美韩| 色婷婷综合中文久久一本| 国产午夜精品一区二区三区嫩草| 日韩精品每日更新| 在线视频欧美精品| 国产成人在线视频网址| 欧美嫩在线观看| 欧美主播一区二区三区| 欧美猛男男办公室激情| 久久久精品日韩欧美| 一区二区三区免费看视频| 奇米精品一区二区三区四区| 成人精品国产免费网站| 欧美亚洲一区三区| 久久嫩草精品久久久精品| 亚洲乱码国产乱码精品精的特点| 捆绑调教一区二区三区| 99久久伊人精品| 91精品国产全国免费观看 | 欧美人妖巨大在线| 国产日韩欧美精品电影三级在线| 欧美a级一区二区| 91精品国产91综合久久蜜臀| 亚洲综合色自拍一区| 色综合久久中文字幕综合网| 亚洲国产成人私人影院tom| 国产精品亚洲午夜一区二区三区| 久久品道一品道久久精品| 久久国产麻豆精品| 日韩视频一区二区三区在线播放| 日韩精品三区四区| 91精品国产乱码| 日韩成人免费在线| 欧美大片在线观看| 蜜桃视频免费观看一区| 日韩一区二区三区观看| 久久99国产精品久久| 久久久精品综合| 粉嫩aⅴ一区二区三区四区| 国产精品乱码一区二区三区软件| 大桥未久av一区二区三区中文| 国产精品你懂的在线| 91亚洲精品一区二区乱码| 亚洲美女少妇撒尿| 欧美色图天堂网| 日本vs亚洲vs韩国一区三区二区| 4438x成人网最大色成网站| 免费欧美日韩国产三级电影| 精品日韩一区二区| 丁香激情综合国产| 亚洲精品写真福利| 在线综合亚洲欧美在线视频| 麻豆国产欧美日韩综合精品二区| 精品欧美黑人一区二区三区| 国产精品一区在线| 中文字幕五月欧美| 欧美三级电影精品| 另类调教123区| 日本一区二区免费在线观看视频| av日韩在线网站| 午夜欧美大尺度福利影院在线看| 日韩网站在线看片你懂的| 国产suv精品一区二区883| 樱桃视频在线观看一区| 欧美一区二区三区婷婷月色 | 国产精品一区二区久久不卡 | 成人av在线电影| 亚洲一区视频在线观看视频| 日韩一区二区免费在线电影| 国产成人午夜视频| 亚洲一区二区三区小说| 久久众筹精品私拍模特| 97精品久久久久中文字幕| 青草av.久久免费一区| 国产精品动漫网站| 538在线一区二区精品国产| 大尺度一区二区| 日本欧美一区二区三区| 欧美激情资源网| 中文字幕在线一区二区三区| 国产夜色精品一区二区av| 成人av一区二区三区| 樱花草国产18久久久久| 欧美精品v国产精品v日韩精品| 喷水一区二区三区| 久久久精品免费网站| 91香蕉视频mp4| 视频在线观看一区| 国产亚洲精品aa| 99热精品国产| 日韩国产欧美在线视频| 26uuu精品一区二区在线观看| 懂色av一区二区三区蜜臀| 亚洲卡通动漫在线| 欧美一区二区三区爱爱| 国产精品一区二区视频| 67194成人在线观看| 在线免费观看视频一区|