io.qt.gui.QTextList Maven / Gradle / Ivy
The newest version!
package io.qt.gui;
/**
* Decorated list of items in a QTextDocument
* Java wrapper for Qt class QTextList
*/
public class QTextList extends io.qt.gui.QTextBlockGroup
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTextList.class);
public QTextList(io.qt.gui.QTextDocument doc){
super((QPrivateConstructor)null);
initialize_native(this, doc);
}
private native static void initialize_native(QTextList instance, io.qt.gui.QTextDocument doc);
/**
* See QTextList::add(QTextBlock)
*/
@io.qt.QtUninvokable
public final void add(io.qt.gui.QTextBlock block){
add_native_cref_QTextBlock(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(block));
}
@io.qt.QtUninvokable
private native void add_native_cref_QTextBlock(long __this__nativeId, long block);
/**
*
*/
@io.qt.QtUninvokable
public final int count(){
return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int count_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextListFormat textListFormat(){
return textListFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextListFormat textListFormat_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextBlock item(int i){
return item_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextBlock item_native_int_constfct(long __this__nativeId, int i);
/**
* See QTextList::itemNumber(QTextBlock)const
*/
@io.qt.QtUninvokable
public final int itemNumber(io.qt.gui.QTextBlock arg__1){
return itemNumber_native_cref_QTextBlock_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native int itemNumber_native_cref_QTextBlock_constfct(long __this__nativeId, long arg__1);
/**
* See QTextList::itemText(QTextBlock)const
*/
@io.qt.QtUninvokable
public final java.lang.String itemText(io.qt.gui.QTextBlock arg__1){
return itemText_native_cref_QTextBlock_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native java.lang.String itemText_native_cref_QTextBlock_constfct(long __this__nativeId, long arg__1);
/**
* See QTextList::remove(QTextBlock)
*/
@io.qt.QtUninvokable
public final void remove(io.qt.gui.QTextBlock arg__1){
remove_native_cref_QTextBlock(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void remove_native_cref_QTextBlock(long __this__nativeId, long arg__1);
/**
* See QTextList::removeItem(int)
*/
@io.qt.QtUninvokable
public final void removeItem(int i){
removeItem_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@io.qt.QtUninvokable
private native void removeItem_native_int(long __this__nativeId, int i);
/**
* See QTextList::setFormat(QTextListFormat)
*/
@io.qt.QtUninvokable
public final void setFormat(io.qt.gui.QTextListFormat format){
setFormat_native_cref_QTextListFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@io.qt.QtUninvokable
private native void setFormat_native_cref_QTextListFormat(long __this__nativeId, long format);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QTextList(QPrivateConstructor p) { super(p); }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy