io.qt.gui.QDragEnterEvent 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 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
{
/**
* See QDragEnterEvent:: QDragEnterEvent(QDragEnterEvent)
*/
protected QDragEnterEvent(io.qt.gui.@StrictNonNull 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);
/**
*
*/
public QDragEnterEvent(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){
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);
/**
* See QDragEnterEvent:: operator=(QDragEnterEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QDragEnterEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QDragEnterEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QDragEnterEvent(long __this__nativeId, long other);
/**
*
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QDragEnterEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QDragEnterEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDragEnterEvent(QPrivateConstructor p) { super(p); }
/**
* 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.@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 KeyboardModifier @NonNull... modifiers) {
this(pos, actions, data, buttons, new io.qt.core.Qt.KeyboardModifiers(modifiers));
}
/**
* @deprecated Use {@link #assign(io.qt.gui.QDragEnterEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QDragEnterEvent other) {
assign(other);
}
}