- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Qt.TouchPointStates>
- Enclosing class:
- Qt
public static final class Qt.TouchPointStates extends QFlags<Qt.TouchPointState> implements Comparable<Qt.TouchPointStates>
QFlags type for enum
Qt.TouchPointState
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description TouchPointStates(int value)
Creates a new TouchPointStates with givenvalue
.TouchPointStates(Qt.TouchPointState... args)
Creates a new TouchPointStates where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description Qt.TouchPointStates
clone()
Clones the flagsQt.TouchPointStates
combined(Qt.TouchPointState e)
Combines this flags with enum entry.int
compareTo(Qt.TouchPointStates other)
Qt.TouchPointState[]
flags()
Returns an array of flag objects represented by this TouchPointStates.Qt.TouchPointStates
setFlag(Qt.TouchPointState e)
Sets the flage
Qt.TouchPointStates
setFlag(Qt.TouchPointState e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
TouchPointStates
Creates a new TouchPointStates where the flags inargs
are set.- Parameters:
args
- enum entries
-
TouchPointStates
public TouchPointStates(int value)Creates a new TouchPointStates with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<Qt.TouchPointState>
- Parameters:
e
- enum entry- Returns:
- new TouchPointStates
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<Qt.TouchPointState>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<Qt.TouchPointState>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this TouchPointStates.- Overrides:
flags
in classQFlags<Qt.TouchPointState>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<Qt.TouchPointState>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Qt.TouchPointStates>
-