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

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

There is a newer version: 6.8.0
Show newest version
package io.qt.widgets;

import io.qt.*;


/**
 * 

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.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QPanGesture.class); /** *

See QPanGesture::QPanGesture(QObject*)

*/ public QPanGesture(io.qt.core.@Nullable 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

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

See QPanGesture::delta()const

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

See QPanGesture::lastOffset()const

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

See QPanGesture::offset()const

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

See QPanGesture::setAcceleration(qreal)

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

See QPanGesture::setLastOffset(QPointF)

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

See QPanGesture::setOffset(QPointF)

*/ @QtPropertyWriter(name="offset") @QtUninvokable public final void setOffset(io.qt.core.@NonNull QPointF value){ setOffset_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value)); } @QtUninvokable private native void setOffset_native_cref_QPointF(long __this__nativeId, long value); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QPanGesture(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QPanGesture(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QPanGesture instance, QDeclarativeConstructor constructor); /** *

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

*/ public QPanGesture() { this((io.qt.core.QObject)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #acceleration()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getAcceleration() { return acceleration(); } /** * @hidden *

Kotlin property getter. In Java use {@link #delta()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QPointF getDelta() { return delta(); } /** * @hidden *

Kotlin property getter. In Java use {@link #lastOffset()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QPointF getLastOffset() { return lastOffset(); } /** * @hidden *

Kotlin property getter. In Java use {@link #offset()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QPointF getOffset() { return offset(); } /** *

Overloaded function for {@link #setLastOffset(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void setLastOffset(io.qt.core.@NonNull QPoint value) { setLastOffset(new io.qt.core.QPointF(value)); } /** *

Overloaded function for {@link #setOffset(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void setOffset(io.qt.core.@NonNull QPoint value) { setOffset(new io.qt.core.QPointF(value)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy