All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.beans.PropertyChangeListenerProxy Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy