java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QTouchEvent
- All Implemented Interfaces:
QtObjectInterface
public class QTouchEvent extends QInputEvent
Contains parameters that describe a touch event
Java wrapper for Qt class QTouchEvent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTouchEvent.TouchPoint
Information about a touch point in a QTouchEvent -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
QTouchEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QTouchDevice
device()
void
setDevice(QTouchDevice adevice)
void
setTarget(QObject atarget)
void
setTouchPoints(Collection<QTouchEvent.TouchPoint> atouchPoints)
void
setTouchPointStates(Qt.TouchPointState... aTouchPointStates)
Overloaded function forsetTouchPointStates(io.qt.core.Qt.TouchPointStates)
.void
setTouchPointStates(Qt.TouchPointStates aTouchPointStates)
void
setWindow(QWindow awindow)
QObject
target()
String
toString()
QList<QTouchEvent.TouchPoint>
touchPoints()
Qt.TouchPointStates
touchPointStates()
QWindow
window()
Methods inherited from class io.qt.gui.QInputEvent
modifiers, setModifiers, setModifiers, setTimestamp, timestamp
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, setAccepted, setT, spontaneous, t, type
-
Constructor Details
-
QTouchEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
device
-
setDevice
-
setTarget
-
setTouchPointStates
Overloaded function for
setTouchPointStates(io.qt.core.Qt.TouchPointStates)
. -
setTouchPointStates
-
setTouchPoints
-
setWindow
-
target
-
touchPointStates
-
touchPoints
-
window
-
toString
- Overrides:
toString
in classQInputEvent
-