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

📄 legendevent.as

📁 拓扑图基于SNMP数据采集模块的设计和实现
💻 AS
字号:
package com.yahoo.astra.fl.charts.events{	import flash.events.Event;	/**	 * Events related to a chart's legend.	 * 	 * @see com.yahoo.astra.fl.charts.Legend	 * 	 * @author Josh Tynjala	 */	public class LegendEvent extends Event	{			//--------------------------------------	//  Static Properties	//--------------------------------------			/**         * Defines the value of the <code>type</code> property of an <code>legendMarkerClick</code> 		 * event object.          *         * @eventType legendMarkerClick		 */		public static const LEGEND_MARKER_CLICK:String = "legendMarkerClick";			/**         * Defines the value of the <code>type</code> property of an <code>legendMarkerDoubleClick</code> 		 * event object.          *         * @eventType legendMarkerDoubleClick		 */		public static const LEGEND_MARKER_DOUBLE_CLICK:String = "legendMarkerDoubleClick";			/**         * Defines the value of the <code>type</code> property of an <code>legendMarkerRollOver</code> 		 * event object.          *         * @eventType legendMarkerRollOver		 */		public static const LEGEND_MARKER_ROLL_OVER:String = "legendMarkerRollOver";			/**         * Defines the value of the <code>type</code> property of an <code>legendMarkerRollOut</code> 		 * event object.          *         * @eventType legendMarkerRollOut		 */		public static const LEGEND_MARKER_ROLL_OUT:String = "legendMarkerRollOut";			//--------------------------------------	//  Constructor	//--------------------------------------			/**		 * Constructor.		 */		public function LegendEvent(type:String, index:int, bubbles:Boolean=false, cancelable:Boolean=false)		{			super(type, bubbles, cancelable);		}			//--------------------------------------	//  Properties	//--------------------------------------			/**		 * The index of the item in the legend.		 */		public var index:int;			//--------------------------------------	//  Public Methods	//--------------------------------------			/**		 * @private		 */		override public function clone():Event		{			return new LegendEvent(LegendEvent.LEGEND_MARKER_CLICK, this.index, this.bubbles, this.cancelable);		}			}}

⌨️ 快捷键说明

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