public class SVGUserAgent extends SimpleSVGUserAgent
| Constructor and Description |
|---|
SVGUserAgent(FOUserAgent foUserAgent,
org.apache.batik.bridge.FontFamilyResolver fontFamilyResolver)
Creates a new SVGUserAgent.
|
SVGUserAgent(FOUserAgent foUserAgent,
org.apache.batik.bridge.FontFamilyResolver fontFamilyResolver,
AffineTransform at)
Creates a new SVGUserAgent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
displayError(Exception ex)
Displays an error resulting from the specified Exception.
|
void |
displayError(String message)
Displays an error message.
|
void |
displayMessage(String message)
Displays a message in the User Agent interface.
|
Exception |
getLastException()
Returns the last exception sent to the
displayError(Exception) method. |
void |
showAlert(String message)
Shows an alert dialog box.
|
getFontFamilyResolver, getLanguages, getMedia, getMediumFontSize, getPixelUnitToMillimeter, getTransform, getUserStyleSheetURI, getViewportSize, getXMLParserClassName, isXMLParserValidating, setTransformaddStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, getAlternateStyleSheet, getBolderFontWeight, getBrokenLinkDocument, getClientAreaLocationOnScreen, getDefaultFontFamily, getEventDispatcher, getExternalResourceSecurity, getLighterFontWeight, getPixelToMM, getScriptSecurity, getSourceResolution, getStandardBolderFontWeight, getStandardLighterFontWeight, handleElement, hasFeature, loadDocument, openLink, registerExtension, runThread, setBridgeContext, setSourceResolution, setSVGCursor, setTextSelection, showConfirm, showPrompt, showPrompt, supportExtensionpublic SVGUserAgent(FOUserAgent foUserAgent, org.apache.batik.bridge.FontFamilyResolver fontFamilyResolver, AffineTransform at)
foUserAgent - the FO user agent to associate with this SVG user agentfontFamilyResolver - the font family resolverat - the current transformpublic SVGUserAgent(FOUserAgent foUserAgent, org.apache.batik.bridge.FontFamilyResolver fontFamilyResolver)
foUserAgent - the FO user agent to associate with this SVG user agentpublic Exception getLastException()
displayError(Exception) method.public void displayError(String message)
displayError in class org.apache.batik.bridge.UserAgentAdaptermessage - the message to displaypublic void displayError(Exception ex)
displayError in interface org.apache.batik.bridge.UserAgentdisplayError in class org.apache.batik.bridge.UserAgentAdapterex - the exception to displaypublic void displayMessage(String message)
displayMessage in interface org.apache.batik.bridge.UserAgentdisplayMessage in class org.apache.batik.bridge.UserAgentAdaptermessage - the message to displaypublic void showAlert(String message)
showAlert in interface org.apache.batik.bridge.UserAgentshowAlert in class org.apache.batik.bridge.UserAgentAdaptermessage - the message to displayCopyright © 2025 Apache Software Foundation. All rights reserved.