net.aerith.misao.gui.dialog
Class UserStarDialog
java.lang.Object
|
+--net.aerith.misao.gui.dialog.Dialog
|
+--net.aerith.misao.gui.dialog.UserStarDialog
- public class UserStarDialog
- extends Dialog
The UserStarDialog
represents a dialog to set the name,
R.A. and Decl., and the magnitude of a user's star.
Field Summary |
protected CoorPanel |
coor_panel
The panel to input R.A. |
protected javax.swing.JTextField |
text_mag
The text field to input the magnitude. |
protected javax.swing.JTextField |
text_name
The text field to input the name. |
Constructor Summary |
UserStarDialog(java.lang.String[] messages)
Constructs a UserStarDialog . |
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 |
text_name
protected javax.swing.JTextField text_name
- The text field to input the name.
coor_panel
protected CoorPanel coor_panel
- The panel to input R.A. and Decl.
text_mag
protected javax.swing.JTextField text_mag
- The text field to input the magnitude.
UserStarDialog
public UserStarDialog(java.lang.String[] messages)
- Constructs a
UserStarDialog
.
- Parameters:
messages
- the messages to show.
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
getStar
public UserStar getStar()
- Gets the user's star.
- Returns:
- the user's star.