io.qt.gui.QTabletEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.gui;
/**
* Contains parameters that describe a Tablet event
* Java wrapper for Qt class QTabletEvent
*/
public class QTabletEvent extends io.qt.gui.QSinglePointEvent
{
/**
* 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.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.MouseButton ... buttons){
this(t, device, pos, globalPos, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, button, new io.qt.core.Qt.MouseButtons(buttons));
}
/**
*
*/
public QTabletEvent(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){
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);
protected QTabletEvent(io.qt.gui.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);
/**
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead
*/
@Deprecated
@io.qt.QtUninvokable
public final io.qt.core.QPoint globalPos(){
return globalPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native io.qt.core.QPoint globalPos_native_constfct(long __this__nativeId);
/**
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead
*/
@Deprecated
@io.qt.QtUninvokable
public final io.qt.core.QPointF globalPosF(){
return globalPosF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native io.qt.core.QPointF globalPosF_native_constfct(long __this__nativeId);
/**
* @deprecated Use globalPosition().x()
*/
@Deprecated
@io.qt.QtUninvokable
public final int globalX(){
return globalX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native int globalX_native_constfct(long __this__nativeId);
/**
* @deprecated Use globalPosition().y()
*/
@Deprecated
@io.qt.QtUninvokable
public final int globalY(){
return globalY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native int globalY_native_constfct(long __this__nativeId);
/**
* @deprecated use globalPosition().x()
*/
@Deprecated
@io.qt.QtUninvokable
public final double hiResGlobalX(){
return hiResGlobalX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native double hiResGlobalX_native_constfct(long __this__nativeId);
/**
* @deprecated use globalPosition().y()
*/
@Deprecated
@io.qt.QtUninvokable
public final double hiResGlobalY(){
return hiResGlobalY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native double hiResGlobalY_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected final void set(io.qt.gui.QTabletEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
set_native_cref_QTabletEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void set_native_cref_QTabletEvent(long __this__nativeId, long other);
/**
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead
*/
@Deprecated
@io.qt.QtUninvokable
public final io.qt.core.QPoint pos(){
return pos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native io.qt.core.QPoint pos_native_constfct(long __this__nativeId);
/**
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead
*/
@Deprecated
@io.qt.QtUninvokable
public final io.qt.core.QPointF posF(){
return posF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native io.qt.core.QPointF posF_native_constfct(long __this__nativeId);
/**
* See QTabletEvent::pressure()const
*/
@io.qt.QtUninvokable
public final double pressure(){
return pressure_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double pressure_native_constfct(long __this__nativeId);
/**
* See QTabletEvent::rotation()const
*/
@io.qt.QtUninvokable
public final double rotation(){
return rotation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double rotation_native_constfct(long __this__nativeId);
/**
* See QTabletEvent::tangentialPressure()const
*/
@io.qt.QtUninvokable
public final double tangentialPressure(){
return tangentialPressure_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double tangentialPressure_native_constfct(long __this__nativeId);
/**
* @deprecated use pointingDevice().uniqueId()
*/
@Deprecated
@io.qt.QtUninvokable
public final long uniqueId(){
return uniqueId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native long uniqueId_native_constfct(long __this__nativeId);
/**
* @deprecated Use position().x()
*/
@Deprecated
@io.qt.QtUninvokable
public final int x(){
return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native int x_native_constfct(long __this__nativeId);
/**
* See QTabletEvent::xTilt()const
*/
@io.qt.QtUninvokable
public final double xTilt(){
return xTilt_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double xTilt_native_constfct(long __this__nativeId);
/**
* @deprecated Use position().y()
*/
@Deprecated
@io.qt.QtUninvokable
public final int y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native int y_native_constfct(long __this__nativeId);
/**
* See QTabletEvent::yTilt()const
*/
@io.qt.QtUninvokable
public final double yTilt(){
return yTilt_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double yTilt_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final double z(){
return z_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double z_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.gui.QTabletEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTabletEvent clone_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected final void setTangentialPressure(float tangentialPressure){
setTangentialPressure_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), tangentialPressure);
}
@io.qt.QtUninvokable
private native void setTangentialPressure_native_float(long __this__nativeId, float tangentialPressure);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QTabletEvent(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy