- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QXcbWindow.WindowTypes>
- Enclosing interface:
QXcbWindow
public static final class QXcbWindow.WindowTypes
extends QFlags<QXcbWindow.WindowType>
implements Comparable<QXcbWindow.WindowTypes>
QFlags type for enum QXcbWindow.WindowType- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWindowTypes(int value) Creates a new WindowTypes with givenvalue.WindowTypes(QXcbWindow.WindowType ... args) Creates a new WindowTypes where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QXcbWindow.WindowTypesclone()Clones the flagsfinal QXcbWindow.WindowTypesCombines this flags with enum entry.final intcompareTo(QXcbWindow.WindowTypes other) final QXcbWindow.WindowType []flags()Returns an array of flag objects represented by this WindowTypes.final QXcbWindow.WindowTypesSets the flagefinal QXcbWindow.WindowTypessetFlag(QXcbWindow.WindowType e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
WindowTypes
Creates a new WindowTypes where the flags inargsare set.- Parameters:
args- enum entries
-
WindowTypes
public WindowTypes(int value) Creates a new WindowTypes with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QXcbWindow.WindowType>- Parameters:
e- enum entry- Returns:
- new WindowTypes
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QXcbWindow.WindowType>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QXcbWindow.WindowType>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this WindowTypes.- Overrides:
flagsin classQFlags<QXcbWindow.WindowType>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QXcbWindow.WindowType>
-
compareTo
- Specified by:
compareToin interfaceComparable<QXcbWindow.WindowTypes>
-