/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package id.amigogroup.posterminal.transaksi; import javafx.beans.property.SimpleObjectProperty; import javafx.beans.property.SimpleStringProperty; import javafx.scene.control.Button; import javafx.scene.control.ComboBox; import javafx.scene.control.TextField; /** * * @author AGNES */ public class TabelBarangTunai { private SimpleStringProperty kode; private SimpleStringProperty nama; private SimpleStringProperty ukur; private SimpleStringProperty jumlah; private SimpleStringProperty harga; private SimpleStringProperty disc1; private SimpleStringProperty disc2; private SimpleObjectProperty cbxPromo; private SimpleStringProperty subTotal; private SimpleObjectProperty fldPramuniaga; public TabelBarangTunai(String kode, String nama, String ukur, String jumlah, String harga, String disc1, String disc2, ComboBox cbxPromo, String subTotal, TextField fldPramuniaga) { this.kode = new SimpleStringProperty(kode); this.nama = new SimpleStringProperty(nama); this.ukur = new SimpleStringProperty(ukur); this.jumlah = new SimpleStringProperty(jumlah); this.harga = new SimpleStringProperty(harga); this.disc1 = new SimpleStringProperty(disc1); this.disc2 = new SimpleStringProperty(disc2); this.cbxPromo = new SimpleObjectProperty(cbxPromo); this.subTotal = new SimpleStringProperty(subTotal); this.fldPramuniaga = new SimpleObjectProperty(fldPramuniaga); } /** * @return the kode */ public String getKode() { return kode.get(); } /** * @param kode the kode to set */ public void setKode(String kode) { this.kode.set(kode); } /** * @return the tcNama */ public String getNama() { return nama.get(); } /** * @param nama the tcNama to set */ public void setNama(String nama) { this.nama.set(nama); } /** * @return the tcUkur */ public String getUkur() { return ukur.get(); } /** * @param ukur the tcUkur to set */ public void setUkur(String ukur) { this.ukur.set(ukur); } /** * @return the tcJumlah */ public String getJumlah() { return jumlah.get(); } /** * @param jumlah the tcJumlah to set */ public void setJumlah(String jumlah) { this.jumlah.set(jumlah); } /** * @return the tcHarga */ public String getHarga() { return harga.get(); } /** * @param harga the tcHarga to set */ public void setHarga(String harga) { this.harga.set(harga); } /** * @return the tcDisc1 */ public String getDisc1() { return disc1.get(); } /** * @param disc1 the tcDisc1 to set */ public void setDisc1(String disc1) { this.disc1.set(disc1); } /** * @return the tcDisc2 */ public String getDisc2() { return disc2.get(); } /** * @param disc2 the tcDisc2 to set */ public void setDisc2(String disc2) { this.disc2.set(disc2); } /** * @return the tcPromo */ public ComboBox getCbxPromo() { return cbxPromo.get(); } /** * @param cbxPromo the tcPromo to set */ public void setCbxPromo(ComboBox cbxPromo) { this.cbxPromo.set(cbxPromo); } /** * @return the tcSubtotal */ public String getSubTotal() { return subTotal.get(); } /** * @param subTotal the tcSubtotal to set */ public void setSubTotal(String subTotal) { this.subTotal.set(subTotal); } /** * @return the tcPramuniaga */ public TextField getFldPramuniaga() { return fldPramuniaga.get(); } /** * @param fldPramuniaga the tcPramuniaga to set */ public void setFldPramuniaga(TextField fldPramuniaga) { this.fldPramuniaga.set(fldPramuniaga); } }