DynamicPDF by ceTe Software

com.cete.dynamicpdf.text
Class FontFamilyList

java.lang.Object
  extended by com.cete.dynamicpdf.text.FontFamilyList

public class FontFamilyList
extends java.lang.Object

Represents a collection of font families.

Licensing:
This class is a DynamicPDF Generator Community Edition feature.


Constructor Summary
FontFamilyList()
          Initializes a new instance of the FontFamilyList class.
 
Method Summary
 void add(FontFamily fontFamily)
          Adds a FontFamily to the collection.
 FontFamily getFontFamily(int index)
          Gets the FontFamily at the specified index.
 FontFamily getFontFamily(java.lang.String name)
          Gets the FontFamily with the specified name.
 java.util.Iterator getIterator()
          Gets an Iterator for the collection.
 void setFontFamily(int index, FontFamily fontFamily)
          Sets the FontFamily at the specified index.
 void setFontFamily(java.lang.String name, FontFamily fontFamily)
          Sets the FontFamily with the specified name.
 int size()
          Gets the total number of font families in the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontFamilyList

public FontFamilyList()
Initializes a new instance of the FontFamilyList class.

Method Detail

size

public int size()
Gets the total number of font families in the collection.

Returns:
int total number of font families in the collection.

setFontFamily

public void setFontFamily(int index,
                          FontFamily fontFamily)
Sets the FontFamily at the specified index.

Parameters:
index - int index.
fontFamily - FontFamily object to be added to the ArrayList.
See Also:
FontFamily

getFontFamily

public FontFamily getFontFamily(int index)
Gets the FontFamily at the specified index.

Parameters:
index - int index.
Returns:
FontFamily object at the specified index.
See Also:
FontFamily

setFontFamily

public void setFontFamily(java.lang.String name,
                          FontFamily fontFamily)
Sets the FontFamily with the specified name.

Parameters:
name - String name of the FontFamily.
fontFamily - FontFamily object to be added to the HashTable.
See Also:
FontFamily

getFontFamily

public FontFamily getFontFamily(java.lang.String name)
Gets the FontFamily with the specified name.

Parameters:
name - String name of the FontFamily.
Returns:
FontFamily object with the specified name.
See Also:
FontFamily

add

public void add(FontFamily fontFamily)
Adds a FontFamily to the collection.

Parameters:
fontFamily - FontFamily object to be added to the Collection.
See Also:
FontFamily

getIterator

public java.util.Iterator getIterator()
Gets an Iterator for the collection.

Returns:
Iterator for the collection.
See Also:
Iterator

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software