java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QPointerEvent
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QSinglePointEvent
,QTouchEvent
public class QPointerEvent extends QInputEvent
A base class for pointer events
Java wrapper for Qt class QPointerEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QPointerEvent(QEvent.Type type, QPointingDevice dev)
QPointerEvent(QEvent.Type type, QPointingDevice dev, Qt.KeyboardModifiers modifiers)
Overloaded constructor forQPointerEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, java.util.Collection)
withpoints = java.util.Collections.emptyList()
.QPointerEvent(QEvent.Type type, QPointingDevice dev, Qt.KeyboardModifiers modifiers, Collection<QEventPoint> points)
protected
QPointerEvent(QPointerEvent arg__1)
protected
QPointerEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description boolean
addPassiveGrabber(QEventPoint point, QObject grabber)
boolean
allPointsAccepted()
boolean
allPointsGrabbed()
void
clearPassiveGrabbers(QEventPoint point)
QPointerEvent
clone()
QObject
exclusiveGrabber(QEventPoint point)
boolean
isBeginEvent()
boolean
isEndEvent()
boolean
isUpdateEvent()
QList<QObject>
passiveGrabbers(QEventPoint point)
QEventPoint
point(long i)
QEventPoint
pointById(int id)
long
pointCount()
QPointingDevice.PointerType
pointerType()
QPointingDevice
pointingDevice()
QList<QEventPoint>
points()
boolean
removePassiveGrabber(QEventPoint point, QObject grabber)
protected void
set(QPointerEvent other)
void
setAccepted(boolean accepted)
void
setExclusiveGrabber(QEventPoint point, QObject exclusiveGrabber)
void
setPoint(long i, QEventPoint point)
void
setTimestamp(long timestamp)
String
toString()
Methods inherited from class io.qt.gui.QInputEvent
device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, type
-
Constructor Details
-
QPointerEvent
Overloaded constructor for
QPointerEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, java.util.Collection)
withpoints = java.util.Collections.emptyList()
. -
QPointerEvent
Overloaded constructor for
QPointerEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, java.util.Collection)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
points = java.util.Collections.emptyList()
-
QPointerEvent
public QPointerEvent(QEvent.Type type, QPointingDevice dev, Qt.KeyboardModifiers modifiers, Collection<QEventPoint> points) -
QPointerEvent
-
QPointerEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addPassiveGrabber
-
allPointsAccepted
-
allPointsGrabbed
-
clearPassiveGrabbers
-
exclusiveGrabber
-
set
-
passiveGrabbers
-
point
-
pointById
-
pointCount
-
pointerType
-
pointingDevice
-
points
-
removePassiveGrabber
-
setExclusiveGrabber
-
clone
- Overrides:
clone
in classQInputEvent
-
isBeginEvent
-
isEndEvent
-
isUpdateEvent
-
setAccepted
- Overrides:
setAccepted
in classQEvent
-
setTimestamp
- Overrides:
setTimestamp
in classQInputEvent
-
setPoint
-
toString
- Overrides:
toString
in classQInputEvent
-