java.lang.Object
io.qt.QFlags<QGeoServiceProvider.NavigationFeature>
io.qt.location.QGeoServiceProvider.NavigationFeatures
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QGeoServiceProvider.NavigationFeatures>
- Enclosing class:
- QGeoServiceProvider
public static final class QGeoServiceProvider.NavigationFeatures extends QFlags<QGeoServiceProvider.NavigationFeature> implements Comparable<QGeoServiceProvider.NavigationFeatures>
QFlags type for enum
QGeoServiceProvider.NavigationFeature
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NavigationFeatures(int value)
Creates a new NavigationFeatures with givenvalue
.NavigationFeatures(QGeoServiceProvider.NavigationFeature... args)
Creates a new NavigationFeatures where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QGeoServiceProvider.NavigationFeatures
clone()
Clones the flagsQGeoServiceProvider.NavigationFeatures
combined(QGeoServiceProvider.NavigationFeature e)
Combines this flags with enum entry.int
compareTo(QGeoServiceProvider.NavigationFeatures other)
QGeoServiceProvider.NavigationFeature[]
flags()
Returns an array of flag objects represented by this NavigationFeatures.QGeoServiceProvider.NavigationFeatures
setFlag(QGeoServiceProvider.NavigationFeature e)
Sets the flage
QGeoServiceProvider.NavigationFeatures
setFlag(QGeoServiceProvider.NavigationFeature e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
NavigationFeatures
Creates a new NavigationFeatures where the flags inargs
are set.- Parameters:
args
- enum entries
-
NavigationFeatures
public NavigationFeatures(int value)Creates a new NavigationFeatures with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
public final QGeoServiceProvider.NavigationFeatures combined(QGeoServiceProvider.NavigationFeature e)Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QGeoServiceProvider.NavigationFeature>
- Parameters:
e
- enum entry- Returns:
- new NavigationFeatures
-
setFlag
public final QGeoServiceProvider.NavigationFeatures setFlag(QGeoServiceProvider.NavigationFeature e)Sets the flage
- Overrides:
setFlag
in classQFlags<QGeoServiceProvider.NavigationFeature>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QGeoServiceProvider.NavigationFeatures setFlag(QGeoServiceProvider.NavigationFeature e, boolean on)Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QGeoServiceProvider.NavigationFeature>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this NavigationFeatures.- Overrides:
flags
in classQFlags<QGeoServiceProvider.NavigationFeature>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QGeoServiceProvider.NavigationFeature>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QGeoServiceProvider.NavigationFeatures>
-