io.qt.gui.QDragMoveEvent 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.*;
/**
* Event which is sent while a drag and drop action is in progress
* Java wrapper for Qt class QDragMoveEvent
*/
public class QDragMoveEvent extends io.qt.gui.QDropEvent
{
/**
* See QDragMoveEvent:: QDragMoveEvent(QDragMoveEvent)
*/
protected QDragMoveEvent(io.qt.gui.@StrictNonNull QDragMoveEvent 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(QDragMoveEvent instance, io.qt.gui.QDragMoveEvent arg__1);
/**
*
*/
public QDragMoveEvent(io.qt.core.@NonNull QPoint pos, io.qt.core.Qt.@NonNull DropActions actions, io.qt.core.@Nullable QMimeData data, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers, io.qt.core.QEvent.@NonNull Type type){
super((QPrivateConstructor)null);
initialize_native(this, pos, actions, data, buttons, modifiers, type);
}
private native static void initialize_native(QDragMoveEvent instance, io.qt.core.QPoint pos, io.qt.core.Qt.DropActions actions, io.qt.core.QMimeData data, io.qt.core.Qt.MouseButtons buttons, io.qt.core.Qt.KeyboardModifiers modifiers, io.qt.core.QEvent.Type type);
/**
* See QDragMoveEvent:: accept(QRect)
*/
@QtUninvokable
public final void accept(io.qt.core.@NonNull QRect r){
accept_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r));
}
@QtUninvokable
private native void accept_native_cref_QRect(long __this__nativeId, long r);
/**
* See QDragMoveEvent:: answerRect()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect answerRect(){
return answerRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRect answerRect_native_constfct(long __this__nativeId);
/**
* See QDragMoveEvent:: ignore(QRect)
*/
@QtUninvokable
public final void ignore(io.qt.core.@NonNull QRect r){
ignore_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r));
}
@QtUninvokable
private native void ignore_native_cref_QRect(long __this__nativeId, long r);
/**
* See QDragMoveEvent:: operator=(QDragMoveEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QDragMoveEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QDragMoveEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QDragMoveEvent(long __this__nativeId, long other);
/**
*
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QDragMoveEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QDragMoveEvent clone_native_constfct(long __this__nativeId);
/**
* See QDragMoveEvent:: m_rect
*/
@QtUninvokable
protected final void setRect(io.qt.core.@NonNull QRect rect){
setRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@QtUninvokable
private native void setRect_native_cref_QRect(long __this__nativeId, long rect);
/**
* See QDragMoveEvent:: m_rect
*/
@QtUninvokable
protected final io.qt.core.@NonNull QRect rect(){
return rect_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRect rect_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDragMoveEvent(QPrivateConstructor p) { super(p); }
/**
* Overloaded constructor for {@link #QDragMoveEvent(io.qt.core.QPoint, io.qt.core.Qt.DropActions, io.qt.core.QMimeData, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QEvent.Type)}
* with type = io.qt.core.QEvent.Type.DragMove
.
*/
public QDragMoveEvent(io.qt.core.@NonNull QPoint pos, io.qt.core.Qt.@NonNull DropActions actions, io.qt.core.@Nullable QMimeData data, io.qt.core.Qt.@NonNull MouseButtons buttons, io.qt.core.Qt.@NonNull KeyboardModifiers modifiers) {
this(pos, actions, data, buttons, modifiers, io.qt.core.QEvent.Type.DragMove);
}
/**
* @deprecated Use {@link #assign(io.qt.gui.QDragMoveEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QDragMoveEvent other) {
assign(other);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #rect()} instead.
*/
@QtUninvokable
protected final io.qt.core.@NonNull QRect getRect() {
return rect();
}
}