Class JDialogHoughHyperbolaChoice

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

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

    • serialVersionUID

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

      private float[] xCenter
    • xDimSource

      private int xDimSource
    • yCenter

      private float[] yCenter
    • yDimSource

      private int yDimSource
    • r1

      private float[] r1
    • r2

      private float[] r2
    • theta

      private float[] theta
    • minR1

      private double minR1
    • maxR1

      private double maxR1
    • minR2

      private double minR2
    • maxR2

      private double maxR2
    • count

      private short[] count
    • selectedHyperbola

      private boolean[] selectedHyperbola
    • numHyperbolasFound

      private int numHyperbolasFound
    • selectedArray

      private JCheckBox[] selectedArray
    • okayPressed

      private boolean okayPressed
      DOCUMENT ME!
  • Constructor Details

    • JDialogHoughHyperbolaChoice

      public JDialogHoughHyperbolaChoice(Frame theParentFrame, float[] xCenter, int xDimSource, float[] yCenter, int yDimSource, float[] r1, double minR1, double maxR1, float[] r2, double minR2, double maxR2, float[] theta, short[] count, boolean[] selectedHyperbola)
      Creates a new JDialogHoughHyperbolaChoice object.
      Parameters:
      theParentFrame - DOCUMENT ME!
      xCenter -
      xDimSource -
      yCenter -
      yDimSource -
      r1 -
      maxR1 -
      count -
      selectedHyperbola -
  • 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.