public class TableField extends Object
Represents a field of a table in Project.
Constructor and Description |
---|
TableField()
Initializes a new instance of the
TableField class. |
Modifier and Type | Method and Description |
---|---|
int |
getAlignData()
Gets the alignment of data in a table field.
|
int |
getAlignTitle()
Gets the alignment of the title in a table field.
|
int |
getField()
Gets the type of a table field.
|
Table |
getParentTable()
Gets the parent of the
TableField object. |
String |
getTitle()
Gets the title of the field in a table.
|
int |
getWidth()
Gets the width in points of the field column in a table.
|
boolean |
getWrapHeader()
Gets a value indicating whether the table column heading can wrap to multiple lines, or if it should be truncated
when it exceeds the column width.
|
boolean |
getWrapText()
Gets a value indicating whether the column text can wrap to multiple lines, or if it should be truncated when it
exceeds the column width.
|
void |
setAlignData(int value)
Sets the alignment of data in a table field.
|
void |
setAlignTitle(int value)
Sets the alignment of the title in a table field.
|
void |
setField(int value)
Sets the type of a table field.
|
void |
setTitle(String value)
Sets the title of the field in a table.
|
void |
setWidth(int value)
Sets the width in points of the field column in a table.
|
void |
setWrapHeader(boolean value)
Sets a value indicating whether the table column heading can wrap to multiple lines, or if it should be truncated
when it exceeds the column width.
|
void |
setWrapText(boolean value)
Sets a value indicating whether the column text can wrap to multiple lines, or if it should be truncated when it
exceeds the column width.
|
public TableField()
Initializes a new instance of the TableField
class.
public final int getAlignData()
Gets the alignment of data in a table field.
Read/write StringAlignment
.
public final void setAlignData(int value)
Sets the alignment of data in a table field.
Read/write StringAlignment
.
value
- the alignment of data in a table field.public final int getAlignTitle()
Gets the alignment of the title in a table field.
Read/write StringAlignment
.
public final void setAlignTitle(int value)
Sets the alignment of the title in a table field.
Read/write StringAlignment
.
value
- the alignment of the title in a table field.public final int getField()
Gets the type of a table field.
Read/write Field
(getField()
/setField(int)
).
public final void setField(int value)
Sets the type of a table field.
Read/write Field
(getField()
/setField(int)
).
value
- the type of a table field.public final Table getParentTable()
Gets the parent of the TableField
object.
Read-only Table
.
TableField
object.public final String getTitle()
Gets the title of the field in a table.
Read/write String
.
public final void setTitle(String value)
Sets the title of the field in a table.
Read/write String
.
value
- the title of the field in a table.public final int getWidth()
Gets the width in points of the field column in a table.
Read/write int
.
public final void setWidth(int value)
Sets the width in points of the field column in a table.
Read/write int
.
value
- the width in points of the field column in a table.public final boolean getWrapHeader()
Gets a value indicating whether the table column heading can wrap to multiple lines, or if it should be truncated when it exceeds the column width.
public final void setWrapHeader(boolean value)
Sets a value indicating whether the table column heading can wrap to multiple lines, or if it should be truncated when it exceeds the column width.
value
- a value indicating whether the table column heading can wrap to multiple lines, or if it
should be truncated when it exceeds the column width.public final boolean getWrapText()
Gets a value indicating whether the column text can wrap to multiple lines, or if it should be truncated when it exceeds the column width.
public final void setWrapText(boolean value)
Sets a value indicating whether the column text can wrap to multiple lines, or if it should be truncated when it exceeds the column width.
value
- a value indicating whether the column text can wrap to multiple lines, or if it should be
truncated when it exceeds the column width.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.