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

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

The newest version!
package io.qt.gui;


/**
 * 

Contains parameters that describe a mouse event

*

Java wrapper for Qt class QHoverEvent

*/ public class QHoverEvent extends io.qt.gui.QSinglePointEvent { /** *

Overloaded constructor for {@link #QHoverEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)} * with device = io.qt.gui.QPointingDevice.primaryPointingDevice().

*/ public QHoverEvent(io.qt.core.QEvent.Type type, io.qt.core.QPointF pos, io.qt.core.QPointF globalPos, io.qt.core.QPointF oldPos, io.qt.core.Qt.KeyboardModifiers modifiers) { this(type, pos, globalPos, oldPos, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice()); } /** *

Overloaded constructor for {@link #QHoverEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)}

*

with:

    *
  • modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
  • *
  • device = io.qt.gui.QPointingDevice.primaryPointingDevice()
  • *
*/ public QHoverEvent(io.qt.core.QEvent.Type type, io.qt.core.QPointF pos, io.qt.core.QPointF globalPos, io.qt.core.QPointF oldPos) { this(type, pos, globalPos, oldPos, new io.qt.core.Qt.KeyboardModifiers(0), io.qt.gui.QPointingDevice.primaryPointingDevice()); } /** *

See QHoverEvent::QHoverEvent(QEvent::Type,QPointF,QPointF,QPointF,Qt::KeyboardModifiers,const QPointingDevice*)

*/ public QHoverEvent(io.qt.core.QEvent.Type type, io.qt.core.QPointF pos, io.qt.core.QPointF globalPos, io.qt.core.QPointF oldPos, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.gui.QPointingDevice device){ super((QPrivateConstructor)null); initialize_native(this, type, pos, globalPos, oldPos, modifiers, device); } private native static void initialize_native(QHoverEvent instance, io.qt.core.QEvent.Type type, io.qt.core.QPointF pos, io.qt.core.QPointF globalPos, io.qt.core.QPointF oldPos, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.gui.QPointingDevice device); /** *

Overloaded constructor for {@link #QHoverEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)} * with device = io.qt.gui.QPointingDevice.primaryPointingDevice().

* * @deprecated Use the other constructor */ @Deprecated public QHoverEvent(io.qt.core.QEvent.Type type, io.qt.core.QPointF pos, io.qt.core.QPointF oldPos, io.qt.core.Qt.KeyboardModifiers modifiers) { this(type, pos, oldPos, modifiers, io.qt.gui.QPointingDevice.primaryPointingDevice()); } /** *

Overloaded constructor for {@link #QHoverEvent(io.qt.core.QEvent.Type, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QPointingDevice)}

*

with:

    *
  • modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
  • *
  • device = io.qt.gui.QPointingDevice.primaryPointingDevice()
  • *
* * @deprecated Use the other constructor */ @Deprecated public QHoverEvent(io.qt.core.QEvent.Type type, io.qt.core.QPointF pos, io.qt.core.QPointF oldPos) { this(type, pos, oldPos, new io.qt.core.Qt.KeyboardModifiers(0), io.qt.gui.QPointingDevice.primaryPointingDevice()); } /** * @deprecated Use the other constructor */ @Deprecated public QHoverEvent(io.qt.core.QEvent.Type type, io.qt.core.QPointF pos, io.qt.core.QPointF oldPos, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.gui.QPointingDevice device){ super((QPrivateConstructor)null); initialize_native(this, type, pos, oldPos, modifiers, device); } @Deprecated private native static void initialize_native(QHoverEvent instance, io.qt.core.QEvent.Type type, io.qt.core.QPointF pos, io.qt.core.QPointF oldPos, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.gui.QPointingDevice device); protected QHoverEvent(io.qt.gui.QHoverEvent 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(QHoverEvent instance, io.qt.gui.QHoverEvent arg__1); /** *

See QHoverEvent::oldPos()const

*/ @io.qt.QtUninvokable public final io.qt.core.QPoint oldPos(){ return oldPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPoint oldPos_native_constfct(long __this__nativeId); /** *

See QHoverEvent::oldPosF()const

*/ @io.qt.QtUninvokable public final io.qt.core.QPointF oldPosF(){ return oldPosF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPointF oldPosF_native_constfct(long __this__nativeId); @io.qt.QtUninvokable protected final void set(io.qt.gui.QHoverEvent other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); set_native_cref_QHoverEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void set_native_cref_QHoverEvent(long __this__nativeId, long other); /** * @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead */ @Deprecated @io.qt.QtUninvokable public final io.qt.core.QPoint pos(){ return pos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @io.qt.QtUninvokable private native io.qt.core.QPoint pos_native_constfct(long __this__nativeId); /** * @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead */ @Deprecated @io.qt.QtUninvokable public final io.qt.core.QPointF posF(){ return posF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @io.qt.QtUninvokable private native io.qt.core.QPointF posF_native_constfct(long __this__nativeId); /** *

See QEvent::clone()const

*/ @io.qt.QtUninvokable public io.qt.gui.QHoverEvent clone(){ return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QHoverEvent clone_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 QHoverEvent(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 - 2024 Weber Informatics LLC | Privacy Policy