public class LetteringEditModel extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
credit |
protected BigDecimal |
debit |
protected boolean |
equalized |
protected boolean |
lettred |
protected LetteringTableModel |
model |
protected PropertyChangeSupport |
pcs |
static String |
PROPERTY_CREDIT |
static String |
PROPERTY_DEBIT |
static String |
PROPERTY_EQUALIZED |
static String |
PROPERTY_LETTRED |
static String |
PROPERTY_SOLD |
static String |
PROPERTY_UNLETTRED |
protected BigDecimal |
sold |
protected boolean |
unLettred |
| 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 |
getSold() |
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 PROPERTY_DEBIT
public static final String PROPERTY_CREDIT
public static final String PROPERTY_SOLD
public static final String PROPERTY_LETTRED
public static final String PROPERTY_UNLETTRED
public static final String PROPERTY_EQUALIZED
protected final PropertyChangeSupport pcs
protected LetteringTableModel model
protected boolean lettred
protected boolean unLettred
protected boolean equalized
protected BigDecimal debit
protected BigDecimal credit
protected BigDecimal sold
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 getSold()
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–2015 CodeLutin. All rights reserved.