- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DeliveryFlags(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 Type Method Description QSceneChange.DeliveryFlags
clone()
Clones the flagsQSceneChange.DeliveryFlags
combined(QSceneChange.DeliveryFlag e)
Combines this flags with enum entry.int
compareTo(QSceneChange.DeliveryFlags other)
QSceneChange.DeliveryFlag[]
flags()
Returns an array of flag objects represented by this DeliveryFlags.QSceneChange.DeliveryFlags
setFlag(QSceneChange.DeliveryFlag e)
Sets the flage
QSceneChange.DeliveryFlags
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>
-