您的位置:首页 > 产品设计 > UI/UE

js玩具——UI组件:PropertyChangeEvent 属性改变事件对象

2011-09-18 11:47 731 查看
/*
*	属性改变事件对象
*   auhtor: 吴安国
*  version: 1.0
*/
function PropertyChangeEvent(source, propertyName, newValue) {
EventObject.call(this, source);

this.propertyName = propertyName;
this.newValue = newValue;
};
PropertyChangeEvent.prototype = new EventObject();

/**
* 获取属性名称
* @return string
*
**/
PropertyChangeEvent.prototype.getPropertyName = function() {
return this.propertyName;
};

/**
* 获取属性值
* @return object
*
**/
PropertyChangeEvent.prototype.getNewValue = function() {
return this.newValue;
};
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ui function object string