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