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(CloudPlayer p) |
static CustomForm.CustomFormBuilder |
custom()
Use this method to build a new custom form
|
void |
error(CloudPlayer p) |
abstract void |
handleResponse(CloudPlayer 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(CloudPlayer p,
R response) |
public static SimpleForm.SimpleFormBuilder simple()
public static ModalForm.ModalFormBuilder modal()
public static CustomForm.CustomFormBuilder custom()
public abstract void handleResponse(CloudPlayer p, com.fasterxml.jackson.databind.JsonNode node)
public void close(CloudPlayer p)
public void submit(CloudPlayer p, R response)
public void error(CloudPlayer p)
Copyright © 2021. All rights reserved.