|
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 IFontFamily
public IFont getFont(FontStyle style)
IFontFamily
IFont
within the family with a specific FontStyle
or
null.
getFont
in interface IFontFamily
style
- The requested style.
IFont
within the family with a specific
FontStyle
or null.public Iterator<IFont> getFontIterator()
public IFont[] getFonts()
IFontFamily
IFont
instances within this family.
getFonts
in interface IFontFamily
IFont
instances within this family.public FontStyle[] getFontStyles()
IFontFamily
FontStyle
instances in this family.
getFontStyles
in interface IFontFamily
FontStyle
instances in this family.public String getFontType()
IFontFamily
getFontType
in interface IFontFamily
public void registerFont(IFont font)
IFontFamily
IFont
to this family.
registerFont
in interface IFontFamily
font
- The new IFont
|
intarsys CWT library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |