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