|
intarsys CWT library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.cwt.font.FontFamily
public class FontFamily
An abstraction of a fonts family.
| Constructor Summary | |
|---|---|
FontFamily(String name)
|
|
| Method Summary | |
|---|---|
String |
getFamilyName()
for example |
IFont |
getFont(FontStyle style)
The IFont within the family with a specific FontStyle or
null. |
Iterator<IFont> |
getFontIterator()
|
IFont[] |
getFonts()
All IFont instances within this family. |
FontStyle[] |
getFontStyles()
The supported FontStyle instances in this family. |
String |
getFontType()
The font type. |
void |
registerFont(IFont font)
Add a new IFont to this family. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FontFamily(String name)
| Method Detail |
|---|
public String getFamilyName()
IFontFamily
getFamilyName in interface IFontFamilypublic IFont getFont(FontStyle style)
IFontFamilyIFont within the family with a specific FontStyle or
null.
getFont in interface IFontFamilystyle - The requested style.
IFont within the family with a specific
FontStyle or null.public Iterator<IFont> getFontIterator()
public IFont[] getFonts()
IFontFamilyIFont instances within this family.
getFonts in interface IFontFamilyIFont instances within this family.public FontStyle[] getFontStyles()
IFontFamilyFontStyle instances in this family.
getFontStyles in interface IFontFamilyFontStyle instances in this family.public String getFontType()
IFontFamily
getFontType in interface IFontFamilypublic void registerFont(IFont font)
IFontFamilyIFont to this family.
registerFont in interface IFontFamilyfont - The new IFont
|
intarsys CWT library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||