- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QCameraExposure.FlashModes>
- Enclosing class:
QCameraExposure
public static final class QCameraExposure.FlashModes
extends QFlags<QCameraExposure.FlashMode>
implements Comparable<QCameraExposure.FlashModes>
QFlags type for enum
QCameraExposure.FlashMode
- See Also:
-
Constructor Summary
ConstructorDescriptionFlashModes
(int value) Creates a new FlashModes with givenvalue
.FlashModes
(QCameraExposure.FlashMode... args) Creates a new FlashModes where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QCameraExposure.FlashMode[]
flags()
Returns an array of flag objects represented by this FlashModes.Sets the flage
setFlag
(QCameraExposure.FlashMode e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
FlashModes
Creates a new FlashModes where the flags inargs
are set.- Parameters:
args
- enum entries
-
FlashModes
public FlashModes(int value) Creates a new FlashModes with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QCameraExposure.FlashMode>
- Parameters:
e
- enum entry- Returns:
- new FlashModes
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QCameraExposure.FlashMode>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QCameraExposure.FlashMode>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this FlashModes.- Overrides:
flags
in classQFlags<QCameraExposure.FlashMode>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QCameraExposure.FlashMode>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QCameraExposure.FlashModes>
-