FontSourceCollection

遗产: java.lang.Object

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

public final class FontSourceCollection implements Iterable<FontSource>

表示字体源集合。

构造函数

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

领域

场地描述
CollectionChangedCollectionChanged 事件

方法

方法描述
add(FontSource fontSource)将新的字体源对象添加到集合中。
clear()清除字体源集合。
contains(FontSource item)确定元素是否在集合中。
copyTo(FontSource[] array, int index)将整个集合复制到兼容的一维数组,从目标数组的指定索引开始
delete(FontSource fontSource)删除字体源元素。
equals(Object arg0)
getClass()
getItem(int index)获取指定索引处的字体元素。
getSyncRoot()获取可用于同步对集合的访问的对象。
hashCode()
isSynchronized()获取一个值,该值指示对集合的访问是否同步(线程安全)。
iterator()返回整个集合的枚举器。
notify()
notifyAll()
remove(FontSource item)删除字体源元素。
size()获取集合中实际包含的 Font 对象元素的数量。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

FontSourceCollection()

public FontSourceCollection()

初始化集合对象

CollectionChanged

public final PdfEvent<System.EventHandler> CollectionChanged

CollectionChanged 事件

add(FontSource fontSource)

public void add(FontSource fontSource)

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

参数:

范围类型描述
fontSourceFontSource字体来源。

clear()

public void clear()

清除字体源集合。

contains(FontSource item)

public boolean contains(FontSource item)

确定元素是否在集合中。

参数:

范围类型描述
itemFontSource要搜索的 FontSource 对象。

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

copyTo(FontSource[] array, int index)

public void copyTo(FontSource[] array, int index)

将整个集合复制到兼容的一维数组,从目标数组的指定索引开始

参数:

范围类型描述
arrayFontSource[]将被复制的对象数组。
indexint将从其开始复制的起始索引。

delete(FontSource fontSource)

public void delete(FontSource fontSource)

删除字体源元素。

参数:

范围类型描述
fontSourceFontSource将被删除的 FontSource 对象。

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getItem(int index)

public FontSource getItem(int index)

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

参数:

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

退货: FontSource - 字体源对象。

getSyncRoot()

public Object getSyncRoot()

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

退货: java.lang.Object - 对象元素

hashCode()

public native int hashCode()

退货: 整数

isSynchronized()

public boolean isSynchronized()

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

退货: boolean - 布尔值

iterator()

public System.Collections.IEnumerator iterator()

返回整个集合的枚举器。

退货: com.aspose.ms.System.Collections.IEnumerator - 枚举器对象。

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(FontSource item)

public boolean remove(FontSource item)

删除字体源元素。

参数:

范围类型描述
itemFontSource将被删除的 FontSource 对象。

退货: 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