FontSubstitutionCollection

遗产: java.lang.Object

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

public final class FontSubstitutionCollection implements Iterable<FontSubstitution>

表示字体替换策略集合。

构造函数

构造函数描述
FontSubstitutionCollection()初始化集合对象

方法

方法描述
add(FontSubstitution fontSubstitution)将新的字体替换对象添加到集合中。
clear()清除字体替换集合。
contains(FontSubstitution item)确定元素是否在集合中。
delete(FontSubstitution fontSubstitution)仅供内部使用
equals(Object arg0)
getClass()
getItem(int index)获取指定索引处的字体元素。
getSyncRoot()获取可用于同步对集合的访问的对象。
hashCode()
isSynchronized()获取一个值,该值指示对集合的访问是否同步(线程安全)。
iterator()返回整个集合的枚举器。
notify()
notifyAll()
remove(FontSubstitution item)删除字体替换元素。
size()获取集合中实际包含的 Font 对象元素的数量。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

FontSubstitutionCollection()

public FontSubstitutionCollection()

初始化集合对象

add(FontSubstitution fontSubstitution)

public void add(FontSubstitution fontSubstitution)

将新的字体替换对象添加到集合中。

参数:

范围类型描述
fontSubstitutionFontSubstitution字体替换策略。

clear()

public void clear()

清除字体替换集合。

contains(FontSubstitution item)

public boolean contains(FontSubstitution item)

确定元素是否在集合中。

参数:

范围类型描述
itemFontSubstitution要搜索的 FontSubstitution 对象。

退货: boolean - True - 如果找到元素;否则,假的。

delete(FontSubstitution fontSubstitution)

public void delete(FontSubstitution fontSubstitution)

仅供内部使用

删除字体替换元素。

参数:

范围类型描述
fontSubstitutionFontSubstitution字体替换对象

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getItem(int index)

public FontSubstitution getItem(int index)

获取指定索引处的字体元素。

参数:

范围类型描述
indexint集合中的索引。

退货: FontSubstitution 字体替换对象。

getSyncRoot()

public Object getSyncRoot()

获取可用于同步对集合的访问的对象。

退货: java.lang.Object - 同步对象

hashCode()

public native int hashCode()

退货: 整数

isSynchronized()

public boolean isSynchronized()

获取一个值,该值指示对集合的访问是否同步(线程安全)。

退货: boolean - 布尔值

iterator()

public System.Collections.Generic.List.Enumerator<FontSubstitution> iterator()

返回整个集合的枚举器。

退货: com.aspose.ms.System.Collections.Generic.List.Enumerator<com.aspose.pdf.text.FontSubstitution> - 枚举器对象

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(FontSubstitution item)

public boolean remove(FontSubstitution item)

删除字体替换元素。

参数:

范围类型描述
itemFontSubstitution要删除的 FontSubstitution 对象。

退货: boolean - True - 如果元素被移除;否则,假的。

size()

public int size()

获取集合中实际包含的 Font 对象元素的数量。

退货: int - 整数值

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