ivalueproxy.as

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

AS
33
字号
package flare.util
{
	/**
	 * Interface for classes that get and set named property values of objects.
	 */
	public interface IValueProxy
	{
		/**
		 * Gets a named property value for an object. 
		 * @param object the object
		 * @param name the property name
		 * @return the value
		 */
		function getValue(object:Object, name:String):*;
		
		/**
		 * Sets a named property value for an object.
		 * @param object the object
		 * @param name the property name
		 * @param value the value
		 */
		function setValue(object:Object, name:String, value:*):void;
		
		/**
		 * Returns a value proxy object for getting and setting values. 
		 * @param object the object
		 * @return a value proxy object upon which clients can get and set
		 *  properties directly
		 */
		function $(object:Object):Object;
		
	} // end of interface IValueProxy
}

⌨️ 快捷键说明

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