T - public class BaseAmountable<T extends IAmountable> extends Object
| Type | Property and Description |
|---|---|
javafx.beans.property.ReadOnlyIntegerProperty |
amount
Number of items that are amounted
|
| Modifier and Type | Field and Description |
|---|---|
private javafx.beans.property.IntegerProperty |
amount
Number of items that are amounted
|
protected IJavaFXApplicationThreadExecution |
fxTheadExecution |
| Constructor and Description |
|---|
BaseAmountable() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int amount)
Add a number items
|
javafx.beans.property.ReadOnlyIntegerProperty |
amountProperty()
Number of items that are amounted
|
boolean |
equals(Object o) |
int |
getAmount()
Retrieve the number of items
|
int |
hashCode() |
void |
remove(int amount)
Remove a number of items
|
void |
reset()
Set the amount to 0.
|
protected void |
setAmount(int amount)
Sets the value of the property amount.
|
String |
toString() |
public javafx.beans.property.ReadOnlyIntegerProperty amountProperty
getAmount(),
setAmount(int)private final javafx.beans.property.IntegerProperty amount
@Autowired protected IJavaFXApplicationThreadExecution fxTheadExecution
public int getAmount()
protected void setAmount(int amount)
public javafx.beans.property.ReadOnlyIntegerProperty amountProperty()
getAmount(),
setAmount(int)public void add(int amount)
amount - number of the items to be addedpublic void remove(int amount)
amount - of items to be removedpublic void reset()
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.