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

io.qt.gui.QTextImageFormat Maven / Gradle / Ivy

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

import io.qt.*;


/**
 * 

Formatting information for images in a QTextDocument

*

Java wrapper for Qt class QTextImageFormat

*/ public class QTextImageFormat extends io.qt.gui.QTextCharFormat implements java.lang.Cloneable { /** *

See QTextImageFormat::QTextImageFormat()

*/ public QTextImageFormat(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QTextImageFormat instance); /** *

See QTextImageFormat::QTextImageFormat(QTextFormat)

*/ protected QTextImageFormat(io.qt.gui.@NonNull QTextFormat format){ super((QPrivateConstructor)null); initialize_native(this, format); } private native static void initialize_native(QTextImageFormat instance, io.qt.gui.QTextFormat format); /** *

See QTextImageFormat::QTextImageFormat(QTextImageFormat)

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

See QTextImageFormat::height()const

*/ @QtUninvokable public final double height(){ return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double height_native_constfct(long __this__nativeId); /** *

See QTextFormat::isValid()const

*/ @QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QTextImageFormat::name()const

*/ @QtUninvokable public final java.lang.@NonNull String name(){ return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String name_native_constfct(long __this__nativeId); /** *

See QTextImageFormat::quality()const

*/ @QtUninvokable public final int quality(){ return quality_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int quality_native_constfct(long __this__nativeId); /** *

See QTextImageFormat::setHeight(qreal)

*/ @QtUninvokable public final void setHeight(double height){ setHeight_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), height); } @QtUninvokable private native void setHeight_native_qreal(long __this__nativeId, double height); /** *

See QTextImageFormat::setName(QString)

*/ @QtUninvokable public final void setName(java.lang.@NonNull String name){ setName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native void setName_native_cref_QString(long __this__nativeId, java.lang.String name); /** *

See QTextImageFormat::setQuality()

* * @deprecated Pass a quality value, the default is 100 */ @Deprecated @QtUninvokable public final void setQuality(){ setQuality_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @Deprecated @QtUninvokable private native void setQuality_native(long __this__nativeId); /** *

See QTextImageFormat::setQuality(int)

*/ @QtUninvokable public final void setQuality(int quality){ setQuality_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), quality); } @QtUninvokable private native void setQuality_native_int(long __this__nativeId, int quality); /** *

See QTextImageFormat::setWidth(qreal)

*/ @QtUninvokable public final void setWidth(double width){ setWidth_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), width); } @QtUninvokable private native void setWidth_native_qreal(long __this__nativeId, double width); /** *

See swap(QTextImageFormat&,QTextImageFormat&)

*/ @QtUninvokable public final void swap(io.qt.gui.@StrictNonNull QTextImageFormat value2){ java.util.Objects.requireNonNull(value2, "Argument 'value2': null not expected."); swap_native_ref_QTextImageFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value2)); } @QtUninvokable private native void swap_native_ref_QTextImageFormat(long __this__nativeId, long value2); /** *

See QTextImageFormat::width()const

*/ @QtUninvokable public final double width(){ return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double width_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTextImageFormat(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QTextImageFormat::QTextImageFormat(QTextImageFormat)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy