net.aerith.misao.toolkit.PixyDesktop
Class StarDetectionSettingDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.toolkit.PixyDesktop.StarDetectionSettingDialog

public class StarDetectionSettingDialog
extends Dialog

The StarDetectionSettingDialog represents a dialog to configure the setting of star detection.


Inner Class Summary
protected  class StarDetectionSettingDialog.ModeListener
          The ModeListener is a listener class to select a mode.
 
Field Summary
protected  javax.swing.JCheckBox checkbox_correct_blooming
          The check box to correct the positions of blooming stars.
protected  javax.swing.JRadioButton radio_amount
          The radio button to regard the amount of pixel values over the threshold as brightness of stars.
protected  javax.swing.JRadioButton radio_aperture
          The radio button for aperture photometry.
protected  javax.swing.JRadioButton radio_peak
          The radio button to regard the peak value as brightness of stars.
protected  javax.swing.JTextField text_inner_aperture
          The text field to input the inner aperture size.
protected  javax.swing.JTextField text_outer_aperture
          The text field to input the outer aperture size.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
StarDetectionSettingDialog()
          Constructs a StarDetectionSettingDialog.
 
Method Summary
 boolean correctsBloomingPosition()
          Returns true when to correct positions of blooming stars.
 int getInnerApertureSize()
          Gets the inner aperture size.
 int getMode()
          Gets the mode.
 int getOuterApertureSize()
          Gets the outer aperture size.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
protected  void saveDefaultValues()
          Saves the default values.
 void setCorrectBloomingPosition(boolean f)
          Sets the flag to correct positions of blooming stars.
protected  void setDefaultValues()
          Sets the default values.
private  void updateComponents()
          Updates the components.
 
Methods inherited from class net.aerith.misao.gui.dialog.Dialog
show
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

radio_amount

protected javax.swing.JRadioButton radio_amount
The radio button to regard the amount of pixel values over the threshold as brightness of stars.

radio_peak

protected javax.swing.JRadioButton radio_peak
The radio button to regard the peak value as brightness of stars.

radio_aperture

protected javax.swing.JRadioButton radio_aperture
The radio button for aperture photometry.

text_inner_aperture

protected javax.swing.JTextField text_inner_aperture
The text field to input the inner aperture size.

text_outer_aperture

protected javax.swing.JTextField text_outer_aperture
The text field to input the outer aperture size.

checkbox_correct_blooming

protected javax.swing.JCheckBox checkbox_correct_blooming
The check box to correct the positions of blooming stars.
Constructor Detail

StarDetectionSettingDialog

public StarDetectionSettingDialog()
Constructs a StarDetectionSettingDialog.
Method Detail

getTitle

protected java.lang.String getTitle()
Gets the title of the dialog.
Overrides:
getTitle in class Dialog
Returns:
the title of the dialog.

setDefaultValues

protected void setDefaultValues()
Sets the default values.

saveDefaultValues

protected void saveDefaultValues()
Saves the default values.
Overrides:
saveDefaultValues in class Dialog

getMode

public int getMode()
Gets the mode.
Returns:
the mode.

getInnerApertureSize

public int getInnerApertureSize()
Gets the inner aperture size.
Returns:
the inner aperture size.

getOuterApertureSize

public int getOuterApertureSize()
Gets the outer aperture size.
Returns:
the outer aperture size.

correctsBloomingPosition

public boolean correctsBloomingPosition()
Returns true when to correct positions of blooming stars.
Returns:
true when to correct positions of blooming stars.

setCorrectBloomingPosition

public void setCorrectBloomingPosition(boolean f)
Sets the flag to correct positions of blooming stars.
Parameters:
f - true when to correct positions of blooming stars.

updateComponents

private void updateComponents()
Updates the components.