|
- /*
- * 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.pencarian;
-
- import javafx.beans.property.SimpleObjectProperty;
- import javafx.beans.property.SimpleStringProperty;
- import javafx.scene.control.Button;
-
- /**
- *
- * @author ronal
- */
- public class TabelBarangCari {
- private final SimpleStringProperty kode;
- private final SimpleStringProperty nama;
- private final SimpleStringProperty ukur;
- private final SimpleStringProperty harga;
- private final SimpleObjectProperty<Button> btnTambah;
-
- public TabelBarangCari(String kode, String nama, String ukur,String harga,Button btnTambah) {
- this.kode = new SimpleStringProperty(kode);
- this.nama = new SimpleStringProperty(nama);
- this.ukur = new SimpleStringProperty(ukur);
- this.harga = new SimpleStringProperty(harga);
- this.btnTambah = new SimpleObjectProperty<>(btnTambah);
- }
-
- /**
- * @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 nama
- */
- public String getNama() {
- return nama.get();
- }
-
- /**
- * @param nama the nama to set
- */
- public void setNama(String nama) {
- this.nama.set(nama);
- }
-
- /**
- * @return the ukur
- */
- public String getUkur() {
- return ukur.get();
- }
-
- /**
- * @param ukur the ukur to set
- */
- public void setUkur(String ukur) {
- this.ukur.set(ukur);
- }
-
- /**
- * @return the nomor
- */
- public String getHarga() {
- return harga.get();
- }
-
- /**
- * @param harga the nomor to set
- */
- public void setHarga(String harga) {
- this.harga.set(harga);
- }
-
- /**
- * @return the btnTambah
- */
- public Button getBtnTambah() {
- return btnTambah.get();
- }
-
- /**
- * @param btnTambah the btnTambah to set
- */
- public void setBtnTambah(Button btnTambah) {
- this.btnTambah.set(btnTambah);
- }
- }
|