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