io.qt.gui.QMoveEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.gui;
import io.qt.*;
/**
* Contains event parameters for move events
* Java wrapper for Qt class QMoveEvent
*/
public class QMoveEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QMoveEvent:: QMoveEvent(QMoveEvent)
*/
protected QMoveEvent(io.qt.gui.@StrictNonNull QMoveEvent 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(QMoveEvent instance, io.qt.gui.QMoveEvent arg__1);
/**
* See QMoveEvent:: QMoveEvent(QPoint, QPoint)
*/
public QMoveEvent(io.qt.core.@NonNull QPoint pos, io.qt.core.@NonNull QPoint oldPos){
super((QPrivateConstructor)null);
initialize_native(this, pos, oldPos);
}
private native static void initialize_native(QMoveEvent instance, io.qt.core.QPoint pos, io.qt.core.QPoint oldPos);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint oldPos(){
return oldPos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint oldPos_native_constfct(long __this__nativeId);
/**
* See QMoveEvent:: operator=(QMoveEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QMoveEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QMoveEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QMoveEvent(long __this__nativeId, long other);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint pos(){
return pos_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint pos_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QMoveEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QMoveEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QMoveEvent(QPrivateConstructor p) { super(p); }
/**
* @deprecated Use {@link #assign(io.qt.gui.QMoveEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QMoveEvent other) {
assign(other);
}
}