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

      private JCheckBox resampCheck
    • resampLevel

      private JSpinner resampLevel
    • 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
    • getResampleLevel

      public float getResampleLevel()
      Get the selected resampling level
    • setup

      private void setup()