SalesPoint Framework v3.0

data.filters
Class CurrencyFilter

java.lang.Object
  |
  +--data.filters.CatalogFilter
        |
        +--data.filters.CurrencyFilter

public abstract class CurrencyFilter
extends CatalogFilter
implements Currency

A CatalogFilter that filters Currencies.

Hooks:
Define Currency Filter
Since:
v2.0
Version:
2.0 19/08/1999
Author:
Steffen Zschaler
See Also:
Serialized Form

Fields inherited from class data.filters.CatalogFilter
m_cOrg, m_lhListeners
 
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 data.filters.CatalogFilter
add, addCatalogChangeListener, addedCatalogItem, addNameListener, addPropertyChangeListener, addValueListener, attach, canEditCatalogItem, canRemoveCatalogItem, commitedAddCatalogItem, commitEditCatalogItem, commitedRemoveCatalogItem, compareTo, contains, detachNC, editingCatalogItem, fireCanEditCatalogItem, fireCanRemoveCatalogItem, fireCatalogItemAddCommit, fireCatalogItemAdded, fireCatalogItemAddRollback, fireCatalogItemRemoveCommit, fireCatalogItemRemoved, fireCatalogItemRemoveRollback, fireCommitEditCatalogItem, fireEditingCatalogItem, fireNoEditCatalogItem, fireNoRemoveCatalogItem, fireRollbackEditCatalogItem, get, getCatalog, getMainCatalog, getName, getValue, iterator, keySet, match, noEditCatalogItem, noRemoveCatalogItem, remove, remove, removeCatalogChangeListener, removedCatalogItem, removeNameListener, removePropertyChangeListener, removeValueListener, rollbackEditCatalogItem, rolledbackAddCatalogItem, rolledbackRemoveCatalogItem, setName, size, subscribe, unsubscribe, updateModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrencyFilter

public CurrencyFilter(Currency c)
Create a new CurrencyFilter.
Parameters:
c - the Currency to be filtered.
Method Detail

toString

public String toString(NumberValue nv)
Convert the given value to its String representation using the source Currency.
Override:
Never.
Specified by:
toString in interface Currency

parse

public NumberValue parse(String s)
                  throws ParseException
Try to parse the given String as a Currency value using the source Currency.
Override:
Never.
Specified by:
parse in interface Currency

SalesPoint Framework v3.0