Class OutputParamDialog

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class OutputParamDialog extends JDialog implements ActionListener
Parameter dialog box for SVG embed and crop images tool
Author:
Benjamin Nanes
See Also:
  • Field Details

    • imgFileLabel

      private JLabel imgFileLabel
    • imgFileMode

      private JComboBox imgFileMode
    • compQualLabel

      private JLabel compQualLabel
    • compQual

      private JSpinner compQual
    • resampLabel

      private JLabel resampLabel
    • resampLabel2

      private JLabel resampLabel2
    • resampCheck

      private JCheckBox resampCheck
    • resampLevel

      private JSpinner resampLevel
    • resampLevel2

      private JSpinner resampLevel2
    • ok

      private JButton ok
    • cancel

      private JButton cancel
    • wasOKd

      private boolean wasOKd
  • Constructor Details

    • OutputParamDialog

      public OutputParamDialog()
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • showAndWait

      public void showAndWait()
      Show the dialog and wait for a response before returning
    • wasOKd

      public boolean wasOKd()
      Returns true if the OK button was pressed
    • getImgFileMode

      public String getImgFileMode()
      Get the selected image file type
    • getCompressionQuality

      public float getCompressionQuality()
      Get the selected image compression quality parameter
    • getDoResample

      public boolean getDoResample()
      Get the selected resampling option
    • getTargetRes

      public float getTargetRes()
      Get the selected resampling level
    • getMaxRes

      public float getMaxRes()
    • setup

      private void setup()