All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QTextTableFormat Maven / Gradle / Ivy

The newest version!
package io.qt.gui;


/**
 * 

Formatting information for tables in a QTextDocument

*

Java wrapper for Qt class QTextTableFormat

*/ public class QTextTableFormat extends io.qt.gui.QTextFrameFormat implements java.lang.Cloneable { /** *

See QTextTableFormat::QTextTableFormat()

*/ public QTextTableFormat(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QTextTableFormat instance); protected QTextTableFormat(io.qt.gui.QTextFormat fmt){ super((QPrivateConstructor)null); initialize_native(this, fmt); } private native static void initialize_native(QTextTableFormat instance, io.qt.gui.QTextFormat fmt); /** *

See QTextTableFormat::alignment()const

*/ @io.qt.QtUninvokable public final io.qt.core.Qt.Alignment alignment(){ return new io.qt.core.Qt.Alignment(alignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int alignment_native_constfct(long __this__nativeId); /** *

See QTextTableFormat::borderCollapse()const

*/ @io.qt.QtUninvokable public final boolean borderCollapse(){ return borderCollapse_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean borderCollapse_native_constfct(long __this__nativeId); /** *

See QTextTableFormat::cellPadding()const

*/ @io.qt.QtUninvokable public final double cellPadding(){ return cellPadding_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double cellPadding_native_constfct(long __this__nativeId); /** *

See QTextTableFormat::cellSpacing()const

*/ @io.qt.QtUninvokable public final double cellSpacing(){ return cellSpacing_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double cellSpacing_native_constfct(long __this__nativeId); /** *

See QTextTableFormat::clearColumnWidthConstraints()

*/ @io.qt.QtUninvokable public final void clearColumnWidthConstraints(){ clearColumnWidthConstraints_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void clearColumnWidthConstraints_native(long __this__nativeId); /** *

See QTextTableFormat::columnWidthConstraints()const

*/ @io.qt.QtUninvokable public final io.qt.core.QList columnWidthConstraints(){ return columnWidthConstraints_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QList columnWidthConstraints_native_constfct(long __this__nativeId); /** *

See QTextTableFormat::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); /** *

See QTextTableFormat::headerRowCount()const

*/ @io.qt.QtUninvokable public final int headerRowCount(){ return headerRowCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int headerRowCount_native_constfct(long __this__nativeId); /** *

See QTextFormat::isValid()const

*/ @io.qt.QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #setAlignment(io.qt.core.Qt.Alignment)}.

*/ @io.qt.QtUninvokable public final void setAlignment(io.qt.core.Qt.AlignmentFlag ... alignment){ setAlignment(new io.qt.core.Qt.Alignment(alignment)); } /** *

See QTextTableFormat::setAlignment(Qt::Alignment)

*/ @io.qt.QtUninvokable public final void setAlignment(io.qt.core.Qt.Alignment alignment){ setAlignment_native_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), alignment.value()); } @io.qt.QtUninvokable private native void setAlignment_native_QFlags_Qt_AlignmentFlag_(long __this__nativeId, int alignment); /** *

See QTextTableFormat::setBorderCollapse(bool)

*/ @io.qt.QtUninvokable public final void setBorderCollapse(boolean borderCollapse){ setBorderCollapse_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), borderCollapse); } @io.qt.QtUninvokable private native void setBorderCollapse_native_bool(long __this__nativeId, boolean borderCollapse); /** *

See QTextTableFormat::setCellPadding(qreal)

*/ @io.qt.QtUninvokable public final void setCellPadding(double padding){ setCellPadding_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), padding); } @io.qt.QtUninvokable private native void setCellPadding_native_qtjambireal(long __this__nativeId, double padding); /** *

See QTextTableFormat::setCellSpacing(qreal)

*/ @io.qt.QtUninvokable public final void setCellSpacing(double spacing){ setCellSpacing_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), spacing); } @io.qt.QtUninvokable private native void setCellSpacing_native_qtjambireal(long __this__nativeId, double spacing); /** *

See QTextTableFormat::setColumnWidthConstraints(QList<QTextLength>)

*/ @io.qt.QtUninvokable public final void setColumnWidthConstraints(java.util.Collection constraints){ setColumnWidthConstraints_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), constraints); } @io.qt.QtUninvokable private native void setColumnWidthConstraints_native_cref_QList(long __this__nativeId, java.util.Collection constraints); @io.qt.QtUninvokable public final void setColumns(int columns){ setColumns_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), columns); } @io.qt.QtUninvokable private native void setColumns_native_int(long __this__nativeId, int columns); /** *

See QTextTableFormat::setHeaderRowCount(int)

*/ @io.qt.QtUninvokable public final void setHeaderRowCount(int count){ setHeaderRowCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), count); } @io.qt.QtUninvokable private native void setHeaderRowCount_native_int(long __this__nativeId, int count); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QTextTableFormat(QPrivateConstructor p) { super(p); } @Override public QTextTableFormat clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QTextTableFormat clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy