coras.representations
Class SVGImage

java.lang.Object
  extended bycoras.common.CorasRepresentation
      extended bycoras.representations.DiagramRepresentation
          extended bycoras.representations.SVGImage
All Implemented Interfaces:
XmlRepresentation

public class SVGImage
extends DiagramRepresentation
implements XmlRepresentation

Author:
fvr TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
protected SVGImage(no.sintef.assetrepository.Representation representation)
           
 
Method Summary
static org.apache.batik.swing.JSVGCanvas createUIComponent(org.w3c.dom.Node content)
           
 java.awt.Component getUIComponent()
           
 org.w3c.dom.Node getXmlContent()
           
 
Methods inherited from class coras.common.CorasRepresentation
getContent, getFilename, getRepresentation, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGImage

protected SVGImage(no.sintef.assetrepository.Representation representation)
Parameters:
representation -
Method Detail

getUIComponent

public java.awt.Component getUIComponent()
Specified by:
getUIComponent in class DiagramRepresentation

getXmlContent

public org.w3c.dom.Node getXmlContent()
Specified by:
getXmlContent in interface XmlRepresentation

createUIComponent

public static org.apache.batik.swing.JSVGCanvas createUIComponent(org.w3c.dom.Node content)


Copyright © 2003-2005 SINTEF. All Rights Reserved.