intarsys CWT library

de.intarsys.cwt.font
Interface IFontRegistry

All Known Implementing Classes:
StandardFontRegistry

public interface IFontRegistry

A registry of IFont instances.


Method Summary
 IFontFamily[] getFontFamilies()
          The IFontFamily instances formed by the IFont instances in this IFontRegistry.
 IFont[] getFonts()
          The IFont instances in this IFontRegistry.
 IFont lookupFont(IFontQuery query)
          The IFont selected by the IFontQuery.
 IFontFamily lookupFontFamily(IFontQuery query)
          The IFontFamily selected by the IFontQuery.
 void registerFont(IFont font)
          Add a new IFont to the IFontRegistry.
 

Method Detail

getFontFamilies

IFontFamily[] getFontFamilies()
The IFontFamily instances formed by the IFont instances in this IFontRegistry.

Returns:
The IFontFamily instances formed by the IFont instances in this IFontRegistry.

getFonts

IFont[] getFonts()
The IFont instances in this IFontRegistry.

Returns:
The IFont instances in this IFontRegistry.

lookupFont

IFont lookupFont(IFontQuery query)
The IFont selected by the IFontQuery.

Parameters:
query - A IFontQuery describing a single IFont.
Returns:
The IFont selected by the IFontQuery.

lookupFontFamily

IFontFamily lookupFontFamily(IFontQuery query)
The IFontFamily selected by the IFontQuery.

Parameters:
query - A IFontQuery describing a single IFontFamily.
Returns:
The IFontFamily selected by the IFontQuery.

registerFont

void registerFont(IFont font)
Add a new IFont to the IFontRegistry.

Parameters:
font - The new IFont

intarsys CWT library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.