io.qt.gui.QPaintEvent Maven / Gradle / Ivy
The newest version!
package io.qt.gui;
/**
* Contains event parameters for paint events
* Java wrapper for Qt class QPaintEvent
*/
public class QPaintEvent extends io.qt.core.QEvent
{
static {
QtJambi_LibraryUtilities.initialize();
}
protected QPaintEvent(io.qt.gui.QPaintEvent 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(QPaintEvent instance, io.qt.gui.QPaintEvent arg__1);
/**
* See QPaintEvent::QPaintEvent(QRect)
*/
public QPaintEvent(io.qt.core.QRect paintRect){
super((QPrivateConstructor)null);
initialize_native(this, paintRect);
}
private native static void initialize_native(QPaintEvent instance, io.qt.core.QRect paintRect);
/**
* See QPaintEvent::QPaintEvent(QRegion)
*/
public QPaintEvent(io.qt.gui.QRegion paintRegion){
super((QPrivateConstructor)null);
initialize_native(this, paintRegion);
}
private native static void initialize_native(QPaintEvent instance, io.qt.gui.QRegion paintRegion);
@io.qt.QtUninvokable
protected final void set(io.qt.gui.QPaintEvent other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
set_native_cref_QPaintEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void set_native_cref_QPaintEvent(long __this__nativeId, long other);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect rect(){
return rect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect rect_native_constfct(long __this__nativeId);
/**
* See QPaintEvent::region()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QRegion region(){
return region_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QRegion region_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.gui.QPaintEvent clone(){
return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPaintEvent clone_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
protected final void setErased(boolean erased){
setErased_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), erased);
}
@io.qt.QtUninvokable
private native void setErased_native_bool(long __this__nativeId, boolean erased);
@io.qt.QtUninvokable
protected final boolean erased(){
return erased_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean erased_native(long __this__nativeId);
@io.qt.QtUninvokable
protected final void setRect(io.qt.core.QRect rect){
setRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@io.qt.QtUninvokable
private native void setRect_native_cref_QRect(long __this__nativeId, long rect);
@io.qt.QtUninvokable
protected final void setRegion(io.qt.gui.QRegion region){
setRegion_native_cref_QRegion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(region));
}
@io.qt.QtUninvokable
private native void setRegion_native_cref_QRegion(long __this__nativeId, long region);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QPaintEvent(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 - 2024 Weber Informatics LLC | Privacy Policy