java.lang.Object
io.qt.QtObject
io.qt.location.QGeoRouteRequest
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents the parameters and restrictions which define a request for routing information
Java wrapper for Qt class QGeoRouteRequest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQGeoRouteRequest::FeatureType
static final class
QFlags
type for enumQGeoRouteRequest.FeatureType
static enum
Java wrapper for Qt enumQGeoRouteRequest::FeatureWeight
static final class
QFlags
type for enumQGeoRouteRequest.FeatureWeight
static enum
Java wrapper for Qt enumQGeoRouteRequest::ManeuverDetail
static final class
QFlags
type for enumQGeoRouteRequest.ManeuverDetail
static enum
Java wrapper for Qt enumQGeoRouteRequest::RouteOptimization
static final class
QFlags
type for enumQGeoRouteRequest.RouteOptimization
static enum
Java wrapper for Qt enumQGeoRouteRequest::SegmentDetail
static final class
QFlags
type for enumQGeoRouteRequest.SegmentDetail
static enum
Java wrapper for Qt enumQGeoRouteRequest::TravelMode
static final class
QFlags
type for enumQGeoRouteRequest.TravelMode
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQGeoRouteRequest(java.util.Collection)
withwaypoints = java.util.Collections.emptyList()
.QGeoRouteRequest
(QGeoRouteRequest other) QGeoRouteRequest
(QGeoCoordinate origin, QGeoCoordinate destination) QGeoRouteRequest
(Collection<? extends QGeoCoordinate> waypoints) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QGeoRouteRequest other) clone()
Creates and returns a copy of this object.final QDateTime
final boolean
equals
(QGeoRouteRequest rhs) boolean
final QList<QGeoRectangle>
featureWeight
(QGeoRouteRequest.FeatureType featureType) int
hashCode()
Returns the objects's hash code computed byqHash(QGeoRouteRequest)
.final int
final void
setDepartureTime
(QDateTime departureTime) final void
setExcludeAreas
(Collection<? extends QGeoRectangle> areas) final void
setFeatureWeight
(QGeoRouteRequest.FeatureType featureType, QGeoRouteRequest.FeatureWeight featureWeight) final void
setManeuverDetail
(QGeoRouteRequest.ManeuverDetail maneuverDetail) final void
setNumberAlternativeRoutes
(int alternatives) final void
setRouteOptimization
(QGeoRouteRequest.RouteOptimization ... optimization) Overloaded function forsetRouteOptimization(io.qt.location.QGeoRouteRequest.RouteOptimizations)
.final void
setRouteOptimization
(QGeoRouteRequest.RouteOptimizations optimization) final void
setSegmentDetail
(QGeoRouteRequest.SegmentDetail segmentDetail) final void
setTravelModes
(QGeoRouteRequest.TravelMode ... travelModes) Overloaded function forsetTravelModes(io.qt.location.QGeoRouteRequest.TravelModes)
.final void
setTravelModes
(QGeoRouteRequest.TravelModes travelModes) final void
setWaypoints
(Collection<? extends QGeoCoordinate> waypoints) final void
swap
(QGeoRouteRequest other) SeeQGeoRouteRequest::
swap(QGeoRouteRequest&) final QList<QGeoCoordinate>
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QGeoRouteRequest
- Parameters:
origin
-destination
-
-
QGeoRouteRequest
- Parameters:
other
-
-
QGeoRouteRequest
- Parameters:
waypoints
-
-
QGeoRouteRequest
public QGeoRouteRequest()Overloaded constructor for
QGeoRouteRequest(java.util.Collection)
withwaypoints = java.util.Collections.emptyList()
.
-
-
Method Details
-
departureTime
- Returns:
-
excludeAreas
- Returns:
-
featureTypes
- Returns:
-
featureWeight
@QtUninvokable public final QGeoRouteRequest.FeatureWeight featureWeight(QGeoRouteRequest.FeatureType featureType) - Parameters:
featureType
-- Returns:
-
maneuverDetail
- Returns:
-
numberAlternativeRoutes
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
rhs
-- Returns:
-
routeOptimization
- Returns:
-
segmentDetail
- Returns:
-
setDepartureTime
- Parameters:
departureTime
-
-
setExcludeAreas
- Parameters:
areas
-
-
setFeatureWeight
@QtUninvokable public final void setFeatureWeight(QGeoRouteRequest.FeatureType featureType, QGeoRouteRequest.FeatureWeight featureWeight) See
QGeoRouteRequest::
setFeatureWeight(QGeoRouteRequest::FeatureType, QGeoRouteRequest::FeatureWeight) - Parameters:
featureType
-featureWeight
-
-
setManeuverDetail
- Parameters:
maneuverDetail
-
-
setNumberAlternativeRoutes
- Parameters:
alternatives
-
-
setRouteOptimization
@QtUninvokable public final void setRouteOptimization(QGeoRouteRequest.RouteOptimizations optimization) - Parameters:
optimization
-
-
setSegmentDetail
- Parameters:
segmentDetail
-
-
setTravelModes
- Parameters:
travelModes
-
-
setWaypoints
- Parameters:
waypoints
-
-
swap
See
QGeoRouteRequest::
swap(QGeoRouteRequest&) - Parameters:
other
-
-
travelModes
- Returns:
-
waypoints
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QGeoRouteRequest)
. -
clone
Creates and returns a copy of this object.
-
setRouteOptimization
@QtUninvokable public final void setRouteOptimization(QGeoRouteRequest.RouteOptimization ... optimization) Overloaded function for
setRouteOptimization(io.qt.location.QGeoRouteRequest.RouteOptimizations)
. -
setTravelModes
Overloaded function for
setTravelModes(io.qt.location.QGeoRouteRequest.TravelModes)
.
-