iadvancedlayoutmode.as

来自「拓扑图基于SNMP数据采集模块的设计和实现」· AS 代码 · 共 37 行

AS
37
字号
package com.yahoo.astra.layout.modes{	import flash.display.DisplayObject;		/**	 * Defines the methods required for layout modes that have	 * advanced configuration settings for individual children.	 * 	 * @author Josh Tynjala	 */	public interface IAdvancedLayoutMode extends ILayoutMode	{		/**		 * Registers a specific display object with the layout algorithm. If certain		 * settings need to be specified for individual display objects, they		 * should be passed to the layout algorithm here.		 * 		 * @param target			The client to add		 * @param configuration		An optional set of name-value pairs for the client's configuration.		 */		function addClient(target:DisplayObject, configuration:Object = null):void;				/**		 * Unregisters a specific display object from the layout algorithm.		 * 		 * @param target		The client to remove		 */		function removeClient(target:DisplayObject):void;				/**		 * Returns true if a display object has been registered as a client.		 * 		 * @param			The display object that may be registered		 */		function hasClient(target:DisplayObject):Boolean;	}}

⌨️ 快捷键说明

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