- 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
ConstructorsConstructorDescriptionCreates a new MappingFeatures.MappingFeatures(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 flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
MappingFeatures
public MappingFeatures()Creates a new MappingFeatures. -
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>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value- new value
-