All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QWindowStateChangeEvent Maven / Gradle / Ivy

There is a newer version: 6.8.1
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

The window state before a window state change

*

Java wrapper for Qt class QWindowStateChangeEvent

*/ public class QWindowStateChangeEvent extends io.qt.core.QEvent { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QWindowStateChangeEvent::QWindowStateChangeEvent(QWindowStateChangeEvent)

* @param arg__1 */ protected QWindowStateChangeEvent(io.qt.gui.@StrictNonNull QWindowStateChangeEvent 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(QWindowStateChangeEvent instance, io.qt.gui.QWindowStateChangeEvent arg__1); /** *

See QWindowStateChangeEvent::QWindowStateChangeEvent(Qt::WindowStates,bool)

* @param oldState * @param isOverride */ public QWindowStateChangeEvent(io.qt.core.Qt.@NonNull WindowStates oldState, boolean isOverride){ super((QPrivateConstructor)null); initialize_native(this, oldState, isOverride); } private native static void initialize_native(QWindowStateChangeEvent instance, io.qt.core.Qt.WindowStates oldState, boolean isOverride); /** *

See QWindowStateChangeEvent::isOverride()const

* @return */ @QtUninvokable public final boolean isOverride(){ return isOverride_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isOverride_native_constfct(long __this__nativeId); /** *

See QWindowStateChangeEvent::oldState()const

* @return */ @QtUninvokable public final io.qt.core.Qt.@NonNull WindowStates oldState(){ return new io.qt.core.Qt.WindowStates(oldState_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int oldState_native_constfct(long __this__nativeId); /** *

See QWindowStateChangeEvent::operator=(QWindowStateChangeEvent)

* @param other */ @QtUninvokable protected final void assign(io.qt.gui.@StrictNonNull QWindowStateChangeEvent other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); assign_native_cref_QWindowStateChangeEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QWindowStateChangeEvent(long __this__nativeId, long other); /** *

See QEvent::clone()const

* @since This function was introduced in Qt 6.0. * @return */ @QtUninvokable @Override public io.qt.gui.@Nullable QWindowStateChangeEvent clone(){ return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QWindowStateChangeEvent clone_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QWindowStateChangeEvent(QPrivateConstructor p) { super(p); } /** *

Overloaded constructor for {@link #QWindowStateChangeEvent(io.qt.core.Qt.WindowStates, boolean)} * with isOverride = false.

*/ public QWindowStateChangeEvent(io.qt.core.Qt.@NonNull WindowStates oldState) { this(oldState, (boolean)false); } /** * @deprecated Use {@link #assign(io.qt.gui.QWindowStateChangeEvent)} instead. */ @Deprecated @QtUninvokable protected final void set(io.qt.gui.@StrictNonNull QWindowStateChangeEvent other) { assign(other); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy