public class FontCollection
Constructor Summary |
---|
FontCollection()
Constructor. |
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of elements actually contained in the collection.
|
||
Font | get(int index) | |
Gets the element at the specified index.
|
Method Summary | ||
---|---|---|
int | add(Font font) | |
Add the Font object in the collection.
|
||
void | clear() | |
Removes all elements from collection.
|
||
Font | getFont(int ID) | |
Gets the element at the specified ID.
|
||
boolean | isExist(int index) | |
Is exist item in the collection.
|
||
java.util.Iterator | iterator() | |
Supports a simple iteration over a nongeneric collection.
|
||
void | remove(Font font) | |
Remove the Font object from the collection.
|
public int getCount()
public Font get(int index)
index
- public int add(Font font)
font
- public void remove(Font font)
font
- public Font getFont(int ID)
ID
- public java.util.Iterator iterator()
public boolean isExist(int index)
index
- index of element.public void clear()