planetj.formatters
Class NegativeCurrencyFormatter
java.lang.Object
  |
  +--java.text.Format
        |
        +--java.text.NumberFormat
              |
              +--planetj.formatters.CurrencyFormatter
                    |
                    +--planetj.formatters.NegativeCurrencyFormatter
- All Implemented Interfaces: 
 - Cloneable, IFormatter, Serializable
 
- public class NegativeCurrencyFormatter
- extends CurrencyFormatter
  
Insert the type's description here.
 Creation date: (1/29/2004 2:38:48 PM)
- See Also:
 - Serialized Form
 
 
 
 
| 
Method Summary | 
 Object | 
formatValue(Object value)
 
          This method formats a number (or a String representation of the
 number that has no commas) to be a string that represents the
 currency format of the current locale. | 
 
 
| Methods inherited from class java.text.NumberFormat | 
clone, equals, format, format, format, getAvailableLocales, getCurrency, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, hashCode, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setCurrency, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setParseIntegerOnly | 
 
 
 
NegativeCurrencyFormatter
public NegativeCurrencyFormatter()
formatValue
public Object formatValue(Object value)
- This method formats a number (or a String representation of the
 number that has no commas) to be a string that represents the
 currency format of the current locale.  For example, 23434.45
 would return $23434.45.  If a value is passed in that is not
 in the right format to be formatted, that value is simply returned
- Specified by:
 formatValue in interface IFormatter- Overrides:
 formatValue in class CurrencyFormatter
 
- Parameters:
 value - java.lang.Object
- Returns:
 - java.lang.Object