public class IlvDistanceAttribute extends IlvDoubleAttribute
| Constructor and Description |
|---|
IlvDistanceAttribute(IlvDistanceAttribute source)
Creates a copy of the source object.
|
IlvDistanceAttribute(IlvInputStream stream)
Reads an
IlvDistanceAttribute from an
IlvInputStream. |
IlvDistanceAttribute(IlvManager manager,
double value)
Creates a distance attribute using the specified manager to format the distance value.
|
| Modifier and Type | Method and Description |
|---|---|
IlvFeatureAttribute |
copy()
Returns a copy of the object.
|
IlvManager |
getManager()
Returns the manager associated with this attribute formatting.
|
String |
toString()
Formats the value using the manager's display preferences.
|
void |
write(IlvOutputStream stream)
Writes this to an
IlvOutputStream. |
DoubleValue, getValue, setValuepublic IlvDistanceAttribute(IlvManager manager, double value)
manager - value - public IlvDistanceAttribute(IlvInputStream stream) throws IlvReadFileException
IlvDistanceAttribute from an
IlvInputStream.stream - the input stream.IlvReadFileException - if the format is not correct.public IlvDistanceAttribute(IlvDistanceAttribute source)
source - source to copy.public IlvFeatureAttribute copy()
copy in class IlvDoubleAttributepublic String toString()
toString in class IlvDoubleAttributeIlvDoubleAttribute.toString()public void write(IlvOutputStream stream) throws IOException
IlvOutputStream.write in interface IlvPersistentObjectwrite in class IlvDoubleAttributestream - the output stream.IOException - if an error occurs.public IlvManager getManager()
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.