
net.yapbam.data.event.AccountRemovedEvent 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.Account;
public class AccountRemovedEvent extends DataEvent {
private Account removed;
private int index;
public AccountRemovedEvent(Object source, int index, Account removed) {
super(source);
this.index = index;
this.removed = removed;
}
/**
* Get index where the removed element was in the source.
* @return index where the removed element was (be careful, the element isn't in the source anymore).
*/
public int getIndex() {
return index;
}
public Account getRemoved() {
return removed;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy