![JAR search and dependency download from the Maven repository](/logo.png)
com.extjs.gxt.ui.client.data.PropertyChangeEvent Maven / Gradle / Ivy
/*
* Ext GWT - Ext for GWT
* Copyright(c) 2007, 2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
package com.extjs.gxt.ui.client.data;
/**
* A ChangeEvent
for property changes.
*/
public class PropertyChangeEvent extends ChangeEvent {
private String name;
private Object oldValue;
private Object newValue;
public PropertyChangeEvent(int type, Model source, String name, Object oldValue, Object newValue) {
super(type, source);
this.name = name;
this.oldValue = oldValue;
this.newValue = newValue;
}
/**
* Returns the new value.
*
* @return the new value
*/
public Object getNewValue() {
return newValue;
}
/**
* Returns the old value.
*
* @return the old value
*/
public Object getOldValue() {
return oldValue;
}
/**
* Returns the property name.
*
* @return the name
*/
public String getName() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy