net.aerith.misao.toolkit.VariableStarSearch
Class VariableStarSearchSettingDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.toolkit.VariableStarSearch.VariableStarSearchSettingDialog

public class VariableStarSearchSettingDialog
extends Dialog

The VariableStarSearchSettingDialog represents a dialog to set up parameters to search variable stars.


Field Summary
protected  javax.swing.JRadioButton radio_blending_blended
          The radio button for the blending policy to search variability based on blended magnitude.
protected  javax.swing.JRadioButton radio_blending_not_considered
          The radio button for the blending policy to search variability based on measured magnitude.
protected  javax.swing.JRadioButton radio_blending_rejected
          The radio button for the blending policy to reject blending stars.
protected  javax.swing.JTextField text_ignore_edge
          The text field to input the pixels from edge to ignore.
protected  javax.swing.JTextField text_limiting_mag
          The text field to input the limiting magnitude of the peak.
protected  javax.swing.JTextField text_mag_threshold
          The text field to input the threshold of magnitude difference.
protected  javax.swing.JTextField text_period_window_size
          The text field to input the period window size in days.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
VariableStarSearchSettingDialog()
          Constructs a VariableStarSearchSettingDialog.
 
Method Summary
 int getBlendingPolicy()
          Gets the number of policy on blending.
 int getIgnoreEdge()
          Gets the pixels from edge to ignore.
 double getLimitingMagnitude()
          Gets the limiting magnitude of the peak.
 double getMagnitudeThreshold()
          Gets the threshold of magnitude difference.
 double getPeriodWindowSize()
          Gets the period window size in days.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
protected  void saveDefaultValues()
          Saves the default values.
 void setBlendingPolicy(int policy)
          Sets the number of policy on blending.
protected  void setDefaultValues()
          Sets the default values.
 
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

text_mag_threshold

protected javax.swing.JTextField text_mag_threshold
The text field to input the threshold of magnitude difference.

text_limiting_mag

protected javax.swing.JTextField text_limiting_mag
The text field to input the limiting magnitude of the peak.

text_period_window_size

protected javax.swing.JTextField text_period_window_size
The text field to input the period window size in days.

text_ignore_edge

protected javax.swing.JTextField text_ignore_edge
The text field to input the pixels from edge to ignore.

radio_blending_not_considered

protected javax.swing.JRadioButton radio_blending_not_considered
The radio button for the blending policy to search variability based on measured magnitude.

radio_blending_blended

protected javax.swing.JRadioButton radio_blending_blended
The radio button for the blending policy to search variability based on blended magnitude.

radio_blending_rejected

protected javax.swing.JRadioButton radio_blending_rejected
The radio button for the blending policy to reject blending stars.
Constructor Detail

VariableStarSearchSettingDialog

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

getMagnitudeThreshold

public double getMagnitudeThreshold()
Gets the threshold of magnitude difference.
Returns:
the threshold of magnitude difference.

getLimitingMagnitude

public double getLimitingMagnitude()
Gets the limiting magnitude of the peak.
Returns:
the limiting magnitude of the peak.

getPeriodWindowSize

public double getPeriodWindowSize()
Gets the period window size in days.
Returns:
the period window size in days.

getIgnoreEdge

public int getIgnoreEdge()
Gets the pixels from edge to ignore.
Returns:
the pixels from edge to ignore.

getBlendingPolicy

public int getBlendingPolicy()
Gets the number of policy on blending.
Returns:
the number of policy on blending.

setBlendingPolicy

public void setBlendingPolicy(int policy)
Sets the number of policy on blending.
Parameters:
policy - the number of policy on blending.