/*
* 属性改变事件对象
* 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;
};
js玩具——UI组件:PropertyChangeEvent 属性改变事件对象
最新推荐文章于 2021-02-24 10:10:31 发布