- 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
ConstructorsConstructorDescriptionMappingFeatures(int value) Creates a new MappingFeatures with givenvalue.Creates a new MappingFeatures where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QGeoServiceProvider.MappingFeature []flags()Returns an array of flag objects represented by this MappingFeatures.Sets the flagesetFlag(QGeoServiceProvider.MappingFeature e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
MappingFeatures
Creates a new MappingFeatures where the flags inargsare 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:
combinedin classQFlags<QGeoServiceProvider.MappingFeature>- Parameters:
e- enum entry- Returns:
- new MappingFeatures
-
setFlag
Sets the flage- Overrides:
setFlagin 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:
setFlagin 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:
flagsin classQFlags<QGeoServiceProvider.MappingFeature>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QGeoServiceProvider.MappingFeature>
-
compareTo
- Specified by:
compareToin interfaceComparable<QGeoServiceProvider.MappingFeatures>
-