- 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
ConstructorsConstructorDescriptionCreates a new WmWindowTypes.WmWindowTypes(int value) Creates a new WmWindowTypes with givenvalue.Creates a new WmWindowTypes where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QXcbWindowFunctions.WmWindowType []flags()Returns an array of flag objects represented by this WmWindowTypes.Sets the flagesetFlag(QXcbWindowFunctions.WmWindowType e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
WmWindowTypes
public WmWindowTypes()Creates a new WmWindowTypes. -
WmWindowTypes
Creates a new WmWindowTypes where the flags inargsare 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:
combinedin classQFlags<QXcbWindowFunctions.WmWindowType>- Parameters:
e- enum entry- Returns:
- new WmWindowTypes
-
setFlag
Sets the flage- Overrides:
setFlagin 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:
setFlagin 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:
flagsin classQFlags<QXcbWindowFunctions.WmWindowType>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QXcbWindowFunctions.WmWindowType>
-
compareTo
- Specified by:
compareToin 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
-