public class DefaultTargetCoordinate extends AbstractCoordinate
AbstractCoordinate specialized to be used as a target.| Constructor and Description |
|---|
DefaultTargetCoordinate(String id,
double x,
double y)
Generate Target coordinate with an ID along with X and Y values.
|
| Modifier and Type | Method and Description |
|---|---|
TravelType |
getTravelType()
Not implemented, will throw exception.
|
void |
setTravelType(TravelType travelType)
Not implemented, will throw exception.
|
public DefaultTargetCoordinate(String id, double x, double y)
id - ID to associate with the target coordinatex - X value of targety - Y value of targetpublic TravelType getTravelType()
getTravelType in interface CoordinategetTravelType in class AbstractCoordinateRoute360ClientRuntimeException - any time this method is called.public void setTravelType(TravelType travelType)
setTravelType in interface CoordinatesetTravelType in class AbstractCoordinatetravelType - travelType to setRoute360ClientRuntimeException - any time this method is called.Copyright © 2017. All rights reserved.