io.qt.gui.QResizeEvent 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 resize events
* Java wrapper for Qt class QResizeEvent
*/
public class QResizeEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QResizeEvent:: QResizeEvent(QResizeEvent)
*/
protected QResizeEvent(io.qt.gui.@StrictNonNull QResizeEvent 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(QResizeEvent instance, io.qt.gui.QResizeEvent arg__1);
/**
* See QResizeEvent:: QResizeEvent(QSize, QSize)
*/
public QResizeEvent(io.qt.core.@NonNull QSize size, io.qt.core.@NonNull QSize oldSize){
super((QPrivateConstructor)null);
initialize_native(this, size, oldSize);
}
private native static void initialize_native(QResizeEvent instance, io.qt.core.QSize size, io.qt.core.QSize oldSize);
/**
* See QResizeEvent:: oldSize()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize oldSize(){
return oldSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize oldSize_native_constfct(long __this__nativeId);
/**
* See QResizeEvent:: operator=(QResizeEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QResizeEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QResizeEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QResizeEvent(long __this__nativeId, long other);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize size(){
return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize size_native_constfct(long __this__nativeId);
/**
*
* This function was introduced in Qt 6.0.
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QResizeEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QResizeEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QResizeEvent(QPrivateConstructor p) { super(p); }
/**
* @deprecated Use {@link #assign(io.qt.gui.QResizeEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QResizeEvent other) {
assign(other);
}
}