java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.location.QGeoRoute
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QGeoRouteLeg
public class QGeoRoute extends QtObject implements Cloneable
Represents a route between two points
Java wrapper for Qt class QGeoRoute
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QGeoRoute()
QGeoRoute(QGeoRoute other)
protected
QGeoRoute(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QGeoRectangle
bounds()
QGeoRoute
clone()
double
distance()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.QMap<String,Object>
extendedAttributes()
QGeoRouteSegment
firstRouteSegment()
int
hashCode()
QList<QGeoCoordinate>
path()
QGeoRouteRequest
request()
String
routeId()
QList<QGeoRouteLeg>
routeLegs()
void
setBounds(QGeoRectangle bounds)
void
setDistance(double distance)
void
setExtendedAttributes(Map<String,Object> extendedAttributes)
void
setFirstRouteSegment(QGeoRouteSegment routeSegment)
void
setPath(Collection<QGeoCoordinate> path)
void
setRequest(QGeoRouteRequest request)
void
setRouteId(String id)
void
setRouteLegs(Collection<QGeoRouteLeg> legs)
void
setTravelMode(QGeoRouteRequest.TravelMode mode)
void
setTravelTime(int secs)
QGeoRouteRequest.TravelMode
travelMode()
int
travelTime()
-
Constructor Details
-
Method Details
-
bounds
-
distance
-
extendedAttributes
-
firstRouteSegment
-
path
-
request
-
routeId
-
routeLegs
-
setBounds
-
setDistance
-
setExtendedAttributes
-
setFirstRouteSegment
-
setPath
-
setRequest
-
setRouteId
-
setRouteLegs
-
setTravelMode
-
setTravelTime
-
travelMode
-
travelTime
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-