io.qt.gui.QTextTable Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Represents a table in a QTextDocument
* Java wrapper for Qt class QTextTable
*/
public class QTextTable extends io.qt.gui.QTextFrame
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTextTable.class);
/**
* See QTextTable:: QTextTable(QTextDocument*)
*/
public QTextTable(io.qt.gui.@Nullable QTextDocument doc){
super((QPrivateConstructor)null);
initialize_native(this, doc);
}
private native static void initialize_native(QTextTable instance, io.qt.gui.QTextDocument doc);
/**
* See QTextTable:: appendColumns(int)
*/
@QtUninvokable
public final void appendColumns(int count){
appendColumns_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), count);
}
@QtUninvokable
private native void appendColumns_native_int(long __this__nativeId, int count);
/**
* See QTextTable:: appendRows(int)
*/
@QtUninvokable
public final void appendRows(int count){
appendRows_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), count);
}
@QtUninvokable
private native void appendRows_native_int(long __this__nativeId, int count);
/**
* See QTextTable:: cellAt(QTextCursor)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextTableCell cellAt(io.qt.gui.@NonNull QTextCursor c){
return cellAt_native_cref_QTextCursor_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c));
}
@QtUninvokable
private native io.qt.gui.QTextTableCell cellAt_native_cref_QTextCursor_constfct(long __this__nativeId, long c);
/**
* See QTextTable:: cellAt(int)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextTableCell cellAt(int position){
return cellAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), position);
}
@QtUninvokable
private native io.qt.gui.QTextTableCell cellAt_native_int_constfct(long __this__nativeId, int position);
/**
* See QTextTable:: cellAt(int, int)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextTableCell cellAt(int row, int col){
return cellAt_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, col);
}
@QtUninvokable
private native io.qt.gui.QTextTableCell cellAt_native_int_int_constfct(long __this__nativeId, int row, int col);
/**
* See QTextTable:: columns()const
*/
@QtUninvokable
public final int columns(){
return columns_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int columns_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextTableFormat tableFormat(){
return tableFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QTextTableFormat tableFormat_native_constfct(long __this__nativeId);
/**
* See QTextTable:: insertColumns(int, int)
*/
@QtUninvokable
public final void insertColumns(int pos, int num){
insertColumns_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos, num);
}
@QtUninvokable
private native void insertColumns_native_int_int(long __this__nativeId, int pos, int num);
/**
* See QTextTable:: insertRows(int, int)
*/
@QtUninvokable
public final void insertRows(int pos, int num){
insertRows_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos, num);
}
@QtUninvokable
private native void insertRows_native_int_int(long __this__nativeId, int pos, int num);
/**
* See QTextTable:: mergeCells(QTextCursor)
*/
@QtUninvokable
public final void mergeCells(io.qt.gui.@NonNull QTextCursor cursor){
mergeCells_native_cref_QTextCursor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(cursor));
}
@QtUninvokable
private native void mergeCells_native_cref_QTextCursor(long __this__nativeId, long cursor);
/**
* See QTextTable:: mergeCells(int, int, int, int)
*/
@QtUninvokable
public final void mergeCells(int row, int col, int numRows, int numCols){
mergeCells_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, col, numRows, numCols);
}
@QtUninvokable
private native void mergeCells_native_int_int_int_int(long __this__nativeId, int row, int col, int numRows, int numCols);
/**
* See QTextTable:: removeColumns(int, int)
*/
@QtUninvokable
public final void removeColumns(int pos, int num){
removeColumns_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos, num);
}
@QtUninvokable
private native void removeColumns_native_int_int(long __this__nativeId, int pos, int num);
/**
* See QTextTable:: removeRows(int, int)
*/
@QtUninvokable
public final void removeRows(int pos, int num){
removeRows_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos, num);
}
@QtUninvokable
private native void removeRows_native_int_int(long __this__nativeId, int pos, int num);
/**
* See QTextTable:: resize(int, int)
*/
@QtUninvokable
public final void resize(int rows, int cols){
resize_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), rows, cols);
}
@QtUninvokable
private native void resize_native_int_int(long __this__nativeId, int rows, int cols);
/**
* See QTextTable:: rowEnd(QTextCursor)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextCursor rowEnd(io.qt.gui.@NonNull QTextCursor c){
return rowEnd_native_cref_QTextCursor_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c));
}
@QtUninvokable
private native io.qt.gui.QTextCursor rowEnd_native_cref_QTextCursor_constfct(long __this__nativeId, long c);
/**
* See QTextTable:: rowStart(QTextCursor)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextCursor rowStart(io.qt.gui.@NonNull QTextCursor c){
return rowStart_native_cref_QTextCursor_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c));
}
@QtUninvokable
private native io.qt.gui.QTextCursor rowStart_native_cref_QTextCursor_constfct(long __this__nativeId, long c);
/**
*
*/
@QtUninvokable
public final int rows(){
return rows_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int rows_native_constfct(long __this__nativeId);
/**
* See QTextTable:: setFormat(QTextTableFormat)
*/
@QtUninvokable
public final void setFormat(io.qt.gui.@NonNull QTextTableFormat format){
setFormat_native_cref_QTextTableFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@QtUninvokable
private native void setFormat_native_cref_QTextTableFormat(long __this__nativeId, long format);
/**
* See QTextTable:: splitCell(int, int, int, int)
*/
@QtUninvokable
public final void splitCell(int row, int col, int numRows, int numCols){
splitCell_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, col, numRows, numCols);
}
@QtUninvokable
private native void splitCell_native_int_int_int_int(long __this__nativeId, int row, int col, int numRows, int numCols);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QTextTable(QPrivateConstructor p) { super(p); }
}