org.foray.graphic.batik
Class BatikUaAwt

java.lang.Object
  extended by org.apache.batik.bridge.UserAgentAdapter
      extended by org.foray.graphic.batik.BatikUaDocument
          extended by org.foray.graphic.batik.BatikUaAwt
All Implemented Interfaces:
org.apache.batik.bridge.UserAgent

public class BatikUaAwt
extends BatikUaDocument

A Batik UserAgent implementation that is used when drawing an SVG using an AWT device (screen or printer). For drawing into a PDF, PostScript, or similar file, see BatikUaDocument.


Field Summary
 
Fields inherited from class org.foray.graphic.batik.BatikUaDocument
DEFAULT_VIEWPORT_HEIGHT, DEFAULT_VIEWPORT_WIDTH
 
Fields inherited from class org.apache.batik.bridge.UserAgentAdapter
extensions, FEATURES
 
Constructor Summary
BatikUaAwt(AffineTransform at)
          Creates a new SVGUserAgent.
 
Method Summary
 Point getClientAreaLocationOnScreen()
           
 org.apache.batik.gvt.event.EventDispatcher getEventDispatcher()
           
 Dimension2D getViewportSize()
           
 void openLink(org.w3c.dom.svg.SVGAElement elt)
           
 void setSVGCursor(Cursor cursor)
           
 
Methods inherited from class org.foray.graphic.batik.BatikUaDocument
displayError, displayError, displayMessage, getLanguages, getMedia, getPixelToMM, getPixelUnitToMillimeter, getTransform, getUserStyleSheetURI, isXMLParserValidating, setLogger
 
Methods inherited from class org.apache.batik.bridge.UserAgentAdapter
addStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, getAlternateStyleSheet, getBolderFontWeight, getDefaultFontFamily, getExternalResourceSecurity, getLighterFontWeight, getMediumFontSize, getScriptSecurity, getStandardBolderFontWeight, getStandardLighterFontWeight, getXMLParserClassName, handleElement, hasFeature, registerExtension, runThread, setTextSelection, setTransform, showAlert, showConfirm, showPrompt, showPrompt, supportExtension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatikUaAwt

public BatikUaAwt(AffineTransform at)
Creates a new SVGUserAgent.

Parameters:
at - The AffineTransform instance for this.
Method Detail

openLink

public void openLink(org.w3c.dom.svg.SVGAElement elt)
Specified by:
openLink in interface org.apache.batik.bridge.UserAgent
Overrides:
openLink in class org.apache.batik.bridge.UserAgentAdapter

getClientAreaLocationOnScreen

public Point getClientAreaLocationOnScreen()
Specified by:
getClientAreaLocationOnScreen in interface org.apache.batik.bridge.UserAgent
Overrides:
getClientAreaLocationOnScreen in class org.apache.batik.bridge.UserAgentAdapter

setSVGCursor

public void setSVGCursor(Cursor cursor)
Specified by:
setSVGCursor in interface org.apache.batik.bridge.UserAgent
Overrides:
setSVGCursor in class org.apache.batik.bridge.UserAgentAdapter

getViewportSize

public Dimension2D getViewportSize()
Specified by:
getViewportSize in interface org.apache.batik.bridge.UserAgent
Overrides:
getViewportSize in class BatikUaDocument

getEventDispatcher

public org.apache.batik.gvt.event.EventDispatcher getEventDispatcher()
Specified by:
getEventDispatcher in interface org.apache.batik.bridge.UserAgent
Overrides:
getEventDispatcher in class org.apache.batik.bridge.UserAgentAdapter


Copyright © 2017. All rights reserved.