net.aerith.misao.toolkit.PixyDesktop
Class MatchingCatalogSettingDialog

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

public class MatchingCatalogSettingDialog
extends Dialog

The MatchingCatalogSettingDialog represents a dialog to set up parameters to operate matching.


Field Summary
protected  OpenCatalogPanel catalog_panel
          The panel to open a catalog.
protected  javax.swing.JComboBox combo_unit
          The combo box to select an unit of field of view.
protected  CoorPanel coor_panel
          The panel to input R.A.
protected  javax.swing.JTextField text_fov_height
          The text field to input vertical field of view.
protected  javax.swing.JTextField text_fov_width
          The text field to input horizontal field of view.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
MatchingCatalogSettingDialog()
          Constructs a MatchingCatalogSettingDialog.
 
Method Summary
 void addCatalogReader(CatalogReader reader)
          Adds a catalog reader.
 java.lang.String getCatalogPath()
          Gets the catalog path.
 Coor getCoor()
          Gets the center R.A.
 double getHorizontalFieldOfView()
          Gets the horizontal field of view in degree.
 CatalogReader getSelectedCatalogReader()
          Gets the selected catalog reader.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
 double getVerticalFieldOfView()
          Gets the vertical field of view in degree.
protected  void saveDefaultValues()
          Saves the default values.
 void selectCatalogReader(CatalogReader reader)
          Selects a catalog reader in the combo box.
 void setCatalogPath(java.lang.String path)
          Sets the catalog path.
 void setCoor(Coor coor)
          Sets the center R.A.
protected  void setDefaultValues()
          Sets the default values.
 void setFieldOfView(double fov_width, double fov_height)
          Sets the horizontal and vertical field of view in degree.
 
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

catalog_panel

protected OpenCatalogPanel catalog_panel
The panel to open a catalog.

coor_panel

protected CoorPanel coor_panel
The panel to input R.A. and Decl.

text_fov_width

protected javax.swing.JTextField text_fov_width
The text field to input horizontal field of view.

text_fov_height

protected javax.swing.JTextField text_fov_height
The text field to input vertical field of view.

combo_unit

protected javax.swing.JComboBox combo_unit
The combo box to select an unit of field of view.
Constructor Detail

MatchingCatalogSettingDialog

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

addCatalogReader

public void addCatalogReader(CatalogReader reader)
Adds a catalog reader.
Parameters:
reader - the catalog reader to add to the combo box.

getSelectedCatalogReader

public CatalogReader getSelectedCatalogReader()
Gets the selected catalog reader.
Returns:
the selected catalog reader.

selectCatalogReader

public void selectCatalogReader(CatalogReader reader)
Selects a catalog reader in the combo box.
Parameters:
reader - the catalog reader to select.

getCatalogPath

public java.lang.String getCatalogPath()
Gets the catalog path.
Returns:
the catalog path.

setCatalogPath

public void setCatalogPath(java.lang.String path)
Sets the catalog path.
Parameters:
path - the catalog path.

getCoor

public Coor getCoor()
Gets the center R.A. and Decl.
Returns:
the center R.A. and Decl.

setCoor

public void setCoor(Coor coor)
Sets the center R.A. and Decl.
Parameters:
coor - the center R.A. and Decl.

getHorizontalFieldOfView

public double getHorizontalFieldOfView()
Gets the horizontal field of view in degree.
Returns:
the horizontal field of view in degree.

getVerticalFieldOfView

public double getVerticalFieldOfView()
Gets the vertical field of view in degree.
Returns:
the vertical field of view in degree.

setFieldOfView

public void setFieldOfView(double fov_width,
                           double fov_height)
Sets the horizontal and vertical field of view in degree.
Parameters:
fov_width - the horizontal field of view in degree.
fov_height - the vertical field of view in degree.