Package de.intarsys.cwt.font
Class FontFamily
java.lang.Object
de.intarsys.cwt.font.FontFamily
- All Implemented Interfaces:
IFontFamily
An abstraction of a fonts family.
-
Constructor Details
-
FontFamily
-
-
Method Details
-
getFamilyName
Description copied from interface:IFontFamily
for example- Specified by:
getFamilyName
in interfaceIFontFamily
- Returns:
- for example
-
getFont
Description copied from interface:IFontFamily
- Specified by:
getFont
in interfaceIFontFamily
- Parameters:
style
- The requested style.- Returns:
- The
IFont
within the family with a specificFontStyle
or null.
-
getFontIterator
-
getFonts
Description copied from interface:IFontFamily
AllIFont
instances within this family.- Specified by:
getFonts
in interfaceIFontFamily
- Returns:
- All
IFont
instances within this family.
-
getFontStyles
Description copied from interface:IFontFamily
The supportedFontStyle
instances in this family.- Specified by:
getFontStyles
in interfaceIFontFamily
- Returns:
- The supported
FontStyle
instances in this family.
-
getFontType
Description copied from interface:IFontFamily
The font type. This is for example "TrueType" or "Type1".- Specified by:
getFontType
in interfaceIFontFamily
- Returns:
- The font type.
-
registerFont
Description copied from interface:IFontFamily
Add a newIFont
to this family.- Specified by:
registerFont
in interfaceIFontFamily
- Parameters:
font
- The newIFont
-