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