- 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
ConstructorsConstructorDescriptionCreates a new WindowTypes.WindowTypes
(int value) Creates a new WindowTypes with givenvalue
.WindowTypes
(QXcbWindow.WindowType ... args) Creates a new WindowTypes where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QXcbWindow.WindowTypes
clone()
Clones the flagsfinal QXcbWindow.WindowTypes
Combines this flags with enum entry.final int
compareTo
(QXcbWindow.WindowTypes other) final QXcbWindow.WindowType []
flags()
Returns an array of flag objects represented by this WindowTypes.final QXcbWindow.WindowTypes
Sets the flage
final QXcbWindow.WindowTypes
setFlag
(QXcbWindow.WindowType 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
-
WindowTypes
public WindowTypes()Creates a new WindowTypes. -
WindowTypes
Creates a new WindowTypes where the flags inargs
are 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:
combined
in classQFlags<QXcbWindow.WindowType>
- Parameters:
e
- enum entry- Returns:
- new WindowTypes
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QXcbWindow.WindowType>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in 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:
flags
in classQFlags<QXcbWindow.WindowType>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QXcbWindow.WindowType>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QXcbWindow.WindowTypes>
-
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
-