- 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 inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt3DCore.ChangeFlagsclone()Clones the flagsfinal Qt3DCore.ChangeFlagsCombines this flags with enum entry.final intcompareTo(Qt3DCore.ChangeFlags other) final Qt3DCore.ChangeFlag []flags()Returns an array of flag objects represented by this ChangeFlags.final Qt3DCore.ChangeFlagsSets the flagefinal Qt3DCore.ChangeFlagssetFlag(Qt3DCore.ChangeFlag e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
ChangeFlags
public ChangeFlags()Creates a new ChangeFlags. -
ChangeFlags
Creates a new ChangeFlags where the flags inargsare 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:
combinedin classQFlags<Qt3DCore.ChangeFlag>- Parameters:
e- enum entry- Returns:
- new ChangeFlags
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<Qt3DCore.ChangeFlag>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<Qt3DCore.ChangeFlag>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<Qt3DCore.ChangeFlag>
-
compareTo
- Specified by:
compareToin 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
-