|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.aspects.gui.Currency
Holds information about a currency: its name, display precision and change rate.
Constructor Summary | |
Currency(String name,
int precision,
double rate)
Constructs the currency. |
Method Summary | |
String |
getName()
Gets the currency name. |
int |
getPrecision()
Gets the currency precision. |
double |
getRate()
Gets the exchange rate regarding the default currency. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Currency(String name, int precision, double rate)
name
- the currency nameprecision
- the currency precision (decimal number)rate
- the exchange rate regarding the default currencyMethod Detail |
public String getName()
public int getPrecision()
public double getRate()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |