org.apache.batik.apps.svgbrowser

Class JPEGOptionPanel

public class JPEGOptionPanel extends OptionPanel

This class represents a panel to control jpeg encoding quality.
Field Summary
protected JSliderquality
The jpeg encoding quality.
Constructor Summary
JPEGOptionPanel()
Creates a new panel.
Method Summary
floatgetQuality()
Returns the jpeg quality.
static floatshowDialog(Component parent)
Shows a dialog to choose the jpeg encoding quality and return the quality as a float.

Field Detail

quality

protected JSlider quality
The jpeg encoding quality.

Constructor Detail

JPEGOptionPanel

public JPEGOptionPanel()
Creates a new panel.

Method Detail

getQuality

public float getQuality()
Returns the jpeg quality.

showDialog

public static float 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.