java.lang.Object
io.qt.QtObject
io.qt.location.QGeoRoute
io.qt.location.QGeoRouteLeg
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a leg of a route, that is the portion of a route between one waypoint and the next. This is a subclass of QGeoRoute, exposing route leg specific API
Java wrapper for Qt class QGeoRouteLeg
- Since:
- This class was introduced in Qt 5.12.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QGeoRouteLeg other) SeeQGeoRouteLeg::
operator=(QGeoRouteLeg) clone()
Creates and returns a copy of this object.final int
legIndex()
final QGeoRoute
final void
setLegIndex
(int idx) final void
setOverallRoute
(QGeoRoute route) Methods inherited from class io.qt.location.QGeoRoute
assign, bounds, distance, equals, equals, extendedAttributes, firstRouteSegment, hashCode, path, request, routeId, routeLegs, setBounds, setDistance, setExtendedAttributes, setFirstRouteSegment, setPath, setRequest, setRouteId, setRouteLegs, setTravelMode, setTravelTime, travelMode, travelTime
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QGeoRouteLeg
public QGeoRouteLeg() -
QGeoRouteLeg
- Parameters:
other
-
-
-
Method Details
-
legIndex
- Returns:
-
assign
See
QGeoRouteLeg::
operator=(QGeoRouteLeg) - Parameters:
other
-
-
overallRoute
- Returns:
-
setLegIndex
- Parameters:
idx
-
-
setOverallRoute
- Parameters:
route
-
-
clone
Creates and returns a copy of this object.
-