cn.nukkit.form.response.FormResponseSimple Maven / Gradle / Ivy
package cn.nukkit.form.response;
import cn.nukkit.form.element.ElementButton;
public class FormResponseSimple extends FormResponse {
private final int clickedButtonId;
private final ElementButton clickedButton;
public FormResponseSimple(int clickedButtonId, ElementButton clickedButton) {
this.clickedButtonId = clickedButtonId;
this.clickedButton = clickedButton;
}
public int getClickedButtonId() {
return clickedButtonId;
}
public ElementButton getClickedButton() {
return clickedButton;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy