io.qt.gui.QBackingStore Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Drawing area for QWindow
* Java wrapper for Qt class QBackingStore
*/
public class QBackingStore extends QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QBackingStore:: QBackingStore(QWindow*)
*/
public QBackingStore(io.qt.gui.@Nullable QWindow window){
super((QPrivateConstructor)null);
initialize_native(this, window);
}
private native static void initialize_native(QBackingStore instance, io.qt.gui.QWindow window);
/**
* See QBackingStore:: beginPaint(QRegion)
*/
@QtUninvokable
public final void beginPaint(io.qt.gui.@NonNull QRegion arg__1){
beginPaint_native_cref_QRegion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void beginPaint_native_cref_QRegion(long __this__nativeId, long arg__1);
/**
*
*/
@QtUninvokable
public final void endPaint(){
endPaint_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void endPaint_native(long __this__nativeId);
/**
* See QBackingStore:: flush(QRegion, QWindow*, QPoint)
*/
@QtUninvokable
public final void flush(io.qt.gui.@NonNull QRegion region, io.qt.gui.@Nullable QWindow window, io.qt.core.@NonNull QPoint offset){
flush_native_cref_QRegion_QWindow_ptr_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(region), QtJambi_LibraryUtilities.internal.checkedNativeId(window), QtJambi_LibraryUtilities.internal.checkedNativeId(offset));
}
@QtUninvokable
private native void flush_native_cref_QRegion_QWindow_ptr_cref_QPoint(long __this__nativeId, long region, long window, long offset);
/**
* See QBackingStore:: hasStaticContents()const
*/
@QtUninvokable
public final boolean hasStaticContents(){
return hasStaticContents_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasStaticContents_native_constfct(long __this__nativeId);
/**
* See QBackingStore:: paintDevice()
*/
@QtUninvokable
public final io.qt.gui.@Nullable QPaintDevice paintDevice(){
return paintDevice_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QPaintDevice paintDevice_native(long __this__nativeId);
/**
* See QBackingStore:: resize(QSize)
*/
@QtUninvokable
public final void resize(io.qt.core.@NonNull QSize size){
resize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@QtUninvokable
private native void resize_native_cref_QSize(long __this__nativeId, long size);
/**
* See QBackingStore:: scroll(QRegion, int, int)
*/
@QtUninvokable
public final boolean scroll(io.qt.gui.@NonNull QRegion area, int dx, int dy){
return scroll_native_cref_QRegion_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(area), dx, dy);
}
@QtUninvokable
private native boolean scroll_native_cref_QRegion_int_int(long __this__nativeId, long area, int dx, int dy);
/**
* See QBackingStore:: setStaticContents(QRegion)
*/
@QtUninvokable
public final void setStaticContents(io.qt.gui.@NonNull QRegion region){
setStaticContents_native_cref_QRegion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(region));
}
@QtUninvokable
private native void setStaticContents_native_cref_QRegion(long __this__nativeId, long region);
/**
* See QBackingStore:: size()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize size(){
return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize size_native_constfct(long __this__nativeId);
/**
* See QBackingStore:: staticContents()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QRegion staticContents(){
return staticContents_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QRegion staticContents_native_constfct(long __this__nativeId);
/**
* See QBackingStore:: window()const
*/
@QtUninvokable
public final io.qt.gui.@Nullable QWindow window(){
return window_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QWindow window_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QBackingStore(QPrivateConstructor p) { super(p); }
/**
* Overloaded function for {@link #beginPaint(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void beginPaint(io.qt.core.@NonNull QRect arg__1) {
beginPaint(new io.qt.gui.QRegion(arg__1));
}
/**
* Overloaded function for {@link #beginPaint(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void beginPaint(io.qt.gui.@NonNull QPolygon arg__1) {
beginPaint(new io.qt.gui.QRegion(arg__1));
}
/**
* Overloaded function for {@link #beginPaint(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void beginPaint(io.qt.gui.@NonNull QBitmap arg__1) {
beginPaint(new io.qt.gui.QRegion(arg__1));
}
/**
* Overloaded function for {@link #flush(io.qt.gui.QRegion, io.qt.gui.QWindow, io.qt.core.QPoint)}
* with offset = new io.qt.core.QPoint()
.
*/
@QtUninvokable
public final void flush(io.qt.gui.@NonNull QRegion region, io.qt.gui.@Nullable QWindow window) {
flush(region, window, new io.qt.core.QPoint());
}
/**
* Overloaded function for {@link #flush(io.qt.gui.QRegion, io.qt.gui.QWindow, io.qt.core.QPoint)}
* with:
* window = null
* offset = new io.qt.core.QPoint()
*
*/
@QtUninvokable
public final void flush(io.qt.gui.@NonNull QRegion region) {
flush(region, (io.qt.gui.QWindow)null, new io.qt.core.QPoint());
}
/**
* Overloaded function for {@link #flush(io.qt.core.QRect, io.qt.gui.QWindow, io.qt.core.QPoint)}
* with offset = new io.qt.core.QPoint()
.
*/
@QtUninvokable
public final void flush(io.qt.core.@NonNull QRect region, io.qt.gui.@Nullable QWindow window) {
flush(region, window, new io.qt.core.QPoint());
}
/**
* Overloaded function for {@link #flush(io.qt.core.QRect, io.qt.gui.QWindow, io.qt.core.QPoint)}
* with:
* window = null
* offset = new io.qt.core.QPoint()
*
*/
@QtUninvokable
public final void flush(io.qt.core.@NonNull QRect region) {
flush(region, (io.qt.gui.QWindow)null, new io.qt.core.QPoint());
}
/**
* Overloaded function for {@link #flush(io.qt.gui.QRegion, io.qt.gui.QWindow, io.qt.core.QPoint)}.
*/
@QtUninvokable
public final void flush(io.qt.core.@NonNull QRect region, io.qt.gui.@Nullable QWindow window, io.qt.core.@NonNull QPoint offset) {
flush(new io.qt.gui.QRegion(region), window, offset);
}
/**
* Overloaded function for {@link #flush(io.qt.gui.QPolygon, io.qt.gui.QWindow, io.qt.core.QPoint)}
* with offset = new io.qt.core.QPoint()
.
*/
@QtUninvokable
public final void flush(io.qt.gui.@NonNull QPolygon region, io.qt.gui.@Nullable QWindow window) {
flush(region, window, new io.qt.core.QPoint());
}
/**
* Overloaded function for {@link #flush(io.qt.gui.QPolygon, io.qt.gui.QWindow, io.qt.core.QPoint)}
* with:
* window = null
* offset = new io.qt.core.QPoint()
*
*/
@QtUninvokable
public final void flush(io.qt.gui.@NonNull QPolygon region) {
flush(region, (io.qt.gui.QWindow)null, new io.qt.core.QPoint());
}
/**
* Overloaded function for {@link #flush(io.qt.gui.QRegion, io.qt.gui.QWindow, io.qt.core.QPoint)}.
*/
@QtUninvokable
public final void flush(io.qt.gui.@NonNull QPolygon region, io.qt.gui.@Nullable QWindow window, io.qt.core.@NonNull QPoint offset) {
flush(new io.qt.gui.QRegion(region), window, offset);
}
/**
* Overloaded function for {@link #flush(io.qt.gui.QBitmap, io.qt.gui.QWindow, io.qt.core.QPoint)}
* with offset = new io.qt.core.QPoint()
.
*/
@QtUninvokable
public final void flush(io.qt.gui.@NonNull QBitmap region, io.qt.gui.@Nullable QWindow window) {
flush(region, window, new io.qt.core.QPoint());
}
/**
* Overloaded function for {@link #flush(io.qt.gui.QBitmap, io.qt.gui.QWindow, io.qt.core.QPoint)}
* with:
* window = null
* offset = new io.qt.core.QPoint()
*
*/
@QtUninvokable
public final void flush(io.qt.gui.@NonNull QBitmap region) {
flush(region, (io.qt.gui.QWindow)null, new io.qt.core.QPoint());
}
/**
* Overloaded function for {@link #flush(io.qt.gui.QRegion, io.qt.gui.QWindow, io.qt.core.QPoint)}.
*/
@QtUninvokable
public final void flush(io.qt.gui.@NonNull QBitmap region, io.qt.gui.@Nullable QWindow window, io.qt.core.@NonNull QPoint offset) {
flush(new io.qt.gui.QRegion(region), window, offset);
}
/**
* Overloaded function for {@link #scroll(io.qt.gui.QRegion, int, int)}.
*/
@QtUninvokable
public final boolean scroll(io.qt.core.@NonNull QRect area, int dx, int dy) {
return scroll(new io.qt.gui.QRegion(area), dx, dy);
}
/**
* Overloaded function for {@link #scroll(io.qt.gui.QRegion, int, int)}.
*/
@QtUninvokable
public final boolean scroll(io.qt.gui.@NonNull QPolygon area, int dx, int dy) {
return scroll(new io.qt.gui.QRegion(area), dx, dy);
}
/**
* Overloaded function for {@link #scroll(io.qt.gui.QRegion, int, int)}.
*/
@QtUninvokable
public final boolean scroll(io.qt.gui.@NonNull QBitmap area, int dx, int dy) {
return scroll(new io.qt.gui.QRegion(area), dx, dy);
}
/**
* Overloaded function for {@link #setStaticContents(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void setStaticContents(io.qt.core.@NonNull QRect region) {
setStaticContents(new io.qt.gui.QRegion(region));
}
/**
* Overloaded function for {@link #setStaticContents(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void setStaticContents(io.qt.gui.@NonNull QPolygon region) {
setStaticContents(new io.qt.gui.QRegion(region));
}
/**
* Overloaded function for {@link #setStaticContents(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void setStaticContents(io.qt.gui.@NonNull QBitmap region) {
setStaticContents(new io.qt.gui.QRegion(region));
}
}