flexshowcasemodel.as

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

AS
41
字号
package com.flexShowcase.data {
	
	
	//////////////////////////////////////////////////
	//import
	
	import mx.collections.ArrayCollection;
	
	
	//////////////////////////////////////////////////
	//class
	
	public class FlexShowcaseModel {
		
		
		//////////////////////////////////////////////////
		//public variables
		
		public var selectedProject:Project; //the currently selected project from the project list
		
		public var allProjects:ArrayCollection; //all projects loaded from the drupal views service
		public var featuredProjects:ArrayCollection; //a subset of all projects used on the featured page
		public var publishedProjects:ArrayCollection; //a subset of all projects used to avoid displaying unpublished projects
		public var searchedProjects:ArrayCollection;
		
		public var user:User; //the currently logged in user
		public var selectedUserProject:Project; //the currently selected project from the user's project list
		
		public var allTags:ArrayCollection; //all tag objects created from parsing the project data from the drupal views service
		public var technologies:ArrayCollection; //a subset of all tag objects that are related to a technology
		public var industries:ArrayCollection; //a subset of all tag objects that are related to an industry
		public var developers:ArrayCollection; //a subset of all tag objects that are related to a developer
		
		
		//////////////////////////////////////////////////
		//constructor
		
		public function FlexShowcaseModel():void {
		}
	}
}

⌨️ 快捷键说明

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