|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.FontEventAdapter
public class FontEventAdapter
Event listener interface for font-related events. This interface extends FontEventListener and EventProducer for integration into FOP's event subsystem.
Constructor Summary | |
---|---|
FontEventAdapter(EventBroadcaster broadcaster)
Creates a new FontEventAdapter. |
Method Summary | |
---|---|
void |
fontLoadingErrorAtAutoDetection(java.lang.Object source,
java.lang.String fontURL,
java.lang.Exception e)
An error occurred while loading a font for auto-detection. |
void |
fontSubstituted(java.lang.Object source,
FontTriplet requested,
FontTriplet effective)
Notifies about a font being substituted as the requested one isn't available. |
void |
glyphNotAvailable(java.lang.Object source,
char ch,
java.lang.String fontName)
A glyph has been requested that is not available in the font. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontEventAdapter(EventBroadcaster broadcaster)
broadcaster
- the event broadcaster to send the generated events toMethod Detail |
---|
public void fontSubstituted(java.lang.Object source, FontTriplet requested, FontTriplet effective)
fontSubstituted
in interface FontEventListener
source
- the event sourcerequested
- the requested font tripleteffective
- the effective font tripletpublic void fontLoadingErrorAtAutoDetection(java.lang.Object source, java.lang.String fontURL, java.lang.Exception e)
fontLoadingErrorAtAutoDetection
in interface FontEventListener
source
- the event sourcefontURL
- the font URLe
- the original exceptionpublic void glyphNotAvailable(java.lang.Object source, char ch, java.lang.String fontName)
glyphNotAvailable
in interface FontEventListener
source
- the event sourcech
- the character for which the glyph isn't availablefontName
- the name of the font
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |