java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.location.QGeoRouteSegment
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QGeoRouteSegment extends QtObject implements Cloneable
Represents a segment of a route
Java wrapper for Qt class QGeoRouteSegment
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QGeoRouteSegment()
QGeoRouteSegment(QGeoRouteSegment other)
protected
QGeoRouteSegment(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QGeoRouteSegment
clone()
double
distance()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
isLegLastSegment()
boolean
isValid()
QGeoManeuver
maneuver()
QGeoRouteSegment
nextRouteSegment()
QList<QGeoCoordinate>
path()
void
setDistance(double distance)
void
setManeuver(QGeoManeuver maneuver)
void
setNextRouteSegment(QGeoRouteSegment routeSegment)
void
setPath(Collection<QGeoCoordinate> path)
void
setTravelTime(int secs)
int
travelTime()
-
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
-