net.aerith.misao.gui.dialog
Class OpenCatalogDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.gui.dialog.OpenCatalogDialog
Direct Known Subclasses:
ConfigureDefaultCatalogPathDialog, OpenChartCatalogDialog, OpenIdentificationCatalogDialog

public class OpenCatalogDialog
extends Dialog

The OpenCatalogDialog represents a dialog to open a catalog file or directory.


Field Summary
protected  OpenCatalogPanel catalog_panel
          The panel to open a catalog.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
protected OpenCatalogDialog()
          Constructs an empty OpenCatalogDialog.
  OpenCatalogDialog(java.util.Vector catalog_list)
          Constructs an OpenCatalogDialog.
 
Method Summary
 java.lang.String getCatalogPath()
          Gets the catalog path.
 CatalogReader getSelectedCatalogReader()
          Gets the selected catalog reader.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
protected  void saveDefaultValues()
          Saves the default values.
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

catalog_panel

protected OpenCatalogPanel catalog_panel
The panel to open a catalog.
Constructor Detail

OpenCatalogDialog

protected OpenCatalogDialog()
Constructs an empty OpenCatalogDialog. This is only for the subclass.

OpenCatalogDialog

public OpenCatalogDialog(java.util.Vector catalog_list)
Constructs an OpenCatalogDialog.
Parameters:
catalog_list - the list of catalogs.
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

getSelectedCatalogReader

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

getCatalogPath

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