io.qt.gui.QTextTable 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;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QTextTable.class);
public QTextTable(io.qt.gui.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)
*/
@io.qt.QtUninvokable
public final void appendColumns(int count){
appendColumns_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), count);
}
@io.qt.QtUninvokable
private native void appendColumns_native_int(long __this__nativeId, int count);
/**
* See QTextTable::appendRows(int)
*/
@io.qt.QtUninvokable
public final void appendRows(int count){
appendRows_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), count);
}
@io.qt.QtUninvokable
private native void appendRows_native_int(long __this__nativeId, int count);
/**
* See QTextTable::cellAt(QTextCursor)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextTableCell cellAt(io.qt.gui.QTextCursor c){
return cellAt_native_cref_QTextCursor_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextTableCell cellAt_native_cref_QTextCursor_constfct(long __this__nativeId, long c);
/**
* See QTextTable::cellAt(int)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextTableCell cellAt(int position){
return cellAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), position);
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextTableCell cellAt_native_int_constfct(long __this__nativeId, int position);
/**
* See QTextTable::cellAt(int,int)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextTableCell cellAt(int row, int col){
return cellAt_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, col);
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextTableCell cellAt_native_int_int_constfct(long __this__nativeId, int row, int col);
/**
* See QTextTable::columns()const
*/
@io.qt.QtUninvokable
public final int columns(){
return columns_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int columns_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextTableFormat tableFormat(){
return tableFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextTableFormat tableFormat_native_constfct(long __this__nativeId);
/**
* See QTextTable::insertColumns(int,int)
*/
@io.qt.QtUninvokable
public final void insertColumns(int pos, int num){
insertColumns_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos, num);
}
@io.qt.QtUninvokable
private native void insertColumns_native_int_int(long __this__nativeId, int pos, int num);
/**
* See QTextTable::insertRows(int,int)
*/
@io.qt.QtUninvokable
public final void insertRows(int pos, int num){
insertRows_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos, num);
}
@io.qt.QtUninvokable
private native void insertRows_native_int_int(long __this__nativeId, int pos, int num);
/**
* See QTextTable::mergeCells(QTextCursor)
*/
@io.qt.QtUninvokable
public final void mergeCells(io.qt.gui.QTextCursor cursor){
mergeCells_native_cref_QTextCursor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(cursor));
}
@io.qt.QtUninvokable
private native void mergeCells_native_cref_QTextCursor(long __this__nativeId, long cursor);
/**
* See QTextTable::mergeCells(int,int,int,int)
*/
@io.qt.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);
}
@io.qt.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)
*/
@io.qt.QtUninvokable
public final void removeColumns(int pos, int num){
removeColumns_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos, num);
}
@io.qt.QtUninvokable
private native void removeColumns_native_int_int(long __this__nativeId, int pos, int num);
/**
* See QTextTable::removeRows(int,int)
*/
@io.qt.QtUninvokable
public final void removeRows(int pos, int num){
removeRows_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos, num);
}
@io.qt.QtUninvokable
private native void removeRows_native_int_int(long __this__nativeId, int pos, int num);
/**
* See QTextTable::resize(int,int)
*/
@io.qt.QtUninvokable
public final void resize(int rows, int cols){
resize_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), rows, cols);
}
@io.qt.QtUninvokable
private native void resize_native_int_int(long __this__nativeId, int rows, int cols);
/**
* See QTextTable::rowEnd(QTextCursor)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextCursor rowEnd(io.qt.gui.QTextCursor c){
return rowEnd_native_cref_QTextCursor_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextCursor rowEnd_native_cref_QTextCursor_constfct(long __this__nativeId, long c);
/**
* See QTextTable::rowStart(QTextCursor)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QTextCursor rowStart(io.qt.gui.QTextCursor c){
return rowStart_native_cref_QTextCursor_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c));
}
@io.qt.QtUninvokable
private native io.qt.gui.QTextCursor rowStart_native_cref_QTextCursor_constfct(long __this__nativeId, long c);
/**
*
*/
@io.qt.QtUninvokable
public final int rows(){
return rows_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int rows_native_constfct(long __this__nativeId);
/**
* See QTextTable::setFormat(QTextTableFormat)
*/
@io.qt.QtUninvokable
public final void setFormat(io.qt.gui.QTextTableFormat format){
setFormat_native_cref_QTextTableFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@io.qt.QtUninvokable
private native void setFormat_native_cref_QTextTableFormat(long __this__nativeId, long format);
/**
* See QTextTable::splitCell(int,int,int,int)
*/
@io.qt.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);
}
@io.qt.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
.
*/
@io.qt.NativeAccess
protected QTextTable(QPrivateConstructor p) { super(p); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy