net.aerith.misao.gui.dialog
Class MpcFormatSettingDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.gui.dialog.MpcFormatSettingDialog

public class MpcFormatSettingDialog
extends Dialog

The MpcFormatSettingDialog represents a dialog to set up parameters to make an astrometric report in the MPC format.


Inner Class Summary
protected  class MpcFormatSettingDialog.EditDesignationListener
          The EditDesignationListener is a listener class to edit the designation.
 
Field Summary
protected  javax.swing.JButton button_edit
          The button to edit the designation.
protected  javax.swing.JComboBox combo_accuracy
          The combo box to select the magnitude accuracy.
protected  Designation designation
          The designation.
protected  javax.swing.JPanel panel_designation
          The panel to show the designation.
protected  javax.swing.JRadioButton radio_b
          The radio button for the B-band magnitude.
protected  javax.swing.JRadioButton radio_ccd
          The radio button for the CCD observation.
protected  javax.swing.JRadioButton radio_i
          The radio button for the I-band magnitude.
protected  javax.swing.JRadioButton radio_nuclear
          The radio button for the nuclear magnitude.
protected  javax.swing.JRadioButton radio_photographic
          The radio button for the photographic observation.
protected  javax.swing.JRadioButton radio_r
          The radio button for the R-band magnitude.
protected  javax.swing.JRadioButton radio_total
          The radio button for the total magnitude.
protected  javax.swing.JRadioButton radio_v
          The radio button for the V-band magnitude.
protected  javax.swing.JTextField text_code
          The text field to input the observatory code.
protected  javax.swing.JTextField text_designation
          The text field to show the designation.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
MpcFormatSettingDialog()
          Constructs a MpcFormatSettingDialog.
 
Method Summary
 Designation getDesignation()
          Gets the designation.
 int getMagnitudeAccuracy()
          Gets the magnitude accuracy number.
 int getMagnitudeBand()
          Gets the magnitude band number.
 int getObservationType()
          Gets the observation type.
 java.lang.String getObservatoryCode()
          Gets the observatory code.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
protected  void saveDefaultValues()
          Saves the default values.
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

designation

protected Designation designation
The designation.

panel_designation

protected javax.swing.JPanel panel_designation
The panel to show the designation.

text_designation

protected javax.swing.JTextField text_designation
The text field to show the designation.

button_edit

protected javax.swing.JButton button_edit
The button to edit the designation.

radio_photographic

protected javax.swing.JRadioButton radio_photographic
The radio button for the photographic observation.

radio_ccd

protected javax.swing.JRadioButton radio_ccd
The radio button for the CCD observation.

combo_accuracy

protected javax.swing.JComboBox combo_accuracy
The combo box to select the magnitude accuracy.

radio_b

protected javax.swing.JRadioButton radio_b
The radio button for the B-band magnitude.

radio_v

protected javax.swing.JRadioButton radio_v
The radio button for the V-band magnitude.

radio_r

protected javax.swing.JRadioButton radio_r
The radio button for the R-band magnitude.

radio_i

protected javax.swing.JRadioButton radio_i
The radio button for the I-band magnitude.

radio_total

protected javax.swing.JRadioButton radio_total
The radio button for the total magnitude.

radio_nuclear

protected javax.swing.JRadioButton radio_nuclear
The radio button for the nuclear magnitude.

text_code

protected javax.swing.JTextField text_code
The text field to input the observatory code.
Constructor Detail

MpcFormatSettingDialog

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

getDesignation

public Designation getDesignation()
Gets the designation.
Returns:
the designation.

getObservationType

public int getObservationType()
Gets the observation type.
Returns:
the observation type.

getMagnitudeAccuracy

public int getMagnitudeAccuracy()
Gets the magnitude accuracy number.
Returns:
the magnitude accuracy number.

getMagnitudeBand

public int getMagnitudeBand()
Gets the magnitude band number.
Returns:
the magnitude band number.

getObservatoryCode

public java.lang.String getObservatoryCode()
Gets the observatory code.
Returns:
the observatory code.