io.qt.gui.QTextObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.gui;
import io.qt.*;
/**
* Base class for different kinds of objects that can group parts of a QTextDocument together
* Java wrapper for Qt class QTextObject
*/
public class QTextObject extends io.qt.core.QObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTextObject.class);
/**
* See QTextObject:: QTextObject(QTextDocument*)
*/
protected QTextObject(io.qt.gui.@Nullable QTextDocument doc){
super((QPrivateConstructor)null);
initialize_native(this, doc);
}
private native static void initialize_native(QTextObject instance, io.qt.gui.QTextDocument doc);
/**
* See QTextObject:: document()const
*/
@QtUninvokable
public final io.qt.gui.@Nullable QTextDocument document(){
return document_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QTextDocument document_native_constfct(long __this__nativeId);
/**
* See QTextObject:: 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 QTextObject:: 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 QTextObject:: objectIndex()const
*/
@QtUninvokable
public final int objectIndex(){
return objectIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int objectIndex_native_constfct(long __this__nativeId);
/**
* See QTextObject:: setFormat(QTextFormat)
*/
@QtUninvokable
protected final void setFormat(io.qt.gui.@NonNull QTextFormat format){
setFormat_native_cref_QTextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@QtUninvokable
private native void setFormat_native_cref_QTextFormat(long __this__nativeId, long format);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QTextObject(QPrivateConstructor p) { super(p); }
}