package uk.ac.lkl.common.util.collections.event;
import uk.ac.lkl.common.util.collections.SelectionManager;
import uk.ac.lkl.common.util.event.EventObject;
public class SelectionManagerEvent<E extends Comparable<?>> extends EventObject<SelectionManager<E>> {
private String selectionName;
private E element;
public SelectionManagerEvent(SelectionManager<E> source, String selectionName, E element) {
super(source);
this.selectionName = selectionName;
this.element = element;
}
public String getSelectionName() {
return selectionName;
}
public E getElement() {
return element;
}
}
|