Class CashAdvanceLineItem
- java.lang.Object
-
- com.palmer.billingstatementgenerator.models.lineitems.CashAdvanceLineItem
-
public class CashAdvanceLineItem extends java.lang.ObjectMutable line item wrapping aCashAdvancecatalog entry. Adds JavaFX properties for selection state, provider name, and the user-entered cash amount. The amount starts null and must be populated by the user; the line item is invalid for navigation purposes if selected but has no amount.
-
-
Constructor Summary
Constructors Constructor Description CashAdvanceLineItem(CashAdvance catalog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.beans.property.ObjectProperty<java.math.BigDecimal>amountProperty()java.math.BigDecimalgetAmount()CashAdvancegetCatalog()java.lang.StringgetProvider()booleanisSelected()javafx.beans.property.StringPropertyproviderProperty()javafx.beans.property.BooleanPropertyselectedProperty()voidsetAmount(java.math.BigDecimal value)voidsetProvider(java.lang.String value)voidsetSelected(boolean value)
-
-
-
Constructor Detail
-
CashAdvanceLineItem
public CashAdvanceLineItem(CashAdvance catalog)
-
-
Method Detail
-
getCatalog
public CashAdvance getCatalog()
-
selectedProperty
public javafx.beans.property.BooleanProperty selectedProperty()
-
isSelected
public boolean isSelected()
-
setSelected
public void setSelected(boolean value)
-
providerProperty
public javafx.beans.property.StringProperty providerProperty()
-
getProvider
public java.lang.String getProvider()
-
setProvider
public void setProvider(java.lang.String value)
-
amountProperty
public javafx.beans.property.ObjectProperty<java.math.BigDecimal> amountProperty()
-
getAmount
public java.math.BigDecimal getAmount()
-
setAmount
public void setAmount(java.math.BigDecimal value)
-
-