net.aerith.misao.toolkit.PixyDesktop
Class PairingSettingDialog

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

public class PairingSettingDialog
extends Dialog

The PairingSettingDialog represents a dialog to set up parameters to operate pairing.


Field Summary
protected  javax.swing.JCheckBox checkbox_distortion
          The check box which represents to calculate the distortion field.
protected  javax.swing.JRadioButton radio_limiting_mag_auto
          The radio button to calculate limiting magnitude automatically.
protected  javax.swing.JRadioButton radio_limiting_mag_fixed
          The radio button to fix the limiting magnitude.
protected  javax.swing.JTextField text_limit_mag
          The text field to input the limiting magnitude.
protected  javax.swing.JTextField text_upper_limit_mag
          The text field to input the upper-limit magnitude.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
PairingSettingDialog()
          Constructs a PairingSettingDialog.
 
Method Summary
 boolean calculatesDistortionField()
          Returns true to calculate the distortion field.
 boolean fixesLimitingMagnitude()
          Returns true when not to calculate the limiting magnitude automatically.
 double getLimitingMag()
          Gets the limiting magnitude.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
 double getUpperLimitMag()
          Gets the upper-limit magnitude.
protected  void saveDefaultValues()
          Saves the default values.
 void setCalculateDistortionField(boolean flag)
          Sets the flag to calculate the distortion field.
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

checkbox_distortion

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

radio_limiting_mag_auto

protected javax.swing.JRadioButton radio_limiting_mag_auto
The radio button to calculate limiting magnitude automatically.

radio_limiting_mag_fixed

protected javax.swing.JRadioButton radio_limiting_mag_fixed
The radio button to fix the limiting magnitude.

text_limit_mag

protected javax.swing.JTextField text_limit_mag
The text field to input the limiting magnitude.

text_upper_limit_mag

protected javax.swing.JTextField text_upper_limit_mag
The text field to input the upper-limit magnitude.
Constructor Detail

PairingSettingDialog

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

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.

fixesLimitingMagnitude

public boolean fixesLimitingMagnitude()
Returns true when not to calculate the limiting magnitude automatically.
Returns:
true when not to calculate the limiting magnitude automatically.

getLimitingMag

public double getLimitingMag()
Gets the limiting magnitude.
Returns:
the limiting magnitude.

getUpperLimitMag

public double getUpperLimitMag()
Gets the upper-limit magnitude.
Returns:
the upper-limit magnitude.