- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FlashModes(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 Type Method Description QCameraExposure.FlashModes
clone()
Clones the flagsQCameraExposure.FlashModes
combined(QCameraExposure.FlashMode e)
Combines this flags with enum entry.int
compareTo(QCameraExposure.FlashModes other)
QCameraExposure.FlashMode[]
flags()
Returns an array of flag objects represented by this FlashModes.QCameraExposure.FlashModes
setFlag(QCameraExposure.FlashMode e)
Sets the flage
QCameraExposure.FlashModes
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>
-