public class IlvDoubleConverter extends Object implements IlvDataConverter, Serializable
Double
object
and a double value.IlvSwingTableDataSource.setDefaultConverter(java.lang.Class<?>, ilog.views.chart.data.IlvDataConverter)
,
Serialized FormConstructor and Description |
---|
IlvDoubleConverter()
Creates a new
IlvDoubleConverter object. |
Modifier and Type | Method and Description |
---|---|
Object |
toObject(double value)
Converts the given value to a
java.lang.Double object. |
double |
toValue(Object object)
Converts the given object to its double representation.
|
public IlvDoubleConverter()
IlvDoubleConverter
object.public double toValue(Object object)
toValue
in interface IlvDataConverter
object
- The object to convert. Should be an instance of
java.lang.Double
.public Object toObject(double value)
java.lang.Double
object.toObject
in interface IlvDataConverter
value
- The value to convert.java.lang.Double
object.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.