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