| Package | Description |
|---|---|
| org.cloudburstmc.server.form | |
| org.cloudburstmc.server.form.element | |
| org.cloudburstmc.server.form.util |
| Modifier and Type | Method and Description |
|---|---|
SimpleForm.SimpleFormBuilder |
SimpleForm.SimpleFormBuilder.button(String text,
ImageType imageType,
String imageData)
Add a button with image
|
SimpleForm.SimpleFormBuilder |
SimpleForm.SimpleFormBuilder.button(String text,
ImageType imageType,
String imageData,
Consumer<Player> action)
Add a button with image and on click callback
|
CustomForm.CustomFormBuilder |
CustomForm.CustomFormBuilder.icon(ImageType imageType,
String imageData)
Set an icon of the form
The icon is visible only in case of server settings form
|
| Constructor and Description |
|---|
ElementButton(String buttonText,
ImageType imageType,
String imageData) |
| Modifier and Type | Method and Description |
|---|---|
ImageType |
ImageData.getImageType() |
static ImageType |
ImageType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageType[] |
ImageType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ImageData(ImageType imageType,
String imageData) |
Copyright © 2020. All rights reserved.