io.qt.gui.QExposeEvent Maven / Gradle / Ivy
package io.qt.gui;
import io.qt.*;
/**
* Contains event parameters for expose events
* Java wrapper for Qt class QExposeEvent
*/
public class QExposeEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QExposeEvent:: QExposeEvent(QExposeEvent)
* @param arg__1
*/
protected QExposeEvent(io.qt.gui.@StrictNonNull QExposeEvent 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(QExposeEvent instance, io.qt.gui.QExposeEvent arg__1);
/**
* See QExposeEvent:: QExposeEvent(QRegion)
* @param m_region
*/
public QExposeEvent(io.qt.gui.@NonNull QRegion m_region){
super((QPrivateConstructor)null);
initialize_native(this, m_region);
}
private native static void initialize_native(QExposeEvent instance, io.qt.gui.QRegion m_region);
/**
* See QExposeEvent:: operator=(QExposeEvent)
* @param other
*/
@QtUninvokable
protected final void assign(io.qt.gui.@StrictNonNull QExposeEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QExposeEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QExposeEvent(long __this__nativeId, long other);
/**
* See QExposeEvent:: region()const
*
* @deprecated Handle QPaintEvent instead@return
*/
@Deprecated
@QtUninvokable
public final io.qt.gui.@NonNull QRegion region(){
return region_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@QtUninvokable
private native io.qt.gui.QRegion region_native_constfct(long __this__nativeId);
/**
*
* @since This function was introduced in Qt 6.0.
* @return
*/
@QtUninvokable
@Override
public io.qt.gui.@Nullable QExposeEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QExposeEvent clone_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QExposeEvent(QPrivateConstructor p) { super(p); }
/**
* Overloaded constructor for {@link #QExposeEvent(io.qt.gui.QRegion)}.
*/
public QExposeEvent(io.qt.core.@NonNull QRect m_region) {
this(new io.qt.gui.QRegion(m_region));
}
/**
* Overloaded constructor for {@link #QExposeEvent(io.qt.gui.QRegion)}.
*/
public QExposeEvent(io.qt.gui.@NonNull QPolygon m_region) {
this(new io.qt.gui.QRegion(m_region));
}
/**
* Overloaded constructor for {@link #QExposeEvent(io.qt.gui.QRegion)}.
*/
public QExposeEvent(io.qt.gui.@NonNull QBitmap m_region) {
this(new io.qt.gui.QRegion(m_region));
}
/**
* @deprecated Use {@link #assign(io.qt.gui.QExposeEvent)} instead.
*/
@Deprecated
@QtUninvokable
protected final void set(io.qt.gui.@StrictNonNull QExposeEvent other) {
assign(other);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy