net.aerith.misao.gui.dialog
Class InformationDBUpdateSettingDialog
java.lang.Object
|
+--net.aerith.misao.gui.dialog.Dialog
|
+--net.aerith.misao.gui.dialog.InformationDBUpdateSettingDialog
- public class InformationDBUpdateSettingDialog
- extends Dialog
The InformationDBUpdateSettingDialog
represents a
dialog to set up parameters to update XML report documents in the
database.
Field Summary |
protected javax.swing.JCheckBox |
checkbox_update_reported_mag
The check box to update already reported magnitude. |
protected int |
mode
The mode. |
static int |
MODE_DELETE
The mode number which implies to delete. |
static int |
MODE_REPLACE
The mode number which implies to replace. |
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 |
mode
protected int mode
- The mode.
MODE_REPLACE
public static final int MODE_REPLACE
- The mode number which implies to replace.
MODE_DELETE
public static final int MODE_DELETE
- The mode number which implies to delete.
checkbox_update_reported_mag
protected javax.swing.JCheckBox checkbox_update_reported_mag
- The check box to update already reported magnitude.
InformationDBUpdateSettingDialog
public InformationDBUpdateSettingDialog(int mode)
- Constructs an
InformationDBUpdateSettingDialog
.
- Parameters:
mode
- the mode.
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
updatesReportedMagnitude
public boolean updatesReportedMagnitude()
- Returns true when to update already reported magnitude.
- Returns:
- true when to update already reported magnitude.