public class RequiredWareCityStorage extends Object
| Type | Property and Description |
|---|---|
javafx.beans.binding.IntegerBinding |
buyAmount |
javafx.beans.binding.IntegerBinding |
buyPrice |
javafx.beans.binding.BooleanBinding |
canBuy |
javafx.beans.property.IntegerProperty |
inCity |
javafx.beans.property.IntegerProperty |
inStorage |
javafx.beans.property.IntegerProperty |
required |
| Modifier and Type | Field and Description |
|---|---|
private javafx.beans.binding.IntegerBinding |
buyAmount |
private javafx.beans.binding.IntegerBinding |
buyPrice |
private javafx.beans.binding.BooleanBinding |
canBuy |
private javafx.beans.property.IntegerProperty |
inCity |
private javafx.beans.property.IntegerProperty |
inStorage |
private javafx.beans.property.IntegerProperty |
required |
| Constructor and Description |
|---|
RequiredWareCityStorage(int needed,
javafx.beans.property.IntegerProperty inStorageAmount,
javafx.beans.property.IntegerProperty inCityAmount,
ch.sahits.game.openpatrician.model.product.IWare ware,
ch.sahits.game.openpatrician.model.product.ComputablePriceV2 computablePrice) |
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.binding.IntegerBinding |
buyAmountProperty() |
javafx.beans.binding.IntegerBinding |
buyPriceProperty() |
javafx.beans.binding.BooleanBinding |
canBuyProperty() |
Number |
getBuyAmount()
Gets the value of the property buyAmount.
|
Number |
getBuyPrice()
Gets the value of the property buyPrice.
|
Boolean |
getCanBuy()
Gets the value of the property canBuy.
|
javafx.beans.property.IntegerProperty |
inCityProperty() |
javafx.beans.property.IntegerProperty |
inStorageProperty() |
javafx.beans.property.IntegerProperty |
requiredProperty() |
void |
setRequired(int required)
Sets the value of the property required.
|
public javafx.beans.property.IntegerProperty requiredProperty
setRequired(int)public javafx.beans.property.IntegerProperty inStorageProperty
public javafx.beans.property.IntegerProperty inCityProperty
public javafx.beans.binding.IntegerBinding buyAmountProperty
getBuyAmount()public javafx.beans.binding.IntegerBinding buyPriceProperty
getBuyPrice()public javafx.beans.binding.BooleanBinding canBuyProperty
getCanBuy()private javafx.beans.property.IntegerProperty required
private final javafx.beans.property.IntegerProperty inStorage
private final javafx.beans.property.IntegerProperty inCity
private javafx.beans.binding.IntegerBinding buyAmount
private javafx.beans.binding.IntegerBinding buyPrice
private javafx.beans.binding.BooleanBinding canBuy
public RequiredWareCityStorage(int needed,
javafx.beans.property.IntegerProperty inStorageAmount,
javafx.beans.property.IntegerProperty inCityAmount,
ch.sahits.game.openpatrician.model.product.IWare ware,
ch.sahits.game.openpatrician.model.product.ComputablePriceV2 computablePrice)
public javafx.beans.property.IntegerProperty requiredProperty()
setRequired(int)public void setRequired(int required)
public javafx.beans.property.IntegerProperty inStorageProperty()
public javafx.beans.property.IntegerProperty inCityProperty()
public Number getBuyAmount()
public javafx.beans.binding.IntegerBinding buyAmountProperty()
getBuyAmount()public Number getBuyPrice()
public javafx.beans.binding.IntegerBinding buyPriceProperty()
getBuyPrice()public Boolean getCanBuy()
public javafx.beans.binding.BooleanBinding canBuyProperty()
getCanBuy()Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.