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