io.qt.gui.QEnterEvent Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Contains parameters that describe an enter event
* Java wrapper for Qt class QEnterEvent
*/
public class QEnterEvent extends io.qt.gui.QSinglePointEvent
{
/**
* See QEnterEvent:: QEnterEvent(QEnterEvent)
*/
protected QEnterEvent(io.qt.gui.@StrictNonNull 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);
/**
* See QEnterEvent:: QEnterEvent(QPointF, QPointF, QPointF, const QPointingDevice*)
*/
public QEnterEvent(io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.gui.@Nullable 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);
/**
* See QEnterEvent:: globalPos()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead
*/
@Deprecated
@QtUninvokable
public final io.qt.core.@NonNull QPoint globalPos(){
return globalPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native io.qt.core.QPoint globalPos_native_constfct(long __this__nativeId);
/**
* See QEnterEvent:: globalX()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead
*/
@Deprecated
@QtUninvokable
public final int globalX(){
return globalX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native int globalX_native_constfct(long __this__nativeId);
/**
* See QEnterEvent:: globalY()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead
*/
@Deprecated
@QtUninvokable
public final int globalY(){
return globalY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native int globalY_native_constfct(long __this__nativeId);
/**
* See QEnterEvent:: localPos()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead
*/
@Deprecated
@QtUninvokable
public final io.qt.core.@NonNull QPointF localPos(){
return localPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native io.qt.core.QPointF localPos_native_constfct(long __this__nativeId);
/**
* See QEnterEvent:: operator=(QEnterEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QEnterEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QEnterEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QEnterEvent(long __this__nativeId, long other);
/**
* See QEnterEvent:: pos()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead
*/
@Deprecated
@QtUninvokable
public final io.qt.core.@NonNull QPoint pos(){
return pos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native io.qt.core.QPoint pos_native_constfct(long __this__nativeId);
/**
* See QEnterEvent:: screenPos()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#globalPosition()} instead
*/
@Deprecated
@QtUninvokable
public final io.qt.core.@NonNull QPointF screenPos(){
return screenPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native io.qt.core.QPointF screenPos_native_constfct(long __this__nativeId);
/**
* See QEnterEvent:: windowPos()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#scenePosition()} instead
*/
@Deprecated
@QtUninvokable
public final io.qt.core.@NonNull QPointF windowPos(){
return windowPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native io.qt.core.QPointF windowPos_native_constfct(long __this__nativeId);
/**
* See QEnterEvent:: x()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead
*/
@Deprecated
@QtUninvokable
public final int x(){
return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native int x_native_constfct(long __this__nativeId);
/**
* See QEnterEvent:: y()const
*
* @deprecated Use {@link io.qt.gui.QSinglePointEvent#position()} instead
*/
@Deprecated
@QtUninvokable
public final int y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native int y_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QEnterEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QEnterEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QEnterEvent(QPrivateConstructor p) { super(p); }
/**
* 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.@NonNull QPointF localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPointF globalPos) {
this(localPos, scenePos, globalPos, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QEnterEvent(io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPointF globalPos) {
this(localPos, scenePos, globalPos, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)}.
*/
public QEnterEvent(io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.gui.@Nullable QPointingDevice device) {
this(new io.qt.core.QPointF(localPos), scenePos, globalPos, device);
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QEnterEvent(io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPointF globalPos) {
this(localPos, scenePos, globalPos, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)}.
*/
public QEnterEvent(io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.gui.@Nullable QPointingDevice device) {
this(localPos, new io.qt.core.QPointF(scenePos), globalPos, device);
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPointF, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QEnterEvent(io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPointF globalPos) {
this(localPos, scenePos, globalPos, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)}.
*/
public QEnterEvent(io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPointF globalPos, io.qt.gui.@Nullable QPointingDevice device) {
this(new io.qt.core.QPointF(localPos), new io.qt.core.QPointF(scenePos), globalPos, device);
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QEnterEvent(io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPoint globalPos) {
this(localPos, scenePos, globalPos, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)}.
*/
public QEnterEvent(io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.gui.@Nullable QPointingDevice device) {
this(localPos, scenePos, new io.qt.core.QPointF(globalPos), device);
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPoint, io.qt.core.QPointF, io.qt.core.QPoint, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QEnterEvent(io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPoint globalPos) {
this(localPos, scenePos, globalPos, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)}.
*/
public QEnterEvent(io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPointF scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.gui.@Nullable QPointingDevice device) {
this(new io.qt.core.QPointF(localPos), scenePos, new io.qt.core.QPointF(globalPos), device);
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QEnterEvent(io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPoint globalPos) {
this(localPos, scenePos, globalPos, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)}.
*/
public QEnterEvent(io.qt.core.@NonNull QPointF localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.gui.@Nullable QPointingDevice device) {
this(localPos, new io.qt.core.QPointF(scenePos), new io.qt.core.QPointF(globalPos), device);
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPoint, io.qt.core.QPoint, io.qt.core.QPoint, io.qt.gui.QPointingDevice)}
* with device = io.qt.gui.QPointingDevice.primaryPointingDevice()
.
*/
public QEnterEvent(io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPoint globalPos) {
this(localPos, scenePos, globalPos, io.qt.gui.QPointingDevice.primaryPointingDevice());
}
/**
* Overloaded constructor for {@link #QEnterEvent(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QPointingDevice)}.
*/
public QEnterEvent(io.qt.core.@NonNull QPoint localPos, io.qt.core.@NonNull QPoint scenePos, io.qt.core.@NonNull QPoint globalPos, io.qt.gui.@Nullable QPointingDevice device) {
this(new io.qt.core.QPointF(localPos), new io.qt.core.QPointF(scenePos), new io.qt.core.QPointF(globalPos), device);
}
/**
* @deprecated Use {@link #assign(io.qt.gui.QEnterEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QEnterEvent other) {
assign(other);
}
}