|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.template.SVGGenerator
This class can be used to capture a Java component's graphics as SVG. It uses Apache's Batik.
Field Summary | |
private org.apache.batik.svggen.SVGGraphics2D |
svgGenerator
Will be used to generate a DOM of the SVG. |
Constructor Summary | |
SVGGenerator()
Default constructor |
Method Summary | |
void |
generateSVG(Component component,
Writer writer,
boolean useCSS)
Outputs SVG rep of component's graphics to writer potentially using CSS style SVG. |
Reader |
getSVGReader(Component component,
boolean useCSS)
Provides SVG rep of component's graphics as a reader (for use in further XML processing) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private org.apache.batik.svggen.SVGGraphics2D svgGenerator
Constructor Detail |
public SVGGenerator() throws ParserConfigurationException
Method Detail |
public void generateSVG(Component component, Writer writer, boolean useCSS) throws IOException
IOException
public Reader getSVGReader(Component component, boolean useCSS) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |