icontrol.as

来自「用于flash/flex的 as3的 2D图形图像图表的动态生成」· AS 代码 · 共 27 行

AS
27
字号
package flare.vis.controls
{
	import flash.display.InteractiveObject;
	
	import mx.core.IMXMLObject;
	
	public interface IControl extends IMXMLObject
	{
		/** The interactive object this control is attached to. */
		function get object():InteractiveObject;
		
		/**
		 * Attach this control to the given interactive object. This method
		 * will automatically detach if already attached to another object.
		 * @param obj the display object to attach to
		 */
		function attach(obj:InteractiveObject):void;
		
		/**
		 * Detach this control.
		 * @return the interactive object this control was attached to,
		 *  or null if this control was not attached.
		 */
		function detach():InteractiveObject;
		
	} // end of interface IControl
}

⌨️ 快捷键说明

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