@Internal public class SVGUserAgent extends org.apache.batik.bridge.UserAgentAdapter
Constructor and Description |
---|
SVGUserAgent() |
Modifier and Type | Method and Description |
---|---|
void |
displayError(java.lang.Exception e) |
void |
displayError(java.lang.String message) |
void |
displayMessage(java.lang.String message) |
java.awt.geom.Rectangle2D |
getViewbox() |
java.awt.geom.Dimension2D |
getViewportSize() |
void |
initViewbox(org.w3c.dom.svg.SVGDocument doc) |
void |
showAlert(java.lang.String message) |
addStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, getAlternateStyleSheet, getBolderFontWeight, getBrokenLinkDocument, getClientAreaLocationOnScreen, getDefaultFontFamily, getEventDispatcher, getExternalResourceSecurity, getFontFamilyResolver, getLanguages, getLighterFontWeight, getMedia, getMediumFontSize, getPixelToMM, getPixelUnitToMillimeter, getScriptSecurity, getStandardBolderFontWeight, getStandardLighterFontWeight, getTransform, getUserStyleSheetURI, getXMLParserClassName, handleElement, hasFeature, isXMLParserValidating, loadDocument, openLink, registerExtension, runThread, setBridgeContext, setSVGCursor, setTextSelection, setTransform, showConfirm, showPrompt, showPrompt, supportExtension
public java.awt.geom.Dimension2D getViewportSize()
getViewportSize
in interface org.apache.batik.bridge.UserAgent
getViewportSize
in class org.apache.batik.bridge.UserAgentAdapter
public java.awt.geom.Rectangle2D getViewbox()
public void initViewbox(org.w3c.dom.svg.SVGDocument doc)
public void displayMessage(java.lang.String message)
displayMessage
in interface org.apache.batik.bridge.UserAgent
displayMessage
in class org.apache.batik.bridge.UserAgentAdapter
public void displayError(java.lang.String message)
displayError
in class org.apache.batik.bridge.UserAgentAdapter
public void displayError(java.lang.Exception e)
displayError
in interface org.apache.batik.bridge.UserAgent
displayError
in class org.apache.batik.bridge.UserAgentAdapter
public void showAlert(java.lang.String message)
showAlert
in interface org.apache.batik.bridge.UserAgent
showAlert
in class org.apache.batik.bridge.UserAgentAdapter
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.