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