public class LetteringEditModel extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
credit |
static String |
CREDIT_PROPERTY |
protected BigDecimal |
debit |
static String |
DEBIT_PROPERTY |
protected boolean |
equalized |
static String |
EQUALIZED_PROPERTY |
protected boolean |
lettred |
static String |
LETTRED_PROPERTY |
protected LetteringTableModel |
model |
protected PropertyChangeSupport |
pcs |
protected BigDecimal |
solde |
static String |
SOLDE_PROPERTY |
protected boolean |
unLettred |
static String |
UNLETTRED_PROPERTY |
| Constructor and Description |
|---|
LetteringEditModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
protected void |
firePropertyChange(String propertyName,
Object newValue) |
protected void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue) |
BigDecimal |
getCredit() |
BigDecimal |
getDebit() |
BigDecimal |
getSolde() |
boolean |
isEqualized() |
boolean |
isLettred() |
boolean |
isUnLettred() |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
resetDebitCreditBalance() |
void |
setCredit(BigDecimal credit) |
void |
setDebit(BigDecimal debit) |
void |
setEqualized(boolean equalized) |
void |
setLettred(boolean lettred) |
void |
setSolde(BigDecimal solde,
boolean credit) |
void |
setUnLettred(boolean unLettred) |
public static final String DEBIT_PROPERTY
public static final String CREDIT_PROPERTY
public static final String SOLDE_PROPERTY
public static final String LETTRED_PROPERTY
public static final String UNLETTRED_PROPERTY
public static final String EQUALIZED_PROPERTY
protected final PropertyChangeSupport pcs
protected LetteringTableModel model
protected boolean lettred
protected boolean unLettred
protected boolean equalized
protected BigDecimal debit
protected BigDecimal credit
protected BigDecimal solde
public boolean isEqualized()
public void setEqualized(boolean equalized)
public boolean isLettred()
public void setLettred(boolean lettred)
public boolean isUnLettred()
public void setUnLettred(boolean unLettred)
public BigDecimal getDebit()
public void setDebit(BigDecimal debit)
public BigDecimal getCredit()
public void setCredit(BigDecimal credit)
public BigDecimal getSolde()
public void setSolde(BigDecimal solde, boolean credit)
public void resetDebitCreditBalance()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)
Copyright © 2008–2014 CodeLutin. All rights reserved.