Class JDialogHoughCardioidChoice

All Implemented Interfaces:
DialogDefaultsInterface, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class JDialogHoughCardioidChoice extends JDialogBase
Confirmation Dialog giving user the choice to choose which cardioids to draw.
Version:
1.0
Author:
not attributable
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • x0Array

      private double[] x0Array
    • xDim

      private int xDim
    • y0Array

      private double[] y0Array
    • yDim

      private int yDim
    • a0Array

      private double[] a0Array
    • maxA

      private double maxA
    • theta0Array

      private double[] theta0Array
    • countArray

      private int[] countArray
    • selectedCardioid

      private boolean[] selectedCardioid
    • numCardioidsFound

      private int numCardioidsFound
    • selectedArray

      private JCheckBox[] selectedArray
    • okayPressed

      private boolean okayPressed
      DOCUMENT ME!
  • Constructor Details

    • JDialogHoughCardioidChoice

      public JDialogHoughCardioidChoice(Frame theParentFrame, double[] x0Array, int xDim, double[] y0Array, int yDim, double[] a0Array, double maxA, double[] theta0Array, int[] countArray, boolean[] selectedCardioid)
      Creates a new JDialogHoughCardioidChoice object.
      Parameters:
      theParentFrame - DOCUMENT ME!
      x0Array -
      xDim -
      y0Array -
      yDim -
      a0Array -
      maxA -
      theta0Array -
      countArray -
      selectedCardioid -
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Checks to see if the OK or Cancel buttons were pressed.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
      Parameters:
      event - Event that triggered this function.
    • itemStateChanged

      public void itemStateChanged(ItemEvent event)
      Check to see if cardioid was selected or deselected
      Specified by:
      itemStateChanged in interface ItemListener
      Overrides:
      itemStateChanged in class JDialogBase
      Parameters:
      event - (combo box event)
    • okayPressed

      public boolean okayPressed()
      Was the okay button pressed.
      Returns:
      boolean was okay pressed
    • init

      private void init()
      Creates and displays dialog.