- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QGraphicsEffect.ChangeFlags>
- Enclosing class:
QGraphicsEffect
public static final class QGraphicsEffect.ChangeFlags
extends QFlags<QGraphicsEffect.ChangeFlag>
implements Comparable<QGraphicsEffect.ChangeFlags>
QFlags
type for enum QGraphicsEffect.ChangeFlag
- See Also:
-
Constructor Summary
ConstructorDescriptionChangeFlags
(int value) Creates a new ChangeFlags with givenvalue
.ChangeFlags
(QGraphicsEffect.ChangeFlag ... args) Creates a new ChangeFlags where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QGraphicsEffect.ChangeFlag []
flags()
Returns an array of flag objects represented by this ChangeFlags.Sets the flage
setFlag
(QGraphicsEffect.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<QGraphicsEffect.ChangeFlag>
- Parameters:
e
- enum entry- Returns:
- new ChangeFlags
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QGraphicsEffect.ChangeFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QGraphicsEffect.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<QGraphicsEffect.ChangeFlag>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QGraphicsEffect.ChangeFlag>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QGraphicsEffect.ChangeFlags>
-