Class JDialogHoughCircleChoice

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

public class JDialogHoughCircleChoice extends JDialogBase
Confirmation Dialog giving user the choice to choose which circles 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
    • xDimSource

      private int xDimSource
    • y0Array

      private double[] y0Array
    • yDimSource

      private int yDimSource
    • radArray

      private double[] radArray
    • maxRad

      private double maxRad
    • countArray

      private int[] countArray
    • selectedCircle

      private boolean[] selectedCircle
    • numCirclesFound

      private int numCirclesFound
    • selectedArray

      private JCheckBox[] selectedArray
    • okayPressed

      private boolean okayPressed
      DOCUMENT ME!
  • Constructor Details

    • JDialogHoughCircleChoice

      public JDialogHoughCircleChoice(Frame theParentFrame, double[] x0Array, int xDimSource, double[] y0Array, int yDimSource, double[] radArray, double maxRad, int[] countArray, boolean[] selectedCircle)
      Creates a new JDialogHoughCircleChoice object.
      Parameters:
      theParentFrame - DOCUMENT ME!
      x0Array -
      xDimSource -
      y0Array -
      yDimSource -
      radArray -
      maxRad -
      countArray -
      selectedCircle -
  • 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 line 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.