io.qt.gui.QTextTableCell Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Represents the properties of a cell in a QTextTable
* Java wrapper for Qt class QTextTableCell
*/
public class QTextTableCell extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QTextTableCell:: QTextTableCell()
*/
public QTextTableCell(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QTextTableCell instance);
/**
* See QTextTableCell:: QTextTableCell(QTextTableCell)
*/
public QTextTableCell(io.qt.gui.@NonNull QTextTableCell o){
super((QPrivateConstructor)null);
initialize_native(this, o);
}
private native static void initialize_native(QTextTableCell instance, io.qt.gui.QTextTableCell o);
/**
* See QTextTableCell:: begin()const
*/
@QtUninvokable
public final io.qt.gui.QTextFrame.@NonNull iterator begin(){
return begin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QTextFrame.iterator begin_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: column()const
*/
@QtUninvokable
public final int column(){
return column_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int column_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: columnSpan()const
*/
@QtUninvokable
public final int columnSpan(){
return columnSpan_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int columnSpan_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: end()const
*/
@QtUninvokable
public final io.qt.gui.QTextFrame.@NonNull iterator end(){
return end_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QTextFrame.iterator end_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: firstCursorPosition()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextCursor firstCursorPosition(){
return firstCursorPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QTextCursor firstCursorPosition_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: firstPosition()const
*/
@QtUninvokable
public final int firstPosition(){
return firstPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int firstPosition_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: format()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextCharFormat format(){
return format_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QTextCharFormat format_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: isValid()const
*/
@QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: lastCursorPosition()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QTextCursor lastCursorPosition(){
return lastCursorPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QTextCursor lastCursorPosition_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: lastPosition()const
*/
@QtUninvokable
public final int lastPosition(){
return lastPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int lastPosition_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: operator=(QTextTableCell)
*/
@QtUninvokable
public final void assign(io.qt.gui.@NonNull QTextTableCell o){
assign_native_cref_QTextTableCell(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(o));
}
@QtUninvokable
private native void assign_native_cref_QTextTableCell(long __this__nativeId, long o);
/**
* See QTextTableCell:: operator==(QTextTableCell)const
*/
@QtUninvokable
public final boolean equals(io.qt.gui.@NonNull QTextTableCell other){
return equals_native_cref_QTextTableCell_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean equals_native_cref_QTextTableCell_constfct(long __this__nativeId, long other);
/**
* See QTextTableCell:: row()const
*/
@QtUninvokable
public final int row(){
return row_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int row_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: rowSpan()const
*/
@QtUninvokable
public final int rowSpan(){
return rowSpan_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int rowSpan_native_constfct(long __this__nativeId);
/**
* See QTextTableCell:: setFormat(QTextCharFormat)
*/
@QtUninvokable
public final void setFormat(io.qt.gui.@NonNull QTextCharFormat format){
setFormat_native_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@QtUninvokable
private native void setFormat_native_cref_QTextCharFormat(long __this__nativeId, long format);
/**
* See QTextTableCell:: tableCellFormatIndex()const
*/
@QtUninvokable
public final int tableCellFormatIndex(){
return tableCellFormatIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int tableCellFormatIndex_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QTextTableCell(QPrivateConstructor p) { super(p); }
/**
* See QTextTableCell:: operator==(QTextTableCell)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QTextTableCell) {
return equals((io.qt.gui.QTextTableCell) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QTextTableCell)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
*/
@QtUninvokable
@Override
public QTextTableCell clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QTextTableCell clone_native(long __this_nativeId);
}