public class MutationContent extends BookContent
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
species |
data, type| Constructor and Description |
|---|
MutationContent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addElements(IElementGroup page,
IGuiElementFactory factory,
BookContent previous,
IGuiElement previousElement,
int pageHeight)
Adds the content to the page by adding a
IGuiElement or at the content to the previous element. |
java.lang.Class |
getDataClass()
The class of the data field.
|
onDeserialization@Nullable public java.lang.Class getDataClass()
BookContentgetDataClass in class BookContentpublic boolean addElements(IElementGroup page, IGuiElementFactory factory, @Nullable BookContent previous, @Nullable IGuiElement previousElement, int pageHeight)
BookContentIGuiElement or at the content to the previous element.addElements in class BookContentpage - The gui element that represents a book pageprevious - The content of the previous element.previousElement - The element that was previously added to the page.pageHeight - The max height of the current page.