Module qtjambi.positioning
Package io.qt.positioning
Class QGeoAreaMonitorSource.AreaMonitorFeatures
java.lang.Object
io.qt.QFlags<QGeoAreaMonitorSource.AreaMonitorFeature>
io.qt.positioning.QGeoAreaMonitorSource.AreaMonitorFeatures
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QGeoAreaMonitorSource.AreaMonitorFeatures>
- Enclosing class:
QGeoAreaMonitorSource
public static final class QGeoAreaMonitorSource.AreaMonitorFeatures
extends QFlags<QGeoAreaMonitorSource.AreaMonitorFeature>
implements Comparable<QGeoAreaMonitorSource.AreaMonitorFeatures>
QFlags type for enum
QGeoAreaMonitorSource.AreaMonitorFeature
- See Also:
-
Constructor Summary
ConstructorDescriptionAreaMonitorFeatures
(int value) Creates a new AreaMonitorFeatures with givenvalue
.Creates a new AreaMonitorFeatures 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 AreaMonitorFeatures.Sets the flage
setFlag
(QGeoAreaMonitorSource.AreaMonitorFeature e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
AreaMonitorFeatures
Creates a new AreaMonitorFeatures where the flags inargs
are set.- Parameters:
args
- enum entries
-
AreaMonitorFeatures
public AreaMonitorFeatures(int value) Creates a new AreaMonitorFeatures with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
public final QGeoAreaMonitorSource.AreaMonitorFeatures combined(QGeoAreaMonitorSource.AreaMonitorFeature e) Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QGeoAreaMonitorSource.AreaMonitorFeature>
- Parameters:
e
- enum entry- Returns:
- new AreaMonitorFeatures
-
setFlag
public final QGeoAreaMonitorSource.AreaMonitorFeatures setFlag(QGeoAreaMonitorSource.AreaMonitorFeature e) Sets the flage
- Overrides:
setFlag
in classQFlags<QGeoAreaMonitorSource.AreaMonitorFeature>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QGeoAreaMonitorSource.AreaMonitorFeatures setFlag(QGeoAreaMonitorSource.AreaMonitorFeature e, boolean on) Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QGeoAreaMonitorSource.AreaMonitorFeature>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this AreaMonitorFeatures.- Overrides:
flags
in classQFlags<QGeoAreaMonitorSource.AreaMonitorFeature>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QGeoAreaMonitorSource.AreaMonitorFeature>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QGeoAreaMonitorSource.AreaMonitorFeatures>
-