JIDE 3.5.15

com.jidesoft.converter
Class DoubleConverter

java.lang.Object
  extended by com.jidesoft.converter.NumberConverter
      extended by com.jidesoft.converter.DoubleConverter
All Implemented Interfaces:
ObjectConverter

public class DoubleConverter
extends NumberConverter

Converter which converts Double to String and converts it back.


Field Summary
 
Fields inherited from class com.jidesoft.converter.NumberConverter
CONTEXT_FRACTION_NUMBER
 
Constructor Summary
DoubleConverter()
           
DoubleConverter(NumberFormat format)
           
 
Method Summary
 Object fromString(String string, ConverterContext context)
          Converts from String to an object.
 boolean supportFromString(String string, ConverterContext context)
          If it supports fromString.
 
Methods inherited from class com.jidesoft.converter.NumberConverter
getDefaultNumberFormat, getNumberFormat, isAvoidNegativeZero, isGroupingUsed, parseNumber, setAvoidNegativeZero, setCurrency, setFractionDigits, setGroupingUsed, setIntegerDigits, setNumberFormat, setRoundingMode, supportToString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleConverter

public DoubleConverter()

DoubleConverter

public DoubleConverter(NumberFormat format)
Method Detail

fromString

public Object fromString(String string,
                         ConverterContext context)
Description copied from interface: ObjectConverter
Converts from String to an object.

Parameters:
string - the string
context - context to be converted
Returns:
the object converted from string

supportFromString

public boolean supportFromString(String string,
                                 ConverterContext context)
Description copied from interface: ObjectConverter
If it supports fromString.

Parameters:
string - the string
context - context to be converted
Returns:
true if it supports

JIDE 3.5.15