示例#1
0
 public SimpleStringProperty GetSSPOrderedMeals() {
   sspOrderedMeals.set("");
   String hilf = new String("");
   for (MealAndQuantity maq : orderedMeals) {
     hilf = hilf + maq.quantity + "X " + maq.meal.getMealName().get() + "\n";
   }
   sspOrderedMeals.set(hilf);
   return sspOrderedMeals;
 }
示例#2
0
 public SimpleStringProperty GetSSPPrice() {
   price = 0;
   for (MealAndQuantity maq : orderedMeals) {
     price = price + maq.meal.getMealPriceAsDouble() * maq.quantity;
   }
   sspPrice.set(Double.toString(price));
   return sspPrice;
 }
示例#3
0
 public void setTelf(String telf) {
   telefono.set(telf);
 }
示例#4
0
 public void setNombre(String fName) {
   nombre.set(fName);
 }
 public void setPaymentMethod(String pPaymentMethod) {
   mPaymentMethod.set(pPaymentMethod);
 }
 public void setVendor(String pVendor) {
   mVendor.set(pVendor);
 }
 public void setAmount(String pAmount) {
   mAmount.set(pAmount);
 }
 public void setDesc(String desc) {
   description.set(desc);
 }
 public void setDate(String pDate) {
   mDate.set(pDate);
 }
示例#10
0
 public void setNom(String Lnom) {
   nom.set(Lnom);
 }
示例#11
0
 public void setImage(String imagepath) {
   image.set(imagepath);
 }
示例#12
0
 public void setDate(String d) {
   date.set(d);
 }
示例#13
0
 public void runNussinov() {
   nussinov = new Nussinov(sequence.get());
   int nussinovScore = nussinov.apply(); // TODO maybe give the score out
   dotBracket.set(nussinov.getBracketNotation());
 }
示例#14
0
 public void setAños(String años) {
   años1.set(años);
 }