Class JDialogHoughLineChoice

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

public class JDialogHoughLineChoice extends JDialogBase
Confirmation Dialog giving user the choice to choose which lines to fill gaps on and the maximum distance of the gap to be filled for each line..
Version:
1.0
Author:
not attributable
See Also:
  • Field Details

    • serialVersionUID

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

      private int[] rhoArray
    • n1

      private int n1
    • thetaArray

      private int[] thetaArray
    • n2

      private int n2
    • countArray

      private int[] countArray
    • selectedLine

      private boolean[] selectedLine
    • maxDistance

      private float[] maxDistance
    • numLinesFound

      private int numLinesFound
    • selectedArray

      private JCheckBox[] selectedArray
    • distanceArray

      private JTextField[] distanceArray
    • okayPressed

      private boolean okayPressed
      DOCUMENT ME!
  • Constructor Details

    • JDialogHoughLineChoice

      public JDialogHoughLineChoice(Frame theParentFrame, int[] rhoArray, int n1, int[] thetaArray, int n2, int[] countArray, boolean[] selectedLine, float[] maxDistance)
      Creates a new JDialogHoughLineChoice object.
      Parameters:
      theParentFrame - DOCUMENT ME!
      rhoArray -
      n1 -
      thetaArray -
      n2 -
      countArray -
      selectedLine -
      maxDistance -
  • 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.