|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.gui.Currency
The Currency class is used to store the rate and the number of decimals for a currency.
Field Summary | |
---|---|
protected java.beans.PropertyChangeSupport |
propertyChange
|
Constructor Summary | |
---|---|
Currency(java.lang.String r,
int cP)
This constructor creates a Currency object. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Generated to support the propertyChange field. |
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Generated to support the propertyChange field. |
int |
getCurrPoint()
Gets the currPoint property (int) value, that represents the number of digits after the decimal point. |
java.lang.String |
getRate()
Gets the rate property (java.lang.String) value. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Generated to support the propertyChange field. |
void |
setCurrPoint(int currPoint)
Sets the currPoint property (int) value. |
void |
setRate(java.lang.String rate)
Sets the rate property (java.lang.String) value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient java.beans.PropertyChangeSupport propertyChange
Constructor Detail |
public Currency(java.lang.String r, int cP)
r
- java.lang.String, the currency ratecP
- int, the number of digits after decimal pointMethod Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- PropertyChangeListener, the listenerpublic void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
public int getCurrPoint()
setCurrPoint(int)
public java.lang.String getRate()
setRate(java.lang.String)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- PropertyChangeListener, the listenerpublic void setCurrPoint(int currPoint)
currPoint
- int, the new value for the propertygetCurrPoint()
public void setRate(java.lang.String rate)
rate
- String, the new value for the propertygetRate()
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |