Class JPEGOptionPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class JPEGOptionPanel extends OptionPanel
This class represents a panel to control jpeg encoding quality.
Version:
$Id: JPEGOptionPanel.java 1802297 2017-07-18 13:58:12Z ssteiner $
See Also:
  • Field Details

    • quality

      protected JSlider quality
      The jpeg encoding quality.
  • Constructor Details

    • JPEGOptionPanel

      public JPEGOptionPanel()
      Creates a new panel.
  • Method Details

    • 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.