ch.inftec.ju.util.event.JuEventObject Maven / Gradle / Ivy
package ch.inftec.ju.util.event;
import java.util.EventObject;
/**
* Generic extension of the EventObject class.
* @author Martin
*
* @param Type of the source
*/
public class JuEventObject extends EventObject {
public JuEventObject(T source) {
super(source);
}
@Override
public T getSource() {
@SuppressWarnings("unchecked")
T source = (T)super.getSource();
return source;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy