
io.qt.gui.QWindowStateChangeEvent 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;
/**
* 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();
}
/**
* Overloaded constructor for {@link #QWindowStateChangeEvent(io.qt.core.Qt.WindowStates, boolean)}
* with isOverride = false
.
*/
public QWindowStateChangeEvent(io.qt.core.Qt.WindowStates oldState) {
this(oldState, (boolean)false);
}
public QWindowStateChangeEvent(io.qt.core.Qt.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);
protected QWindowStateChangeEvent(io.qt.gui.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);
@io.qt.QtUninvokable
public final boolean isOverride(){
return isOverride_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isOverride_native_constfct(long __this__nativeId);
/**
* See QWindowStateChangeEvent::oldState()const
*/
@io.qt.QtUninvokable
public final io.qt.core.Qt.WindowStates oldState(){
return new io.qt.core.Qt.WindowStates(oldState_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int oldState_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected final void set(io.qt.gui.QWindowStateChangeEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
set_native_cref_QWindowStateChangeEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void set_native_cref_QWindowStateChangeEvent(long __this__nativeId, long other);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.gui.QWindowStateChangeEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QWindowStateChangeEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QWindowStateChangeEvent(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