ITextElement

public interface ITextElement

用于呈现文本结构元素的界面。

方法

方法描述
getStructureTextState()获取文本结构元素的 StructureTextState 对象。
setText(String text)将文本内容附加到当前文本元素。

getStructureTextState()

public abstract StructureTextState getStructureTextState()

获取文本结构元素的 StructureTextState 对象。

退货: StructureTextState 值:文本结构元素的 StructureTextState 对象。

setText(String text)

public abstract void setText(String text)

将文本内容附加到当前文本元素。

参数:

范围类型描述
textjava.lang.String文字内容