Package kirjastox.model

Examples of kirjastox.model.AudioRecord


    }
   
    @FXML
    private void handleRemoveAudioRecordButtonAction(ActionEvent event){
        try {
            AudioRecord removableRecord
                    = (AudioRecord) audioRecordsTableView.getSelectionModel()
                    .getSelectedItem();

            this.dataController.getAudioRecords().remove(removableRecord);
            updateAudioRecordsPersistentStore();
View Full Code Here


    @FXML
    private void handleBuyRecordButtonAction(ActionEvent event) {
       

        int cardNumber = Integer.parseInt(cardNumberTextField.getText());
        AudioRecord recordBought = (AudioRecord) audioRecordsTableView.getSelectionModel().getSelectedItem();
       
        this.dataController.setAudioRecordToCustomer(recordBought, cardNumber);
       
        showBuyRecordUI(false);
        cardNumberTextField.clear();
View Full Code Here

                });
    }
   
    private void saveRecord() {
        try {
            AudioRecord newRecord = new AudioRecord(nameTextField.getText(),
                    creatorTextField.getText(),
                    Integer.parseInt(yearPublishedTextField.getText()),
                    ISBNTextField.getText(),
                    Integer.parseInt(unitsTextField.getText()),
                    Integer.parseInt(tracksTextField.getText()),
View Full Code Here

TOP

Related Classes of kirjastox.model.AudioRecord

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.