|
SalesPoint v3.3 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdata.filters.CatalogFilter<T>
data.filters.CurrencyFilter<T>
public abstract class CurrencyFilter<T extends CurrencyItem>
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<T> 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<T> c)
c - the Currency to be filtered.| Method Detail |
|---|
public String toString(NumberValue nv)
String representation using the source Currency.
toString in interface Currency<T extends CurrencyItem>nv - the value to be converted
public NumberValue parse(String s)
throws ParseException
String as a Currency value using the source Currency.
parse in interface Currency<T extends CurrencyItem>s - the text to be parsed
ParseException - if the input could not be parsed.
|
SalesPoint v3.3 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||