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
ConstructorsConstructorDescriptionCreates a new AreaMonitorFeatures.AreaMonitorFeatures(int value) Creates a new AreaMonitorFeatures with givenvalue.Creates a new AreaMonitorFeatures where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intflags()Returns an array of flag objects represented by this AreaMonitorFeatures.Sets the flagesetFlag(QGeoAreaMonitorSource.AreaMonitorFeature 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
-
AreaMonitorFeatures
public AreaMonitorFeatures()Creates a new AreaMonitorFeatures. -
AreaMonitorFeatures
Creates a new AreaMonitorFeatures where the flags inargsare 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:
combinedin classQFlags<QGeoAreaMonitorSource.AreaMonitorFeature>- Parameters:
e- enum entry- Returns:
- new AreaMonitorFeatures
-
setFlag
public final QGeoAreaMonitorSource.AreaMonitorFeatures setFlag(QGeoAreaMonitorSource.AreaMonitorFeature e) Sets the flage- Overrides:
setFlagin 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:
setFlagin 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:
flagsin classQFlags<QGeoAreaMonitorSource.AreaMonitorFeature>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QGeoAreaMonitorSource.AreaMonitorFeature>
-
compareTo
- Specified by:
compareToin interfaceComparable<QGeoAreaMonitorSource.AreaMonitorFeatures>
-
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
-