com.retek.commons.gui.mask
Class NegativeCurrencyMask
java.lang.Object
com.retek.commons.gui.mask.NegativeCurrencyMask
- All Implemented Interfaces:
- Mask
- public class NegativeCurrencyMask
- extends java.lang.Object
- implements Mask
This class handles formatting and unformatting currency fields. Works exactly like
CurrencyMask, except that positive values are surrounded by "()" and negative values
are not. In the future, this should be determined by a properties file.
Retek Inc. Copyright (c) 2002
Method Summary |
java.lang.String |
format(java.lang.String text)
|
java.lang.String |
format(java.lang.String[] text)
|
java.lang.String |
unformat(java.lang.String text)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NegativeCurrencyMask
public NegativeCurrencyMask()
format
public java.lang.String format(java.lang.String text)
- Specified by:
format
in interface Mask
format
public java.lang.String format(java.lang.String[] text)
- Specified by:
format
in interface Mask
unformat
public java.lang.String unformat(java.lang.String text)
- Specified by:
unformat
in interface Mask
Copyright © 2005 Retek Inc. All Rights Reserved.
- Generated at Fri, 01/21/2005 14:25