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, setValue
public 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 IlvDoubleAttribute
public String toString()
toString
in class IlvDoubleAttribute
IlvDoubleAttribute.toString()
public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.write
in interface IlvPersistentObject
write
in class IlvDoubleAttribute
stream
- the output stream.IOException
- if an error occurs.public IlvManager getManager()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.