net.aerith.misao.gui.dialog
Class MagnitudeSystemSettingDialog

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

public class MagnitudeSystemSettingDialog
extends Dialog

The MagnitudeSystemSettingDialog represents a dialog to configure the magnitude system definition to plot stars.


Inner Class Summary
protected  class MagnitudeSystemSettingDialog.CatalogMagnitudeHelpListener
          The CatalogMagnitudeHelpListener is a listener class of button push to show the help message on the selectged catalog magnitude.
protected  class MagnitudeSystemSettingDialog.CatalogMagnitudeSelectionListener
          The CatalogMagnitudeSelectionListener is a listener class of item selection in combo box to select the catalog magnitude.
protected  class MagnitudeSystemSettingDialog.ChipHelpListener
          The ChipHelpListener is a listener class of button push to show the help message on the CCD chips.
protected  class MagnitudeSystemSettingDialog.StandardHelpListener
          The StandardHelpListener is a listener class of button push to show the help message on the standard system.
 
Field Summary
protected  javax.swing.JButton button_help_catalog_magnitude
          The button to show the help on the catalog magnitude.
protected  javax.swing.JButton button_help_chip
          The button to show the help on the CCD chips.
protected  javax.swing.JButton button_help_standard
          The button to show the help on the standard system.
protected  CatalogStar catalog_star
          The catalog star object.
protected  javax.swing.JComboBox combo_catalog_magnitude
          The combo box to select a catalog magnitude.
protected  javax.swing.JComboBox combo_chip
          The combo box to select a CCD chip.
protected  javax.swing.JComboBox combo_standard
          The combo box to select a standard system.
protected  javax.swing.JRadioButton radio_catalog
          The radio button for catalog magnitude.
protected  javax.swing.JRadioButton radio_chip
          The radio button for unfiltered CCD image.
protected  javax.swing.JRadioButton radio_default
          The radio button for default.
protected  javax.swing.JRadioButton radio_input_formula
          The radio button to input the system formula.
protected  javax.swing.JRadioButton radio_standard
          The radio button for standard systems.
protected  javax.swing.JTextField text_input_formula
          The text field to input the system formula.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
MagnitudeSystemSettingDialog(CatalogStar catalog_star)
          Constructs a MagnitudeSystemSettingDialog.
 
Method Summary
 MagnitudeSystem getMagnitudeSystem()
          Gets the magnitude system definition.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
 
Methods inherited from class net.aerith.misao.gui.dialog.Dialog
saveDefaultValues, show
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

catalog_star

protected CatalogStar catalog_star
The catalog star object.

radio_default

protected javax.swing.JRadioButton radio_default
The radio button for default.

radio_catalog

protected javax.swing.JRadioButton radio_catalog
The radio button for catalog magnitude.

combo_catalog_magnitude

protected javax.swing.JComboBox combo_catalog_magnitude
The combo box to select a catalog magnitude.

button_help_catalog_magnitude

protected javax.swing.JButton button_help_catalog_magnitude
The button to show the help on the catalog magnitude.

radio_standard

protected javax.swing.JRadioButton radio_standard
The radio button for standard systems.

combo_standard

protected javax.swing.JComboBox combo_standard
The combo box to select a standard system.

button_help_standard

protected javax.swing.JButton button_help_standard
The button to show the help on the standard system.

radio_chip

protected javax.swing.JRadioButton radio_chip
The radio button for unfiltered CCD image.

combo_chip

protected javax.swing.JComboBox combo_chip
The combo box to select a CCD chip.

button_help_chip

protected javax.swing.JButton button_help_chip
The button to show the help on the CCD chips.

radio_input_formula

protected javax.swing.JRadioButton radio_input_formula
The radio button to input the system formula.

text_input_formula

protected javax.swing.JTextField text_input_formula
The text field to input the system formula.
Constructor Detail

MagnitudeSystemSettingDialog

public MagnitudeSystemSettingDialog(CatalogStar catalog_star)
                             throws UnsupportedMagnitudeSystemException
Constructs a MagnitudeSystemSettingDialog.
Parameters:
catalog_star - the catalog star object.
Throws:
UnsupportedMagnitudeSystemException - if the specified catalog does not contain any magnitude data.
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.

getMagnitudeSystem

public MagnitudeSystem getMagnitudeSystem()
Gets the magnitude system definition.
Returns:
the magnitude system definition.