org.apache.batik.dom.svg
Class SVGLocatableSupport

java.lang.Object
  extended byorg.apache.batik.dom.svg.SVGLocatableSupport

public class SVGLocatableSupport
extends Object

This class provides support for the SVGLocatable interface.


Constructor Summary
SVGLocatableSupport()
          Creates a new SVGLocatable element.
 
Method Summary
static SVGRect getBBox(Element elt)
          To implement SVGLocatable.getBBox().
static SVGMatrix getCTM(Element elt)
          To implement SVGLocatable.getCTM().
static SVGElement getFarthestViewportElement(Element elt)
          To implement SVGLocatable.getFarthestViewportElement().
static SVGElement getNearestViewportElement(Element e)
          To implement SVGLocatable.getNearestViewportElement().
static SVGMatrix getScreenCTM(Element elt)
          To implement SVGLocatable.getScreenCTM().
static SVGMatrix getTransformToElement(Element elt, SVGElement element)
          To implement SVGLocatable.getTransformToElement(SVGElement).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGLocatableSupport

public SVGLocatableSupport()
Creates a new SVGLocatable element.

Method Detail

getNearestViewportElement

public static SVGElement getNearestViewportElement(Element e)
To implement SVGLocatable.getNearestViewportElement().


getFarthestViewportElement

public static SVGElement getFarthestViewportElement(Element elt)
To implement SVGLocatable.getFarthestViewportElement().


getBBox

public static SVGRect getBBox(Element elt)
To implement SVGLocatable.getBBox().


getCTM

public static SVGMatrix getCTM(Element elt)
To implement SVGLocatable.getCTM().


getScreenCTM

public static SVGMatrix getScreenCTM(Element elt)
To implement SVGLocatable.getScreenCTM().


getTransformToElement

public static SVGMatrix getTransformToElement(Element elt,
                                              SVGElement element)
                                                       throws SVGException
To implement SVGLocatable.getTransformToElement(SVGElement).

Throws:
SVGException


Copyright © 2009 Apache Software Foundation. All Rights Reserved.