org.apache.batik.dom.svg
Class SVGLocatableSupport

java.lang.Object
  extended by org.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 svg.SVGLocatable.
static SVGMatrix getCTM(Element elt)
          To implement svg.SVGLocatable.
static SVGElement getFarthestViewportElement(Element elt)
          To implement svg.SVGLocatable.
static SVGElement getNearestViewportElement(Element e)
          To implement svg.SVGLocatable.
static SVGMatrix getScreenCTM(Element elt)
          To implement svg.SVGLocatable.
static SVGMatrix getTransformToElement(Element elt, SVGElement element)
          To implement svg.SVGLocatable.
 
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 svg.SVGLocatable.


getFarthestViewportElement

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


getBBox

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


getCTM

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


getScreenCTM

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


getTransformToElement

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

Throws:
SVGException


Copyright ? 2008 Apache Software Foundation. All Rights Reserved.