java.lang.Object
io.qt.QFlags<QWindowsApplication.TouchWindowTouchType>
io.qt.gui.nativeinterface.QWindowsApplication.TouchWindowTouchTypes
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QWindowsApplication.TouchWindowTouchTypes>
- Enclosing interface:
- QWindowsApplication
public static final class QWindowsApplication.TouchWindowTouchTypes
extends QFlags<QWindowsApplication.TouchWindowTouchType>
implements Comparable<QWindowsApplication.TouchWindowTouchTypes>
QFlags type for enum
QWindowsApplication.TouchWindowTouchType
- See Also:
-
Constructor Summary
ConstructorDescriptionTouchWindowTouchTypes
(int value) Creates a new TouchWindowTouchTypes with givenvalue
.Creates a new TouchWindowTouchTypes where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
flags()
Returns an array of flag objects represented by this TouchWindowTouchTypes.Sets the flage
setFlag
(QWindowsApplication.TouchWindowTouchType e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
TouchWindowTouchTypes
Creates a new TouchWindowTouchTypes where the flags inargs
are set.- Parameters:
args
- enum entries
-
TouchWindowTouchTypes
public TouchWindowTouchTypes(int value) Creates a new TouchWindowTouchTypes with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
public final QWindowsApplication.TouchWindowTouchTypes combined(QWindowsApplication.TouchWindowTouchType e) Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QWindowsApplication.TouchWindowTouchType>
- Parameters:
e
- enum entry- Returns:
- new TouchWindowTouchTypes
-
setFlag
public final QWindowsApplication.TouchWindowTouchTypes setFlag(QWindowsApplication.TouchWindowTouchType e) Sets the flage
- Overrides:
setFlag
in classQFlags<QWindowsApplication.TouchWindowTouchType>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QWindowsApplication.TouchWindowTouchTypes setFlag(QWindowsApplication.TouchWindowTouchType e, boolean on) Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QWindowsApplication.TouchWindowTouchType>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this TouchWindowTouchTypes.- Overrides:
flags
in classQFlags<QWindowsApplication.TouchWindowTouchType>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QWindowsApplication.TouchWindowTouchType>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QWindowsApplication.TouchWindowTouchTypes>
-