
io.qt.widgets.QTapAndHoldGesture Maven / Gradle / Ivy
package io.qt.widgets;
/**
* Describes a tap-and-hold (aka LongTap) gesture made by the user
* Java wrapper for Qt class QTapAndHoldGesture
*/
public class QTapAndHoldGesture extends io.qt.widgets.QGesture
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTapAndHoldGesture.class);
/**
* Overloaded constructor for {@link #QTapAndHoldGesture(io.qt.core.QObject)}
* with parent = null
.
*/
public QTapAndHoldGesture() {
this((io.qt.core.QObject)null);
}
public QTapAndHoldGesture(io.qt.core.QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QTapAndHoldGesture instance, io.qt.core.QObject parent);
/**
* See QTapAndHoldGesture::position()const
*/
@io.qt.QtPropertyReader(name="position")
@io.qt.QtUninvokable
public final io.qt.core.QPointF position(){
return position_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF position_native_constfct(long __this__nativeId);
/**
* See QTapAndHoldGesture::setPosition(QPointF)
*/
@io.qt.QtPropertyWriter(name="position")
@io.qt.QtUninvokable
public final void setPosition(io.qt.core.QPointF pos){
setPosition_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@io.qt.QtUninvokable
private native void setPosition_native_cref_QPointF(long __this__nativeId, long pos);
/**
* See QTapAndHoldGesture::setTimeout(int)
*/
public native static void setTimeout(int msecs);
/**
* See QTapAndHoldGesture::timeout()
*/
public native static int timeout();
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QTapAndHoldGesture(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QTapAndHoldGesture(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QTapAndHoldGesture instance, QDeclarativeConstructor constructor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy