
io.qt.gui.QNativeGestureEvent Maven / Gradle / Ivy
package io.qt.gui;
/**
* Contains parameters that describe a gesture event
* Java wrapper for Qt class QNativeGestureEvent
*/
public class QNativeGestureEvent extends io.qt.gui.QInputEvent
{
/**
*
*/
@Deprecated
public QNativeGestureEvent(io.qt.core.Qt.NativeGestureType type, io.qt.core.QPointF localPos, io.qt.core.QPointF windowPos, io.qt.core.QPointF screenPos, double value, int sequenceId, long intArgument){
super((QPrivateConstructor)null);
initialize_native(this, type, localPos, windowPos, screenPos, value, sequenceId, intArgument);
}
@Deprecated
private native static void initialize_native(QNativeGestureEvent instance, io.qt.core.Qt.NativeGestureType type, io.qt.core.QPointF localPos, io.qt.core.QPointF windowPos, io.qt.core.QPointF screenPos, double value, int sequenceId, long intArgument);
public QNativeGestureEvent(io.qt.core.Qt.NativeGestureType type, io.qt.gui.QTouchDevice dev, io.qt.core.QPointF localPos, io.qt.core.QPointF windowPos, io.qt.core.QPointF screenPos, double value, int sequenceId, long intArgument){
super((QPrivateConstructor)null);
initialize_native(this, type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument);
}
private native static void initialize_native(QNativeGestureEvent instance, io.qt.core.Qt.NativeGestureType type, io.qt.gui.QTouchDevice dev, io.qt.core.QPointF localPos, io.qt.core.QPointF windowPos, io.qt.core.QPointF screenPos, double value, int sequenceId, long intArgument);
/**
* See QNativeGestureEvent::device()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTouchDevice device(){
return device_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTouchDevice device_native_constfct(long __this__nativeId);
/**
* See QNativeGestureEvent::gestureType()const
*/
@io.qt.QtUninvokable
public final io.qt.core.Qt.NativeGestureType gestureType(){
return io.qt.core.Qt.NativeGestureType.resolve(gestureType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int gestureType_native_constfct(long __this__nativeId);
/**
* See QNativeGestureEvent::globalPos()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPoint globalPos(){
return globalPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPoint globalPos_native_constfct(long __this__nativeId);
/**
* See QNativeGestureEvent::localPos()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPointF localPos(){
return localPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF localPos_native_constfct(long __this__nativeId);
/**
* See QNativeGestureEvent::pos()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPoint pos(){
return pos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPoint pos_native_constfct(long __this__nativeId);
/**
* See QNativeGestureEvent::screenPos()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPointF screenPos(){
return screenPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF screenPos_native_constfct(long __this__nativeId);
/**
* See QNativeGestureEvent::value()const
*/
@io.qt.QtUninvokable
public final double value(){
return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double value_native_constfct(long __this__nativeId);
/**
* See QNativeGestureEvent::windowPos()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPointF windowPos(){
return windowPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF windowPos_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected final void setGestureType(io.qt.core.Qt.NativeGestureType gestureType){
setGestureType_native_cref_Qt_NativeGestureType(QtJambi_LibraryUtilities.internal.nativeId(this), gestureType.value());
}
@io.qt.QtUninvokable
private native void setGestureType_native_cref_Qt_NativeGestureType(long __this__nativeId, int gestureType);
@io.qt.QtUninvokable
protected final void setIntValue(long intValue){
setIntValue_native_unsigned_long_long(QtJambi_LibraryUtilities.internal.nativeId(this), intValue);
}
@io.qt.QtUninvokable
private native void setIntValue_native_unsigned_long_long(long __this__nativeId, long intValue);
@io.qt.QtUninvokable
protected final void setLocalPos(io.qt.core.QPointF localPos){
setLocalPos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(localPos));
}
@io.qt.QtUninvokable
private native void setLocalPos_native_cref_QPointF(long __this__nativeId, long localPos);
@io.qt.QtUninvokable
protected final void setValue(double value){
setValue_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@io.qt.QtUninvokable
private native void setValue_native_qtjambireal(long __this__nativeId, double value);
@io.qt.QtUninvokable
protected final void setScreenPos(io.qt.core.QPointF screenPos){
setScreenPos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(screenPos));
}
@io.qt.QtUninvokable
private native void setScreenPos_native_cref_QPointF(long __this__nativeId, long screenPos);
@io.qt.QtUninvokable
protected final void setSequenceId(int sequenceId){
setSequenceId_native_ulong(QtJambi_LibraryUtilities.internal.nativeId(this), sequenceId);
}
@io.qt.QtUninvokable
private native void setSequenceId_native_ulong(long __this__nativeId, int sequenceId);
@io.qt.QtUninvokable
protected final void setWindowPos(io.qt.core.QPointF windowPos){
setWindowPos_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(windowPos));
}
@io.qt.QtUninvokable
private native void setWindowPos_native_cref_QPointF(long __this__nativeId, long windowPos);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QNativeGestureEvent(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