net.aerith.misao.toolkit.ImageDatabase
Class SearchStarSettingDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.toolkit.ImageDatabase.SearchStarSettingDialog

public class SearchStarSettingDialog
extends Dialog

The SearchStarSettingDialog represents a dialog to set up the R.A. and Decl., and the radius to search a star.


Field Summary
protected  javax.swing.JComboBox combo_unit
          The combo box to select an unit of radius.
protected  CoorPanel coor_panel
          The panel to input R.A.
protected  LimitingMagPanel limiting_mag_panel
          The panel to specify the range of the limiting magnitude.
protected  javax.swing.JTextField text_radius
          The text field to input the radius.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
SearchStarSettingDialog()
          Constructs a SearchStarSettingDialog.
 
Method Summary
 double getBrighterLimit()
          Gets the brighter limit of the limiting magnitude.
 Coor getCoor()
          Gets the R.A.
 double getFainterLimit()
          Gets the fainter limit of the limiting magnitude.
 double getRadius()
          Gets the radius in degree.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
protected  void saveDefaultValues()
          Saves the default values.
 void setCoor(Coor coor)
          Sets the center R.A.
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

coor_panel

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

text_radius

protected javax.swing.JTextField text_radius
The text field to input the radius.

combo_unit

protected javax.swing.JComboBox combo_unit
The combo box to select an unit of radius.

limiting_mag_panel

protected LimitingMagPanel limiting_mag_panel
The panel to specify the range of the limiting magnitude.
Constructor Detail

SearchStarSettingDialog

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

getCoor

public Coor getCoor()
Gets the R.A. and Decl.
Returns:
the 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.

getRadius

public double getRadius()
Gets the radius in degree.
Returns:
the radius in degree.

getBrighterLimit

public double getBrighterLimit()
Gets the brighter limit of the limiting magnitude.
Returns:
the brighter limit of the limiting magnitude.

getFainterLimit

public double getFainterLimit()
Gets the fainter limit of the limiting magnitude.
Returns:
the fainter limit of the limiting magnitude.