net.aerith.misao.toolkit.AgentDesktop
Class AgentCommonSettingDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.toolkit.AgentDesktop.AgentCommonSettingDialog

public class AgentCommonSettingDialog
extends Dialog

The AgentCommonSettingDialog represents a dialog to configure the common setting for operation using the agent.


Inner Class Summary
protected  class AgentCommonSettingDialog.BrowseBatchListener
          The BrowseBatchListener is a listener class of button push to open a file chooser dialog to search catalog file or directory.
protected  class AgentCommonSettingDialog.BrowseGalleryListener
          The BrowseGalleryListener is a listener class of button push to open a file chooser dialog to search catalog file or directory.
protected  class AgentCommonSettingDialog.BrowsePackageListener
          The BrowsePackageListener is a listener class of button push to open a file chooser dialog to search catalog file or directory.
protected  class AgentCommonSettingDialog.CheckboxUpdatedListener
          The CheckboxUpdatedListener is a listener class invoked when a check box is updated.
 
Field Summary
protected  javax.swing.JButton button_batch_file
          The button to select batch XML file.
protected  javax.swing.JButton button_gallery_directory
          The button to select gallery directory.
protected  javax.swing.JButton button_package_file
          The button to select package file.
protected  javax.swing.JCheckBox checkbox_create_gallery
          The check box to create HTML image gallery.
protected  javax.swing.JCheckBox checkbox_new_star_search
          The check box to search new stars.
protected  javax.swing.JCheckBox checkbox_reject_identified
          The check box to reject identified stars.
protected  javax.swing.JCheckBox checkbox_reject_single
          The check box to reject single detections.
protected  javax.swing.JCheckBox checkbox_save_batch
          The check box to save the batch XML file.
protected  javax.swing.JCheckBox checkbox_save_package
          The check box to save the package file.
protected  javax.swing.JTextField text_batch_file
          The text field to input the batch XML file.
protected  javax.swing.JTextField text_gallery_directory
          The text field to input the gallery directory.
protected  javax.swing.JTextField text_package_file
          The text field to input the package file.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
AgentCommonSettingDialog()
          Constructs an AgentCommonSettingDialog.
 
Method Summary
 boolean createsHtmlImageGallery()
          Returns true when to create HTML image gallery.
 java.io.File getBatchXmlFile()
          Gets the batch XML file.
 java.io.File getHtmlImageGalleryDirectory()
          Gets the directory to create HTML image gallery.
 java.io.File getPackageFile()
          Gets the package file.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
 boolean rejectsIdentifiedStars()
          Returns true when to reject identified stars.
 boolean rejectsSingleDetections()
          Returns true when to reject single detections.
protected  void saveDefaultValues()
          Saves the default values.
 boolean savesBatchXmlFile()
          Returns true when to save the batch XML file.
 boolean savesPackageFile()
          Returns true when to save package file.
 boolean searchesNewStars()
          Returns true when to search new stars.
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

checkbox_save_batch

protected javax.swing.JCheckBox checkbox_save_batch
The check box to save the batch XML file.

text_batch_file

protected javax.swing.JTextField text_batch_file
The text field to input the batch XML file.

button_batch_file

protected javax.swing.JButton button_batch_file
The button to select batch XML file.

checkbox_new_star_search

protected javax.swing.JCheckBox checkbox_new_star_search
The check box to search new stars.

checkbox_save_package

protected javax.swing.JCheckBox checkbox_save_package
The check box to save the package file.

text_package_file

protected javax.swing.JTextField text_package_file
The text field to input the package file.

button_package_file

protected javax.swing.JButton button_package_file
The button to select package file.

checkbox_create_gallery

protected javax.swing.JCheckBox checkbox_create_gallery
The check box to create HTML image gallery.

text_gallery_directory

protected javax.swing.JTextField text_gallery_directory
The text field to input the gallery directory.

button_gallery_directory

protected javax.swing.JButton button_gallery_directory
The button to select gallery directory.

checkbox_reject_single

protected javax.swing.JCheckBox checkbox_reject_single
The check box to reject single detections.

checkbox_reject_identified

protected javax.swing.JCheckBox checkbox_reject_identified
The check box to reject identified stars.
Constructor Detail

AgentCommonSettingDialog

public AgentCommonSettingDialog()
Constructs an AgentCommonSettingDialog.
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

savesBatchXmlFile

public boolean savesBatchXmlFile()
Returns true when to save the batch XML file.
Returns:
true when to save the batch XML file.

getBatchXmlFile

public java.io.File getBatchXmlFile()
Gets the batch XML file.
Returns:
the batch XML file.

searchesNewStars

public boolean searchesNewStars()
Returns true when to search new stars.
Returns:
true when to search new stars.

savesPackageFile

public boolean savesPackageFile()
Returns true when to save package file.
Returns:
true when to save package file.

getPackageFile

public java.io.File getPackageFile()
Gets the package file.
Returns:
the package file.

createsHtmlImageGallery

public boolean createsHtmlImageGallery()
Returns true when to create HTML image gallery.
Returns:
true when to create HTML image gallery.

getHtmlImageGalleryDirectory

public java.io.File getHtmlImageGalleryDirectory()
Gets the directory to create HTML image gallery.
Returns:
the directory to create HTML image gallery.

rejectsSingleDetections

public boolean rejectsSingleDetections()
Returns true when to reject single detections.
Returns:
true when to reject single detections.

rejectsIdentifiedStars

public boolean rejectsIdentifiedStars()
Returns true when to reject identified stars.
Returns:
true when to reject identified stars.