All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QTabletEvent Maven / Gradle / Ivy

There is a newer version: 6.8.1
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

Contains parameters that describe a Tablet event

*

Java wrapper for Qt class QTabletEvent

*/ public class QTabletEvent extends io.qt.gui.QSinglePointEvent { /** *

See QTabletEvent::QTabletEvent(QEvent::Type,const QPointingDevice*,QPointF,QPointF,qreal,float,float,float,qreal,float,Qt::KeyboardModifiers,Qt::MouseButton,Qt::MouseButtons)

* @param t * @param device * @param pos * @param globalPos * @param pressure * @param xTilt * @param yTilt * @param tangentialPressure * @param rotation * @param z * @param keyState * @param button * @param buttons */ public QTabletEvent(io.qt.core.QEvent.@NonNull Type t, io.qt.gui.@Nullable QPointingDevice device, io.qt.core.@NonNull QPointF pos, io.qt.core.@NonNull QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, io.qt.core.Qt.@NonNull KeyboardModifiers keyState, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons){ super((QPrivateConstructor)null); initialize_native(this, t, device, pos, globalPos, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, button, buttons); } private native static void initialize_native(QTabletEvent instance, io.qt.core.QEvent.Type t, io.qt.gui.QPointingDevice device, io.qt.core.QPointF pos, io.qt.core.QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, io.qt.core.Qt.KeyboardModifiers keyState, io.qt.core.Qt.MouseButton button, io.qt.core.Qt.MouseButtons buttons); /** *

See QTabletEvent::QTabletEvent(QTabletEvent)

* @param arg__1 */ protected QTabletEvent(io.qt.gui.@StrictNonNull QTabletEvent arg__1){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); initialize_native(this, arg__1); } private native static void initialize_native(QTabletEvent instance, io.qt.gui.QTabletEvent arg__1); /** *

See QTabletEvent::globalPos()const

* * @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead@return */ @Deprecated @QtUninvokable public final io.qt.core.@NonNull QPoint globalPos(){ return globalPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native io.qt.core.QPoint globalPos_native_constfct(long __this__nativeId); /** *

See QTabletEvent::globalPosF()const

* * @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead@return */ @Deprecated @QtUninvokable public final io.qt.core.@NonNull QPointF globalPosF(){ return globalPosF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native io.qt.core.QPointF globalPosF_native_constfct(long __this__nativeId); /** *

See QTabletEvent::globalX()const

* * @deprecated Use globalPosition().x()@return */ @Deprecated @QtUninvokable public final int globalX(){ return globalX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native int globalX_native_constfct(long __this__nativeId); /** *

See QTabletEvent::globalY()const

* * @deprecated Use globalPosition().y()@return */ @Deprecated @QtUninvokable public final int globalY(){ return globalY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native int globalY_native_constfct(long __this__nativeId); /** *

See QTabletEvent::hiResGlobalX()const

* * @deprecated use globalPosition().x()@return */ @Deprecated @QtUninvokable public final double hiResGlobalX(){ return hiResGlobalX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native double hiResGlobalX_native_constfct(long __this__nativeId); /** *

See QTabletEvent::hiResGlobalY()const

* * @deprecated use globalPosition().y()@return */ @Deprecated @QtUninvokable public final double hiResGlobalY(){ return hiResGlobalY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native double hiResGlobalY_native_constfct(long __this__nativeId); /** *

See QTabletEvent::operator=(QTabletEvent)

* @param other */ @QtUninvokable protected final void assign(io.qt.gui.@StrictNonNull QTabletEvent other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); assign_native_cref_QTabletEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QTabletEvent(long __this__nativeId, long other); /** *

See QTabletEvent::pos()const

* * @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead@return */ @Deprecated @QtUninvokable public final io.qt.core.@NonNull QPoint pos(){ return pos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native io.qt.core.QPoint pos_native_constfct(long __this__nativeId); /** *

See QTabletEvent::posF()const

* * @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead@return */ @Deprecated @QtUninvokable public final io.qt.core.@NonNull QPointF posF(){ return posF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native io.qt.core.QPointF posF_native_constfct(long __this__nativeId); /** *

See QTabletEvent::pressure()const

* @return */ @QtUninvokable public final double pressure(){ return pressure_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double pressure_native_constfct(long __this__nativeId); /** *

See QTabletEvent::rotation()const

* @return */ @QtUninvokable public final double rotation(){ return rotation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double rotation_native_constfct(long __this__nativeId); /** *

See QTabletEvent::tangentialPressure()const

* @return */ @QtUninvokable public final double tangentialPressure(){ return tangentialPressure_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double tangentialPressure_native_constfct(long __this__nativeId); /** *

See QTabletEvent::uniqueId()const

* * @deprecated use pointingDevice().uniqueId()@return */ @Deprecated @QtUninvokable public final long uniqueId(){ return uniqueId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native long uniqueId_native_constfct(long __this__nativeId); /** *

See QTabletEvent::x()const

* * @deprecated Use position().x()@return */ @Deprecated @QtUninvokable public final int x(){ return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native int x_native_constfct(long __this__nativeId); /** *

See QTabletEvent::xTilt()const

* @return */ @QtUninvokable public final double xTilt(){ return xTilt_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double xTilt_native_constfct(long __this__nativeId); /** *

See QTabletEvent::y()const

* * @deprecated Use position().y()@return */ @Deprecated @QtUninvokable public final int y(){ return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native int y_native_constfct(long __this__nativeId); /** *

See QTabletEvent::yTilt()const

* @return */ @QtUninvokable public final double yTilt(){ return yTilt_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double yTilt_native_constfct(long __this__nativeId); /** *

See QTabletEvent::z()const

* @return */ @QtUninvokable public final double z(){ return z_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double z_native_constfct(long __this__nativeId); /** *

See QEvent::clone()const

* @since This function was introduced in Qt 6.0. * @return */ @QtUninvokable @Override public io.qt.gui.@Nullable QTabletEvent clone(){ return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTabletEvent clone_native_constfct(long __this__nativeId); /** *

See QTabletEvent::m_tangential

* @param tangentialPressure */ @QtUninvokable protected final void setTangentialPressure(float tangentialPressure){ setTangentialPressure_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), tangentialPressure); } @QtUninvokable private native void setTangentialPressure_native_float(long __this__nativeId, float tangentialPressure); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTabletEvent(QPrivateConstructor p) { super(p); } /** *

Overloaded constructor for {@link #QTabletEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, double, float, float, float, double, float, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons)}.

*/ public QTabletEvent(io.qt.core.QEvent.@NonNull Type t, io.qt.gui.@Nullable QPointingDevice device, io.qt.core.@NonNull QPoint pos, io.qt.core.@NonNull QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, io.qt.core.Qt.@NonNull KeyboardModifiers keyState, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons) { this(t, device, new io.qt.core.QPointF(pos), globalPos, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, button, buttons); } /** *

Overloaded constructor for {@link #QTabletEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, double, float, float, float, double, float, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons)}.

*/ public QTabletEvent(io.qt.core.QEvent.@NonNull Type t, io.qt.gui.@Nullable QPointingDevice device, io.qt.core.@NonNull QPointF pos, io.qt.core.@NonNull QPoint globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, io.qt.core.Qt.@NonNull KeyboardModifiers keyState, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons) { this(t, device, pos, new io.qt.core.QPointF(globalPos), pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, button, buttons); } /** *

Overloaded constructor for {@link #QTabletEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, double, float, float, float, double, float, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons)}.

*/ public QTabletEvent(io.qt.core.QEvent.@NonNull Type t, io.qt.gui.@Nullable QPointingDevice device, io.qt.core.@NonNull QPoint pos, io.qt.core.@NonNull QPoint globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, io.qt.core.Qt.@NonNull KeyboardModifiers keyState, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButtons buttons) { this(t, device, new io.qt.core.QPointF(pos), new io.qt.core.QPointF(globalPos), pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, button, buttons); } /** *

Overloaded constructor for {@link #QTabletEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, double, float, float, float, double, float, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons)}.

*/ public QTabletEvent(io.qt.core.QEvent.@NonNull Type t, io.qt.gui.@Nullable QPointingDevice device, io.qt.core.@NonNull QPointF pos, io.qt.core.@NonNull QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, io.qt.core.Qt.@NonNull KeyboardModifiers keyState, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButton @NonNull... buttons) { this(t, device, pos, globalPos, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, button, new io.qt.core.Qt.MouseButtons(buttons)); } /** *

Overloaded constructor for {@link #QTabletEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, double, float, float, float, double, float, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons)}.

*/ public QTabletEvent(io.qt.core.QEvent.@NonNull Type t, io.qt.gui.@Nullable QPointingDevice device, io.qt.core.@NonNull QPoint pos, io.qt.core.@NonNull QPointF globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, io.qt.core.Qt.@NonNull KeyboardModifiers keyState, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButton @NonNull... buttons) { this(t, device, new io.qt.core.QPointF(pos), globalPos, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, button, new io.qt.core.Qt.MouseButtons(buttons)); } /** *

Overloaded constructor for {@link #QTabletEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, double, float, float, float, double, float, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons)}.

*/ public QTabletEvent(io.qt.core.QEvent.@NonNull Type t, io.qt.gui.@Nullable QPointingDevice device, io.qt.core.@NonNull QPointF pos, io.qt.core.@NonNull QPoint globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, io.qt.core.Qt.@NonNull KeyboardModifiers keyState, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButton @NonNull... buttons) { this(t, device, pos, new io.qt.core.QPointF(globalPos), pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, button, new io.qt.core.Qt.MouseButtons(buttons)); } /** *

Overloaded constructor for {@link #QTabletEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.QPointF, io.qt.core.QPointF, double, float, float, float, double, float, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.MouseButton, io.qt.core.Qt.MouseButtons)}.

*/ public QTabletEvent(io.qt.core.QEvent.@NonNull Type t, io.qt.gui.@Nullable QPointingDevice device, io.qt.core.@NonNull QPoint pos, io.qt.core.@NonNull QPoint globalPos, double pressure, float xTilt, float yTilt, float tangentialPressure, double rotation, float z, io.qt.core.Qt.@NonNull KeyboardModifiers keyState, io.qt.core.Qt.@NonNull MouseButton button, io.qt.core.Qt.@NonNull MouseButton @NonNull... buttons) { this(t, device, new io.qt.core.QPointF(pos), new io.qt.core.QPointF(globalPos), pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, button, new io.qt.core.Qt.MouseButtons(buttons)); } /** * @deprecated Use {@link #assign(io.qt.gui.QTabletEvent)} instead. */ @Deprecated @QtUninvokable protected final void set(io.qt.gui.@StrictNonNull QTabletEvent other) { assign(other); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy