- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QGeoRouteRequest.FeatureTypes>
- Enclosing class:
QGeoRouteRequest
public static final class QGeoRouteRequest.FeatureTypes
extends QFlags<QGeoRouteRequest.FeatureType>
implements Comparable<QGeoRouteRequest.FeatureTypes>
QFlags
type for enum QGeoRouteRequest.FeatureType
- See Also:
-
Constructor Summary
ConstructorDescriptionFeatureTypes
(int value) Creates a new FeatureTypes with givenvalue
.FeatureTypes
(QGeoRouteRequest.FeatureType ... args) Creates a new FeatureTypes where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QGeoRouteRequest.FeatureType []
flags()
Returns an array of flag objects represented by this FeatureTypes.Sets the flage
setFlag
(QGeoRouteRequest.FeatureType e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
FeatureTypes
Creates a new FeatureTypes where the flags inargs
are set.- Parameters:
args
- enum entries
-
FeatureTypes
public FeatureTypes(int value) Creates a new FeatureTypes with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QGeoRouteRequest.FeatureType>
- Parameters:
e
- enum entry- Returns:
- new FeatureTypes
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QGeoRouteRequest.FeatureType>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QGeoRouteRequest.FeatureType>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this FeatureTypes.- Overrides:
flags
in classQFlags<QGeoRouteRequest.FeatureType>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QGeoRouteRequest.FeatureType>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QGeoRouteRequest.FeatureTypes>
-