All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QTileRules Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.widgets;

import io.qt.*;


/**
 * 

The rules used to draw a pixmap or image split into nine segments

*

Java wrapper for Qt class QTileRules

*/ public class QTileRules extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QTileRules::QTileRules(QTileRules)

*/ public QTileRules(io.qt.widgets.@NonNull QTileRules other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QTileRules instance, io.qt.widgets.QTileRules other); /** *

See QTileRules::QTileRules(Qt::TileRule)

*/ public QTileRules(io.qt.core.Qt.@NonNull TileRule rule){ super((QPrivateConstructor)null); initialize_native(this, rule); } private native static void initialize_native(QTileRules instance, io.qt.core.Qt.TileRule rule); /** *

See QTileRules::QTileRules(Qt::TileRule,Qt::TileRule)

*/ public QTileRules(io.qt.core.Qt.@NonNull TileRule horizontalRule, io.qt.core.Qt.@NonNull TileRule verticalRule){ super((QPrivateConstructor)null); initialize_native(this, horizontalRule, verticalRule); } private native static void initialize_native(QTileRules instance, io.qt.core.Qt.TileRule horizontalRule, io.qt.core.Qt.TileRule verticalRule); /** *

See QTileRules::horizontal

*/ @QtUninvokable public final void setHorizontal(io.qt.core.Qt.@NonNull TileRule horizontal){ setHorizontal_native_cref_Qt_TileRule(QtJambi_LibraryUtilities.internal.nativeId(this), horizontal.value()); } @QtUninvokable private native void setHorizontal_native_cref_Qt_TileRule(long __this__nativeId, int horizontal); /** *

See QTileRules::horizontal

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull TileRule horizontal(){ return io.qt.core.Qt.TileRule.resolve(horizontal_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int horizontal_native(long __this__nativeId); /** *

See QTileRules::vertical

*/ @QtUninvokable public final void setVertical(io.qt.core.Qt.@NonNull TileRule vertical){ setVertical_native_cref_Qt_TileRule(QtJambi_LibraryUtilities.internal.nativeId(this), vertical.value()); } @QtUninvokable private native void setVertical_native_cref_Qt_TileRule(long __this__nativeId, int vertical); /** *

See QTileRules::vertical

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull TileRule vertical(){ return io.qt.core.Qt.TileRule.resolve(vertical_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int vertical_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTileRules(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QTileRules::QTileRules(QTileRules)

*/ @QtUninvokable @Override public QTileRules clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QTileRules clone_native(long __this_nativeId); /** *

Overloaded constructor for {@link #QTileRules(io.qt.core.Qt.TileRule)} * with rule = io.qt.core.Qt.TileRule.StretchTile.

*/ public QTileRules() { this(io.qt.core.Qt.TileRule.StretchTile); } /** * @hidden *

Kotlin property getter. In Java use {@link #horizontal()} instead.

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull TileRule getHorizontal() { return horizontal(); } /** * @hidden *

Kotlin property getter. In Java use {@link #vertical()} instead.

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull TileRule getVertical() { return vertical(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy