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