Package bookrentalpos
Class RentTransactionController
java.lang.Object
bookrentalpos.RentTransactionController
- All Implemented Interfaces:
TableInterface
public class RentTransactionController extends Object implements TableInterface
-
Constructor Summary
Constructors Constructor Description RentTransactionController() -
Method Summary
Modifier and Type Method Description voidaddTransactionOnPressed(javafx.event.Event event)voidapplyDiscountOnPressed(javafx.event.Event event)voidbackToTransChoose(javafx.scene.input.MouseEvent event)voidbookIDOnKeyPressed(javafx.event.Event event)voidbookIDOnKeyReleased(javafx.event.Event event)voidclearInputFields()voidclearTransactionButtonOnPressed(javafx.event.Event event)voidinitialize()voidmemberIDOnKeyPressed(javafx.event.Event event)voidmemberIDOnKeyReleased(javafx.event.Event event)voidreloadBookDetailsField()voidreloadMemberDetailsField()voidreloadTableView()voidreloadTotalPriceLabel()voidrentButtonOnPressed(javafx.event.Event event)voidsetMemberIDFieldEnabled(boolean bool)voidtableOnClick(javafx.event.Event event)voidtableOnKeyPressed(javafx.event.Event event)
-
Constructor Details
-
RentTransactionController
public RentTransactionController()
-
-
Method Details
-
initialize
public void initialize() -
backToTransChoose
- Throws:
IOException
-
reloadTableView
public void reloadTableView()- Specified by:
reloadTableViewin interfaceTableInterface
-
tableOnClick
public void tableOnClick(javafx.event.Event event)- Specified by:
tableOnClickin interfaceTableInterface
-
tableOnKeyPressed
public void tableOnKeyPressed(javafx.event.Event event)- Specified by:
tableOnKeyPressedin interfaceTableInterface
-
bookIDOnKeyPressed
public void bookIDOnKeyPressed(javafx.event.Event event) -
bookIDOnKeyReleased
public void bookIDOnKeyReleased(javafx.event.Event event) -
memberIDOnKeyPressed
public void memberIDOnKeyPressed(javafx.event.Event event) -
memberIDOnKeyReleased
public void memberIDOnKeyReleased(javafx.event.Event event) -
addTransactionOnPressed
public void addTransactionOnPressed(javafx.event.Event event) -
clearTransactionButtonOnPressed
public void clearTransactionButtonOnPressed(javafx.event.Event event) -
applyDiscountOnPressed
public void applyDiscountOnPressed(javafx.event.Event event) -
rentButtonOnPressed
public void rentButtonOnPressed(javafx.event.Event event) -
setMemberIDFieldEnabled
public void setMemberIDFieldEnabled(boolean bool) -
clearInputFields
public void clearInputFields() -
reloadTotalPriceLabel
public void reloadTotalPriceLabel() -
reloadBookDetailsField
public void reloadBookDetailsField() -
reloadMemberDetailsField
public void reloadMemberDetailsField()
-