public class SVGUserAgent extends SimpleSVGUserAgent
Constructor and Description |
---|
SVGUserAgent(FOUserAgent foUserAgent)
Creates a new SVGUserAgent.
|
SVGUserAgent(FOUserAgent foUserAgent,
java.awt.geom.AffineTransform at)
Creates a new SVGUserAgent.
|
Modifier and Type | Method and Description |
---|---|
void |
displayError(java.lang.Exception ex)
Displays an error resulting from the specified Exception.
|
void |
displayError(java.lang.String message)
Displays an error message.
|
void |
displayMessage(java.lang.String message)
Displays a message in the User Agent interface.
|
java.lang.Exception |
getLastException()
Returns the last exception sent to the
displayError(Exception) method. |
void |
showAlert(java.lang.String message)
Shows an alert dialog box.
|
getLanguages, getMedia, getPixelUnitToMillimeter, getTransform, getUserStyleSheetURI, getViewportSize, getXMLParserClassName, isXMLParserValidating, setTransform
addStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, getAlternateStyleSheet, getBolderFontWeight, getBrokenLinkDocument, getClientAreaLocationOnScreen, getDefaultFontFamily, getEventDispatcher, getExternalResourceSecurity, getLighterFontWeight, getMediumFontSize, getPixelToMM, getScriptSecurity, getStandardBolderFontWeight, getStandardLighterFontWeight, handleElement, hasFeature, openLink, registerExtension, runThread, setBridgeContext, setSVGCursor, setTextSelection, showConfirm, showPrompt, showPrompt, supportExtension
public SVGUserAgent(FOUserAgent foUserAgent, java.awt.geom.AffineTransform at)
foUserAgent
- the FO user agent to associate with this SVG user agentat
- the current transformpublic SVGUserAgent(FOUserAgent foUserAgent)
foUserAgent
- the FO user agent to associate with this SVG user agentpublic java.lang.Exception getLastException()
displayError(Exception)
method.public void displayError(java.lang.String message)
displayError
in class org.apache.batik.bridge.UserAgentAdapter
message
- the message to displaypublic void displayError(java.lang.Exception ex)
displayError
in interface org.apache.batik.bridge.UserAgent
displayError
in class org.apache.batik.bridge.UserAgentAdapter
ex
- the exception to displaypublic void displayMessage(java.lang.String message)
displayMessage
in interface org.apache.batik.bridge.UserAgent
displayMessage
in class org.apache.batik.bridge.UserAgentAdapter
message
- the message to displaypublic void showAlert(java.lang.String message)
showAlert
in interface org.apache.batik.bridge.UserAgent
showAlert
in class org.apache.batik.bridge.UserAgentAdapter
message
- the message to displayCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.