- 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:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ChangeFlags.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 TypeMethodDescriptionfinal Qt3DCore.ChangeFlags
clone()
Clones the flagsfinal Qt3DCore.ChangeFlags
Combines this flags with enum entry.final int
compareTo
(Qt3DCore.ChangeFlags other) final Qt3DCore.ChangeFlag []
flags()
Returns an array of flag objects represented by this ChangeFlags.final Qt3DCore.ChangeFlags
Sets the flage
final Qt3DCore.ChangeFlags
setFlag
(Qt3DCore.ChangeFlag e, boolean on) Sets or clears the flagflag
final void
setValue
(int value) Sets the value of this QFlags.final int
value()
Returns the value of this QFlags.
-
Constructor Details
-
ChangeFlags
public ChangeFlags()Creates a new ChangeFlags. -
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>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value
- new value
-