io.qt.gui.QTextList 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.*;
/**
* 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.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTextList.class);
/**
* See QTextList:: QTextList(QTextDocument*)
*/
public QTextList(io.qt.gui.@Nullable 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)
*/
@QtUninvokable
public final void add(io.qt.gui.@NonNull QTextBlock block){
add_native_cref_QTextBlock(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(block));
}
@QtUninvokable
private native void add_native_cref_QTextBlock(long __this__nativeId, long block);
/**
*
*/
@QtUninvokable
public final int count(){
return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int count_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextListFormat textListFormat(){
return textListFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QTextListFormat textListFormat_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextBlock item(int i){
return item_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native io.qt.gui.QTextBlock item_native_int_constfct(long __this__nativeId, int i);
/**
* See QTextList:: itemNumber(QTextBlock)const
*/
@QtUninvokable
public final int itemNumber(io.qt.gui.@NonNull QTextBlock arg__1){
return itemNumber_native_cref_QTextBlock_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native int itemNumber_native_cref_QTextBlock_constfct(long __this__nativeId, long arg__1);
/**
* See QTextList:: itemText(QTextBlock)const
*/
@QtUninvokable
public final java.lang.@NonNull String itemText(io.qt.gui.@NonNull QTextBlock arg__1){
return itemText_native_cref_QTextBlock_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native java.lang.String itemText_native_cref_QTextBlock_constfct(long __this__nativeId, long arg__1);
/**
* See QTextList:: remove(QTextBlock)
*/
@QtUninvokable
public final void remove(io.qt.gui.@NonNull QTextBlock arg__1){
remove_native_cref_QTextBlock(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void remove_native_cref_QTextBlock(long __this__nativeId, long arg__1);
/**
* See QTextList:: removeItem(int)
*/
@QtUninvokable
public final void removeItem(int i){
removeItem_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native void removeItem_native_int(long __this__nativeId, int i);
/**
* See QTextList:: setFormat(QTextListFormat)
*/
@QtUninvokable
public final void setFormat(io.qt.gui.@NonNull QTextListFormat format){
setFormat_native_cref_QTextListFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@QtUninvokable
private native void setFormat_native_cref_QTextListFormat(long __this__nativeId, long format);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QTextList(QPrivateConstructor p) { super(p); }
}