public abstract class Form<R> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Form.FormBuilder<F extends Form<R>,T extends Form.FormBuilder<F,T,R>,R> |
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.logging.log4j.Logger |
log |
| Constructor and Description |
|---|
Form() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Player p) |
static CustomForm.CustomFormBuilder |
custom()
Use this method to build a new custom form
|
void |
error(Player p) |
abstract void |
handleResponse(Player p,
com.fasterxml.jackson.databind.JsonNode node) |
static ModalForm.ModalFormBuilder |
modal()
Use this method to build a new modal form
|
static SimpleForm.SimpleFormBuilder |
simple()
Use this method to build a new simple form
|
void |
submit(Player p,
R response) |
public static SimpleForm.SimpleFormBuilder simple()
public static ModalForm.ModalFormBuilder modal()
public static CustomForm.CustomFormBuilder custom()
public abstract void handleResponse(Player p, com.fasterxml.jackson.databind.JsonNode node)
public void close(Player p)
public void error(Player p)
Copyright © 2020. All rights reserved.