- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MappingFeatures(int value)
Creates a new MappingFeatures with givenvalue
.MappingFeatures(QGeoServiceProvider.MappingFeature... args)
Creates a new MappingFeatures where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QGeoServiceProvider.MappingFeatures
clone()
Clones the flagsQGeoServiceProvider.MappingFeatures
combined(QGeoServiceProvider.MappingFeature e)
Combines this flags with enum entry.int
compareTo(QGeoServiceProvider.MappingFeatures other)
QGeoServiceProvider.MappingFeature[]
flags()
Returns an array of flag objects represented by this MappingFeatures.QGeoServiceProvider.MappingFeatures
setFlag(QGeoServiceProvider.MappingFeature e)
Sets the flage
QGeoServiceProvider.MappingFeatures
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>
-