public class GameFormController extends LibraryItemFormController<Game>
| Modifier and Type | Field and Description |
|---|---|
javafx.scene.control.TextArea |
inventory |
IntField |
maxPlayers |
IntField |
minAge |
IntField |
minPlayers |
javafx.scene.control.TextField |
publisher |
categories, condition, createButton, createdOn, editedItem, libraryItemFacade, location, name, releasedOn, router, updateButton| Constructor and Description |
|---|
GameFormController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildFormValidation(FormValidationBuilder builder)
Registers form constraints.
|
protected LibraryItem |
getItemFromFields()
This method is called only when form is in a valid state.
|
void |
initialize(java.net.URL location,
java.util.ResourceBundle resources) |
addCategory, create, fromLocalDate, populateBuilder, updatepublic javafx.scene.control.TextField publisher
public IntField minAge
public IntField minPlayers
public IntField maxPlayers
public javafx.scene.control.TextArea inventory
public void initialize(java.net.URL location,
java.util.ResourceBundle resources)
initialize in interface javafx.fxml.Initializableinitialize in class LibraryItemFormController<Game>protected void buildFormValidation(FormValidationBuilder builder)
LibraryItemFormControllerbuildFormValidation in class LibraryItemFormController<Game>builder - the builder to useprotected LibraryItem getItemFromFields()
LibraryItemFormControllergetItemFromFields in class LibraryItemFormController<Game>