ilog.cpl.util.text
Class IlpDecimalFormat
java.lang.Object
java.text.Format
java.text.NumberFormat
java.text.DecimalFormat
ilog.cpl.util.text.IlpDecimalFormat
- All Implemented Interfaces:
- Serializable, Cloneable
public class IlpDecimalFormat
- extends DecimalFormat
Encapsulates in a Bean java.text.DecimalFormat,
so that it can be parsed by the CSS engine when configuring ILOG JTGO.
It defines the getter and setter methods (getPattern and
setPattern) for the pattern used to convert decimal numbers.
- Since:
- JTGO 3.5
- See Also:
- Serialized Form
| Methods inherited from class java.text.DecimalFormat |
applyLocalizedPattern, applyPattern, clone, equals, format, format, format, formatToCharacterIterator, getCurrency, getDecimalFormatSymbols, getGroupingSize, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getMultiplier, getNegativePrefix, getNegativeSuffix, getPositivePrefix, getPositiveSuffix, hashCode, isDecimalSeparatorAlwaysShown, isParseBigDecimal, parse, setCurrency, setDecimalFormatSymbols, setDecimalSeparatorAlwaysShown, setGroupingSize, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setMultiplier, setNegativePrefix, setNegativeSuffix, setParseBigDecimal, setPositivePrefix, setPositiveSuffix, toLocalizedPattern, toPattern |
| Methods inherited from class java.text.NumberFormat |
format, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setGroupingUsed, setParseIntegerOnly |
IlpDecimalFormat
public IlpDecimalFormat()
setPattern
public void setPattern(String pattern)
- Method to set a new pattern for the format.
If the given pattern is null, nothing will be done; the current
pattern is preserved.
- Parameters:
pattern - The new pattern to be used.
getPattern
public String getPattern()
- Method to retrieve the current pattern.
- Returns:
- The current pattern being used.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.