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