net.aerith.misao.gui.dialog
Class Dialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
Direct Known Subclasses:
AgentCommonSettingDialog, AnimationDialog, AstrometryCatalogSettingDialog, AttributesDialog, BatchExaminationSettingDialog, CatalogSelectionDialog, ConversionDialog, CrossIdentificationSettingDialog, DesignationDialog, FileCopyDialog, FilterSelectionDialog, FilterSizeDialog, HtmlImageGallerySettingDialog, IdentificationSettingDialog, ImageConfigurationDialog, ImageDateDialog, ImageGallerySettingDialog, InformationDBUpdateSettingDialog, MagnitudeSystemCodeDialog, MagnitudeSystemSettingDialog, MatchingCatalogSettingDialog, MatchingSettingDialog, MeridianImageTransformFilterSettingDialog, MpcFormatSettingDialog, NewStarSearchSettingDialog, OpenCatalogDialog, OutputDialog, PairingSettingDialog, ParameterDialog, PhotometryCatalogSettingDialog, PhotometryOperationSettingDialog, RegisterCatalogSettingDialog, SearchStarSettingDialog, StarDetectionSettingDialog, TransformationDialog, UserStarDialog, ValidAreaSettingDialog, VariableStarSearchSettingDialog, VsnetReportSettingDialog, XmlReportQueryConditionDialog

public abstract class Dialog
extends java.lang.Object

The Dialog represents a dialog.


Field Summary
protected  java.lang.Object[] components
          The components to show in this dialog.
protected static java.util.Hashtable default_values
          The default values.
protected  java.awt.Container parent_pane
          The parent pane.
 
Constructor Summary
Dialog()
           
 
Method Summary
protected abstract  java.lang.String getTitle()
          Gets the title of the dialog.
protected  void saveDefaultValues()
          Saves the default values.
 int show(java.awt.Container pane)
          Shows this dialog.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

components

protected java.lang.Object[] components
The components to show in this dialog.

default_values

protected static java.util.Hashtable default_values
The default values.

parent_pane

protected java.awt.Container parent_pane
The parent pane.
Constructor Detail

Dialog

public Dialog()
Method Detail

getTitle

protected abstract java.lang.String getTitle()
Gets the title of the dialog.
Returns:
the title of the dialog.

saveDefaultValues

protected void saveDefaultValues()
Saves the default values. This method must be overrided in the subclasses.

show

public int show(java.awt.Container pane)
Shows this dialog.
Parameters:
pane - the parent pane of this dialog.
Returns:
0 if OK button is pushed, or 2 if Cancel button is pushed.