|
|||||||||
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()
IFontRegistry
IFontFamily
instances formed by the IFont
instances
in this IFontRegistry
.
getFontFamilies
in interface IFontRegistry
IFontFamily
instances formed by the IFont
instances in this IFontRegistry
.public IFont[] getFonts()
IFontRegistry
IFont
instances in this IFontRegistry
.
getFonts
in interface IFontRegistry
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)
public IFont lookupFont(IFontQuery query)
IFontRegistry
IFont
selected by the IFontQuery
.
lookupFont
in interface IFontRegistry
query
- A IFontQuery
describing a single IFont
.
IFont
selected by the IFontQuery
.public IFontFamily lookupFontFamily(IFontQuery query)
IFontRegistry
IFontFamily
selected by the IFontQuery
.
lookupFontFamily
in interface IFontRegistry
query
- A IFontQuery
describing a single IFontFamily
.
IFontFamily
selected by the IFontQuery
.public void registerFont(IFont font)
IFontRegistry
IFont
to the IFontRegistry
.
registerFont
in interface IFontRegistry
font
- The new IFont
protected java.lang.String removeSpaces(java.lang.String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |