TextColumn

遗产: java.lang.Object

所有已实现的接口: java.lang.Cloneable

public class TextColumn implements Cloneable

表示单个文本列。TextColumn是的成员TextColumnCollection收藏。这TextColumns集合包括文档的一部分中的所有列。

要了解更多信息,请访问Working with Sections文档文章。

TextColumn对象仅用于指定具有自定义宽度和间距的列。如果您希望文档中的列宽度相等,请设置 TextColumns。TextColumnCollection.getEvenlySpaced() / TextColumnCollection.setEvenlySpaced(boolean)true.

当一个新的TextColumn创建后,它的宽度和间距设置为零。

方法

方法描述
equals(Object arg0)
getClass()
getSpaceAfter()获取此列与下一列之间的间距(以磅为单位)。
getWidth()获取文本列的宽度(以磅为单位)。
hashCode()
notify()
notifyAll()
setSpaceAfter(double value)设置此列与下一列之间的间距(以磅为单位)。
setWidth(double value)以磅为单位设置文本列的宽度。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getSpaceAfter()

public double getSpaceAfter()

获取此列与下一列之间的间距(以磅为单位)。最后一列不需要。

退货: double - 此列与下一列之间的间距(以磅为单位)。

getWidth()

public double getWidth()

获取文本列的宽度(以磅为单位)。

退货: double - 文本列的宽度(以磅为单位)。

hashCode()

public native int hashCode()

退货: 整数

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setSpaceAfter(double value)

public void setSpaceAfter(double value)

设置此列与下一列之间的间距(以磅为单位)。最后一列不需要。

参数:

范围类型描述
valuedouble此列与下一列之间的间距(以磅为单位)。

setWidth(double value)

public void setWidth(double value)

以磅为单位设置文本列的宽度。

参数:

范围类型描述
valuedouble文本列的宽度(以磅为单位)。

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int