TableCell

Inheritance: java.lang.Object, com.aspose.note.Node, com.aspose.note.CompositeNodeBase, com.aspose.note.CompositeNode, com.aspose.note.IndentatedNode

public final class TableCell extends IndentatedNode<IOutlineChildNode,TableCell>

表示一个表格单元格。

构造函数

构造函数描述
TableCell()初始化 TableCell 类的新实例。

方法

方法描述
accept(DocumentVisitor visitor)接受节点的访问者。
getBackgroundColor()获取背景颜色。
getInternalIndentPosition()
getLastModifiedTime()获取或设置最后修改时间。
getMaxWidth()获取最大宽度。
setBackgroundColor(Color value)设置背景颜色。
setLastModifiedTime(Date value)获取或设置最后修改时间。

TableCell()

public TableCell()

初始化 TableCell 类的新实例。

accept(DocumentVisitor visitor)

public void accept(DocumentVisitor visitor)

接受节点的访问者。

Parameters:

参数类型描述
visitorDocumentVisitorDocumentVisitor 派生的类的对象。

getBackgroundColor()

public Color getBackgroundColor()

获取背景颜色。

Returns: java.awt.Color

getInternalIndentPosition()

public int getInternalIndentPosition()

获取在 RgOutlineIndentDistance 数组中求和的项数,以获得缩进大小。

Returns: int

getLastModifiedTime()

public Date getLastModifiedTime()

获取或设置最后修改时间。

Returns: java.util.Date

getMaxWidth()

public float getMaxWidth()

获取最大宽度。

Returns: float

setBackgroundColor(Color value)

public void setBackgroundColor(Color value)

设置背景颜色。

Parameters:

参数类型描述
java.awt.Color

setLastModifiedTime(Date value)

public void setLastModifiedTime(Date value)

获取或设置最后修改时间。

Parameters:

参数类型描述
java.util.Date