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

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

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

import io.qt.*;


/**
 * 

Represents an inline object in a QAbstractTextDocumentLayout and its implementations

*

Java wrapper for Qt class QTextInlineObject

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

See QTextInlineObject::QTextInlineObject()

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

See QTextInlineObject::QTextInlineObject(QTextInlineObject)

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

See QTextInlineObject::ascent()const

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

See QTextInlineObject::descent()const

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

See QTextInlineObject::format()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QTextFormat format(){ return format_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTextFormat format_native_constfct(long __this__nativeId); /** *

See QTextInlineObject::formatIndex()const

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

See QTextInlineObject::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 QTextInlineObject::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 QTextInlineObject::rect()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF rect(){ return rect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRectF rect_native_constfct(long __this__nativeId); /** *

See QTextInlineObject::setAscent(qreal)

*/ @QtUninvokable public final void setAscent(double a){ setAscent_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), a); } @QtUninvokable private native void setAscent_native_qreal(long __this__nativeId, double a); /** *

See QTextInlineObject::setDescent(qreal)

*/ @QtUninvokable public final void setDescent(double d){ setDescent_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), d); } @QtUninvokable private native void setDescent_native_qreal(long __this__nativeId, double d); /** *

See QTextInlineObject::setWidth(qreal)

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

See QTextInlineObject::textDirection()const

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

See QTextInlineObject::textPosition()const

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

See QTextInlineObject::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 QTextInlineObject(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QTextInlineObject::QTextInlineObject(QTextInlineObject)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy