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

io.qt.widgets.QPanGesture Maven / Gradle / Ivy

package io.qt.widgets;


/**
 * 

Describes a panning gesture made by the user

*

Java wrapper for Qt class QPanGesture

*/ public class QPanGesture 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(QPanGesture.class); /** *

Overloaded constructor for {@link #QPanGesture(io.qt.core.QObject)} * with parent = null.

*/ public QPanGesture() { this((io.qt.core.QObject)null); } public QPanGesture(io.qt.core.QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QPanGesture instance, io.qt.core.QObject parent); /** *

See QPanGesture::acceleration()const

*/ @io.qt.QtPropertyReader(name="acceleration") @io.qt.QtUninvokable public final double acceleration(){ return acceleration_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double acceleration_native_constfct(long __this__nativeId); /** *

See QPanGesture::delta()const

*/ @io.qt.QtPropertyReader(name="delta") @io.qt.QtPropertyStored("false") @io.qt.QtUninvokable public final io.qt.core.QPointF delta(){ return delta_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPointF delta_native_constfct(long __this__nativeId); /** *

See QPanGesture::lastOffset()const

*/ @io.qt.QtPropertyReader(name="lastOffset") @io.qt.QtUninvokable public final io.qt.core.QPointF lastOffset(){ return lastOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPointF lastOffset_native_constfct(long __this__nativeId); /** *

See QPanGesture::offset()const

*/ @io.qt.QtPropertyReader(name="offset") @io.qt.QtUninvokable public final io.qt.core.QPointF offset(){ return offset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPointF offset_native_constfct(long __this__nativeId); /** *

See QPanGesture::setAcceleration(qreal)

*/ @io.qt.QtPropertyWriter(name="acceleration") @io.qt.QtUninvokable public final void setAcceleration(double value){ setAcceleration_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), value); } @io.qt.QtUninvokable private native void setAcceleration_native_qtjambireal(long __this__nativeId, double value); /** *

See QPanGesture::setLastOffset(QPointF)

*/ @io.qt.QtPropertyWriter(name="lastOffset") @io.qt.QtUninvokable public final void setLastOffset(io.qt.core.QPointF value){ setLastOffset_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value)); } @io.qt.QtUninvokable private native void setLastOffset_native_cref_QPointF(long __this__nativeId, long value); /** *

See QPanGesture::setOffset(QPointF)

*/ @io.qt.QtPropertyWriter(name="offset") @io.qt.QtUninvokable public final void setOffset(io.qt.core.QPointF value){ setOffset_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value)); } @io.qt.QtUninvokable private native void setOffset_native_cref_QPointF(long __this__nativeId, long value); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QPanGesture(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 QPanGesture(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QPanGesture instance, QDeclarativeConstructor constructor); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy