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

io.qt.gui.QWheelEvent Maven / Gradle / Ivy

package io.qt.gui;


/**
 * 

Contains parameters that describe a wheel event

*

Java wrapper for Qt class QWheelEvent

*/ public class QWheelEvent extends io.qt.gui.QSinglePointEvent { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QWheelEvent.class); /** *

Overloaded constructor for {@link #QWheelEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.ScrollPhase, boolean, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)} * with device = io.qt.gui.QPointingDevice.primaryPointingDevice().

*/ public QWheelEvent(io.qt.core.QPointF pos, io.qt.core.QPointF globalPos, io.qt.core.QPoint pixelDelta, io.qt.core.QPoint angleDelta, io.qt.core.Qt.MouseButtons buttons, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.core.Qt.ScrollPhase phase, boolean inverted, io.qt.core.Qt.MouseEventSource source) { this(pos, globalPos, pixelDelta, angleDelta, buttons, modifiers, phase, inverted, source, io.qt.gui.QPointingDevice.primaryPointingDevice()); } /** *

Overloaded constructor for {@link #QWheelEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.ScrollPhase, boolean, io.qt.core.Qt.MouseEventSource, io.qt.gui.QPointingDevice)}

*

with:

    *
  • source = io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized
  • *
  • device = io.qt.gui.QPointingDevice.primaryPointingDevice()
  • *
*/ public QWheelEvent(io.qt.core.QPointF pos, io.qt.core.QPointF globalPos, io.qt.core.QPoint pixelDelta, io.qt.core.QPoint angleDelta, io.qt.core.Qt.MouseButtons buttons, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.core.Qt.ScrollPhase phase, boolean inverted) { this(pos, globalPos, pixelDelta, angleDelta, buttons, modifiers, phase, inverted, io.qt.core.Qt.MouseEventSource.MouseEventNotSynthesized, io.qt.gui.QPointingDevice.primaryPointingDevice()); } /** *

See QWheelEvent::QWheelEvent(QPointF,QPointF,QPoint,QPoint,Qt::MouseButtons,Qt::KeyboardModifiers,Qt::ScrollPhase,bool,Qt::MouseEventSource,const QPointingDevice*)

*/ public QWheelEvent(io.qt.core.QPointF pos, io.qt.core.QPointF globalPos, io.qt.core.QPoint pixelDelta, io.qt.core.QPoint angleDelta, io.qt.core.Qt.MouseButtons buttons, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.core.Qt.ScrollPhase phase, boolean inverted, io.qt.core.Qt.MouseEventSource source, io.qt.gui.QPointingDevice device){ super((QPrivateConstructor)null); initialize_native(this, pos, globalPos, pixelDelta, angleDelta, buttons, modifiers, phase, inverted, source, device); } private native static void initialize_native(QWheelEvent instance, io.qt.core.QPointF pos, io.qt.core.QPointF globalPos, io.qt.core.QPoint pixelDelta, io.qt.core.QPoint angleDelta, io.qt.core.Qt.MouseButtons buttons, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.core.Qt.ScrollPhase phase, boolean inverted, io.qt.core.Qt.MouseEventSource source, io.qt.gui.QPointingDevice device); protected QWheelEvent(io.qt.gui.QWheelEvent arg__1){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); initialize_native(this, arg__1); } private native static void initialize_native(QWheelEvent instance, io.qt.gui.QWheelEvent arg__1); /** *

See QWheelEvent::angleDelta()const

*/ @io.qt.QtPropertyReader(name="angleDelta") @io.qt.QtUninvokable public final io.qt.core.QPoint angleDelta(){ return angleDelta_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPoint angleDelta_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final boolean hasPixelDelta(){ return hasPixelDelta_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean hasPixelDelta_native_constfct(long __this__nativeId); /** *

See QWheelEvent::inverted()const

*/ @io.qt.QtPropertyReader(name="inverted") @io.qt.QtUninvokable public final boolean inverted(){ return inverted_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean inverted_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final boolean isInverted(){ return isInverted_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isInverted_native_constfct(long __this__nativeId); @io.qt.QtUninvokable protected final void set(io.qt.gui.QWheelEvent other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); set_native_cref_QWheelEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void set_native_cref_QWheelEvent(long __this__nativeId, long other); /** *

See QWheelEvent::phase()const

*/ @io.qt.QtPropertyReader(name="phase") @io.qt.QtUninvokable public final io.qt.core.Qt.ScrollPhase phase(){ return io.qt.core.Qt.ScrollPhase.resolve(phase_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int phase_native_constfct(long __this__nativeId); /** *

See QWheelEvent::pixelDelta()const

*/ @io.qt.QtPropertyReader(name="pixelDelta") @io.qt.QtUninvokable public final io.qt.core.QPoint pixelDelta(){ return pixelDelta_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPoint pixelDelta_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final io.qt.core.Qt.MouseEventSource source(){ return io.qt.core.Qt.MouseEventSource.resolve(source_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int source_native_constfct(long __this__nativeId); /** *

See QEvent::clone()const

*/ @io.qt.QtUninvokable public io.qt.gui.QWheelEvent clone(){ return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QWheelEvent clone_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public boolean isBeginEvent(){ return isBeginEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isBeginEvent_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public boolean isEndEvent(){ return isEndEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isEndEvent_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public boolean isUpdateEvent(){ return isUpdateEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isUpdateEvent_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QWheelEvent(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