Package bookrentalpos
Class BookManagerController
java.lang.Object
bookrentalpos.BookManagerController
- All Implemented Interfaces:
TableInterface,javafx.fxml.Initializable
public class BookManagerController extends Object implements TableInterface, javafx.fxml.Initializable
-
Field Summary
Fields Modifier and Type Field Description static javafx.stage.StagegetWindow -
Constructor Summary
Constructors Constructor Description BookManagerController() -
Method Summary
Modifier and Type Method Description voidbackToMain(javafx.scene.input.MouseEvent event)voidcancelButton(javafx.event.Event event)voidclearOnPressed(javafx.event.Event evt)voidconfirmAddButton(javafx.event.Event event)voidconfirmBookDelete(javafx.scene.input.MouseEvent event)voidconfirmEditButton(javafx.event.Event event)voiddisableBookIDTextField()Referring to Edit Pop Up Text Fieldvoidinitialize(URL location, ResourceBundle resources)voidloadDataToEdit(Book bookToEdit)Referring to the fields in the Edit Pop upvoidpopAddBook()voidpopDeleteBook(javafx.event.Event event)voidpopEditBook()voidreloadRecordsCountLabel()voidreloadTableView()voidsearchOnPressed(javafx.event.Event evt)voidsearchQueryOnKeyPressed(javafx.event.Event event)voidtableOnClick(javafx.event.Event event)voidtableOnKeyPressed(javafx.event.Event event)voidtextFieldOnKeyPressed(javafx.event.Event event)
-
Field Details
-
getWindow
public static javafx.stage.Stage getWindow
-
-
Constructor Details
-
BookManagerController
public BookManagerController()
-
-
Method Details
-
initialize
- Specified by:
initializein interfacejavafx.fxml.Initializable
-
tableOnClick
public void tableOnClick(javafx.event.Event event)- Specified by:
tableOnClickin interfaceTableInterface
-
tableOnKeyPressed
public void tableOnKeyPressed(javafx.event.Event event)- Specified by:
tableOnKeyPressedin interfaceTableInterface
-
reloadTableView
public void reloadTableView()- Specified by:
reloadTableViewin interfaceTableInterface
-
reloadRecordsCountLabel
public void reloadRecordsCountLabel() -
backToMain
- Throws:
IOException
-
popAddBook
- Throws:
IOException
-
popEditBook
- Throws:
IOException
-
popDeleteBook
- Throws:
IOException
-
cancelButton
public void cancelButton(javafx.event.Event event) -
confirmAddButton
public void confirmAddButton(javafx.event.Event event) -
confirmEditButton
- Throws:
IOException
-
confirmBookDelete
- Throws:
IOException
-
searchQueryOnKeyPressed
public void searchQueryOnKeyPressed(javafx.event.Event event) -
searchOnPressed
public void searchOnPressed(javafx.event.Event evt) -
clearOnPressed
public void clearOnPressed(javafx.event.Event evt) -
textFieldOnKeyPressed
public void textFieldOnKeyPressed(javafx.event.Event event) -
disableBookIDTextField
public void disableBookIDTextField()Referring to Edit Pop Up Text Field -
loadDataToEdit
Referring to the fields in the Edit Pop up
-