📄 projectlistevent.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 + -