Package de.intarsys.cwt.font
Interface IFontRegistry
-
- All Known Implementing Classes:
StandardFontRegistry
public interface IFontRegistry
A registry ofIFont
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFontFamily[]
getFontFamilies()
IFont[]
getFonts()
TheIFont
instances in thisIFontRegistry
.IFont
lookupFont(IFontQuery query)
TheIFont
selected by theIFontQuery
.IFontFamily
lookupFontFamily(IFontQuery query)
TheIFontFamily
selected by theIFontQuery
.void
registerFont(IFont font)
Add a newIFont
to theIFontRegistry
.
-
-
-
Method Detail
-
getFontFamilies
IFontFamily[] getFontFamilies()
- Returns:
- The
IFontFamily
instances formed by theIFont
instances in thisIFontRegistry
.
-
getFonts
IFont[] getFonts()
TheIFont
instances in thisIFontRegistry
.- Returns:
- The
IFont
instances in thisIFontRegistry
.
-
lookupFont
IFont lookupFont(IFontQuery query)
TheIFont
selected by theIFontQuery
.- Parameters:
query
- AIFontQuery
describing a singleIFont
.- Returns:
- The
IFont
selected by theIFontQuery
.
-
lookupFontFamily
IFontFamily lookupFontFamily(IFontQuery query)
TheIFontFamily
selected by theIFontQuery
.- Parameters:
query
- AIFontQuery
describing a singleIFontFamily
.- Returns:
- The
IFontFamily
selected by theIFontQuery
.
-
registerFont
void registerFont(IFont font)
Add a newIFont
to theIFontRegistry
.- Parameters:
font
- The newIFont
-
-