| |
|
| java.lang.Object org.wings.text.SAbstractFormatter org.wings.text.SDefaultFormatter org.wings.text.SInternationalFormatter
All known Subclasses: org.wings.text.SDateFormatter, org.wings.text.SNumberFormatter,
SInternationalFormatter | public class SInternationalFormatter extends SDefaultFormatter (Code) | | SInternationalFormatter extends SDefaultFormatter ,
using an instance of java.text.Format to handle the
conversion to a String, and the conversion from a String.
author: erik |
SInternationalFormatter | public SInternationalFormatter(Format format)(Code) | | Creates a new instance of SInternationalFormatter
|
getFormat | public Format getFormat()(Code) | | Returns the format that dictates the legal values that can be edited and displayed.
The format that dictates the legal values that can be edited and displayed. |
getMaximum | public Comparable getMaximum()(Code) | | Returns the maximum valid value
Comparable the maximum valid value |
getMinimum | public Comparable getMinimum()(Code) | | Return the minimum valid value
Comparable the minimum valid value |
setFormat | public void setFormat(Format format)(Code) | | Sets the format that dictates the legal values that can be edited and displayed.
Parameters: format - The format that dictates the legal values that can be edited and displayed. |
setMaximum | public void setMaximum(Comparable max)(Code) | | Sets the maximum valid value
Parameters: max - the maximum valid value |
setMinimum | public void setMinimum(Comparable min)(Code) | | Sets the minimum valid value
Parameters: min - the minimum valid value |
stringToValue | public Object stringToValue(String text) throws ParseException(Code) | | Object representation of text.
Parameters: text - String to convert Object representation of text |
valueToString | public String valueToString(Object value) throws ParseException(Code) | | String representation of value.
Parameters: value - Value to convert String representation of value |
|
|
|