public class ResultModel extends BaseModel<ImmutablePerson>
ImmutablePerson on result view.| Type | Property and Description |
|---|---|
javafx.beans.property.SimpleStringProperty |
amount
Get property for "to pay" or "to get" amount (as currency String).
|
javafx.beans.property.SimpleStringProperty |
name
Get property for person name.
|
javafx.beans.property.SimpleStringProperty |
transaction
Get property for transaction type (to pay, to get, nothing).
|
idProperty| Constructor and Description |
|---|
ResultModel(ImmutablePerson person)
Create model.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.SimpleStringProperty |
amountProperty()
Get property for "to pay" or "to get" amount (as currency String).
|
javafx.beans.property.SimpleStringProperty |
nameProperty()
Get property for person name.
|
String |
toString() |
javafx.beans.property.SimpleStringProperty |
transactionProperty()
Get property for transaction type (to pay, to get, nothing).
|
void |
update(ImmutablePerson person)
Update value of model with new value
|
equals, getId, hashCode, idPropertypublic javafx.beans.property.SimpleStringProperty nameProperty
public javafx.beans.property.SimpleStringProperty transactionProperty
public javafx.beans.property.SimpleStringProperty amountProperty
public ResultModel(ImmutablePerson person)
person - person datapublic void update(ImmutablePerson person)
BaseModelupdate in class BaseModel<ImmutablePerson>public javafx.beans.property.SimpleStringProperty nameProperty()
public javafx.beans.property.SimpleStringProperty transactionProperty()
public javafx.beans.property.SimpleStringProperty amountProperty()
Copyright © 2015 illucIT Software GmbH. All rights reserved.