|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.intarsys.cwt.font.StandardFontRegistry
public class StandardFontRegistry
| Constructor Summary | |
|---|---|
StandardFontRegistry()
|
|
| Method Summary | |
|---|---|
protected IFont |
basicLookup(java.lang.String key,
IFontQuery query)
|
protected boolean |
basicMatchFamily(IFontQuery query,
IFont font)
|
protected boolean |
basicMatchFamilyStyle(IFontQuery query,
IFont font)
|
protected void |
basicRegister(java.lang.String key,
IFont value)
|
IFontFamily[] |
getFontFamilies()
The IFontFamily instances formed by the IFont instances
in this IFontRegistry. |
IFont[] |
getFonts()
The IFont instances in this IFontRegistry. |
protected java.lang.Object |
getLookupKeyFontFamily(IFontQuery query)
|
protected java.lang.String |
getLookupKeyFontName(IFontQuery query)
|
protected java.lang.String |
getLookupKeyFontNameAsCanonical(IFontQuery query)
|
protected java.lang.String |
getLookupKeyFontNameCanonical(IFontQuery query)
|
protected java.lang.String |
getLookupKeyFontNamePostScript(IFontQuery query)
|
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. |
protected java.lang.String |
removeSpaces(java.lang.String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardFontRegistry()
| Method Detail |
|---|
protected IFont basicLookup(java.lang.String key,
IFontQuery query)
protected boolean basicMatchFamily(IFontQuery query,
IFont font)
protected boolean basicMatchFamilyStyle(IFontQuery query,
IFont font)
protected void basicRegister(java.lang.String key,
IFont value)
public IFontFamily[] getFontFamilies()
IFontRegistryIFontFamily instances formed by the IFont instances
in this IFontRegistry.
getFontFamilies in interface IFontRegistryIFontFamily instances formed by the IFont
instances in this IFontRegistry.public IFont[] getFonts()
IFontRegistryIFont instances in this IFontRegistry.
getFonts in interface IFontRegistryIFont instances in this IFontRegistry.protected java.lang.Object getLookupKeyFontFamily(IFontQuery query)
protected java.lang.String getLookupKeyFontName(IFontQuery query)
protected java.lang.String getLookupKeyFontNameAsCanonical(IFontQuery query)
protected java.lang.String getLookupKeyFontNameCanonical(IFontQuery query)
protected java.lang.String getLookupKeyFontNamePostScript(IFontQuery query)
public IFont lookupFont(IFontQuery query)
IFontRegistryIFont selected by the IFontQuery.
lookupFont in interface IFontRegistryquery - A IFontQuery describing a single IFont.
IFont selected by the IFontQuery.public IFontFamily lookupFontFamily(IFontQuery query)
IFontRegistryIFontFamily selected by the IFontQuery.
lookupFontFamily in interface IFontRegistryquery - A IFontQuery describing a single IFontFamily.
IFontFamily selected by the IFontQuery.public void registerFont(IFont font)
IFontRegistryIFont to the IFontRegistry.
registerFont in interface IFontRegistryfont - The new IFontprotected java.lang.String removeSpaces(java.lang.String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||