java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextFormat
io.qt.gui.QTextFrameFormat
io.qt.gui.QTextTableFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QTextTableFormat extends QTextFrameFormat implements Cloneable
Formatting information for tables in a QTextDocument
Java wrapper for Qt class QTextTableFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.gui.QTextFrameFormat
QTextFrameFormat.BorderStyle, QTextFrameFormat.Position
Nested classes/interfaces inherited from class io.qt.gui.QTextFormat
QTextFormat.FormatType, QTextFormat.ObjectTypes, QTextFormat.PageBreakFlag, QTextFormat.PageBreakFlags, QTextFormat.Property
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QTextTableFormat()
protected
QTextTableFormat(QTextFormat fmt)
protected
QTextTableFormat(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description Qt.Alignment
alignment()
boolean
borderCollapse()
double
cellPadding()
double
cellSpacing()
void
clearColumnWidthConstraints()
QTextTableFormat
clone()
int
columns()
QList<QTextLength>
columnWidthConstraints()
int
headerRowCount()
boolean
isValid()
void
setAlignment(Qt.Alignment alignment)
void
setAlignment(Qt.AlignmentFlag... alignment)
Overloaded function forsetAlignment(io.qt.core.Qt.Alignment)
.void
setBorderCollapse(boolean borderCollapse)
void
setCellPadding(double padding)
void
setCellSpacing(double spacing)
void
setColumns(int columns)
void
setColumnWidthConstraints(Collection<QTextLength> constraints)
void
setHeaderRowCount(int count)
Methods inherited from class io.qt.gui.QTextFrameFormat
border, borderBrush, borderStyle, bottomMargin, height, leftMargin, margin, padding, pageBreakPolicy, position, rightMargin, setBorder, setBorderBrush, setBorderStyle, setBottomMargin, setHeight, setHeight, setLeftMargin, setMargin, setPadding, setPageBreakPolicy, setPageBreakPolicy, setPosition, setRightMargin, setTopMargin, setWidth, setWidth, topMargin, width
Methods inherited from class io.qt.gui.QTextFormat
background, boolProperty, brushProperty, clearBackground, clearForeground, clearProperty, colorProperty, doubleProperty, equals, foreground, hashCode, hasProperty, intProperty, isBlockFormat, isCharFormat, isEmpty, isFrameFormat, isImageFormat, isListFormat, isTableCellFormat, isTableFormat, layoutDirection, lengthProperty, lengthVectorProperty, merge, objectIndex, objectType, penProperty, properties, property, propertyCount, readFrom, setBackground, setForeground, setLayoutDirection, setObjectIndex, setObjectType, setProperty, setProperty, stringProperty, swap, toBlockFormat, toCharFormat, toFrameFormat, toImageFormat, toListFormat, toString, toTableCellFormat, toTableFormat, type, writeTo
-
Constructor Details
-
QTextTableFormat
public QTextTableFormat() -
QTextTableFormat
-
QTextTableFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
alignment
-
borderCollapse
-
cellPadding
-
cellSpacing
-
clearColumnWidthConstraints
-
columnWidthConstraints
-
columns
-
headerRowCount
-
isValid
- Overrides:
isValid
in classQTextFrameFormat
-
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
. -
setAlignment
-
setBorderCollapse
-
setCellPadding
-
setCellSpacing
-
setColumnWidthConstraints
-
setColumns
-
setHeaderRowCount
-
clone
- Overrides:
clone
in classQTextFrameFormat
-