io.qt.widgets.QTapGesture Maven / Gradle / Ivy
The newest version!
package io.qt.widgets;
/**
* Describes a tap gesture made by the user
* Java wrapper for Qt class QTapGesture
*/
public class QTapGesture 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(QTapGesture.class);
/**
* Overloaded constructor for {@link #QTapGesture(io.qt.core.QObject)}
* with parent = null
.
*/
public QTapGesture() {
this((io.qt.core.QObject)null);
}
public QTapGesture(io.qt.core.QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QTapGesture instance, io.qt.core.QObject parent);
/**
* See QTapGesture::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 QTapGesture::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);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QTapGesture(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 QTapGesture(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QTapGesture instance, QDeclarativeConstructor constructor);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy