org.apache.batik.apps.svgbrowser

Class PNGOptionPanel

public class PNGOptionPanel extends OptionPanel

This class represents a panel to choose the color model of the PNG, i.e. RGB or INDEXED.
Field Summary
protected JCheckBoxcheck
The check box for outputing an indexed PNG.
Constructor Summary
PNGOptionPanel()
Creates a new panel.
Method Summary
booleanisIndexed()
Returns if indexed or not
static booleanshowDialog(Component parent)
Shows a dialog to choose the indexed PNG.

Field Detail

check

protected JCheckBox check
The check box for outputing an indexed PNG.

Constructor Detail

PNGOptionPanel

public PNGOptionPanel()
Creates a new panel.

Method Detail

isIndexed

public boolean isIndexed()
Returns if indexed or not

showDialog

public static boolean showDialog(Component parent)
Shows a dialog to choose the indexed PNG.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.