java.lang.Object
io.qt.QtObject
io.qt.location.QGeoRoute
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a route between two points
Java wrapper for Qt class QGeoRoute
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QGeoRectangle
bounds()
clone()
Creates and returns a copy of this object.final double
distance()
final boolean
boolean
final QGeoRouteSegment
int
hashCode()
Returns the objects's hash code computed byqHash(QGeoRoute)
.final int
legIndex()
final QGeoRoute
final QList<QGeoCoordinate>
path()
final QGeoRouteRequest
request()
SeeQGeoRoute::
request()const final String
routeId()
final QList<QGeoRouteSegment>
segments()
final long
final void
setBounds
(QGeoRectangle bounds) SeeQGeoRoute::
setBounds(QGeoRectangle) final void
setDistance
(double distance) SeeQGeoRoute::
setDistance(qreal) final void
setExtendedAttributes
(Map<String, ? extends Object> extendedAttributes) SeeQGeoRoute::
setExtendedAttributes(QVariantMap) final void
setFirstRouteSegment
(QGeoRouteSegment routeSegment) final void
setLegIndex
(int idx) SeeQGeoRoute::
setLegIndex(int) final void
setOverallRoute
(QGeoRoute route) SeeQGeoRoute::
setOverallRoute(QGeoRoute) final void
setPath
(Collection<? extends QGeoCoordinate> path) final void
setRequest
(QGeoRouteRequest request) SeeQGeoRoute::
setRequest(QGeoRouteRequest) final void
setRouteId
(String id) SeeQGeoRoute::
setRouteId(QString) final void
setRouteLegs
(Collection<? extends QGeoRoute> legs) SeeQGeoRoute::
setRouteLegs(QList<QGeoRoute>) final void
final void
setTravelTime
(int secs) SeeQGeoRoute::
setTravelTime(int) final void
SeeQGeoRoute::
swap(QGeoRoute&) final int
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QGeoRoute
public QGeoRoute() -
QGeoRoute
- Parameters:
other
-
-
-
Method Details
-
bounds
- Returns:
-
distance
- Returns:
-
extendedAttributes
- Returns:
-
firstRouteSegment
- Returns:
-
legIndex
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
rhs
-- Returns:
-
overallRoute
- Returns:
-
path
- Returns:
-
request
See
QGeoRoute::
request()const - Returns:
-
routeId
- Returns:
-
routeLegs
- Returns:
-
segments
- Returns:
-
segmentsCount
- Returns:
-
setBounds
See
QGeoRoute::
setBounds(QGeoRectangle) - Parameters:
bounds
-
-
setDistance
See
QGeoRoute::
setDistance(qreal) - Parameters:
distance
-
-
setExtendedAttributes
@QtUninvokable public final void setExtendedAttributes(Map<String, ? extends Object> extendedAttributes) See
QGeoRoute::
setExtendedAttributes(QVariantMap) - Parameters:
extendedAttributes
-
-
setFirstRouteSegment
- Parameters:
routeSegment
-
-
setLegIndex
See
QGeoRoute::
setLegIndex(int) - Parameters:
idx
-
-
setOverallRoute
See
QGeoRoute::
setOverallRoute(QGeoRoute) - Parameters:
route
-
-
setPath
- Parameters:
path
-
-
setRequest
See
QGeoRoute::
setRequest(QGeoRouteRequest) - Parameters:
request
-
-
setRouteId
See
QGeoRoute::
setRouteId(QString) - Parameters:
id
-
-
setRouteLegs
See
QGeoRoute::
setRouteLegs(QList<QGeoRoute>) - Parameters:
legs
-
-
setTravelMode
- Parameters:
mode
-
-
setTravelTime
See
QGeoRoute::
setTravelTime(int) - Parameters:
secs
-
-
swap
See
QGeoRoute::
swap(QGeoRoute&) - Parameters:
other
-
-
travelMode
- Returns:
-
travelTime
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QGeoRoute)
. -
clone
Creates and returns a copy of this object.
-