java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.location.QGeoRouteSegment
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a segment of a route
Java wrapper for Qt's class QGeoRouteSegment
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQGeoRouteSegment
(QGeoRouteSegment other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final double
distance()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final boolean
final boolean
isValid()
final QGeoManeuver
maneuver()
final QGeoRouteSegment
final QList<QGeoCoordinate>
path()
final void
setDistance
(double distance) final void
setManeuver
(QGeoManeuver maneuver) final void
setNextRouteSegment
(QGeoRouteSegment routeSegment) final void
setPath
(Collection<? extends QGeoCoordinate> path) final void
setTravelTime
(int secs) final int
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QGeoRouteSegment
public QGeoRouteSegment() -
QGeoRouteSegment
-
QGeoRouteSegment
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
distance
-
isLegLastSegment
-
isValid
-
maneuver
-
nextRouteSegment
-
path
-
setDistance
-
setManeuver
-
setNextRouteSegment
-
setPath
-
setTravelTime
-
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
-