io.qt.gui.QDragMoveEvent Maven / Gradle / Ivy
The newest version!
package io.qt.gui;
/**
* 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
{
protected QDragMoveEvent(io.qt.gui.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);
/**
* 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.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) {
this(pos, actions, data, buttons, modifiers, io.qt.core.QEvent.Type.DragMove);
}
/**
*
*/
public QDragMoveEvent(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){
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)
*/
@io.qt.QtUninvokable
public final void accept(io.qt.core.QRect r){
accept_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r));
}
@io.qt.QtUninvokable
private native void accept_native_cref_QRect(long __this__nativeId, long r);
/**
* See QDragMoveEvent::answerRect()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect answerRect(){
return answerRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect answerRect_native_constfct(long __this__nativeId);
/**
* See QDragMoveEvent::ignore(QRect)
*/
@io.qt.QtUninvokable
public final void ignore(io.qt.core.QRect r){
ignore_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r));
}
@io.qt.QtUninvokable
private native void ignore_native_cref_QRect(long __this__nativeId, long r);
@io.qt.QtUninvokable
protected final void set(io.qt.gui.QDragMoveEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
set_native_cref_QDragMoveEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void set_native_cref_QDragMoveEvent(long __this__nativeId, long other);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.gui.QDragMoveEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QDragMoveEvent clone_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected final void setRect(io.qt.core.QRect rect){
setRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@io.qt.QtUninvokable
private native void setRect_native_cref_QRect(long __this__nativeId, long rect);
@io.qt.QtUninvokable
protected final io.qt.core.QRect rect(){
return rect_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect rect_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QDragMoveEvent(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