
net.yapbam.data.event.CategoryRemovedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yapbam-commons Show documentation
Show all versions of yapbam-commons Show documentation
Commons Yapbam classes used by desktop and Android versions.
package net.yapbam.data.event;
import net.yapbam.data.Category;
public class CategoryRemovedEvent extends DataEvent {
private Category removed;
private int index;
public CategoryRemovedEvent(Object source, int index, Category removed) {
super(source);
this.index = index;
this.removed = removed;
}
/**
* Get index were the removed element was in the source.
* @return index were the removed element was (be careful, the element isn't in the source anymore).
*/
public int getIndex() {
return index;
}
public Category getRemoved() {
return removed;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy