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

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

There is a newer version: 6.8.0
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

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

See QTextTableFormat::QTextTableFormat(QTextFormat)

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

See QTextTableFormat::QTextTableFormat(QTextTableFormat)

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

See QTextTableFormat::alignment()const

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

See QTextTableFormat::borderCollapse()const

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

See QTextTableFormat::cellPadding()const

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

See QTextTableFormat::cellSpacing()const

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

See QTextTableFormat::clearColumnWidthConstraints()

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

See QTextTableFormat::columnWidthConstraints()const

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

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

See QTextTableFormat::headerRowCount()const

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

See QTextFormat::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 QTextTableFormat::setAlignment(Qt::Alignment)

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

See QTextTableFormat::setBorderCollapse(bool)

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

See QTextTableFormat::setCellPadding(qreal)

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

See QTextTableFormat::setCellSpacing(qreal)

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

See QTextTableFormat::setColumnWidthConstraints(QList<QTextLength>)

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

See QTextTableFormat::setColumns(int)

*/ @QtUninvokable public final void setColumns(int columns){ setColumns_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), columns); } @QtUninvokable private native void setColumns_native_int(long __this__nativeId, int columns); /** *

See QTextTableFormat::setHeaderRowCount(int)

*/ @QtUninvokable public final void setHeaderRowCount(int count){ setHeaderRowCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), count); } @QtUninvokable private native void setHeaderRowCount_native_int(long __this__nativeId, int count); /** *

See swap(QTextTableFormat&,QTextTableFormat&)

*/ @QtUninvokable public final void swap(io.qt.gui.@StrictNonNull QTextTableFormat value2){ java.util.Objects.requireNonNull(value2, "Argument 'value2': null not expected."); swap_native_ref_QTextTableFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value2)); } @QtUninvokable private native void swap_native_ref_QTextTableFormat(long __this__nativeId, long value2); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QTextTableFormat(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QTextTableFormat::QTextTableFormat(QTextTableFormat)

*/ @QtUninvokable @Override public QTextTableFormat clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QTextTableFormat clone_native(long __this_nativeId); /** *

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy