java.beans.PropertyChangeListenerProxy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
package java.beans;
import java.util.EventListenerProxy;
public class PropertyChangeListenerProxy extends EventListenerProxy implements PropertyChangeListener {
String propertyName;
public PropertyChangeListenerProxy(String propertyName, PropertyChangeListener listener) {
super(listener);
this.propertyName = propertyName;
}
public String getPropertyName() {
return propertyName;
}
public void propertyChange(PropertyChangeEvent event) {
PropertyChangeListener listener = (PropertyChangeListener) getListener();
listener.propertyChange(event);
}
}