java.lang.Object
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 TypeMethodDescriptionfinal void
assign
(QGeoRouteSegment other) 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.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
-
assign
-
path
-
setDistance
-
setManeuver
-
setNextRouteSegment
-
setPath
-
setTravelTime
-
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
-