Interface RoutePlot
- All Known Implementing Classes:
RoutePlotQuestion
,RoutePlotQuestionProfile
public interface RoutePlot
An interface to mark Route Plotting questions and question profiles.
- Since:
- 2.3
- Version:
- 2.3
- Author:
- Luke
-
Method Summary
Modifier and TypeMethodDescriptionReturns the arrival Airport for this route.Returns the departure Airport for this route.int
Returns the distance between the two Airports.Returns the mid-point between the two Airports.void
Updates the arrival Airport.void
Updates the departure Airport.
-
Method Details
-
getAirportD
Airport getAirportD()Returns the departure Airport for this route.- Returns:
- the departure Airport bean
-
getAirportA
-
setAirportD
Updates the departure Airport.- Parameters:
a
- the departure Airport bean
-
setAirportA
-
getMidPoint
-
getDistance
int getDistance()Returns the distance between the two Airports.- Returns:
- the distance in miles
-