java.lang.Object
io.qt.QtObject
io.qt.location.QGeoRoute
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QGeoRouteLeg
Represents a route between two points
Java wrapper for Qt's class QGeoRoute
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QGeoRectangle
bounds()
clone()
final double
distance()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QGeoRouteSegment
int
hashCode()
final QList<QGeoCoordinate>
path()
final QGeoRouteRequest
request()
final String
routeId()
final QList<QGeoRouteLeg>
final void
setBounds
(QGeoRectangle bounds) final void
setDistance
(double distance) final void
setExtendedAttributes
(Map<String, ? extends Object> extendedAttributes) final void
setFirstRouteSegment
(QGeoRouteSegment routeSegment) final void
setPath
(Collection<? extends QGeoCoordinate> path) final void
setRequest
(QGeoRouteRequest request) final void
setRouteId
(String id) final void
setRouteLegs
(Collection<? extends QGeoRouteLeg> legs) final void
final void
setTravelTime
(int secs) final int
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QGeoRoute
public QGeoRoute() -
QGeoRoute
-
QGeoRoute
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
bounds
-
distance
-
extendedAttributes
-
firstRouteSegment
-
assign
-
path
-
request
-
routeId
-
routeLegs
-
setBounds
-
setDistance
-
setExtendedAttributes
@QtUninvokable public final void setExtendedAttributes(Map<String, ? extends Object> extendedAttributes) -
setFirstRouteSegment
-
setPath
-
setRequest
-
setRouteId
-
setRouteLegs
-
setTravelMode
-
setTravelTime
-
travelMode
-
travelTime
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-