if (ware.isBarrelSizedWare()) { BarrelAmountAlwaysVisible barrelAmount = new BarrelAmountAlwaysVisible(); barrelAmount.amountProperty().bind(needed.asString()); row.add(new ControlTableCell(barrelAmount)); } else { if (ware.isBarrelSizedWare()) { BarrelAmountAlwaysVisible barrelAmount = new BarrelAmountAlwaysVisible(); barrelAmount.amountProperty().bind(stored.asString()); row.add(new ControlTableCell(barrelAmount)); } else { if (ware.isBarrelSizedWare()) { BarrelAmountAlwaysVisible barrelAmount = new BarrelAmountAlwaysVisible(); barrelAmount.amountProperty().bind(buyAmount.asString()); row.add(new ControlTableCell(barrelAmount)); } else {
if (ware.isBarrelSizedWare()) { BarrelAmountAlwaysVisible barrelAmount = new BarrelAmountAlwaysVisible(); barrelAmount.amountProperty().bind(needed.asString()); row.add(new ControlTableCell(barrelAmount)); } else { if (ware.isBarrelSizedWare()) { BarrelAmountAlwaysVisible barrelAmount = new BarrelAmountAlwaysVisible(); barrelAmount.amountProperty().bind(stored.asString()); row.add(new ControlTableCell(barrelAmount)); } else { barrelAmount.amountProperty().bind(buyAmount.asString()); row.add(new ControlTableCell(barrelAmount)); } else {
if (ware.isBarrelSizedWare()) { BarrelAmountAlwaysVisible barrelAmount = new BarrelAmountAlwaysVisible(); barrelAmount.amountProperty().bind(stored.asString()); row.add(new ControlTableCell(barrelAmount)); } else { final IntegerProperty valueAdded = change.getValueAdded(); if (ware.equals(change.getKey()) && valueAdded != null) { barrelAmount.amountProperty().setValue(String.valueOf(valueAdded.get()));
amount.amountProperty().bind(autoTrading.amountProperty(ware).asString()); row.add(new ControlTableCell(amount)); } else {