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

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

There is a newer version: 6.8.1
Show newest version
package io.qt.gui;


/**
 * 

Contains parameters that describe an enter event

*

Java wrapper for Qt class QEnterEvent

*/ public class QEnterEvent extends io.qt.gui.QSinglePointEvent { protected QEnterEvent(io.qt.gui.QEnterEvent 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(QEnterEvent instance, io.qt.gui.QEnterEvent arg__1); /** *

Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)} * with device = io.qt.gui.QPointingDevice.primaryPointingDevice().

*/ public QEnterEvent(io.qt.core.QPointF localPos, io.qt.core.QPointF scenePos, io.qt.core.QPointF globalPos) { this(localPos, scenePos, globalPos, io.qt.gui.QPointingDevice.primaryPointingDevice()); } /** *

See QEnterEvent::QEnterEvent(QPointF,QPointF,QPointF,const QPointingDevice*)

*/ public QEnterEvent(io.qt.core.QPointF localPos, io.qt.core.QPointF scenePos, io.qt.core.QPointF globalPos, io.qt.gui.QPointingDevice device){ super((QPrivateConstructor)null); initialize_native(this, localPos, scenePos, globalPos, device); } private native static void initialize_native(QEnterEvent instance, io.qt.core.QPointF localPos, io.qt.core.QPointF scenePos, io.qt.core.QPointF globalPos, io.qt.gui.QPointingDevice device); /** * @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead */ @Deprecated @io.qt.QtUninvokable public final io.qt.core.QPoint globalPos(){ return globalPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @io.qt.QtUninvokable private native io.qt.core.QPoint globalPos_native_constfct(long __this__nativeId); /** * @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead */ @Deprecated @io.qt.QtUninvokable public final int globalX(){ return globalX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @io.qt.QtUninvokable private native int globalX_native_constfct(long __this__nativeId); /** * @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead */ @Deprecated @io.qt.QtUninvokable public final int globalY(){ return globalY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @io.qt.QtUninvokable private native int globalY_native_constfct(long __this__nativeId); /** * @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead */ @Deprecated @io.qt.QtUninvokable public final io.qt.core.QPointF localPos(){ return localPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @io.qt.QtUninvokable private native io.qt.core.QPointF localPos_native_constfct(long __this__nativeId); @io.qt.QtUninvokable protected final void set(io.qt.gui.QEnterEvent other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); set_native_cref_QEnterEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void set_native_cref_QEnterEvent(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#globalPosition()} instead */ @Deprecated @io.qt.QtUninvokable public final io.qt.core.QPointF screenPos(){ return screenPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @io.qt.QtUninvokable private native io.qt.core.QPointF screenPos_native_constfct(long __this__nativeId); /** * @deprecated Use {@link io.qt.gui.QSinglePointEvent#scenePosition()} instead */ @Deprecated @io.qt.QtUninvokable public final io.qt.core.QPointF windowPos(){ return windowPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @io.qt.QtUninvokable private native io.qt.core.QPointF windowPos_native_constfct(long __this__nativeId); /** * @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead */ @Deprecated @io.qt.QtUninvokable public final int x(){ return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @io.qt.QtUninvokable private native int x_native_constfct(long __this__nativeId); /** * @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead */ @Deprecated @io.qt.QtUninvokable public final int y(){ return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @io.qt.QtUninvokable private native int y_native_constfct(long __this__nativeId); /** *

See QEvent::clone()const

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