org.apache.batik.apps.svgbrowser

Class SVGOptionPanel

public class SVGOptionPanel extends OptionPanel

This class represents a panel to control svg encoding options.
Field Summary
protected JCheckBoxprettyPrintCB
protected JCheckBoxxmlbaseCB
The svg encoding options.
Constructor Summary
SVGOptionPanel()
Creates a new panel.
Method Summary
booleangetPrettyPrint()
Returns true if the output should use xml:base.
booleangetUseXMLBase()
Returns true if the output should use xml:base.
static SVGOptionPanelshowDialog(Component parent)
Shows a dialog to choose the jpeg encoding quality and return the quality as a float.

Field Detail

prettyPrintCB

protected JCheckBox prettyPrintCB

xmlbaseCB

protected JCheckBox xmlbaseCB
The svg encoding options.

Constructor Detail

SVGOptionPanel

public SVGOptionPanel()
Creates a new panel.

Method Detail

getPrettyPrint

public boolean getPrettyPrint()
Returns true if the output should use xml:base.

getUseXMLBase

public boolean getUseXMLBase()
Returns true if the output should use xml:base.

showDialog

public static SVGOptionPanel showDialog(Component parent)
Shows a dialog to choose the jpeg encoding quality and return the quality as a float.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.