Package de.intarsys.cwt.font
Interface IFontRegistry
- All Known Implementing Classes:
StandardFontRegistry
public interface IFontRegistry
A registry of
IFont instances.-
Method Summary
Modifier and TypeMethodDescriptionIFont[]getFonts()TheIFontinstances in thisIFontRegistry.lookupFont(IFontQuery query) TheIFontselected by theIFontQuery.lookupFontFamily(IFontQuery query) TheIFontFamilyselected by theIFontQuery.voidregisterFont(IFont font) Add a newIFontto theIFontRegistry.
-
Method Details
-
getFontFamilies
IFontFamily[] getFontFamilies()- Returns:
- The
IFontFamilyinstances formed by theIFontinstances in thisIFontRegistry.
-
getFonts
IFont[] getFonts()TheIFontinstances in thisIFontRegistry.- Returns:
- The
IFontinstances in thisIFontRegistry.
-
lookupFont
TheIFontselected by theIFontQuery.- Parameters:
query- AIFontQuerydescribing a singleIFont.- Returns:
- The
IFontselected by theIFontQuery.
-
lookupFontFamily
TheIFontFamilyselected by theIFontQuery.- Parameters:
query- AIFontQuerydescribing a singleIFontFamily.- Returns:
- The
IFontFamilyselected by theIFontQuery.
-
registerFont
Add a newIFontto theIFontRegistry.- Parameters:
font- The newIFont
-