io.qt.gui.QDragEnterEvent Maven / Gradle / Ivy
package io.qt.gui;
/**
* Event which is sent to a widget when a drag and drop action enters it
* Java wrapper for Qt class QDragEnterEvent
*/
public class QDragEnterEvent extends io.qt.gui.QDragMoveEvent
{
protected QDragEnterEvent(io.qt.gui.QDragEnterEvent 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(QDragEnterEvent instance, io.qt.gui.QDragEnterEvent arg__1);
/**
* Overloaded constructor for {@link #QDragEnterEvent(io.qt.core.QPoint, io.qt.core.Qt.DropActions, io.qt.core.QMimeData, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers)}.
*/
public QDragEnterEvent(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.KeyboardModifier ... modifiers){
this(pos, actions, data, buttons, new io.qt.core.Qt.KeyboardModifiers(modifiers));
}
/**
*
*/
public QDragEnterEvent(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){
super((QPrivateConstructor)null);
initialize_native(this, pos, actions, data, buttons, modifiers);
}
private native static void initialize_native(QDragEnterEvent 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.QtUninvokable
protected final void set(io.qt.gui.QDragEnterEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
set_native_cref_QDragEnterEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void set_native_cref_QDragEnterEvent(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QDragEnterEvent(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