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