projectlistevent.as

来自「flex 实现的一个showcase 喜欢flex的朋友可以」· AS 代码 · 共 45 行

AS
45
字号
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 + =
减小字号Ctrl + -
显示快捷键?