net.aerith.misao.toolkit.BatchExamination
Class BatchExaminationSettingDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.toolkit.BatchExamination.BatchExaminationSettingDialog

public class BatchExaminationSettingDialog
extends Dialog

The BatchExaminationSettingDialog represents a dialog to configure the setting of batch examination.


Inner Class Summary
protected  class BatchExaminationSettingDialog.FilterListener
          The FilterListener is a listener class of menu selection to select image processing filters.
protected  class BatchExaminationSettingDialog.ModeListener
          The ModeListener is a listener class to select a mode.
 
Field Summary
protected  javax.swing.JButton button_filter
          The button to select image processing filters.
protected  javax.swing.JCheckBox checkbox_correct_blooming
          The check box to correct the positions of blooming stars.
protected  javax.swing.JCheckBox checkbox_distortion
          The check box which represents to calculate the distortion field.
protected  javax.swing.JCheckBox checkbox_loose_matching
          The check box which represents the loose judgement in matching.
protected  FilterSet filter_set
          The set of image processing filters.
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
BatchExaminationSettingDialog()
          Constructs a BatchExaminationSettingDialog.
 
Method Summary
 boolean calculatesDistortionField()
          Returns true to calculate the distortion field.
 boolean correctsBloomingPosition()
          Returns true when to correct positions of blooming stars.
 FilterSet getFilterSet()
          Gets a set of selected image processing filters.
 int getInnerApertureSize()
          Gets the inner aperture size.
 int getOuterApertureSize()
          Gets the outer aperture size.
 int getStarDetectionMode()
          Gets the star detection mode.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
 boolean isLooseJudgementSelected()
          Returns true when loose judgement is selected.
protected  void saveDefaultValues()
          Saves the default values.
 void setCalculateDistortionField(boolean flag)
          Sets the flag to calculate the distortion field.
 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

filter_set

protected FilterSet filter_set
The set of image processing filters.

button_filter

protected javax.swing.JButton button_filter
The button to select image processing filters.

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.

checkbox_loose_matching

protected javax.swing.JCheckBox checkbox_loose_matching
The check box which represents the loose judgement in matching.

checkbox_distortion

protected javax.swing.JCheckBox checkbox_distortion
The check box which represents to calculate the distortion field.
Constructor Detail

BatchExaminationSettingDialog

public BatchExaminationSettingDialog()
Constructs a BatchExaminationSettingDialog.
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

getFilterSet

public FilterSet getFilterSet()
Gets a set of selected image processing filters.
Returns:
a set of selected image processing filters.

getStarDetectionMode

public int getStarDetectionMode()
Gets the star detection mode.
Returns:
the star detection 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.

isLooseJudgementSelected

public boolean isLooseJudgementSelected()
Returns true when loose judgement is selected.
Returns:
true when loose judgement is selected.

calculatesDistortionField

public boolean calculatesDistortionField()
Returns true to calculate the distortion field.
Returns:
true to calculate the distortion field.

setCalculateDistortionField

public void setCalculateDistortionField(boolean flag)
Sets the flag to calculate the distortion field.
Parameters:
flag - true when to calculate the distortion field.

updateComponents

private void updateComponents()
Updates the components.