Package de.intarsys.cwt.font
Interface IFontRegistry
-
- All Known Implementing Classes:
StandardFontRegistry
public interface IFontRegistryA registry ofIFontinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFontFamily[]getFontFamilies()IFont[]getFonts()TheIFontinstances in thisIFontRegistry.IFontlookupFont(IFontQuery query)TheIFontselected by theIFontQuery.IFontFamilylookupFontFamily(IFontQuery query)TheIFontFamilyselected by theIFontQuery.voidregisterFont(IFont font)Add a newIFontto theIFontRegistry.
-
-
-
Method Detail
-
getFontFamilies
IFontFamily[] getFontFamilies()
- Returns:
- The
IFontFamilyinstances formed by theIFontinstances in thisIFontRegistry.
-
getFonts
IFont[] getFonts()
TheIFontinstances in thisIFontRegistry.- Returns:
- The
IFontinstances in thisIFontRegistry.
-
lookupFont
IFont lookupFont(IFontQuery query)
TheIFontselected by theIFontQuery.- Parameters:
query- AIFontQuerydescribing a singleIFont.- Returns:
- The
IFontselected by theIFontQuery.
-
lookupFontFamily
IFontFamily lookupFontFamily(IFontQuery query)
TheIFontFamilyselected by theIFontQuery.- Parameters:
query- AIFontQuerydescribing a singleIFontFamily.- Returns:
- The
IFontFamilyselected by theIFontQuery.
-
registerFont
void registerFont(IFont font)
Add a newIFontto theIFontRegistry.- Parameters:
font- The newIFont
-
-