|
SalesPoint Framework v3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object data.filters.CatalogFilter data.filters.CurrencyFilter
A CatalogFilter that filters Currencies
.
Field Summary |
Fields inherited from class data.filters.CatalogFilter |
m_cOrg, m_lhListeners |
Fields inherited from interface data.CatalogItem |
VALUE_PROPERTY |
Fields inherited from interface data.Nameable |
NAME_PROPERTY |
Constructor Summary | |
CurrencyFilter(Currency c)
Create a new CurrencyFilter. |
Method Summary | |
NumberValue |
parse(String s)
Try to parse the given String as a Currency value using the source Currency. |
String |
toString(NumberValue nv)
Convert the given value to its String representation using the source Currency. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface data.Catalog |
add, contains, get, iterator, keySet, remove, remove, size |
Methods inherited from interface data.CatalogItem |
addValueListener, getCatalog, getValue, removeValueListener |
Methods inherited from interface data.Nameable |
addNameListener, addPropertyChangeListener, attach, detachNC, getName, removeNameListener, removePropertyChangeListener, setName |
Methods inherited from interface java.lang.Comparable |
compareTo |
Constructor Detail |
public CurrencyFilter(Currency c)
c
- the Currency to be filtered.Method Detail |
public String toString(NumberValue nv)
String
representation using the source Currency.
toString
in interface Currency
nv
- the value to be convertedpublic NumberValue parse(String s) throws ParseException
String
as a Currency value using the source Currency.
parse
in interface Currency
s
- the text to be parsed
ParseException
- if the input could not be parsed.
|
SalesPoint Framework v3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |