io.qt.gui.QScreenOrientationChangeEvent 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.*;
/**
* Java wrapper for Qt class QScreenOrientationChangeEvent
*/
public class QScreenOrientationChangeEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QScreenOrientationChangeEvent:: QScreenOrientationChangeEvent(QScreen*, Qt::ScreenOrientation)
*/
public QScreenOrientationChangeEvent(io.qt.gui.@Nullable QScreen screen, io.qt.core.Qt.@NonNull ScreenOrientation orientation){
super((QPrivateConstructor)null);
initialize_native(this, screen, orientation);
}
private native static void initialize_native(QScreenOrientationChangeEvent instance, io.qt.gui.QScreen screen, io.qt.core.Qt.ScreenOrientation orientation);
/**
* See QScreenOrientationChangeEvent:: QScreenOrientationChangeEvent(QScreenOrientationChangeEvent)
*/
protected QScreenOrientationChangeEvent(io.qt.gui.@StrictNonNull QScreenOrientationChangeEvent 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(QScreenOrientationChangeEvent instance, io.qt.gui.QScreenOrientationChangeEvent arg__1);
/**
* See QScreenOrientationChangeEvent:: operator=(QScreenOrientationChangeEvent)
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QScreenOrientationChangeEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QScreenOrientationChangeEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QScreenOrientationChangeEvent(long __this__nativeId, long other);
/**
* See QScreenOrientationChangeEvent:: orientation()const
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull ScreenOrientation orientation(){
return io.qt.core.Qt.ScreenOrientation.resolve(orientation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int orientation_native_constfct(long __this__nativeId);
/**
* See QScreenOrientationChangeEvent:: screen()const
*/
@QtUninvokable
public final io.qt.gui.@Nullable QScreen screen(){
return screen_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QScreen screen_native_constfct(long __this__nativeId);
/**
* See QEvent:: clone()const
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QScreenOrientationChangeEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QScreenOrientationChangeEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QScreenOrientationChangeEvent(QPrivateConstructor p) { super(p); }
/**
* @deprecated Use {@link #assign(io.qt.gui.QScreenOrientationChangeEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QScreenOrientationChangeEvent other) {
assign(other);
}
}