⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 projectlistevent.as

📁 flex 实现的一个showcase 喜欢flex的朋友可以
💻 AS
字号:
package com.flexShowcase.events {
	
	
	//////////////////////////////////////////////////
	//import
	
	import com.flexShowcase.data.Project;
	
	import flash.events.Event;
	
	
	//////////////////////////////////////////////////
	//class
	
	public class ProjectListEvent extends Event {
		
		
		//////////////////////////////////////////////////
		//public static constants
		
		public static const CHANGE_VIEW:String = "projectListViewChangeViewEvent";
		public static const MAXIMIZE_TOGGLE:String = "projectListMaximizeToggleEvent";
		public static const SELECT_PROJECT:String = "projectListSelectProjectEvent";
		public static const SHOW_ALL:String = "projectListShowAllEvent";
		public static const CONSTRUCTION_COMPLETE:String = "projectListConstructionCompleteEvent";
		public static const SORT_UPDATE:String = "projectListSortUpdateEvent";
		public static const REQUEST_DEPTH_TO_TOP:String = "projectListRequestDepthToTopEvent";
		
		//////////////////////////////////////////////////
		//public variables
		
		public var project:Project;
		public var selectedView:String;
		public var selectedSort:String;
		public var selectedOrder:String;
		
		
		//////////////////////////////////////////////////
		//constructor
		
		public function ProjectListEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false):void {
			super(type, bubbles, cancelable);
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -