buyPrice.amountProperty().bind(buyPrice(ware, storedAmountProperty)); row.add(new ControlTableCell(buyPrice)); sellPrice.amountProperty().bind(sellPrice(ware, storedAmountProperty)); row.add(new ControlTableCell(sellPrice));
row.add(new StaticTextTableCell(template)); CoinPriceAlwaysVisible control = new CoinPriceAlwaysVisible(); control.amountProperty().bind(treasury.paidTaxesProperty().asString()); row.add(new ControlTableCell(control)); tableModel.add(row); row.add(new StaticTextTableCell(template)); control = new CoinPriceAlwaysVisible(); control.amountProperty().bind(treasury.paidSpecialTaxesProperty().asString()); row.add(new ControlTableCell(control)); tableModel.add(row); row.add(new StaticTextTableCell(template)); control = new CoinPriceAlwaysVisible(); control.amountProperty().bind(treasury.donationsProperty().asString()); row.add(new ControlTableCell(control)); tableModel.add(row); row.add(new StaticTextTableCell(template)); control = new CoinPriceAlwaysVisible(); control.amountProperty().bind(treasury.cityGuardCostsProperty().asString()); row.add(new ControlTableCell(control)); tableModel.add(row); row.add(new StaticTextTableCell(template)); control = new CoinPriceAlwaysVisible(); control.amountProperty().bind(treasury.buildingCostsProperty().asString()); row.add(new ControlTableCell(control)); tableModel.add(row);
coinPrice.amountProperty().bind(rentalIncomeLastWeek); row.add(new ControlTableCell(coinPrice)); row.add(new StaticTextTableCell("")); coinPrice.amountProperty().bind(rentalIncomeForecast); row.add(new ControlTableCell(coinPrice)); model.add(row); coinPrice.amountProperty().bind(wagesIncomeLastWeek); row.add(new ControlTableCell(coinPrice)); row.add(new StaticTextTableCell("")); coinPrice.amountProperty().bind(wagesIncomeForecast); row.add(new ControlTableCell(coinPrice)); model.add(row); coinPrice.amountProperty().bind(taxLastWeek); row.add(new ControlTableCell(coinPrice)); row.add(new StaticTextTableCell("")); coinPrice.amountProperty().bind(taxForecast); row.add(new ControlTableCell(coinPrice)); model.add(row); coinPrice.amountProperty().bind(tradingLastWeek); row.add(new ControlTableCell(coinPrice)); row.add(new StaticTextTableCell("")); coinPrice.amountProperty().bind(tradingForecast);
price.amountProperty().bind(priceBinding.asString()); row.add(new ControlTableCell(price));
price.amountProperty().bind(priceBinding.asString()); row.add(new ControlTableCell(price));
price.amountProperty().bind(autoTrading.priceProperty(ware).asString()); price.visibleProperty().bind(new VisibleTradeTypeBinding(autoTrading.tradingTypeProperty(ware))); row.add(new ControlTableCell(price));