public class PersonModel extends BaseModel<ImmutablePerson>
ImmutablePerson.| Type | Property and Description |
|---|---|
javafx.beans.property.SimpleStringProperty |
difference
Get property for calculated "difference" (as currency String).
|
javafx.beans.property.SimpleStringProperty |
name
Get property for person name.
|
javafx.beans.property.SimpleStringProperty |
paid
Get property for calculated "paid" (as currency String).
|
javafx.beans.property.SimpleStringProperty |
share
Get property for calculated "share" (as currency String).
|
idProperty| Constructor and Description |
|---|
PersonModel(ImmutablePerson person)
Create model.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.SimpleStringProperty |
differenceProperty()
Get property for calculated "difference" (as currency String).
|
javafx.beans.property.SimpleStringProperty |
nameProperty()
Get property for person name.
|
javafx.beans.property.SimpleStringProperty |
paidProperty()
Get property for calculated "paid" (as currency String).
|
javafx.beans.property.SimpleStringProperty |
shareProperty()
Get property for calculated "share" (as currency String).
|
String |
toString() |
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 paidProperty
public javafx.beans.property.SimpleStringProperty shareProperty
public javafx.beans.property.SimpleStringProperty differenceProperty
public PersonModel(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 paidProperty()
public javafx.beans.property.SimpleStringProperty shareProperty()
public javafx.beans.property.SimpleStringProperty differenceProperty()
Copyright © 2015 illucIT Software GmbH. All rights reserved.